Skip to content

Context-Aware Proactive Self-Adaptation: A Two-Layer Model Predictive Control Approach

Zhengyin Chen, Jialong Li, Nianyu Li, Wenpin Jiao, Eunsuk Kang

cs.SE

Abstract

In self-adaptive software systems, the role of context is paramount, especially for proactive self-adaptation. Current research, however, does not fully explore context's impact, for example on priorities of the requirements. To address this gap, we introduce a novel contextual goal model to capture these factors and their influence on the system. Using this, we propose a two-layer control mechanism with a context-aware model predictive control to achieve proactive adaptation for the software system and adaptation for the controller itself. By contextual prediction and a more accurate system model, our approach utilizes model predictive control to facilitate timely and efficient system adaptations, improving both performance and adaptability. Meanwhile, we perform requirement adaptation to update the contextual goal model, which in turn updates the objective function and constraints of the controller. Our experimental evaluations across two scenarios demonstrate the significant benefits of our approach in enhancing system performance.

Create a lesson

Metadata

Categories
cs.SE, cs.SY, eess.SY
Journal
ACM Transactions on Autonomous and Adaptive Systems 21(2), Article 13, 2026
Comments
Author's version of an article published in ACM Transactions on Autonomous and Adaptive Systems (TAAS), vol. 21, no. 2, Article 13, 2026. 36 pages