TL;DR
Storm is a high-performance, modular probabilistic model checker designed to verify systems involving stochastic uncertainty, such as Markov chains and decision processes. It distinguishes itself through its support for diverse modeling languages, a flexible solver-agnostic architecture, and a Python API that enables rapid prototyping of advanced formal verification algorithms.
What Problem Does This Paper Address?
Stochastic uncertainty is a fundamental challenge in modern engineering, appearing in everything from noisy sensor data in cyber-physical systems to randomized symmetry-breaking in distributed protocols. Probabilistic model checking provides a formal way to verify if these systems meet specific requirements (e.g., "What is the probability of a system failure within 24 hours?").
However, the field has historically been fragmented. Researchers often had to choose between tools that were fast but rigid, or flexible but slow. Furthermore, most tools were tied to a single modeling language. Storm addresses these gaps by providing a performant, "easy-to-extend" platform that supports a wide array of input formalisms and state-of-the-art analysis techniques under one roof.
Methods
Storm’s architecture is built on two pillars: modularity and performance.
- Modular Engines: Storm offers several engines tailored to different model sizes and structures. These include a Sparse engine (explicit matrix-based), a Decision Diagram (DD) engine (symbolic), and a Hybrid engine that combines both.
- Solver Abstraction: It treats sub-problems (like solving linear equations or Bellman equations) as tasks for external solvers. This allows users to swap between approximately 15 different backends, including Z3 for SMT, Gurobi for linear programming, and Eigen for linear algebra.
- Advanced Abstraction: For massive or infinite state spaces, Storm employs Game-Based Abstraction-Refinement (see Figure 3). This technique over-approximates system behavior using a stochastic game and iteratively refines the model until the desired property can be proven or disproven.
- Soundness and Precision: To avoid the pitfalls of floating-point errors, Storm supports exact rational arithmetic and sound value iteration (e.g., interval iteration), which provides guaranteed bounds on the results.
Datasets
The authors evaluate Storm using the QComp 2019 and 2020 benchmark sets, which are part of the broader Quantitative Verification Benchmark Set (QVBS). These benchmarks cover a diverse range of models, including:
- Communication protocols (e.g., Bounded Retransmission Protocol).
- Self-stabilizing algorithms (e.g., Herman’s protocol).
- Biological systems and reliability models (Dynamic Fault Trees).
Key Insights and Ideas
- Language Agnosticism: Storm isn't just for one community. By supporting PRISM, JANI, Generalized Stochastic Petri Nets (GSPNs), and Dynamic Fault Trees (DFTs), it bridges the gap between different modeling traditions (see Figure 4 for the model types supported).
- The "Automatic" Engine: Storm includes a decision-tree-based selector that analyzes an input model's features to automatically pick the engine configuration most likely to be the fastest.
- High-Level Counterexamples: Unlike tools that provide cryptic state-level traces, Storm can generate counterexamples at the level of the original modeling code (e.g., highlighting specific lines of JANI code), making it a much more effective debugging tool for human engineers.
- Stormpy: The Python API (
stormpy) is a major "aha" feature. It allows researchers to access Storm’s high-performance C++ core using Python, facilitating rapid experimentation without the overhead of low-level memory management.
Key Results
Storm demonstrated state-of-the-art performance in the QComp competitions.
- Efficiency: In the QComp 2019 report, Storm solved more instances (43 out of 43) than its main competitors (PRISM, MCSTA, and ePMC) and was generally faster across the board (see Figure 1).
- Versatility: In an evaluation of 96 benchmark instances, the Sparse engine proved to be the most versatile, solving 73 instances. However, the Automatic engine successfully matched the performance of the "notional fastest" configuration in the vast majority of cases.
- Exact vs. Numerical: While exact model checking is computationally heavier, it was the only method capable of solving certain instances where standard numerical methods failed to provide correct results.
Limitations and Future Work
- Unsupported Formalisms: Storm currently lacks support for statistical model checking (simulation-based analysis), LTL model checking (supported by ePMC and PRISM), and stochastic games.
- Technical Complexity: The heavy use of C++ template meta-programming, while great for performance, leads to significant compile times and makes the codebase challenging for new developers to navigate.
- Maintenance: The authors acknowledge that keeping pace with the rapid evolution of the field—implementing new algorithms while constantly refactoring existing ones—remains a major ongoing challenge.
Summary updated