Synthesizing Resilient Strategies for Infinite-Horizon Objectives in Multi-Agent Systems

David Klaska, Antonín Kucera, Martin Kurecka, Vít Musil, Petr Novotný, Vojtech Rehák

Abstract

Multi-agent systems performing persistent tasks like surveillance often face a trade-off between efficiency, resilience to failures, and predictability. This paper presents a framework for automatically synthesizing movement strategies that are both resilient and stochastically stable. By formulating strategy synthesis as a differentiable optimization problem using a new specification language, Fault-Tolerant Recurrent Visit (FTRV), the authors demonstrate that randomized, coordinated strategies can significantly outperform traditional deterministic approaches in infinite-horizon tasks.

Introduction: The Challenge of Persistent Surveillance

In applications such as environmental monitoring or remote software protection, agents must visit a set of locations repeatedly and indefinitely. The primary objective is to minimize the "idleness" of any given node—the time between consecutive visits. However, existing path-planning algorithms often suffer from three main drawbacks:

  1. Fragility: Partitioning a map among agents leaves regions unmonitored if an agent fails.
  2. Inefficiency: Uniform strategies fail to exploit environmental topology.
  3. Determinism: Deterministic paths are predictable and often suboptimal compared to randomized alternatives.
Traditional partitioned strategies are fragile; if one agent fails, its assigned region is left unmonitored.

Methodology: Differentiable Strategy Synthesis

The authors propose a two-pronged approach to overcome these limitations:

1. Fault-Tolerant Recurrent Visit (FTRV) Language

The FTRV language allows for the formal specification of complex objectives. It uses "atoms" to define requirements, such as $ET(v, f)$ (maximum expected time to visit node $v$ given $f$ failures) and $VT(v, f)$ (the variance of that visit time). This enables the synthesis of strategies that explicitly account for potential agent loss.

2. Gradient-Based Optimization

Instead of a discrete search, the framework treats strategy parameters as real-valued weights. These are transformed into probability distributions via a Softmax function. The system is modeled as a Markov chain, and the ADAM optimizer is used to minimize the FTRV objective. This differentiable approach allows for the discovery of both Autonomous strategies (private memory) and Coordinated strategies (shared global state).

Key Insights: The Advantage of Coordination and Randomization

A core finding of this research is that randomized coordinated strategies can strictly dominate deterministic ones. For instance, in a 5-node line graph ($P_5$), the optimal deterministic strategy yields a maximum expected visit time of 3. The proposed algorithm discovered a coordinated randomized strategy that reduces this value to 2.

A coordinated randomized strategy for two agents on a 5-node line, achieving superior visit times through "entangled" probabilistic choices.

These "entangled" choices allow agents to synchronize their probabilistic moves, covering the environment more effectively than independent agents. Furthermore, the framework allows users to tune the "stochastic stability" of a strategy. By increasing a variance penalty ($\kappa$), the strategy can be shifted from highly randomized (low average time, high variance) to perfectly deterministic (higher average time, zero variance).

Results and Scalability

The algorithm was tested on various benchmarks, including linear paths ($P_k$), irregular grids, and cyclic graphs with shortcuts.

  • Performance Gains: In the $P_5$ benchmark, coordination improved expected visit times from 3.0 to 2.0.
  • Resilience Trade-offs: By weighting failure-case objectives, the algorithm automatically transitions from specialized high-performance paths to robust, redundant cycles.
  • Scalability: The tool successfully synthesized strategies for systems with up to 13 nodes and 3 agents within minutes, demonstrating practical scalability for moderately sized environments.

Conclusion and Future Directions

This work demonstrates that differentiable programming is a powerful tool for multi-agent strategy synthesis. While the current approach faces challenges with state-space explosion in very large systems, future work involving environmental symmetry reduction and sparse matrix optimizations promises to extend these techniques to even more complex real-world scenarios.

Summary updated

BibTeX
@inproceedings{klaska2023synthesizing,
  author = {David Klaska and Antonín Kucera and Martin Kurecka and Vít Musil and Petr Novotný and Vojtech Rehák},
  title = {{Synthesizing Resilient Strategies for Infinite-Horizon Objectives in Multi-Agent Systems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/20},
}
Figure