PARAM: A Model Checker for Parametric Markov Models

Ernst Moritz Hahn, Holger Hermanns, Björn Wachter, Lijun ZhangCAV 2010

Abstract

PARAM 1.0 is a specialized model checker designed for the analysis of Markov models containing symbolic parameters rather than fixed numerical probabilities. Unlike traditional model checkers that return a single probability value, PARAM produces a closed-form mathematical expression—specifically a rational function. This symbolic output allows designers to perform sensitivity analysis, parameter optimization, and performance evaluation across a continuous range of scenarios without the need for repeated, computationally expensive re-runs.

Introduction

In the domain of probabilistic model checking, systems such as communication protocols or hardware components are typically modeled with fixed transition probabilities. While effective for verification, this approach is limiting during the early design phase when specific parameters are unknown or intended to be tuned for optimal performance. Using standard tools requires a separate analysis for every possible parameter combination, which is often infeasible for complex systems.

PARAM addresses this challenge by treating unknown variables as symbolic parameters. By performing the heavy lifting of state-space exploration and reduction once, the tool generates a rational function (a ratio of two polynomials) that represents the property of interest (e.g., the probability of failure). This "analyze once, evaluate many" paradigm transforms parameter optimization from a model-checking problem into a trivial algebraic evaluation.

Tool Architecture and Methodology

PARAM 1.0 integrates several engineering optimizations to make symbolic model checking practical for large-scale systems. The tool's workflow is structured to minimize the complexity of the resulting mathematical expressions.

The internal architecture of PARAM 1.0, illustrating the pipeline from model input to the final symbolic result file.

State-Space Exploration and Reduction

To handle the computational demands of state generation, PARAM utilizes a precompilation technique. It converts the model description—written in a variation of the PRISM language—into a C++ library. This compiled approach offers a roughly 10x speedup over interpreted state-space generation.

Before symbolic analysis begins, the tool employs "lumping" (bisimulation) to group equivalent states. By reducing the size of the state graph early, the tool significantly mitigates the complexity of the subsequent symbolic calculations. As shown in the architecture diagram, the tool supports both strong and weak lumping strategies.

Rational Function Manipulation

Working with symbolic expressions often leads to "expression swell," where the size of the formulas grows exponentially. PARAM combats this through several key techniques:

  • On-the-fly Simplification: Instead of simplifying the final result, PARAM cancels out common terms during the state elimination process.
  • Hashing and Sharing: The tool implements a global table for rational functions. By using fast hashing, identical intermediate expressions are shared in memory, preventing redundant calculations and reducing memory overhead.
  • Extended Model Support: The tool supports Parametric Markov Chains (PMCs), Parametric Markov Reward Models (PMRMs), and Parametric Markov Decision Processes (PMDPs).

Evaluation and Results

The effectiveness of PARAM 1.0 was demonstrated using benchmark models such as the Crowds protocol, an anonymity protocol for internet users. The tool successfully processed models with up to 2.5 million states, handling multivariate polynomials of degree 21.

A 3D surface plot generated by evaluating a PARAM-produced rational function across 3,000 points, showing the relationship between parameters p, b, and the target property.

A primary benefit of the symbolic approach is visualization. Once the rational function is obtained, it can be evaluated at thousands of points almost instantaneously. For example, the 3D plot above illustrates how a system's reliability changes in response to two different parameters. Generating this same plot with a non-parametric model checker would have required 3,000 individual, full-scale analysis runs.

Conclusion and Future Work

PARAM 1.0 represents a significant step forward in making parametric model checking viable for real-world engineering. While it achieves substantial performance gains, challenges remain in scaling the analysis for Parametric Markov Decision Processes (PMDPs), where the complexity grows exponentially with the number of nondeterministic choices. Future work focuses on improving the scalability of nondeterministic analysis and creating more seamless integrations with automated optimization suites to further streamline the design-to-verification pipeline.

Summary updated

BibTeX
@inproceedings{hahn2010param,
  author = {Ernst Moritz Hahn and Holger Hermanns and Björn Wachter and Lijun Zhang},
  title = {{PARAM: A Model Checker for Parametric Markov Models}},
  booktitle = {CAV},
  year = {2010},
  doi = {10.1007/978-3-642-14295-6\_56},
}
Figure