A trained ML model is deployed on another `test' dataset where target feature values (labels) are unknown. Drift is distribution change between the training and deployment data, which is concerning if model performance changes. For a cat/dog image classifier, for instance, drift during deployment could be rabbit images (new class) or cat/dog images with changed characteristics (change in distribution). We wish to detect these changes but can't measure accuracy without deployment data labels. We instead detect drift indirectly by nonparametrically testing the distribution of model prediction confidence for changes. This generalizes our method and sidesteps domain-specific feature representation. We address important statistical issues, particularly Type-1 error control in sequential testing, using Change Point Models (CPMs; see Adams and Ross 2012). We also use nonparametric outlier methods to show the user suspicious observations for model diagnosis, since the before/after change confidence distributions overlap significantly. In experiments to demonstrate robustness, we train on a subset of MNIST digit classes, then insert drift (e.g., unseen digit class) in deployment data in various settings (gradual/sudden changes in the drift proportion). A novel loss function is introduced to compare the performance (detection delay, Type-1 and 2 errors) of a drift detector under different levels of drift class contamination.
翻译:在另一个“测试”数据集上部署一个经过培训的 ML 模型,其目标特征值(标签)未知。 Drift 是培训和部署数据之间的分布变化,这关系到模式性能变化。例如,对于猫/狗图像分类器来说,部署期间的漂移可以是兔子图像(新类)或具有变化特性(分布变化)的猫/狗图像。我们希望检测这些变化,但在没有部署数据标签的情况下无法测量准确性。我们反而通过非对称测试模型预测信任度的变化分布来间接检测漂移。这概括了我们的方法和偏移的域特性表示方式。我们处理重要的统计问题,特别是使用更改点模型(CPMs;见Adams和Ross,2012年)进行顺序测试时的类型-1错误控制。我们还使用非参数外推法来显示模型诊断的用户可疑观察,因为改变前/之后的可信度分布重叠很大。在实验中,我们通过非对模型预测信任度的分布进行精度测试,然后在各种部署环境中的部署数据中插入漂移(例如,隐形数字类)的漂移数据(在连续测试中,对级的漂移等级的漂移性差值值值进行新的变变换函数。