Abstract
Probabilistic hyperproperties are essential for specifying complex system requirements like differential privacy and non-interference, which involve relationships between multiple independent executions. This paper introduces a novel method for parameter synthesis in systems modeled as Parametric Discrete-Time Markov Chains (PDTMCs). By combining symbolic encoding via state elimination with recursive parameter space decomposition, the proposed algorithm identifies regions of parameter values that satisfy ReachHyperPCTL formulas. Experimental results on benchmarks like the Dining Cryptographers and Randomized Response protocols demonstrate the efficiency and scalability of the approach.
Introduction
In formal verification, standard properties typically check if a single system execution satisfies a requirement, such as "the system never crashes." However, modern security and privacy requirements—known as hyperproperties—describe relationships between multiple independent executions. For instance, differential privacy ensures that an algorithm's output distribution remains similar even if a single individual's data is modified.
A significant challenge arises when systems contain parameters, such as unknown or tunable transition probabilities. The goal of parameter synthesis is to find the specific values that guarantee a system is secure. This paper addresses the complex task of synthesis for probabilistic hyperproperties, a domain where traditional methods often struggle.
Methodology
Parametric Modeling and Logic
The authors model systems using Parametric Discrete-Time Markov Chains (PDTMCs). Unlike standard Markov chains with fixed probabilities, PDTMCs allow transitions to be defined by variables or functions of parameters. This flexibility is crucial for exploring how different configurations affect system behavior.
The research focuses on a fragment of temporal logic called ReachHyperPCTL. This logic allows for quantitative reachability queries across multiple computation trees. To reason about multiple independent runs simultaneously, the authors utilize n-ary self-composition, effectively running parallel copies of the system within a single symbolic framework.
The Synthesis Pipeline
The proposed approach follows a two-step pipeline:
- Symbolic Encoding: Using an adapted state elimination algorithm, the ReachHyperPCTL formula is transformed into a real-arithmetic formula. This results in rational functions (polynomials) where the variables represent the system's parameters.
- Parameter Space Exploration: The algorithm recursively decomposes an initial "box" of possible parameter values. It employs an SMT solver (Z3) to classify regions into three categories:
- Green Regions: All configurations in the box satisfy the property.
- Red Regions: No configurations in the box satisfy the property.
- White Regions: The box contains a mix of satisfying and violating configurations, requiring further refinement.
Case Studies and Results
The algorithm was implemented in a Python tool utilizing Stormpy for Markov chain manipulation and Z3 for SMT solving. Evaluation was conducted on several classic benchmarks:
- Randomized Response: The tool synthesized valid regions for differential privacy in just 0.1 seconds.
- Probabilistic Noninterference: In a thread scheduling case study, the tool successfully mapped the parameter space to show how biased schedulers could leak secret information.
- Dining Cryptographers: Despite the complexity of a self-composition model with 7,744 states, the tool verified the entire parameter space as safe in approximately 40 minutes.
Conclusion and Future Work
This research provides a robust framework for identifying entire regions of valid parameters rather than single point solutions, offering engineers valuable "wiggle room" in system design. While the current method is highly effective for ReachHyperPCTL, future work aims to address the state explosion inherent in self-composition and extend the logic to include nested probability operators and more expressive hyperproperties.
Summary updated