跟踪已部署模型的风险并检测有害的分布变化
Tracking the risk of a deployed model and detecting harmful distribution shifts
摘要:
当部署在现实世界中时,机器学习模型不可避免地会遇到数据分布的变化,某些(但不是全部)分布变化可能会导致显着的性能下降。在实践中,忽略良性变化可能是有意义的,在这种情况下,部署的模型的性能不会大幅下降,从而使人类专家的干预(或模型再训练)变得不必要。虽然一些作品已经开发了分布变化的测试,这些通常使用非顺序方法,或检测任意变化(良性或有害),或两者兼而有之。我们认为,一个明智的方法,发射了警告必须(a)检测有害的变化,而忽略良性的,(b)允许连续监测模型的性能,而不增加误报率。在这项工作中,我们设计了简单的顺序工具来测试源(训练)和目标(测试)分布之间的差异是否会导致感兴趣的风险函数(如准确性或校准)显着增加。在构建时间均匀的置信序列的最新进展,允许有效地聚集在跟踪过程中积累的统计证据。所设计的框架适用于(一些)真实标签在执行预测之后被揭示的设置,或者当标签批次以延迟的方式变得可用时。我们通过对模拟和真实数据集的广泛实证研究证明了所提出的框架的有效性。
英文摘要:
When deployed in the real world, machine learning models inevitably encounter changes in the data distribution, and certain -- but not all -- distribution shifts could result in significant performance degradation. In practice, it may make sense to ignore benign shifts, under which the performance of a deployed model does not degrade substantially, making interventions by a human expert (or model retraining) unnecessary. While several works have developed tests for distribution shifts, these typically either use non-sequential methods, or detect arbitrary shifts (benign or harmful), or both. We argue that a sensible method for firing off a warning has to both (a) detect harmful shifts while ignoring benign ones, and (b) allow continuous monitoring of model performance without increasing the false alarm rate. In this work, we design simple sequential tools for testing if the difference between source (training) and target (test) distributions leads to a significant increase in a risk function of interest, like accuracy or calibration. Recent advances in constructing time-uniform confidence sequences allow efficient aggregation of statistical evidence accumulated during the tracking process. The designed framework is applicable in settings where (some) true labels are revealed after the prediction is performed, or when batches of labels become available in a delayed fashion. We demonstrate the efficacy of the proposed framework through an extensive empirical study on a collection of simulated and real datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。