A storm is Coming: A Modern Probabilistic Model Checker

Christian Dehnert, Sebastian Junges, Joost-Pieter Katoen, Matthias VolkarXiv 2017 · arXiv

TL;DR

Storm is a high-performance, modular probabilistic model checker designed to provide a flexible platform for both researchers and engineers. By decoupling modeling formalisms from state-space engines and numerical solvers, Storm achieves significant speedups over established tools like PRISM while supporting a broader range of input formats and a user-friendly Python API.

What Problem Does This Paper Address?

Probabilistic model checking is a critical technique for verifying systems that involve uncertainty, such as randomized algorithms, network protocols, or safety-critical hardware prone to failure. While tools like PRISM have been the industry standard for years, the authors argue that existing checkers often lack the modularity needed for rapid experimentation with new algorithms or solvers.

Furthermore, as systems grow in complexity, there is a constant demand for better performance and support for richer modeling formalisms—such as Markov Automata (which combine non-determinism with continuous-time delays) and probabilistic programs. Storm was built to address this need for a "modern" toolkit that is both highly efficient and easy to extend.

Methods

Storm’s core strength lies in its modular architecture, which separates the verification process into distinct layers:

  1. Input Layer: It supports a wide variety of native formats, including PRISM, JANI (a universal format), dynamic fault trees (DFTs), and generalized stochastic Petri nets (GSPNs).
  2. Engines: Storm features multiple in-memory representations. Sparse engines use matrices for speed on moderate models, while Decision Diagram (DD) engines use Multi-Terminal Binary Decision Diagrams (MTBDDs) to handle massive state spaces. It also includes a hybrid engine and an abstraction-refinement engine for infinite-state models.
  3. Solvers: The tool acts as a wrapper for various high-performance backends. As shown in Table 1, it can plug in different solvers for linear equations, SMT (Satisfiability Modulo Theories), and MILP (Mixed-Integer Linear Programming) depending on the task.
Fig. 1. Storm’s architecture.

Additionally, Storm provides a Python API, allowing developers to prototype new verification tools by calling Storm’s optimized C++ routines without needing to delve into the complex low-level codebase.

Datasets

The authors evaluated Storm using two primary sources:

  • The PRISM Benchmark Suite: A collection of 24 models (DTMCs, CTMCs, and MDPs) with 82 corresponding properties, representing standard challenges in the field.
  • Markov Automata Models: Specifically sourced from the IMCA tool to test Storm's performance on continuous-time models with non-determinism.

Key Insights and Ideas

  • Modularity Drives Performance: By allowing users to swap solvers (e.g., using Gurobi for MILP or Z3 for SMT), Storm can be tuned for specific benchmark instances. This "best-of-breed" approach is a major factor in its speed.
  • Native Formalism Support: Rather than just providing a parser, Storm uses state-space reduction techniques tailored to specific formalisms like DFTs. This allows it to significantly outperform tools that rely on generic translations.
  • Exact Arithmetic is Viable: Probabilistic model checking is prone to numerical instability. Storm’s implementation of exact arithmetic is surprisingly efficient—up to three orders of magnitude faster than PRISM’s exact mode—making precise results more accessible.

Key Results

The experimental results demonstrate that Storm is highly competitive and often superior to existing state-of-the-art tools:

  • General Performance: In a head-to-head comparison on the PRISM benchmark suite, Storm's "best" engine was faster than PRISM's "best" engine for the overwhelming majority of tasks. Storm solved 361 out of 380 tasks, compared to 346 for PRISM.
  • Engine Comparisons: As seen in Figure 2, Storm's sparse engine consistently outperformed PRISM's explicit engine due to faster model construction and solving times.
  • Markov Automata: Storm showed significant speedups over IMCA, the only other major tool capable of verifying these complex models.
Fig. 2. Run-time comparison (seconds) of different engines/features.

Limitations and Future Work

Despite its strengths, the authors acknowledge several areas where Storm does not yet match its competitors:

  • Logic Support: Storm currently focuses on branching-time logics (PCTL/CSL) and does not support Linear Temporal Logic (LTL) model checking.
  • Feature Gaps: It lacks certain specialized features found in PRISM, such as probabilistic timed automata, multi-objective model checking, and stochastic games.
  • Engine Limitations: The symbolic (MTBDD) engine does not yet support continuous-time Markov chains (CTMCs).

Future development will likely focus on closing these feature gaps and further expanding the library of supported solvers and modeling formalisms.

Summary updated

Abstract

We launch the new probabilistic model checker storm. It features the analysis of discrete- and continuous-time variants of both Markov chains and MDPs. It supports the PRISM and JANI modeling languages, probabilistic programs, dynamic fault trees and generalized stochastic Petri nets. It has a modular set-up in which solvers and symbolic engines can easily be exchanged. It offers a Python API for rapid prototyping by encapsulating storm's fast and scalable algorithms. Experiments on a variety of benchmarks show its competitive performance.
BibTeX
@misc{dehnert2017storm,
  author = {Christian Dehnert and Sebastian Junges and Joost-Pieter Katoen and Matthias Volk},
  title = {{A storm is Coming: A Modern Probabilistic Model Checker}},
  year = {2017},
  eprint = {1702.04311},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.04311},
}

Loading related content...

Figure