arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2111.05672cs.LG
收藏

机器学习分类器中数据漂移的自动检测

Automatically detecting data drift in machine learning classifiers

IBM Research(IBM研究院)

Samuel Ackerman, Orna Raz, Marcel Zalmanovici, Aviad Zlotnick

摘要:

分类器和其他基于分类学的机器学习(ML)技术基于训练数据的各种统计属性来概括或学习。导致理论或经验性能保证的统计ML的基本假设是训练数据的分布代表生产数据分布。这种假设经常会被打破;例如,数据的统计分布可能会发生变化。我们将影响ML性能的变化称为“数据漂移”或“漂移”。许多分类技术在其结果中计算置信度。此度量可能无法反映实际的ML性能。一个著名的例子是熊猫图片,它被正确地分类为这样,置信度约为60%,但当添加噪声时,它被错误地分类为Giovanni,置信度超过99%。然而,我们在这里报告的工作表明,分类器的置信度测量可以用于检测数据漂移的目的。我们提出了一种方法,完全基于分类器建议的标签和他们的信心,对数据分布或特征空间的变化,可能会导致数据漂移的警报。我们的方法识别模型性能的退化,并且不需要在生产中标记数据,而这些数据通常是缺乏或延迟的。我们的实验与三个不同的数据集和分类器证明了这种方法在检测数据漂移的有效性。这是特别令人鼓舞的,因为分类本身可能正确也可能不正确,并且不需要模型输入数据。我们进一步探索了序贯变点检验的统计方法,以自动确定所需的数据量,以便在控制假阳性率(1型错误)的同时识别漂移。

英文摘要:

Classifiers and other statistics-based machine learning (ML) techniques generalize, or learn, based on various statistical properties of the training data. The assumption underlying statistical ML resulting in theoretical or empirical performance guarantees is that the distribution of the training data is representative of the production data distribution. This assumption often breaks; for instance, statistical distributions of the data may change. We term changes that affect ML performance `data drift' or `drift'. Many classification techniques compute a measure of confidence in their results. This measure might not reflect the actual ML performance. A famous example is the Panda picture that is correctly classified as such with a confidence of about 60\%, but when noise is added it is incorrectly classified as a Gibbon with a confidence of above 99\%. However, the work we report on here suggests that a classifier's measure of confidence can be used for the purpose of detecting data drift. We propose an approach based solely on classifier suggested labels and its confidence in them, for alerting on data distribution or feature space changes that are likely to cause data drift. Our approach identities degradation in model performance and does not require labeling of data in production which is often lacking or delayed. Our experiments with three different data sets and classifiers demonstrate the effectiveness of this approach in detecting data drift. This is especially encouraging as the classification itself may or may not be correct and no model input data is required. We further explore the statistical approach of sequential change-point tests to automatically determine the amount of data needed in order to identify drift while controlling the false positive rate (Type-1 error).

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

↑