arXiv:2409.19097cs.LGstat.ML2024-09被引 3

用NLP方法生成类别变量的语义嵌入,提升工业建模准确性

Implementing NLPs in industrial process modeling: Addressing Categorical Variables

  • 用NLP模型将类别变量转为语义嵌入,反映类别间相似性
  • 在刀具涂层工艺中实现可解释的特征重要性分析
  • 适合含关键类别与数值变量的工业过程建模

工业过程中的关键变量常为类别型,如原料类别、反应器类型或步骤序列。本文利用自然语言处理模型对这些类别变量生成语义嵌入,捕捉其实际含义及类别间的相似性距离,区别于传统的二值化或独热编码。结合主成分分析(PCA)或均匀流形逼近与投影(UMAP)等降维技术,构建有意义的低维特征空间。在刀具涂层工艺这一工业案例中,领域专家认为类别变量对结果至关重要,但现有方法无法有效建模。本方法实现了可解释的特征重要性,显著优于当前主流编码方式。该方法不限于案例研究,适用于同时包含关键类别与数值输入的各类工业场景。

原文摘要 · Abstract (English)

Important variables of processes are often categorical, i.e. names or labels representing, e.g. categories of inputs, or types of reactors or a sequence of steps. In this work, we use Natural Language Processing Models to derive embeddings of such inputs that represent their actual meaning, or reflect the "distances" between categories, i.e. how similar or dissimilar they are. This is a marked difference from the current standard practice of using binary, or one-hot encoding to replace categorical variables with sequences of ones and zeros. Combined with dimensionality reduction techniques, either linear such as Principal Component Analysis, or nonlinear such as Uniform Manifold Approximation and Projection, the proposed approach leads to a meaningful, low-dimensional feature space. The significance of obtaining meaningful embeddings is illustrated in the context of an industrial coating process for cutting tools that includes both numerical and categorical inputs. In this industrial process, subject matter expertise suggests that the categorical inputs are critical for determining the final outcome but this cannot be taken into account with the current state-of-the-art. The proposed approach enables feature importance which is a marked improvement compared to the current state-of-the-art in the encoding of categorical variables. The proposed approach is not limited to the case-study presented here and is suitable for applications with similar mix of categorical and numerical critical inputs.

NLP工业建模类别变量嵌入

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。