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

Statistical Model Checking for Hyperproperties

Yu Wang, Siddhartha Nalluri, Borzoo Bonakdarpour, Miroslav Pajic

Abstract

Modern security policies often involve hyperproperties—relationships between multiple system executions—such as probabilistic noninterference and anonymity. Verifying these properties is computationally expensive due to the exponential growth of state spaces. This paper presents a scalable framework using a new temporal logic, HyperPCTL*, and Statistical Model Checking (SMC). By employing a novel multi-dimensional Sequential Probability Ratio Test (SPRT), the approach achieves high accuracy and efficiency on large-scale systems where exhaustive methods fail.

Introduction

In computer security, many critical requirements cannot be expressed as properties of individual execution traces. Instead, they are "hyperproperties," which characterize sets of traces. For instance, probabilistic noninterference requires that the distribution of observable outputs remains invariant regardless of secret inputs. While logics like HyperPCTL have been proposed to specify such requirements, their verification via exhaustive model checking is often intractable. The complexity of checking hyperproperties typically grows exponentially with the number of traces compared, leading to a severe "state explosion" problem.

Methodology

The authors propose a two-fold solution to these scalability challenges: the introduction of a more expressive logic and a sampling-based verification framework.

HyperPCTL* Logic

The researchers extended existing probabilistic hyperlogics to create HyperPCTL*. This logic allows for explicit quantification over multiple paths and, crucially, supports nested probability operators. This expressiveness enables the specification of complex policies involving arithmetic comparisons of probabilities across different execution scenarios.

Formal semantics of the HyperPCTL* logic, defining how formulas are evaluated over models and path assignments.

Statistical Model Checking (SMC)

To bypass exhaustive state-space exploration, the framework utilizes SMC. Instead of analyzing every possible state, the algorithm draws random samples (traces) from the system model. Statistical inference is then used to determine if a property holds with a pre-specified level of confidence.

An example of a Discrete-Time Markov Chain (DTMC) model used for verification, showing states, transitions, and atomic propositions.

The core of the SMC engine is an advanced Sequential Probability Ratio Test (SPRT). Traditional SPRT is designed for simple threshold comparisons (e.g., $p > \theta$). To handle the complex arithmetic expressions in HyperPCTL, the authors developed a multi-dimensional indifference region*. This geometric approach allows the verifier to make statistically sound decisions about sets of probabilities without excessive sampling, even when boundaries are complex.

Evaluation and Results

The framework was evaluated on several security-critical case studies, including timing side-channels in chat servers, probabilistic noninterference in parallel programs, and anonymity in the "Dining Cryptographers" protocol.

Key findings include:

  • Scalability: The SMC approach successfully verified systems with state spaces as large as $2^N$ or $N!$, which are beyond the reach of exhaustive checkers.
  • Efficiency: Verification tasks across all case studies were completed in under 30 seconds on average using standard hardware.
  • Accuracy: The statistical results matched the ground truth (obtained from smaller models) with an estimated accuracy of 99% to 100%.

Conclusion

This work demonstrates that Statistical Model Checking is a powerful tool for the verification of complex security hyperproperties. By combining the expressive HyperPCTL* logic with a novel geometric statistical test, the authors provide a scalable path forward for securing large-scale, real-world systems. Future research will explore extending this logic to timed hyperproperties and integrating symbolic verification techniques for even stronger guarantees.

Summary updated

BibTeX
@inproceedings{wang2021statistical,
  author = {Yu Wang and Siddhartha Nalluri and Borzoo Bonakdarpour and Miroslav Pajic},
  title = {{Statistical Model Checking for Hyperproperties}},
  booktitle = {CSF},
  year = {2021},
  doi = {10.1109/csf51468.2021.00009},
}
Figure