Proceedingsbeitrag
Zitieren …

Stacking-Based Meta-Learning for Runtime Model Selection in Self-Adaptive Systems

Ehsan Elahi ORCID-iD-Icon 1, Ruiqi Gao, Matteo Camilli und Raffaela Mirandola 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)
Abstract

Model selection uncertainty poses a fundamental challenge in self-adaptive software systems operating under dynamic conditions. When multiple plausible models coexist to represent system behavior, selecting a single model (even the most accurate one) can lead to the exclusion of alternative explanations, ultimately degrading prediction quality and adaptation effectiveness at runtime. We propose SMARTS, a stacking-based meta-learning approach that explicitly addresses model selection uncertainty within the MAPE-K feedback control loop. The approach combines a set of candidate base models through an incrementally updatable meta-learner that dynamically adjusts model weights based on incoming data. To ensure reliable learning, cross-validated meta-features are constructed during training, and a predict-then-update strategy is adopted at runtime to prevent information leakage. SMARTS enhances the Analyze phase by improving predictive robustness, while the Plan phase leverages these predictions to guide adaptation decisions via metaheuristic optimization. We evaluate the approach on a rescue robot case study under multiple concept drift scenarios. The results show that SMARTS outperforms baseline methods in terms of prediction accuracy and demonstrates superior adaptation effectiveness as environmental changes intensify, while maintaining practical computational overhead. These findings indicate that stacking-based meta-learning provides a cost-effective solution for managing model selection uncertainty in self-adaptive systems.