skip to main content
10.1145/3387939.3388615acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Learning run-time compositions of interacting adaptations

Published: 18 September 2020 Publication History

Abstract

Self-adaptive systems continuously adapt to internal and external changes in their execution environment. In context-based self-adaptation, adaptations take place in response to the characteristics of the execution environment, captured as a context. However, in large-scale adaptive systems operating in dynamic environments, multiple contexts are often active at the same time, requiring simultaneous execution of multiple adaptations. Complex interactions between such adaptations might not have been foreseen or accounted for at design time. For example, adaptations can partially overlap, requiring only partial execution of each, or they can be conflicting, requiring some of the adaptations not to be executed at all, in order to preserve system execution. To ensure a correct composition of adaptations, we propose ComInA, a novel reinforcement learning based approach, which autonomously learns interactions between adaptations as well as the most appropriate adaptation composition for each combination of active contexts, as they arise. We present an initial evaluation of ComInA in an urban public transport network simulation, where multiple adaptations to buses, routes, and stations are required. Early results show that ComInA correctly identifies whether adaptations are compatible or conflicting and learns to execute adaptations which maximize system performance. However, further investigation is needed into how best to utilize such identified relationships to optimize a wider range of metrics and utilize more complex composition strategies.

References

[1]
Nagwa Badr, Denis Reily, and A. TalebBendiab. 2002. A Conflict Resolution Architecture For Self-Adaptive Systems. In International Workshop on Architecting Dependable Systems (WADS'02).
[2]
L. Baresi and S. Guinea. 2011. Self-Supervising BPEL Processes. IEEE Transactions on Software Engineering 37, 2 (March 2011), 247--263.
[3]
Luciano Baresi and Liliana Pasquale. 2010. Live Goals for Adaptive Service Compositions. In Proceedings of the 2010 ICSE Workshop on Software Engineering for Adaptive and Self-Managing Systems (SEAMS'10). ACM, New York, NY, USA, 114--123.
[4]
Boxue Wang and Xinhuai Tang. 2014. Designing a self-adaptive and context-aware service composition system. In IEEE Computers, Communications and IT Applications Conference (ComComAp'14). 155--160.
[5]
Nicolás Cardozo, Ivana Dusparic, and Jorge H. Castro. 2017. Peace COrP: Learning to solve conflicts between contexts. In Int. Workshop on Context-Oriented Programming (COP'17). New York, NY, USA.
[6]
L. Cavallaro, E. D. Nitto, C. A. Furia, and M. Pradella. 2010. A Tile-Based Approach for Self-Assembling Service Compositions. In IEEE International Conference on Engineering of Complex Computer Systems (ICECCS'10). 43--52.
[7]
A. Charfi, T. Dinkelaker, and M. Mezini. 2009. A Plug-in Architecture for Self-Adaptive Web Service Compositions. In IEEE International Conference on Web Services (ICWS'09). 35--42.
[8]
Nanxi Chen, Nicolás Cardozo, and Siobhán Clarke. 2016. Self-Organizing Goal-Driven Services in Mobile Pervasive Computing. Transactions on Services Computing (2016), to appear.
[9]
Nanxi Chen and Siobhán Clarke. 2014. A Dynamic Service Composition Model for Adaptive Systems in Mobile Computing Environments. In International Conference on Service Oriented Computing (ICSOC'14), Vol. 8831. Springer Berlin Heidelberg, 93--107.
[10]
M. D'Angelo, S. Gerasimou, S. Ghahremani, J. Grohmann, I. Nunes, E. Pournaras, and S. Tomforde. 2019. On Learning in Collective Self-Adaptive Systems: State of Practice and a 3D Framework. In IEEE/ACM 14th International Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS'19). 13--24.
[11]
Pierre-Charles David and Thomas Ledoux. 2003. Towards a Framework for Self-adaptive Component-Based Applications. In Distributed Applications and Interoperable Systems, Jean-Bernard Stefani, Isabelle Demeure, and Daniel Hagimont (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 1--14.
[12]
Ivana Dusparic and Vinny Cahill. 2012. Autonomic multi-policy optimization in pervasive systems: Overview and evaluation. TAAS 7, 1 (2012), 11.
[13]
Christos Efstratiou, Keith Cheverst, Nigel Davies, and Adrian Friday. 2001. An Architecture for the Effective Support of Adaptive Context-Aware Applications. In Proceedings of the Second International Conference on Mobile Data Management (MDM '01). Springer-Verlag, London, UK, UK, 15--26.
[14]
C. Efstratiou, A. Friday, N. Davies, and K. Cheverst. 2002. Utilising the event calculus for policy driven adaptation on mobile systems. In Proceedings International Workshop on Policies for Distributed Systems and Networks. 13--24.
[15]
Frank Eliassen, Eli Gjørven, Viktor S. Wold Eide, and Jørgen Andreas Michaelsen. 2006. Evolving Self-adaptive Services Using Planning-based Reflective Middleware. In Proceedings of the 5th Workshop on Adaptive and Reflective Middleware (ARM'06). ACM, New York, NY, USA, 1--6.
[16]
Sebastián González, Kim Mens, Marius Colacioiu, and Walter Cazzola. 2013. Context Traits: dynamic behaviour adaptation through run-time trait recomposition. In Proceedings of International Conference on Aspect-Oriented Software Development (AOSD'13) (AOSD '13). New York, NY, USA, 209--220.
[17]
Phil Greenwood and Lynne Blair. 2006. A Framework for Policy Driven Auto-adaptive Systems Using Dynamic Framed Aspects. In Transactions on Aspect-Oriented Software Development II, Awais Rashid and Mehmet Aksit (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 30--65.
[18]
S. Hallsteinsen, E. Stav, A. Solberg, and J. Floch. 2006. Using product line techniques to build adaptive systems. In International Software Product Line Conference (SPLC'06). 150--160.
[19]
Mark Humphrys. 1996. Action Selection methods using Reinforcement Learning. In Proceedings of the Fourth International Conference on Simulation of Adaptive Behavior. MIT Press, 135--144.
[20]
Narges Khakpour, Saeed Jalili, Carolyn Talcott, Marjan Sirjani, and Mohammad Reza Mousavi. 2009. PobSAM: Policy-based Managing of Actors in Self-Adaptive Systems. In Proceedings of the International Workshop on Formal Aspects of Component Software (FACS'09), Vol. 263. 129 -- 143.
[21]
Narges Khakpour, Ramtin Khosravi, Marjan Sirjani, and Saeed Jalili. 2010. Formal Analysis of Policy-based Self-adaptive Systems. In Proceedings of the ACM Symposium on Applied Computing (SAC'10). ACM, New York, NY, USA, 2536--2543.
[22]
D. Pavlovic and D. R. Smith. 2001. Composition and refinement of behavioral specifications. In Proceedings of the International Conference on Automated Software Engineering (ASE'01). 157--165.
[23]
Richard S. Sutton and Andrew G. Barto. 2018. Reinforcement Learning, An Introduction (second edi ed.). MIT Press. 550 pages.
[24]
Mazeiar Salehie and Ladan Tahvildari. 2009. Self-Adaptive Software: Landscape and Research Challenges. ACM Transactions on Autonomous and Adaptive Systems 4, 2 (May 2009), 14:1--14:42.
[25]
Guido Salvaneschi, Carlo Ghezzi, and Matteo Pradella. 2012. Context-Oriented Programming: A Software Engineering Perspective. 85, 8 (Aug. 2012), 1801--1817.
[26]
Bradley Schmerl, Jesper Andersson, Thomas Vogel, Myra B. Cohen, Cecilia M. F. Rubira, Yuriy Brun, Alessandra Gorla, Franco Zambonelli, and Luciano Baresi. 2017. Challenges in Composing and Decomposing Assurances for Self-Adaptive Systems. In Software Engineering for Self-Adaptive Systems III. Assurances, Rogério de Lemos, David Garlan, Carlo Ghezzi, and Holger Giese (Eds.). Springer International Publishing, Cham, 64--89.
[27]
Johanneke Siljee, Ivor Bosloper, Jos Nijhuis, and Dieter Hammer. 2005. DySOA: Making Service Systems Self-adaptive. In International Conference on Service-Oriented Computing (ICSOC'05), Boualem Benatallah, Fabio Casati, and Paolo Traverso (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 255--268.
[28]
Christopher J. C. H. Watkins and Peter Dayan. 1992. Technical Note: Q-Learning. Machine Learning 8, 3 (May 1992).

Cited By

View all
  • (2024)Multi-Objective Deep Reinforcement Learning Optimisation in Autonomous Systems2024 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)10.1109/ACSOS-C63493.2024.00038(97-102)Online publication date: 16-Sep-2024
  • (2023)A novel continual reinforcement learning-based expert system for self-optimization of soft real-time systemsExpert Systems with Applications10.1016/j.eswa.2023.122309(122309)Online publication date: Oct-2023
  • (2021)STARSProceedings of the 25th ACM International Systems and Software Product Line Conference - Volume B10.1145/3461002.3473068(13-17)Online publication date: 6-Sep-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SEAMS '20: Proceedings of the IEEE/ACM 15th International Symposium on Software Engineering for Adaptive and Self-Managing Systems
June 2020
211 pages
ISBN:9781450379625
DOI:10.1145/3387939
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

In-Cooperation

  • IEEE CS

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 September 2020

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. dynamic software composition
  2. reinforcement learning

Qualifiers

  • Research-article

Funding Sources

  • Science Foundation Ireland (SFI)

Conference

SEAMS '20
Sponsor:

Acceptance Rates

Overall Acceptance Rate 17 of 31 submissions, 55%

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)6
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Multi-Objective Deep Reinforcement Learning Optimisation in Autonomous Systems2024 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)10.1109/ACSOS-C63493.2024.00038(97-102)Online publication date: 16-Sep-2024
  • (2023)A novel continual reinforcement learning-based expert system for self-optimization of soft real-time systemsExpert Systems with Applications10.1016/j.eswa.2023.122309(122309)Online publication date: Oct-2023
  • (2021)STARSProceedings of the 25th ACM International Systems and Software Product Line Conference - Volume B10.1145/3461002.3473068(13-17)Online publication date: 6-Sep-2021
  • (2021)Adaptation to Unknown Situations as the Holy Grail of Learning-Based Self-Adaptive Systems: Research Directions2021 International Symposium on Software Engineering for Adaptive and Self-Managing Systems (SEAMS)10.1109/SEAMS51251.2021.00041(252-253)Online publication date: May-2021
  • (2020)Language Abstractions and Techniques for Developing Collective Adaptive Systems Using Context-oriented Programming2020 IEEE International Conference on Autonomic Computing and Self-Organizing Systems Companion (ACSOS-C)10.1109/ACSOS-C51401.2020.00044(133-138)Online publication date: Aug-2020

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media