On the Metric-based Approximate Minimization of Markov Chains

Giovanni Bacci, Giorgio Bacci, Kim G. Larsen, Radu Mardare

Abstract

This paper addresses the challenge of "approximate minimization" for Markov Chains (MCs). While exact minimization is well-understood for deterministic systems, it is often too rigid for probabilistic models where minor variations in transition probabilities prevent state merging. The authors prove that an optimal $k$-state approximation always exists, characterize the search as a bilinear optimization problem, and introduce a scalable, Expectation Maximization (EM)-inspired heuristic that significantly outperforms standard solvers.

Introduction and Problem Definition

In formal verification and system modeling, minimization reduces the state space of a system while preserving its behavior. For Markov Chains, exact bisimulation requires identical transition probabilities, making it fragile in practice. The authors instead focus on Approximate Minimization: given a large MC and a state budget $k$, the goal is to find a $k$-state MC that is "closest" to the original according to the bisimilarity distance metric. This is formalized as the Closest Bounded Approximant (CBA) problem.

Figure 4: An original 6-state Markov Chain (left) and two different 5-state approximations (center and right), illustrating that simple state merging (center) is not always the only or best strategy for reduction.

Theoretical Foundations

The paper provides several key theoretical contributions:

  1. Existence of Optimal Solutions: By framing the CBA problem as a bilinear program, the authors prove that an optimal $k$-state approximant is guaranteed to exist for any finite MC.
  2. Complexity: The threshold version of the problem (determining if an approximant exists within distance $\epsilon$) is proven to be NP-hard via reduction from the Vertex Cover problem and is shown to lie within PSPACE.
  3. Irrationality: A surprising finding is that even when an MC has simple rational transition probabilities (e.g., $1/2$), the optimal $k$-state approximant may require irrational probabilities. This highlights the inherent computational difficulty of finding exact global optima.

The EM-Inspired Heuristic

General bilinear solvers like PENBMI struggle with models larger than 5 states. To address this, the authors propose an iterative algorithm inspired by Expectation Maximization (EM). The algorithm alternates between two main steps:

  • Coupling Step: Computing an optimal coupling that maps transitions between the large original model and the smaller candidate model.
  • Update Step: Adjusting the transition probabilities of the small model to better reflect the "averaged" behavior of the original based on the current coupling.
Figure 5: Visualization of a coupling between state transitions ($m_1$ and $m_2$), which is the core mechanism used in the iterative EM-inspired heuristic to find optimal model approximations.

Experimental Evaluation

The authors evaluated their heuristics—Averaged Marginals (AM) and Averaged Expectations (AE)—on several benchmarks, including the IPv4 Zeroconf Protocol and the Drunkard’s Walk model.

  • Scalability: While exact solvers timed out on 6-state models, the EM-inspired method successfully handled models with over 100 states in minutes.
  • Accuracy: On the IPv4 protocol, the heuristic reduced the bisimilarity distance from an initial guess of 0.775 down to 0.054 in just three iterations. The AM heuristic consistently outperformed AE in terms of approximation quality.

Conclusion and Future Work

This work establishes a rigorous framework for approximate MC minimization. The EM-inspired approach provides a practical path for reducing complex stochastic models while maintaining formal bounds on behavior. Future research aims to bridge the "NP gap" (determining if the problem is strictly in NP) and applying these reduced models to accelerate Linear Temporal Logic (LTL) model checking, where the small model can provide tight probability bounds for the original system.

Summary updated

BibTeX
@inproceedings{bacci2017metric,
  author = {Giovanni Bacci and Giorgio Bacci and Kim G. Larsen and Radu Mardare},
  title = {{On the Metric-based Approximate Minimization of Markov Chains}},
  booktitle = {ICALP},
  year = {2017},
  doi = {10.4230/lipics.icalp.2017.104},
}
Figure