Introduction
The formal verification of security protocols often hinges on proving that two systems are indistinguishable to an external observer. In the context of probabilistic systems, this indistinguishability is captured by the notion of probabilistic bisimulation. While techniques exist for verifying bisimulation in finite-state systems, many real-world protocols are parameterized, meaning they are designed for an arbitrary number of participants ($n$). Verifying such infinite families of systems is generally undecidable. This paper introduces a framework that leverages Regular Model Checking and automata learning to automate the verification of probabilistic bisimulation for parameterized systems.
The Challenge of Parameterized Probabilistic Systems
A parameterized system represents an infinite set of instances (e.g., a protocol for $n=3, 4, 5, \dots$ nodes). Traditional model checkers like PRISM can verify specific instances but cannot generalize to all $n$. Proving properties like anonymity—where an observer cannot distinguish which participant performed an action—requires showing that the system's behavior remains bisimilar across all possible configurations of secrets. Previous attempts at parameterized verification often required manual inductive proofs or were restricted to non-probabilistic settings.
Methodology: Logic and Learning
The authors' approach bridges the gap between probabilistic reasoning and automated string-based logic through several key innovations.
1. Universal Automatic Structure
The core of the method is the encoding of system states and transition weights into a "universal automatic structure." By representing configurations as strings, the authors can express the system's semantics within a decidable first-order logic. Crucially, they demonstrate that transition probabilities can be handled by scaling them into natural weights, provided the system maintains a "minimal probability" threshold. This ensures that the number of possible successor states remains bounded, keeping the logic manageable.
2. Decidable Verification Conditions
The paper proves that the conditions for a relation to be a probabilistic bisimulation can be formulated as a regular relation. This is a significant result: it means that once a candidate bisimulation relation is proposed, its validity can be checked automatically by a logic engine (such as Mona). This separates the concern of finding a proof from checking its correctness.
3. Synthesis via $L^*$ Learning
Since manually constructing a bisimulation relation for an infinite system is difficult, the authors employ the $L^*$ learning algorithm. The verification process becomes an iterative loop:
- The learner "guesses" a regular relation (represented as an automaton).
- The logic engine checks if this relation satisfies the bisimulation conditions.
- If a counterexample is found, it is used to refine the learner's hypothesis.
- The process continues until a valid bisimulation is found or the search space is exhausted.
Experimental Evaluation
The framework was implemented in a Scala-based tool and tested on several classic anonymity protocols:
- Dining Cryptographers (Single and Multi-bit): A standard benchmark for anonymity where participants want to announce a result without revealing who provided the input.
- The Grades Protocol: A protocol designed to compute the sum of private values (e.g., student grades) while maintaining individual privacy.
The tool successfully verified these protocols for the parameterized case (arbitrary $n$) with high efficiency. For instance, the single-bit Dining Cryptographers protocol was verified in just 6 seconds, while the more complex Grades Protocol took 35 seconds. This represents the first time these protocols have been fully automatically verified in a parameterized setting.
Conclusion and Future Directions
By combining automata learning with a decidable logic of strings, this work provides a powerful new tool for the formal verification of probabilistic systems. The ability to automatically prove anonymity for infinite families of protocols addresses a long-standing challenge in the field.
However, limitations remain. The current implementation focuses on "length-preserving" systems where state descriptions do not grow during transitions. Future work may extend this approach to systems with unbounded counters or non-regular bisimulation relations, further broadening the scope of automated formal methods in security and distributed computing.
Summary updated