arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.04657cs.SEcs.LG
收藏

一种面向MLOps的高效模型维护方法

An Efficient Model Maintenance Approach for MLOps

Polytechnique Montréal(蒙特利尔理工学院)

Forough Majidi, Foutse Khomh, Heng Li, Amin Nikanjam

AI总结:

针对概念漂移导致的ML模型性能下降及现有维护方法资源消耗大的问题,提出基于相似度的模型复用方法与SimReuse工具,集成到改进的MLOps流水线中,可在维持模型性能的同时大幅降低维护成本与时间。

摘要:

近年来,众多行业已在其系统中应用机器学习(ML)模型。理想情况下,ML模型应在分布相同的数据上训练并应用。但在许多应用领域,数据会随时间演变,导致概念漂移,进而使ML模型的性能随时间下降。因此,维护最新的ML模型在MLOps(机器学习运维)流水线中至关重要。现有ML模型维护方法通常计算资源消耗大、成本高、耗时长且依赖特定模型。为此,我们提出了一种改进的MLOps流水线、一种新的模型维护方法以及基于相似度的模型复用工具SimReuse,以应对ML模型维护的挑战。我们在初步研究中发现了时间序列数据集中的季节性和复现性数据分布模式。复现性数据分布模式使我们能够在未来遇到相似分布时复用先前训练的模型,从而避免频繁的不必要重训练。随后,我们将模型复用方法集成到MLOps流水线中,提出了改进后的MLOps流水线。此外,我们开发了SimReuse工具,用于实现我们MLOps流水线中的新组件,该组件可存储模型,并在未来对具有相似数据分布的数据段进行推理时复用这些模型。我们在五个时间序列数据集上的评估结果表明,我们的模型复用方法能够维持模型性能,同时显著减少维护时间、成本和重训练次数。我们的模型复用方法达到了与最佳基线相当的ML模型性能,同时将计算时间和成本降至1/8。因此,行业和从业者可受益于我们的方法,使用我们的工具在部署阶段维持其ML模型的性能,以减少维护时间和成本。

英文摘要:

In recent years, many industries have utilized machine learning (ML) models in their systems. Ideally, ML models should be trained on and applied to data from the same distributions. However, the data evolves over time in many application areas, leading to concept drift, which in turn causes the performance of the ML models to degrade over time. Therefore, maintaining up-to-date ML models plays a critical role in the MLOps pipeline. Existing ML model maintenance approaches are often computationally resource-intensive, costly, time-consuming, and model-dependent. Thus, we propose an improved MLOps pipeline, a new model maintenance approach and a Similarity-Based Model Reuse (SimReuse) tool to address the challenges of ML model maintenance. We identify seasonal and recurrent data distribution patterns in time series datasets throughout a preliminary study. Recurrent data distribution patterns enable us to reuse previously trained models for similar distributions in the future, thus avoiding frequent unnecessary retrainings. Then, we integrated the model reuse approach into the MLOps pipeline and proposed our improved MLOps pipeline. Furthermore, we develop SimReuse, a tool to implement the new components of our MLOps pipeline to store models and reuse them for inference of data segments with similar data distributions in the future. Our evaluation results on five time series datasets demonstrate that our model reuse approach can maintain the models' performance while significantly reducing maintenance time, costs, and the number of retrainings. Our model reuse approach achieves ML model performance comparable to the best baselines, while reducing the computation time and costs to 1/8th. Therefore, industries and practitioners can benefit from our approach and use our tool to maintain their ML models' performance in the deployment phase to reduce their maintenance time and costs.

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

↑