Harmonica: 一个用于可持续MLOps的自适应示例
Harmonica: A Self-Adaptation Exemplar for Sustainable MLOps
AI总结:
Harmonica通过MAPE-K循环实现结构化自适应控制,为可持续MLOps流水线提供实用基础,提升系统稳定性和减少人工干预。
摘要:
机器学习启用系统(MLS)通常在环境中经常遇到不确定性的设置中运行,这些不确定性源于周围环境的变化。没有结构化的监督,这些变化可能会降低模型行为,增加运营成本,并减少部署系统的实用性。尽管机器学习操作(MLOps)简化了ML模型的生命周期,但它对影响MLS长期可持续性的运行时不确定性提供的支持有限。为了支持持续的可行性,这些系统需要一种机制,能够检测执行漂移是否超出可接受的范围,并相应地调整系统行为。尽管对可持续和自适应MLS的兴趣日益增长,但针对允许研究人员在MLOps流水线中研究这些挑战的示例的研究仍然有限。本文提出了Harmonica,一个基于HarmonE方法构建的自适应示例,旨在使此类流水线的可持续运行。Harmonica通过MAPE-K循环引入了结构化的自适应控制,将高层适应策略与底层战术执行分离。它持续监控可持续性指标,将这些指标与动态适应边界进行比较,并在阈值被违反时自动触发架构战术。我们通过时间序列回归和计算机视觉的案例研究来展示该工具,考察其提高系统稳定性和减少人工干预的能力。结果表明,Harmonica为依赖MLOps流水线持续运行的MLS提供了一个实用且可重用的基础,以实现自适应行为。
英文摘要:
Machine learning enabled systems (MLS) often operate in settings where they regularly encounter uncertainties arising from changes in their surrounding environment. Without structured oversight, such changes can degrade model behavior, increase operational cost, and reduce the usefulness of deployed systems. Although Machine Learning Operations (MLOps) streamlines the lifecycle of ML models, it provides limited support for addressing runtime uncertainties that influence the longer term sustainability of MLS. To support continued viability, these systems need a mechanism that detects when execution drifts outside acceptable bounds and adjusts system behavior in response. Despite the growing interest in sustainable and self-adaptive MLS, there has been limited work towards exemplars that allow researchers to study these challenges in MLOps pipelines. This paper presents Harmonica, a self-adaptation exemplar built on the HarmonE approach, designed to enable the sustainable operation of such pipelines. Harmonica introduces structured adaptive control through MAPE-K loop, separating high-level adaptation policy from low-level tactic execution. It continuously monitors sustainability metrics, evaluates them against dynamic adaptation boundaries, and automatically triggers architectural tactics when thresholds are violated. We demonstrate the tool through case studies in time series regression and computer vision, examining its ability to improve system stability and reduce manual intervention. The results show that Harmonica offers a practical and reusable foundation for enabling adaptive behavior in MLS that rely on MLOps pipelines for sustained operation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。