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

Faster Statistical Model Checking for Unbounded Temporal Properties

Przemyslaw Daca, Thomas A. Henzinger, Jan Kretínský, Tatjana Petrov · DOI

TL;DR

This paper introduces a novel statistical model checking algorithm that significantly speeds up the verification of complex systems with unbounded temporal properties. By monitoring simulation runs on the fly and detecting potential "bottom strongly connected components" (BSCCs) early, the algorithm can terminate simulations much sooner than previous methods, requiring only minimal information about the system.

What Problem Does This Paper Address?

Verifying the correctness of complex systems, especially those with potentially infinite behaviors (unbounded temporal properties), is a significant challenge. Traditional numerical methods can be computationally prohibitive for large systems. Statistical Model Checking (SMC) offers an alternative by sampling system executions and using statistical inference. However, existing SMC methods for unbounded properties often require extensive system knowledge (like the full state-space topology) or can be slow due to the need for long simulation runs to achieve desired confidence. This paper aims to bridge this gap by developing an SMC algorithm that is both efficient and requires minimal prior knowledge of the system, specifically only the minimum transition probability.

Methods

The core innovation of this paper is an "on-the-fly" BSCC detection mechanism. Instead of running simulations to completion or relying on pre-computed bounds, the algorithm monitors each simulation run. It identifies "candidates" for BSCCs based on the observed path prefixes. If a candidate is detected with high probability to be a BSCC, the simulation can be terminated early. This early termination is crucial for speeding up the process. The algorithm then uses hypothesis testing on these early-terminated runs to provide statistical guarantees for the property being verified. This approach is extended to handle both qualitative (Linear Temporal Logic - LTL) and quantitative (mean payoff) unbounded properties.

Datasets

The authors evaluated their approach on a suite of benchmarks from the PRISM model checker, including communication and security protocols, distributed algorithms, and fault-tolerant systems. They also used generic Markov chains with varying topologies and sizes, specifically mentioning "tandem" and "gridworld" examples known for large BSCCs.

Key Insights and Ideas

  • Early Termination is Key: The most significant insight is that monitoring simulation paths during execution to detect BSCCs allows for much earlier termination than waiting for a fixed number of steps or a pre-calculated bound. This drastically reduces the number of samples needed.
  • Minimal System Knowledge: Requiring only the minimum transition probability ($p_{min}$) makes the method applicable to "black-box" systems or systems too large to fully analyze. This is a substantial advantage over methods needing full topology or state space size.
  • Candidate-Based BSCC Detection: The concept of "candidates" for BSCCs, which are strengthened over time by observing more of the path, provides a principled way to infer system structure without explicit graph traversal.
  • Scalability for Large Systems: The method shows promise for systems with large state spaces but small BSCCs, as the BSCC is detected quickly, leading to efficient termination.

Key Results

  • The proposed algorithm (SimAdaptive) significantly outperforms existing topology-agnostic SMC methods in terms of execution time on many benchmarks, often by orders of magnitude.
  • It achieves comparable or better results than topology-aware methods in several cases, despite requiring less information about the system.
  • The method is effective for both unbounded LTL properties and mean payoff calculations, demonstrating its versatility.
  • Experimental results show that the algorithm scales well, especially for systems with small BSCCs.

Limitations and Future Work

  • BSCC Size Dependency: The paper acknowledges that for systems with very large BSCCs, the early termination might not be as pronounced, and the performance might degrade.
  • "Herman" Example Anomaly: A specific benchmark ("herman") showed unusually slow performance for SMC algorithms, attributed to a potential bug in the underlying PRISM sampling engine.
  • Future Work: The authors plan to extend their method to Markov decision processes and to address language equivalence between Markov chains. They also aim to investigate its applicability to other types of quantitative properties.

Summary updated

BibTeX
@article{daca2015faster,
  author = {Przemyslaw Daca and Thomas A. Henzinger and Jan Kretínský and Tatjana Petrov},
  title = {{Faster Statistical Model Checking for Unbounded Temporal Properties}},
  journal = {ACM Trans. Comput. Log.},
  year = {2015},
  doi = {10.1007/978-3-662-49674-9\_7},
}
Figure