Computing Probabilistic Bisimilarity Distances for Probabilistic Automata

Giorgio Bacci, Giovanni Bacci, Kim G. Larsen, Radu Mardare, Qiyi Tang, Franck van Breugel

Abstract

This paper introduces the first practical algorithm for computing the "probabilistic bisimilarity distance" between states in probabilistic automata. By framing the distance calculation as a simple stochastic game and adapting a policy iteration algorithm, the authors provide a fast, exact method that outperforms existing polynomial-time approximations in practice, bridging a major gap between theoretical metrics and actual software verification.

Introduction: Beyond Binary Equivalence

In the verification of concurrent systems, probabilistic automata serve as a critical mathematical framework, combining nondeterminism (such as the unpredictable interleaving of parallel processes) with probabilistic behavior (such as randomized algorithms). Traditionally, researchers have used "probabilistic bisimilarity" to determine if two states behave identically.

However, exact equivalence is notoriously brittle. A state that fails 1% of the time is technically "not equivalent" to a state that fails 1.0001% of the time, even though they are functionally identical for most practical purposes. To address this, the probabilistic bisimilarity distance was introduced—a metric ranging from 0 (identical) to 1 (completely different). Despite its theoretical appeal, computing this distance has remained a major computational challenge, often relegated to impractical theoretical exercises.

An example of a probabilistic automaton where states f and b are nearly, but not exactly, bisimilar due to small differences in transition probabilities.

Algorithmic Approach: Simple Stochastic Games

The authors overcome this bottleneck by translating the distance calculation into a Simple Stochastic Game (SSG). In this formulation:

  • A "min" player attempts to prove two states are similar by minimizing the distance.
  • A "max" player attempts to prove they are different by maximizing it.
  • The true bisimilarity distance is defined as the value of this game.

To implement this efficiently, the authors utilize a dual characterization of the Hausdorff distance and "coupling structures." These structures allow the players' strategies to be represented without an exponential memory blow-up, avoiding the need to build the full game graph explicitly.

Solving the Undiscounted Case

A significant contribution of this work is the adaptation of Condon’s simple policy iteration algorithm. Standard solvers often struggle with the "undiscounted" distance (where future states are weighted equally to the present), as the game can loop indefinitely. The authors introduced a novel termination condition based on "self-closed relations", forcing the algorithm to halt at the correct, minimal fixed point.

Performance and Practical Insights

While the policy iteration algorithm has an exponential worst-case theoretical time complexity, its practical performance tells a different story. In benchmarks using synthetically generated probabilistic automata (ranging from 10 to 50 states), the algorithm vastly outperformed "value iteration" methods that possess better theoretical (polynomial) bounds.

For instance, on 50-state automata, the new algorithm computed exact distances in approximately 137 seconds. In contrast, value iteration—even when given the same amount of time—retained approximation errors as high as 0.06. This highlights a classic divergence where average-case performance in real-world scenarios defies worst-case theoretical predictions.

Conclusion and Future Work

This research provides the first genuinely implementable, exact solution for a fundamental metric in probabilistic verification. Beyond the metric itself, the authors proved that this distance strictly bounds the difference in the probability of two states satisfying arbitrary ω-regular properties (like LTL formulas).

Future work will focus on optimizing the pipeline by pre-computing states with distances of 0 or 1 using cheaper heuristics. Additionally, the authors plan to apply these distances to accelerate the model-checking of concurrent probabilistic systems, potentially bypassing the need to verify states that are known to be highly similar to previously verified ones.

Summary updated

BibTeX
@inproceedings{bacci2019computing,
  author = {Giorgio Bacci and Giovanni Bacci and Kim G. Larsen and Radu Mardare and Qiyi Tang and Franck van Breugel},
  title = {{Computing Probabilistic Bisimilarity Distances for Probabilistic Automata}},
  booktitle = {Log. Methods Comput. Sci},
  year = {2019},
}
Figure