NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Fast Parametric Model Checking through Model Fragmentation

Xinwei Fang, Radu Calinescu, Simos Gerasimou, Faisal AlhwikemarXiv 2021

TL;DR

fPMC (fast Parametric Model Checking) introduces a divide-and-conquer approach to analyze complex stochastic systems by breaking their Markov models into smaller, manageable "fragments." This technique allows researchers to generate algebraic formulas for system reliability and performance even in scenarios where state-of-the-art tools like PRISM and Storm time out or run out of memory.

What Problem Does This Paper Address?

Parametric Model Checking (PMC) is a powerful formal method used to evaluate non-functional properties—like reliability or performance—as algebraic formulas. These formulas are incredibly useful: at design time, they help engineers perform sensitivity analysis; at runtime, they allow systems to adapt to environmental changes by simply plugging new values into a pre-computed equation.

However, PMC suffers from a severe scalability bottleneck. As the number of system parameters (e.g., failure rates, transition probabilities) or the complexity of the system's behavior increases, the time and memory required to compute these formulas grow exponentially. Existing tools often fail when a model has more than a handful of parameters, limiting PMC's use in realistic, large-scale software engineering.

Methods

The authors propose fPMC, which utilizes a model fragmentation strategy to bypass the complexity of monolithic analysis.

  1. Fragmentation Algorithm: The core innovation is an automated algorithm that partitions a parametric Discrete-Time Markov Chain (pDTMC) into "fragments." A fragment is defined as a subset of states with exactly one entry point and multiple exit points.
  2. Divide and Conquer: Instead of analyzing the whole model at once, fPMC analyzes each fragment independently to find local reachability formulas. It then creates an "abstract model" where each fragment is represented by a single state.
  3. Model Restructuring: Not all models naturally break into clean fragments. The paper introduces two novel graph-restructuring techniques—auxiliary state insertion and transition replacement—to "force" valid fragments without changing the underlying reachability properties of the system.
  4. Formula Synthesis: Finally, the local fragment formulas and the abstract model formula are combined into a system of equations to produce the final closed-form analytical model.
Fig. 1: Fast parametric model checking process

Datasets

The authors evaluated fPMC using three distinct systems from existing research literature:

  • FX System: A foreign exchange trading system with various execution strategies (sequential, parallel, probabilistic) and retry mechanisms.
  • PL System: A product line model for a vending machine, featuring between 4 and 22 configurable features.
  • COM Process: A bio-inspired communication process (based on honeybee alarm pheromones) modeled as a stochastic population model.

These models were chosen because they allow for tuning the number of states and parameters, providing a rigorous test for scalability.

Key Insights and Ideas

  • Complexity is Localized: By breaking the model into fragments, the "explosion" of algebraic terms is contained within small sub-problems. The resulting global formula is often significantly simpler (fewer arithmetic operations) than one produced by monolithic methods.
  • Parameter Invariance: A striking finding is that fPMC's performance is barely affected by the number of parameters in the model. While traditional tools like Storm and PRISM show exponential slowdown as parameters increase, fPMC remains efficient even when 100% of transitions are parameterized.
  • The "Sweet Spot" for $\alpha$: The algorithm uses a hyperparameter $\alpha$ to control fragment size. The authors discovered a "sweet spot" (typically $\alpha \in [3, 14]$ for their examples) where fragmentation is most effective. If fragments are too small, the abstract model becomes too complex; if they are too large, the fragment analysis itself becomes the bottleneck.
Fig. 2: Fragment of a pDTMC model

Key Results

  • Applicability: fPMC successfully analyzed complex variants of the FX and PL systems that caused Storm and PRISM to time out (after 60 minutes) or run out of memory.
  • Speed: For the most difficult PL system variant (where all transitions were parameters), fPMC produced a formula in under 94 seconds, whereas traditional tools could not produce a result at all.
  • Formula Efficiency: The formulas generated by fPMC were often much smaller. For example, in the COM process, fPMC produced formulas with ~200K operations, while PRISM's formulas (when it succeeded) were massive, sometimes exceeding 160MB in size.

Limitations and Future Work

While fPMC is a significant step forward, the authors note several areas for improvement:

  • Property Support: The current implementation focuses on reachability properties. Future work is needed to extend this to "unbounded until" and "reward-based" properties.
  • Heuristics for $z_0$: The choice of the starting node for fragmentation affects the final result. The authors plan to investigate smarter, informed strategies for selecting these nodes.
  • Hierarchical Fragmentation: For truly massive systems, the authors suggest a hierarchical approach where fragments themselves are further partitioned, potentially extending PMC to even larger domains.

Summary updated

BibTeX
@misc{fang2021fast,
  author = {Xinwei Fang and Radu Calinescu and Simos Gerasimou and Faisal Alhwikem},
  title = {{Fast Parametric Model Checking through Model Fragmentation}},
  year = {2021},
  eprint = {2102.01490},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.01490},
}

Loading related content...

Figure