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

机器学习模型的高性价比再训练

Cost-Effective Retraining of Machine Learning Models

University of Helsinki(赫尔辛基大学)

Ananth Mahadevan, Michael Mathioudakis

AI总结:

针对机器学习模型再训练的成本与性能权衡问题,提出成本感知再训练算法Cara,可基于数据、模型等因素自动决策再训练时机,在合成与真实数据集上均实现了更低总成本下的更优性能。

摘要:

随着数据随时间变化,对机器学习(ML)模型进行再训练对于维持其性能至关重要。但这一过程成本高昂,因为通常需要重新处理整个数据集。这就造成了一种权衡:再训练过于频繁会产生不必要的计算成本,而再训练不够频繁则会导致ML模型过时且不准确。为应对这一挑战,我们提出了可自动制定高性价比再训练时机决策的ML系统,旨在通过考量每项决策的相关成本来优化上述权衡。我们的研究聚焦于基于多种因素(包括数据、模型以及模型所响应的预测查询),决定是对现有ML模型进行再训练还是继续沿用。我们的核心贡献是一种名为Cara(成本感知再训练算法)的Cost-Aware Retraining Algorithm,它可在数据流和查询流上优化这种权衡关系。为评估Cara的性能,我们分析了合成数据集,证明Cara能够适应不同的数据漂移和再训练成本,同时性能与最优回溯算法相当。我们还使用真实世界数据集开展了实验,结果表明Cara比漂移检测基线方法准确率更高,同时做出的再训练决策更少,最终带来了更低的总成本。

英文摘要:

It is important to retrain a machine learning (ML) model in order to maintain its performance as the data changes over time. However, this can be costly as it usually requires processing the entire dataset again. This creates a trade-off between retraining too frequently, which leads to unnecessary computing costs, and not retraining often enough, which results in stale and inaccurate ML models. To address this challenge, we propose ML systems that make automated and cost-effective decisions about when to retrain an ML model. We aim to optimize the trade-off by considering the costs associated with each decision. Our research focuses on determining whether to retrain or keep an existing ML model based on various factors, including the data, the model, and the predictive queries answered by the model. Our main contribution is a Cost-Aware Retraining Algorithm called Cara, which optimizes the trade-off over streams of data and queries. To evaluate the performance of Cara, we analyzed synthetic datasets and demonstrated that Cara can adapt to different data drifts and retraining costs while performing similarly to an optimal retrospective algorithm. We also conducted experiments with real-world datasets and showed that Cara achieves better accuracy than drift detection baselines while making fewer retraining decisions, ultimately resulting in lower total costs.

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

↑