和平队:学会解决不同环境之间的冲突

Nicolás Cardozo, Ivana Dusparic, Jorge H. Castro
{"title":"和平队:学会解决不同环境之间的冲突","authors":"Nicolás Cardozo, Ivana Dusparic, Jorge H. Castro","doi":"10.1145/3117802.3117803","DOIUrl":null,"url":null,"abstract":"Context-oriented Programming enables dynamic behavioral adaptations with the purpose of presenting the most appropriate behavior to the situations in software systems' surrounding execution environment. However, as multiple situations may be sensed simultaneously, different such adaptations may be applicable, generating conflicts in systems' execution. Deciding which behavioral adaptation to use in every situation is normally left to developers, who are therefore required to foresee and resolve all possible conflicts between adaptations manually at design time. Due to systems' high dynamicity, combinations of situations and interactions between adaptations might be unfeasible to foresee and may vary during the system execution. In response to this, we posit an automated conflict resolution mechanism that accounts for the system uncertainty and dynamics. The mechanism builds on W-Learning, a Reinforcement Learning algorithm that captures the relationships between simultaneously proposed adaptations over time, updating their appropriateness as the system progresses. As a consequence, the system itself learns which of the potentially conflicting adaptations is most appropriate for the current combination of the sensed situations, according to the system's global payoff. We implement a proof-of-concept vehicle cruise-control system, illustrating the situations in which multiple conflicting adaptations are proposed. We demonstrate that the system learns which adaptation should be executed for every combination of the sensed contexts, such that high-level goals of the underlying system remain satisfied.","PeriodicalId":162398,"journal":{"name":"Proceedings of the 9th ACM International Workshop on Context-Oriented Programming","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Peace COrP: learning to solve conflicts between contexts\",\"authors\":\"Nicolás Cardozo, Ivana Dusparic, Jorge H. Castro\",\"doi\":\"10.1145/3117802.3117803\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Context-oriented Programming enables dynamic behavioral adaptations with the purpose of presenting the most appropriate behavior to the situations in software systems' surrounding execution environment. However, as multiple situations may be sensed simultaneously, different such adaptations may be applicable, generating conflicts in systems' execution. Deciding which behavioral adaptation to use in every situation is normally left to developers, who are therefore required to foresee and resolve all possible conflicts between adaptations manually at design time. Due to systems' high dynamicity, combinations of situations and interactions between adaptations might be unfeasible to foresee and may vary during the system execution. In response to this, we posit an automated conflict resolution mechanism that accounts for the system uncertainty and dynamics. The mechanism builds on W-Learning, a Reinforcement Learning algorithm that captures the relationships between simultaneously proposed adaptations over time, updating their appropriateness as the system progresses. As a consequence, the system itself learns which of the potentially conflicting adaptations is most appropriate for the current combination of the sensed situations, according to the system's global payoff. We implement a proof-of-concept vehicle cruise-control system, illustrating the situations in which multiple conflicting adaptations are proposed. We demonstrate that the system learns which adaptation should be executed for every combination of the sensed contexts, such that high-level goals of the underlying system remain satisfied.\",\"PeriodicalId\":162398,\"journal\":{\"name\":\"Proceedings of the 9th ACM International Workshop on Context-Oriented Programming\",\"volume\":\"5 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2017-06-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 9th ACM International Workshop on Context-Oriented Programming\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3117802.3117803\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 9th ACM International Workshop on Context-Oriented Programming","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3117802.3117803","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

面向上下文的编程支持动态行为适应,目的是根据软件系统周围执行环境中的情况呈现最合适的行为。然而,由于可能同时感知到多种情况,因此可能适用不同的适应性,从而在系统执行中产生冲突。决定在每种情况下使用哪种行为适应通常留给开发人员,因此他们需要在设计时手动预见和解决所有可能的适应冲突。由于系统的高动态性,情况组合和适应之间的相互作用可能无法预测,并且在系统执行期间可能会发生变化。对此,我们假设了一个自动化的冲突解决机制来解释系统的不确定性和动态性。该机制建立在W-Learning的基础上,W-Learning是一种强化学习算法,可以捕获同时提出的适应之间的关系,并随着系统的进展更新其适当性。因此,系统自身会根据系统的全局收益,学习哪些潜在的冲突适应最适合当前感知情况的组合。我们实现了一个概念验证车辆巡航控制系统,说明了提出多个冲突适应的情况。我们证明了系统可以学习对每一种感知环境的组合执行哪一种适应,从而使底层系统的高级目标得到满足。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Peace COrP: learning to solve conflicts between contexts
Context-oriented Programming enables dynamic behavioral adaptations with the purpose of presenting the most appropriate behavior to the situations in software systems' surrounding execution environment. However, as multiple situations may be sensed simultaneously, different such adaptations may be applicable, generating conflicts in systems' execution. Deciding which behavioral adaptation to use in every situation is normally left to developers, who are therefore required to foresee and resolve all possible conflicts between adaptations manually at design time. Due to systems' high dynamicity, combinations of situations and interactions between adaptations might be unfeasible to foresee and may vary during the system execution. In response to this, we posit an automated conflict resolution mechanism that accounts for the system uncertainty and dynamics. The mechanism builds on W-Learning, a Reinforcement Learning algorithm that captures the relationships between simultaneously proposed adaptations over time, updating their appropriateness as the system progresses. As a consequence, the system itself learns which of the potentially conflicting adaptations is most appropriate for the current combination of the sensed situations, according to the system's global payoff. We implement a proof-of-concept vehicle cruise-control system, illustrating the situations in which multiple conflicting adaptations are proposed. We demonstrate that the system learns which adaptation should be executed for every combination of the sensed contexts, such that high-level goals of the underlying system remain satisfied.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书