Adaptation to Unknown Situations as the Holy Grail of Learning-Based Self-Adaptive Systems: Research Directions

Ivana Dusparic, Nicolás Cardozo

In the field of software engineering, the ideal of the Self-Adaptive System (SAS) is a system capable of monitoring its environment and autonomously adjusting its behavior to maintain performance. However, a significant limitation persists: most current systems are only as resilient as their designers' foresight. In their position paper, "Adaptation to Unknown Situations as the Holy Grail of Learning-Based Self-Adaptive Systems," Ivana Dusparic and Nicolás Cardozo argue that the ultimate challenge for the field is surviving the "unknown unknowns."

The Problem: Beyond "Known Unknowns"

Most current self-adaptive systems operate on a "known unknowns" basis. Designers anticipate specific variations—such as a sudden spike in network traffic—and provide the system with pre-defined mechanisms to handle them, like scaling server capacity.

In contrast, the real world presents "unknown unknowns"—scenarios that neither the system nor its human designers ever envisioned. When a system encounters these unforeseen walls, it typically requires manual intervention or suffers total failure. For software to achieve true autonomy, it must be capable of learning to navigate these scenarios on the fly, without a human safety net. This paper proposes a strategic roadmap to reach this "Holy Grail" through three critical research pillars.

Pillar 1: Dynamic Environment Observation Representation

A primary bottleneck in current SAS is the "representation gap." Most systems rely on fixed sensors and pre-defined data inputs. However, if a system lacks the internal vocabulary to describe a new situation, it cannot learn to address it.

The authors argue that systems must move away from fixed sensing toward autonomous representation. This involves:

  • Relevance over Granularity: Instead of just adjusting the detail of existing data, systems must identify entirely new dimensions of data that become relevant in novel contexts.
  • On-the-fly State-Space Construction: Systems should autonomously decide which environmental data is pertinent to a new situation and build internal models of that environment dynamically.

Pillar 2: Lifelong Learning and Adaptation Evolution

Learning from scratch at runtime is often too slow and risky for production systems. To handle unknown situations, SAS must evolve through lifelong learning.

Key strategies include:

  • Transfer Learning: Systems should "bootstrap" new behaviors by drawing on similar past experiences rather than starting from zero.
  • Avoiding Catastrophic Forgetting: As a system learns to handle a new situation, it must ensure it does not lose the ability to handle previous, known scenarios.
  • Generative Exploration: The authors highlight the potential of Generative Adversarial Networks (GANs) to help agents autonomously discover new possible tasks and skills, preparing them for a wider range of environmental states.

Pillar 3: Autonomous Goal Adaptation

Traditionally, if a system's environment changes so drastically that its primary goal becomes impossible, the system fails. The authors propose that autonomous systems should be empowered to reason about their own objectives.

  • Partial Fulfillment: In many cases, achieving 90% of a goal is preferable to total failure. Systems should be able to seek "close enough" outcomes when the ideal is unreachable.
  • Goal Generation: If a goal becomes obsolete, the system should be able to propose new, achievable objectives that align with its core purpose.

The Ethical and Safety Dimension

Granting software the power to change its own goals introduces significant legal and ethical challenges. If a system can redefine its objectives to adapt to a new situation, how do we ensure it remains within human-acceptable bounds?

The authors argue that technical capabilities must not outpace our ability to encode ethical constraints. A robust "code of ethics" for self-adaptive software is required to ensure that autonomous adaptations do not result in "rogue" behavior. Furthermore, the field currently lacks the human-in-the-loop interfaces necessary for a system to effectively communicate trade-offs (e.g., "I cannot reach Goal A, but I can reach Goal B; is that acceptable?").

Conclusion

Achieving adaptation to unknown situations represents the next frontier for self-adaptive systems. By maturing research in dynamic representation, lifelong learning, and autonomous goal reasoning, the software engineering community can move closer to creating truly autonomous systems. However, this journey requires a parallel focus on safety and ethics to ensure that as systems become more independent, they remain reliable and aligned with human intent.

Summary updated

BibTeX
@inproceedings{dusparic2021adaptation,
  author = {Ivana Dusparic and Nicolás Cardozo},
  title = {{Adaptation to Unknown Situations as the Holy Grail of Learning-Based Self-Adaptive Systems: Research Directions}},
  booktitle = {SEAMS@ICSE},
  year = {2021},
  doi = {10.1109/seams51251.2021.00041},
}
Figure