Many software systems today face uncertain operating conditions, such as sudden changes in the availability of resources or unexpected user behavior. Without proper mitigation these uncertainties can jeopardize the system goals. Self-adaptation is a common approach to tackle such uncertainties. When the system goals may be compromised, the self-adaptive system has to select the best adaptation option to reconfigure by analyzing the possible adaptation options, i.e., the adaptation space. Yet, analyzing large adaptation spaces using rigorous methods can be resource- and time-consuming, or even be infeasible. One approach to tackle this problem is by using online machine learning to reduce adaptation spaces. However, existing approaches require domain expertise to perform feature engineering to define the learner, and support online adaptation space reduction only for specific goals. To tackle these limitations, we present 'Deep Learning for Adaptation Space Reduction Plus' -- DLASeR+ in short. DLASeR+ offers an extendable learning framework for online adaptation space reduction that does not require feature engineering, while supporting three common types of adaptation goals: threshold, optimization, and set-point goals. We evaluate DLASeR+ on two instances of an Internet-of-Things application with increasing sizes of adaptation spaces for different combinations of adaptation goals. We compare DLASeR+ with a baseline that applies exhaustive analysis and two state-of-the-art approaches for adaptation space reduction that rely on learning. Results show that DLASeR+ is effective with a negligible effect on the realization of the adaptation goals compared to an exhaustive analysis approach, and supports three common types of adaptation goals beyond the state-of-the-art approaches.
Report on A Formally-Founded Model-Based Approach to Engineer Self-Adaptive Systems
自适应系统管理自己,以处理只能在操作过程中解决的不确定性。实现自适应的一种常见方法是在系统中添加一个反馈回路,该反馈回路监视系统并使其适应以实现一组适应目标。ActivFORMS(Active FORmal Models for Self-adaptation)为工程自适应系统提供了一种端到端的方法。ActivFORMS依赖于反馈回路,该反馈回路由正式验证的模型组成,这些模型在运行时直接部署和执行,以实现自适应。在运行时,该方法依赖于统计验证技术,允许有效的分析可能的适应选项。此外,ActivFORMS支持适应目标的动态更改和验证模型的更新,以满足新的目标。ActivFORMSi提供了一个工具支持的ActivFORMS实例。该方法已使用物联网应用程序进行验证,用于建筑安全监控。本报告为论文“ActivFORMS:一种正式建立的基于模型的自适应系统工程方法”[Weyns and Iftikhar 2019]提供了补充材料。
Towards Better Adaptive Systems by Combining MAPE, Control Theory, and Machine Learning
KU Leuven(鲁汶大学);Linnaeus University(林奈大学);Carnegie Mellon University(卡内基梅隆大学);National Institute of Informatics(信息学研究所);Politecnico di Milano(米兰理工大学);York University(约克大学);University of Michigan(密歇根大学);University of York(约克大学);Waseda University(早稻田大学)