Probabilistic Model Checking Taken by Storm

Matthias Volk, Linus Heck, Sebastian Junges, Joost-Pieter Katoen, Tim Quatmann

TL;DR

This tutorial paper provides a hands-on guide to probabilistic model checking using the powerful Storm model checker and its Python ecosystem. Through a running example of a children's board game, it demonstrates how to programmatically model complex systems, verify diverse properties, extract optimal strategies, and handle advanced forms of uncertainty like interval MDPs and POMDPs.

What Problem Does This Paper Address?

Verifying safety-critical systems—like autonomous vehicles, distributed protocols, or medical devices—requires faithfully modeling real-world uncertainty, whether it stems from noisy sensors, hardware degradation, or random chance. Probabilistic Model Checking (PMC) is a formal verification technique that calculates the exact probability of a system satisfying specific requirements.

However, traditional PMC tools often require learning specialized, rigid modeling languages and operate as isolated, linear pipelines. This paper addresses this usability gap. It showcases how the Storm model checker's Python bindings (stormpy and Stormvogel) allow researchers and engineers to build, analyze, and extend probabilistic models directly within a familiar Python environment, making it easy to integrate PMC into modern rapid-prototyping and machine learning workflows.

Methods

The paper walks through the complete, modern PMC workflow using Storm, transitioning from a linear pipeline into an interactive reasoning loop.

Fig. 1: Probabilistic model checking (extended from [19] with tutorial-specific content in small font)
  • High-Level Modeling in Python: Instead of using strict domain-specific languages, the authors use Stormvogel's "bird API" to define a Markov Decision Process (MDP) using standard Python code. The tool automatically explores and constructs the state space from an initial state configuration.
  • Advanced Property Checking: Beyond simple "yes/no" safety queries, the paper demonstrates how to check complex properties such as expected total rewards, reward-bounded reachability (e.g., winning within a certain number of steps), conditional probabilities, and multi-objective tradeoffs.
  • Policy Extraction & Compression: When checking an MDP, Storm computes an optimal policy (or strategy). The paper shows how to extract this policy and compress it into an interpretable, compact decision tree using tools like PAYNT and dtControl.
  • Handling Imprecise and Partial Information: The authors extend standard MDPs into more complex regimes:
  • Interval MDPs (iMDPs): Where transition probabilities are ranges rather than exact numbers, resolved via either "cooperative" (optimistic) or "robust" (adversarial) interpretations.
  • Parametric MDPs (pMDPs): Where transitions are functions of symbolic parameters.
  • Partially Observable MDPs (POMDPs): Where the agent cannot see the exact state of the system and must make decisions based on restricted observations.

Datasets

Not discussed in the paper. As a tutorial, the paper relies on a synthetic running example—the children's cooperative board game Orchard (Obstgarten)—to illustrate concepts rather than benchmarking against standard datasets.

Key Insights and Ideas

  • Python as a First-Class Citizen: Moving PMC into Python (stormpy) changes how formal methods can be used. It allows model checking to be embedded directly into iterative engineering loops, such as exposing models via OpenAI Gym-compatible interfaces for reinforcement learning.
  • The Massive Impact of Imprecise Probabilities: In the Interval MDP experiment, varying the dice probabilities by just $1/36$ caused the winning probability to swing drastically from $\sim0.79$ (in a cooperative environment) down to $\sim0.43$ (in a robust, adversarial environment). This highlights how sensitive probabilistic systems can be to minor environmental variations.
  • The "Arbitrary Choice" Bloat: Standard model checkers make arbitrary choices when multiple actions yield the same optimal value. This randomness makes the resulting strategy highly complex and difficult to compress into a small decision tree. Overcoming this requires specialized synthesis tools like PAYNT to enforce clean, interpretable predicates.

Key Results

  • State Space Scaling: The simplified version of the Orchard game generates a modest 90 states, while the full game scales up to 22,469 states and 44,954 transitions.
  • Bisimulation Minimization: By applying bisimulation minimization, Storm successfully reduced the full game's state space by 95% (down to just 956 states) without altering its mathematical behavior, drastically accelerating analysis.
  • Symbolic Efficiency: Representing the full model symbolically using Decision Diagrams (DDs) compressed nearly 45,000 explicit transitions into a diagram with only 946 nodes.

Limitations and Future Work

Because this is a tutorial, the authors intentionally omit several of Storm's advanced capabilities, such as continuous-time models (e.g., Continuous-Time Markov Chains) and deep dives into Storm's internal C++ data structures.

On a technical level, the authors note that support for advanced uncertainty extensions like POMDPs and interval MDPs is still actively being developed within the Storm ecosystem. Additionally, automatically generating small, human-readable decision trees for strategies remains a challenge that often requires manual predicate engineering to guide the synthesis tools.

Summary updated

BibTeX
@inproceedings{volk2026probabilistic,
  author = {Matthias Volk and Linus Heck and Sebastian Junges and Joost-Pieter Katoen and Tim Quatmann},
  title = {{Probabilistic Model Checking Taken by Storm}},
  booktitle = {FM},
  year = {2026},
  doi = {10.1007/978-3-032-26220-2\_25},
}
Figure