arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.10000cs.LGcs.CL
收藏

使用文档嵌入与降维检测文本数据中的协变量漂移

Detecting covariate drift in text data using document embeddings and dimensionality reduction

Vinayak Sodar, Ankit Sekseria

AI总结:

本文研究TF-IDF、Doc2Vec和BERT等文档嵌入结合LSA、PCA降维及KS、MMD检测方法在文本协变量漂移检测中的效果,发现特定组合表现更优,为提升文本分析模型可靠性提供依据。

摘要:

检测文本数据中的协变量漂移对于保持文本分析模型的可靠性和性能至关重要。在本研究中,我们考察了不同文档嵌入、降维技术以及漂移检测方法在识别文本数据协变量漂移方面的有效性。我们探索了三种流行的文档嵌入:使用潜在语义分析(LSA)进行降维的词频-逆文档频率(TF-IDF)、Doc2Vec,以及BERT嵌入,并分别在是否使用主成分分析(PCA)进行降维的条件下进行测试。为了量化训练数据与测试数据分布之间的差异,我们采用Kolmogorov-Smirnov(KS)统计量和最大均值差异(MMD)检验作为漂移检测方法。实验结果表明,某些嵌入、降维技术和漂移检测方法的组合在检测协变量漂移方面优于其他组合。我们的研究结果为应对文本数据中的协变量漂移提供了有效方法的见解,从而有助于推动可靠文本分析模型的发展。

英文摘要:

Detecting covariate drift in text data is essential for maintaining the reliability and performance of text analysis models. In this research, we investigate the effectiveness of different document embeddings, dimensionality reduction techniques, and drift detection methods for identifying covariate drift in text data. We explore three popular document embeddings: term frequency-inverse document frequency (TF-IDF) using Latent semantic analysis(LSA) for dimentionality reduction and Doc2Vec, and BERT embeddings, with and without using principal component analysis (PCA) for dimensionality reduction. To quantify the divergence between training and test data distributions, we employ the Kolmogorov-Smirnov (KS) statistic and the Maximum Mean Discrepancy (MMD) test as drift detection methods. Experimental results demonstrate that certain combinations of embeddings, dimensionality reduction techniques, and drift detection methods outperform others in detecting covariate drift. Our findings contribute to the advancement of reliable text analysis models by providing insights into effective approaches for addressing covariate drift in text data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑