Abstract
Traditional controller synthesis for Markov Decision Processes (MDPs) focuses on optimizing single-trace properties, such as reachability. However, modern security and privacy requirements—modeled as probabilistic hyperproperties—demand comparisons across multiple system executions. This paper presents a novel deductive framework that utilizes an abstraction refinement loop to synthesize controllers under these complex constraints. By moving away from standard SMT-based encodings, the proposed method achieves significant performance improvements, solving benchmarks in seconds that previously caused state-of-the-art tools to time out.
1. Introduction
In probabilistic modeling, Markov Decision Processes (MDPs) serve as a foundational framework for environments with uncertain outcomes. While finding a strategy (controller) to maximize the probability of a specific event is well-understood, modern applications require satisfying probabilistic hyperproperties. These properties, such as differential privacy or noninterference, do not pertain to a single execution path but rather to the relationship between sets of executions. For instance, a system might require that the probability of a specific observable output remains invariant regardless of a secret initial state.
Existing approaches, primarily those relying on Satisfiability Modulo Theories (SMT) solvers like HyperProb, face significant scalability issues. As the number of states and the complexity of the hyperproperty increase, the search space for valid controllers grows exponentially, often leading to computational timeouts even on relatively small models.
2. Methodology: Deductive Controller Synthesis
The authors introduce a Deductive Controller Synthesis approach that replaces general-purpose SMT solving with a specialized Abstraction Refinement (AR) loop. This process involves several key components:
- Symbolic Representation: Instead of evaluating individual controllers, the framework represents entire families of potential controllers symbolically.
- Interval Logic: The system calculates the minimum and maximum possible probabilities for a property across an entire family of controllers.
- Deductive Pruning: If the maximum possible probability for a family fails to meet the required threshold, the entire family is pruned from the search space. Conversely, if the minimum probability satisfies the requirement, a valid controller has been identified.
- Splitting Strategy: When a family's probability interval is too wide to permit a definitive decision, the algorithm splits the family into sub-families based on "conflicting parameters"—states where different actions significantly impact the outcome.
- Structural Constraints: The framework natively supports constraints such as partial observability, where a controller must take identical actions in states that are indistinguishable to the agent. These constraints are integrated as pruning rules, further accelerating the search.
3. Experimental Evaluation
The framework was evaluated against two primary benchmark suites:
- Standard HyperPCTL Benchmarks: Derived from the
HyperProbtool, including Timing Attacks (TA), Password Leakage (PW), Thread Scheduling (TS), and Probabilistic Conformance (PC). - Stochastic Domination (SD) Mazes: A new set of benchmarks involving robotic navigation through "leaky" or "faulty" environments where privacy must be maintained while reaching a goal.
4. Key Results and Insights
The deductive approach demonstrated a transformative improvement in performance and capability:
- Efficiency: On the
TAandPWbenchmarks, the proposed tool found solutions in under one second, whereasHyperProbrequired nearly 500 seconds or failed to terminate. - Scalability: In the Maze benchmarks, the deductive AR loop solved most instances in under a minute, while SMT-based methods failed to solve almost any instance within a one-hour limit.
- Constraint Synergy: A significant finding is that adding structural constraints (like partial observability) often improves performance. These constraints allow the deductive engine to prune larger sections of the search space earlier in the process.
- Memory Integration: The study highlights that memoryless controllers are often insufficient for security properties. By supporting 1-bit or 2-bit memory enhancements, the tool synthesized strategies for probabilistic noninterference that were previously unreachable.
5. Conclusion and Future Work
This research provides the first effective tool for combining probabilistic hyperproperties with inter-controller constraints. While highly successful, the authors identify areas for improvement, specifically regarding the "Probabilistic Conformance" (PC) benchmark where current splitting heuristics struggle. Future work will focus on generating formal counterexamples for unfeasible properties and extending the framework to handle alternating quantifiers (e.g., "for all attackers, there exists a defense").
Summary updated