Harmonica: A Self-Adaptation Exemplar for Sustainable MLOps

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Halgatti, Ananya, Biswas, Shaunak, Bhatt, Hiya, Rakhunathan, Srinivasan, Vaidhyanathan, Karthik
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912865751924736
author Halgatti, Ananya
Biswas, Shaunak
Bhatt, Hiya
Rakhunathan, Srinivasan
Vaidhyanathan, Karthik
author_facet Halgatti, Ananya
Biswas, Shaunak
Bhatt, Hiya
Rakhunathan, Srinivasan
Vaidhyanathan, Karthik
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_11926
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Harmonica: A Self-Adaptation Exemplar for Sustainable MLOps
Halgatti, Ananya
Biswas, Shaunak
Bhatt, Hiya
Rakhunathan, Srinivasan
Vaidhyanathan, Karthik
Software Engineering
Machine Learning
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.
title Harmonica: A Self-Adaptation Exemplar for Sustainable MLOps
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2601.11926