arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.14903cs.LG
收藏

何时重新训练机器学习模型

When to retrain a machine learning model

Technical University of Munich, Germany(慕尼黑技术大学);McGill University, Canada(麦吉尔大学)

Regol Florence, Schwinn Leo, Sprague Kyle, Coates Mark, Markovich Thomas

AI总结:

针对机器学习模型何时重新训练的问题,提出基于不确定性的方法,通过持续预测模型性能演变来决策,在7个数据集上优于现有基线。

摘要:

维护现实世界机器学习模型的一个重大挑战是应对数据持续且不可预测的演变。大多数从业者面临一个难题:我应该何时重新训练或更新我的机器学习模型?这个看似简单的问题之所以特别具有挑战性,原因有三:1)决策必须基于非常有限的信息——我们通常只能获得少量样本;2)分布漂移的性质、程度和影响是未知的;3)它涉及在重新训练与性能不佳之间指定一个成本比率,而这可能难以刻画。现有工作解决了该问题的某些方面,但没有一个提供全面的解决方案。分布漂移检测存在不足,因为它无法考虑成本权衡;数据的稀缺性及其不寻常的结构使其不适合现有的离线强化学习方法,而在线学习公式忽略了关键的实际考虑。为了解决这一问题,我们提出了重新训练问题的原则性公式,并提出了一种基于不确定性的方法,该方法通过持续预测使用有界指标评估的模型性能的演变来做出决策。我们针对分类任务的实验表明,该方法在7个数据集上始终优于现有基线。

英文摘要:

A significant challenge in maintaining real-world machine learning models is responding to the continuous and unpredictable evolution of data. Most practitioners are faced with the difficult question: when should I retrain or update my machine learning model? This seemingly straightforward problem is particularly challenging for three reasons: 1) decisions must be made based on very limited information - we usually have access to only a few examples, 2) the nature, extent, and impact of the distribution shift are unknown, and 3) it involves specifying a cost ratio between retraining and poor performance, which can be hard to characterize. Existing works address certain aspects of this problem, but none offer a comprehensive solution. Distribution shift detection falls short as it cannot account for the cost trade-off; the scarcity of the data, paired with its unusual structure, makes it a poor fit for existing offline reinforcement learning methods, and the online learning formulation overlooks key practical considerations. To address this, we present a principled formulation of the retraining problem and propose an uncertainty-based method that makes decisions by continually forecasting the evolution of model performance evaluated with a bounded metric. Our experiments addressing classification tasks show that the method consistently outperforms existing baselines on 7 datasets.

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

↑