Efficient Probabilistic Model Checking for Relational Reachability

Lina Gerlach, Tobias Winkler, Erika Ábrahám, Borzoo Bonakdarpour, Sebastian JungesCAV 2025

Introduction

Markov Decision Processes (MDPs) are the standard mathematical framework for modeling systems that combine probabilistic behavior with nondeterministic choices. While traditional model checking focuses on simple reachability—calculating the maximum probability of reaching a specific state—modern applications in security and fairness require comparing probabilities across different outcomes or strategies. This "relational reachability" is essential for verifying properties like information flow (does a secret change an observable outcome's probability?) or fairness (are two outcomes equally likely?).

However, general-purpose solvers for probabilistic hyperlogics often struggle with these queries, facing high computational costs or undecidability. This paper presents a specialized, highly efficient approach for the relational reachability fragment, enabling verification of large-scale systems.

Algorithmic Framework: Unfolding and Rewards

The core contribution is a framework that reduces relational queries to classical expected reward problems. The process follows four main steps:

  1. State-Scheduler Decomposition: The property is broken down into its constituent states and the strategies (schedulers) being compared.
  2. Goal Unfolding: The MDP is transformed into an "unfolded" version. This expanded state space tracks which target sets have been visited, ensuring that the first visit to a target is captured correctly.
  3. Reward Encoding: Reachability probabilities are mapped to expected rewards. By assigning specific rewards to transitions in the unfolded MDP, the problem of comparing probabilities is converted into optimizing a total reward.
  4. Multi-Objective Optimization: The algorithm then uses multi-objective model-checking techniques to determine the range of achievable values (the Pareto front) for these rewards.
The transformation from a standard MDP (left) to an unfolded MDP (right) with reward encoding (+1, -1/2) for relational analysis.

This approach is Fixed-Parameter Tractable (FPT). While complexity grows exponentially with the number of target sets, it remains polynomial relative to the size of the MDP, making it highly effective for practical properties that typically involve only a few targets.

The Complexity Landscape

The paper provides a rigorous analysis of the computational difficulty of various relational properties. While the general problem can be PSPACE-hard, many common scenarios—such as when each probability in the relation is controlled by an independent scheduler—fall into PTIME.

Complexity results for different classes of relational properties over memoryless deterministic (MD) schedulers.

A key insight from this analysis is that satisfying relational constraints often requires memory and randomization in the strategy. Even if a simple memoryless strategy is optimal for standard reachability, a more complex scheduler may be necessary to ensure that two different outcomes occur with exactly equal probability.

Performance and Scalability

The proposed tool, built on the Storm model checker, was evaluated against benchmarks including Von Neumann fair-bit generation, robot-adversary scenarios (Robot Tag), and various security protocols.

  • Massive Speedups: On the Von Neumann benchmark, the tool handled instances with 250,000 states in seconds. In contrast, existing baselines like HyperProb and HyperPAYNT timed out or failed due to memory constraints at just 400 states.
  • Large-Scale Verification: In the Robot Tag case study, the framework successfully verified models with nearly 8 million states in under a minute.

Conclusion

By identifying a specific, high-value fragment of probabilistic hyperlogic and reducing it to a reward optimization problem, the authors have bridged the gap between theoretical expressivity and practical performance. Future work aims to extend this efficiency to $\omega$-regular properties (infinite behaviors) and Partially Observable MDPs (POMDPs).

Summary updated

BibTeX
@inproceedings{gerlach2025efficient,
  author = {Lina Gerlach and Tobias Winkler and Erika Ábrahám and Borzoo Bonakdarpour and Sebastian Junges},
  title = {{Efficient Probabilistic Model Checking for Relational Reachability}},
  booktitle = {CAV},
  year = {2025},
  doi = {10.1007/978-3-031-98668-0\_6},
}
Figure