arXiv:2505.13693cs.SEcs.LG2025-05中稿 · ECSA 2025被引 2

HarmonE让MLOps自动适应环境变化,兼顾性能与可持续性

HarmonE: A Self-Adaptive Approach to Architecting Sustainable MLOps

  • 基于MAPE-K循环实现MLOps的自适应架构
  • 在交通流预测中保持精度同时降低能耗
  • 适合关注绿色AI与长期系统稳定性的开发者

机器学习驱动系统(MLS)在现实应用中日益普及,但其长期可持续性能仍面临挑战。这些系统运行于动态环境,受数据漂移和模型退化等运行时不确定性影响,威胁技术、经济、环境和社会多维度的可持续性。传统MLOps虽优化了技术流程,却忽视其他维度;频繁重训练更带来巨大能源与计算开销。为此,我们提出HarmonE,一种基于MAPE-K环的自适应架构方法。系统设计时可设定可持续目标与阈值,运行时监控预测准确率、能耗及数据分布变化,触发相应适应策略。通过智能交通系统的数字孪生(DT)验证,以交通流预测为核心场景,结果表明HarmonE能有效应对动态变化,在保障准确率的同时达成可持续性目标。

原文摘要 · Abstract (English)

Machine Learning Enabled Systems (MLS) are becoming integral to real-world applications, but ensuring their sustainable performance over time remains a significant challenge. These systems operate in dynamic environments and face runtime uncertainties like data drift and model degradation, which affect the sustainability of MLS across multiple dimensions: technical, economical, environmental, and social. While Machine Learning Operations (MLOps) addresses the technical dimension by streamlining the ML model lifecycle, it overlooks other dimensions. Furthermore, some traditional practices, such as frequent retraining, incur substantial energy and computational overhead, thus amplifying sustainability concerns. To address them, we introduce HarmonE, an architectural approach that enables self-adaptive capabilities in MLOps pipelines using the MAPE-K loop. HarmonE allows system architects to define explicit sustainability goals and adaptation thresholds at design time, and performs runtime monitoring of key metrics, such as prediction accuracy, energy consumption, and data distribution shifts, to trigger appropriate adaptation strategies. We validate our approach using a Digital Twin (DT) of an Intelligent Transportation System (ITS), focusing on traffic flow prediction as our primary use case. The DT employs time series ML models to simulate real-time traffic and assess various flow scenarios. Our results show that HarmonE adapts effectively to evolving conditions while maintaining accuracy and meeting sustainability goals.

MLOps自适应系统可持续性数字孪生

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。