arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2306.01404cs.SE
收藏

利用机器学习缩减自适应系统中的大型适应空间

Reducing Large Adaptation Spaces in Self-Adaptive Systems Using Machine Learning

Federico Quin, Danny Weyns, Omid Gheibi

AI总结:

针对大型适应空间导致运行时适应决策耗时的问题,本文提出可配置机器学习流水线 ML2ASR+,支持阈值、优化和设定值目标,并在两类应用中将决策时间降低逾90%。

摘要:

现代软件系统往往必须应对不确定的运行条件,例如不断变化的工作负载或无线网络中波动的干扰。为确保这些系统实现其目标,必须缓解这些不确定性。实现这一点的一种方法是自适应,即为系统配备反馈回路。该反馈回路实现四个核心功能——监控、分析、规划和执行——它们以运行时模型的形式共享知识。对于具有大量适应选项(即大型适应空间)的系统,决定选择哪个选项进行适应可能非常耗时,甚至在可用于作出适应决策的时间窗口内不可行。当使用严格分析技术来选择适应选项时尤其如此,例如被广泛采用的运行时形式化验证。处理大量适应选项分析的一种技术是利用机器学习缩减适应空间。现有技术已经展示了该技术的有效性,但仍缺乏一种能够处理不同类型目标的系统性解决方案。本文提出 ML2ASR+,即 Machine Learning to Adaptation Space Reduction Plus(机器学习驱动的适应空间缩减增强版)的缩写。ML2ASR+ 的核心是一个可配置的机器学习流水线,支持针对阈值目标、优化目标和设定值目标对大型适应空间进行有效分析。我们在两个具有不同适应空间规模的应用上评估了 ML2ASR+:一个物联网应用和一个基于服务的系统。结果表明,ML2ASR+ 可用于处理不同类型的目标,并能够缩减适应空间,从而将作出适应决策的时间减少超过 90%,同时对适应目标的实现影响可忽略不计。

英文摘要:

Modern software systems often have to cope with uncertain operation conditions, such as changing workloads or fluctuating interference in a wireless network. To ensure that these systems meet their goals these uncertainties have to be mitigated. One approach to realize this is self-adaptation that equips a system with a feedback loop. The feedback loop implements four core functions -- monitor, analyze, plan, and execute -- that share knowledge in the form of runtime models. For systems with a large number of adaptation options, i.e., large adaptation spaces, deciding which option to select for adaptation may be time consuming or even infeasible within the available time window to make an adaptation decision. This is particularly the case when rigorous analysis techniques are used to select adaptation options, such as formal verification at runtime, which is widely adopted. One technique to deal with the analysis of a large number of adaptation options is reducing the adaptation space using machine learning. State of the art has showed the effectiveness of this technique, yet, a systematic solution that is able to handle different types of goals is lacking. In this paper, we present ML2ASR+, short for Machine Learning to Adaptation Space Reduction Plus. Central to ML2ASR+ is a configurable machine learning pipeline that supports effective analysis of large adaptation spaces for threshold, optimization, and setpoint goals. We evaluate ML2ASR+ for two applications with different sizes of adaptation spaces: an Internet-of-Things application and a service-based system. The results demonstrate that ML2ASR+ can be applied to deal with different types of goals and is able to reduce the adaptation space and hence the time to make adaptation decisions with over 90%, with negligible effect on the realization of the adaptation goals.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑