A Flexible Toolchain for Symbolic Rabin Games under Fair and Stochastic Uncertainties

Rupak Majumdar, Kaushik Mallik, Mateusz Rychlicki, Anne-Kathrin Schmuck, Sadegh Soudjani

Introduction

In formal methods, games serve as the mathematical foundation for synthesizing controllers with guaranteed performance and safety. Modeling interactions between a system and its environment as a game allows for the creation of robust software managers and autonomous robotic systems. However, real-world scenarios often introduce complexities such as fairness assumptions and stochastic uncertainties that traditional solvers struggle to handle efficiently.

A recent collaboration between researchers at MPI-SWS, ISTA, and the Universities of Leeds and Newcastle presents a powerful new symbolic toolchain. This framework is specifically designed to solve fair-adversarial and $2\frac{1}{2}$-player Rabin games, offering significant performance gains over existing methodologies.

The Challenge of Rabin Games

Synthesizing controllers for complex specifications often requires solving Rabin games. In these games, a "system" player attempts to satisfy a winning condition—typically expressed in Linear Temporal Logic (LTL)—while an "environment" player acts adversarially.

The difficulty increases when systems involve:

  1. Fairness: The assumption that certain events will eventually occur (e.g., a scheduler eventually selecting every active thread).
  2. Stochasticity: Probabilistic elements such as sensor noise or environmental randomness.

Previously, solving these extended Rabin games often required translation into other formats like parity games, which can lead to exponential state-space "blow-up." Furthermore, there was a lack of dedicated symbolic solvers—tools utilizing Binary Decision Diagrams (BDDs) to manage massive state spaces—for these specific game variants.

System Architecture

The researchers' primary insight is that standard, fair, and stochastic Rabin games can be solved using a unified symbolic fixpoint algorithm. The variation lies solely in the calculation of "predecessor" operators—the sets of states from which a player can force a transition into a target set.

The modular architecture of the toolchain, illustrating the decoupling of fixpoint logic (Genie) from domain-specific front-ends (FairSyn, Mascot-SDS).

The toolchain is composed of three primary libraries:

  • Genie: The core engine implementing abstract fixpoint logic and high-level optimizations like parallel execution.
  • FairSyn: A front-end designed for fair-adversarial and $2\frac{1}{2}$-player games.
  • Mascot-SDS: A specialized tool for stochastic dynamical systems, enabling "correct-by-construction" control for physical robots under LTL constraints.

A key technical feature is the BDD abstraction layer, which allows the toolchain to switch between CUDD (a memory-efficient BDD library) and Sylvan (a multi-threaded BDD library). This flexibility enables users to prioritize either memory conservation or computational speed.

Benchmarking and Performance

The toolchain was evaluated against three primary benchmarks: a code-aware resource manager, a bistable switch (a 2D nonlinear stochastic system), and a 4D table-serving robot model.

The results demonstrated the superiority of the symbolic approach:

  • Computational Speed: In the bistable switch benchmark, Mascot-SDS using the Sylvan back-end was at least one order of magnitude faster than the previous state-of-the-art tool, StochasticSynthesis.
  • Parallel Efficiency: By leveraging Sylvan's multi-threading, the authors achieved massive speedups. For instance, a resource management problem was solved in 137 seconds with Sylvan, compared to 6,156 seconds with the single-threaded CUDD.
  • Scalability: The tool successfully synthesized a controller for a 4D robot model with complex LTL specifications, a task typically beyond the reach of non-symbolic, graph-based solvers due to the "curse of dimensionality."

Conclusion and Future Directions

This toolchain represents a significant advancement in the synthesis of controllers for uncertain environments. By unifying the treatment of fairness and stochasticity within a symbolic framework, the authors have provided a scalable solution for high-dimensional systems.

While the current implementation is highly effective, the researchers identified areas for further optimization. Future work will focus on mitigating the memory overhead associated with multi-threaded BDD operations and integrating "lazy gridding" techniques into Mascot-SDS to refine state-space abstractions only where necessary.

For more details, see the full paper: A Flexible Toolchain for Symbolic Rabin Games (CAV 2023).

Summary updated

BibTeX
@inproceedings{majumdar2023flexible,
  author = {Rupak Majumdar and Kaushik Mallik and Mateusz Rychlicki and Anne-Kathrin Schmuck and Sadegh Soudjani},
  title = {{A Flexible Toolchain for Symbolic Rabin Games under Fair and Stochastic Uncertainties}},
  booktitle = {CAV},
  year = {2023},
  doi = {10.1007/978-3-031-37709-9\_1},
}
Figure