TL;DR
This paper introduces a framework for synthesising "permissive" controllers for stochastic systems, providing a set of safe actions rather than just one. By using Mixed Integer Linear Programming (MILP), the authors generate robust multi-strategies that minimize penalties for restricting choices while strictly guaranteeing performance or safety bounds.
What Problem Does This Paper Address?
In classical controller synthesis, the goal is to find a single "optimal" strategy—a specific action to take in every state—that satisfies a property, such as "the robot reaches the goal with probability at least 0.99." However, real-world environments are unpredictable. A sensor might fail, or a new runtime constraint might suddenly make the "optimal" action unavailable.
If a controller is locked into a single strategy, it lacks the flexibility to adapt. This paper addresses the need for permissivity: instead of a single instruction, the controller should be provided with a menu of safe actions. The challenge is to maximize this flexibility (permissivity) without ever violating the underlying safety or performance guarantees, even in the face of an adversarial or uncertain environment.
The authors model these systems as stochastic two-player games, where one player is the controller and the other represents the environment (capturing uncertainty like faulty components or unreliable sensors).
Methods
The core contribution is the formalization and synthesis of multi-strategies.
- Multi-strategies: Unlike a standard strategy that picks one action, a multi-strategy allows a set of actions. The authors distinguish between deterministic multi-strategies (choosing a fixed set of actions per state) and randomized ones (choosing sets of actions based on a probability distribution).
- Quantifying Permissivity: The authors introduce a penalty scheme. A penalty is incurred whenever an action is disallowed. Synthesis then becomes an optimization problem: minimize the total penalty while ensuring the property holds for any compliant strategy the controller might pick at runtime.
- Static Penalties: A simple sum of penalties for disallowed actions across all states.
- Dynamic Penalties: The worst-case expected sum of penalties, accounting for how likely the system is to actually reach states where choices are restricted.
- MILP-Based Synthesis: The authors translate the synthesis problem into Mixed Integer Linear Programming.
- For the deterministic case, they provide an exact encoding.
- For the randomized case, which is non-linear and harder to solve, they propose an approximation scheme. They discretize the probabilities (using a granularity $1/M$) and transform the game using "gadgets" (additional states and transitions) so it can be solved using deterministic MILP techniques.
- Optimizations: They improve solver performance by calculating tight bounds on reward variables using standard model checking before running the MILP.
Datasets
The methods were evaluated on several case studies implemented in the PRISM-games model checker:
- Cloud: Service deployment across virtual machines.
- Android: Runtime control for a stock monitoring application.
- MDSM: Microgrid demand-side management for energy usage.
- Investor: A futures market investment model.
- Team-form: Agents collaborating to complete tasks.
- CDMSN: Collective decision-making in sensor networks.
These models ranged in size from small examples to systems with approximately 100,000 states.
Key Insights and Ideas
- Randomization is Power: A key theoretical finding is that randomized multi-strategies are strictly more powerful than deterministic ones. They can achieve lower penalties (higher permissivity) while satisfying the same safety property.
- Complexity Bounds: The authors prove that permissive synthesis is NP-hard for both static and dynamic penalties. However, they establish that the deterministic case is in NP, while the randomized case is in PSPACE.
- Anytime Verification: Because MILP solvers work incrementally, they can produce a "good enough" permissive strategy quickly and then refine it over time. This makes the approach suitable for "anytime verification" or online runtime control where decisions must be made within a strict time budget.
- Penalty vs. Reward: The paper clarifies that penalties are for relative comparison of flexibility, distinct from the system's actual rewards (like energy or time), which are used for the safety/performance specification.
Key Results
- Scalability: The MILP approach successfully handled models with up to 100k states, which is significant for an NP-hard problem.
- Solver Performance: Gurobi generally outperformed CPLEX, showing better speed and numerical stability.
- Permissivity Gains: In the
androidcase study, moving from a deterministic multi-strategy to a randomized one (with granularity $M=300$) reduced the penalty from 1.01 to 0.903, demonstrating the practical benefit of randomization. - Efficiency: While more expensive than classical synthesis (which takes fractions of a second), the permissive synthesis typically completed within seconds or a few minutes for most models.
Limitations and Future Work
- Memoryless Restriction: The current framework focuses on memoryless strategies. The authors suggest that history-dependent multi-strategies could offer even more power but would be significantly more complex to synthesize.
- Property Expressivity: The work is limited to reachability and expected total reward properties. Extending this to more complex temporal logics (like LTL) or parity objectives is a suggested next step.
- Reward Signs: The current methods assume non-negative rewards to avoid issues with infinite total rewards. Generalizing to both positive and negative rewards would require more sophisticated graph analysis.
- State Space Explosion: While 100k states is a good milestone, the NP-hard nature of the problem means that very large-scale industrial systems will still pose a significant challenge for current MILP solvers.
Summary updated