Permissive Controller Synthesis for Probabilistic Systems

Klaus Dräger, Vojtech Forejt, Marta Z. Kwiatkowska, David Parker, Mateusz Ujma

Abstract

This paper introduces a framework for synthesizing "permissive" controllers for probabilistic systems, modeled as stochastic two-player games. Instead of a rigid script of single actions, the system generates "multi-strategies"—sets of allowed actions—that guarantee safety and performance while maximizing the controller's flexibility to adapt to unexpected runtime changes.

Introduction

In classical controller synthesis, the goal is to find a single "optimal" strategy: at any given moment, the controller knows exactly one action to take to satisfy a property, such as safety. However, real-world environments are unpredictable. A sensor might fail, or a specific path might suddenly be blocked. If the controller only has one valid move and that move becomes unavailable, the system fails.

The authors address the need for robustness and flexibility by providing the controller with a "menu" of safe options at each step. If one action is preferred but becomes impossible, the controller can switch to another without violating its core safety or performance guarantees.

Modeling Framework

The authors model systems as stochastic two-player games, where one player is the controller and the other is the environment. To achieve flexibility, they move away from standard strategies to multi-strategies, which map states to a set of possible actions.

Example of a stochastic two-player game model.

As illustrated in Figure 1, the system transitions between controller states (diamonds) and environment states (squares). A permissive controller identifies all actions in a given state that maintain the desired probabilistic reachability or reward properties, allowing for runtime adaptation.

Synthesis via Mixed Integer Linear Programming

To measure "flexibility," the authors assign penalties to actions. A penalty is incurred whenever a multi-strategy "blocks" (disallows) an action. The goal is to minimize the total penalty while still guaranteeing the system property (e.g., reaching a goal with probability $\geq 0.99$). They distinguish between:

  • Static Penalties: Summing penalties across all states.
  • Dynamic Penalties: Considering the likelihood of actually reaching those states.

The core of their practical approach is translating the synthesis problem into Mixed Integer Linear Programming (MILP). This allows them to use powerful off-the-shelf solvers like CPLEX to find the best set of actions. Since randomized multi-strategies are more powerful but harder to compute, they propose an approximation scheme that discretizes probabilities, transforming the problem into a deterministic one on a larger, "gadget-filled" game.

Experimental Evaluation

The authors evaluated their approach on several diverse case studies, including cloud service deployment, Android app runtime control, microgrid demand-side management, and sensor network consensus protocols. The models ranged in size from roughly 1,200 to 100,000 states.

Key Results

  • Feasibility: The MILP-based approach successfully synthesized optimal deterministic multi-strategies for models with up to 100,000 states, often in under a minute.
  • Flexibility Gains: In the "Android" case study, they synthesized a controller that always provides a choice of at least two data sources, ensuring the app remains functional even if one source fails.
  • Randomization vs. Determinism: Experimental results confirmed that randomized strategies consistently yielded lower penalties than deterministic ones across all tested models. In the "Android" model, the penalty dropped from 1.01 to 0.903 when moving to randomized strategies.

Discussion and Conclusion

The paper establishes that permissive synthesis is NP-hard, yet the use of MILP provides a practical path forward for many real-world model sizes. Because MILP solvers work incrementally, the process can be stopped early, which is crucial for "anytime" scenarios where a "good enough" flexible controller is needed quickly.

Current limitations include the state space explosion as the number of actions increases and the focus on memoryless strategies for reachability and expected rewards. Future work may explore history-dependent strategies and more complex temporal logic properties (like LTL) to unlock even more permissive controllers.

Summary updated

BibTeX
@inproceedings{drager2014permissive,
  author = {Klaus Dräger and Vojtech Forejt and Marta Z. Kwiatkowska and David Parker and Mateusz Ujma},
  title = {{Permissive Controller Synthesis for Probabilistic Systems}},
  booktitle = {TACAS},
  year = {2014},
  doi = {10.1007/978-3-642-54862-8\_44},
}
Figure