Algorithms for Game Metrics (Full Version)

Krishnendu Chatterjee, Luca de Alfaro, Rupak Majumdar, Vishwanath Raman

TL;DR

This paper provides a suite of efficient algorithms for computing "game metrics"—quantitative measures of how similar two states are in stochastic systems like Markov Decision Processes (MDPs) and two-player games. The authors prove that these metrics provide a fundamental bound on the difference in long-term rewards between states and introduce a breakthrough polynomial-time algorithm for turn-based systems using linear programming.

What Problem Does This Paper Address?

In formal verification, we often want to know if two states in a system are "equivalent" (bisimilar), meaning they behave identically for all possible future paths. However, in probabilistic or stochastic systems, "identical" is often too restrictive. A tiny difference in transition probabilities shouldn't make two states completely different; instead, we want a metric—a distance between 0 and 1—that captures how different they are.

While these metrics (simulation and bisimulation metrics) were theoretically defined, computing them was historically difficult. Previous approaches often relied on complex reductions to the theory of real closed fields, resulting in exponential-time (EXPTIME) algorithms. Furthermore, it wasn't always clear if these logical metrics actually corresponded to practical performance measures, like the expected average reward a player can earn.

Methods

The authors employ several key algorithmic and mathematical techniques:

  • Linear Programming (LP) Reduction: For turn-based games and MDPs, the authors transform a complex "sup-inf" non-linear optimization problem (the one-step distance) into a quadratic-size linear optimization problem. This allows the use of efficient LP solvers.
  • Logical Characterization: They link the metrics to the quantitative $\mu$-calculus, showing that the distance between states is exactly the maximum difference in the values of any formula in that logic.
  • Partition Refinement: To find the "kernel" of the metric (pairs of states with distance 0), they adapt classical partition refinement algorithms, significantly optimizing the feasibility checks required at each step.
  • Theory of Real Closed Fields: For concurrent games (where players move simultaneously), the problem is harder. The authors provide a decision procedure by reducing the problem to a formula in the theory of real closed fields, specifically optimizing it to reduce the number of "quantifier alternations" (from 7 down to 3), which dictates the complexity.

Datasets

As a theoretical computer science paper focused on algorithmic complexity and formal logic, this work does not use empirical datasets or benchmarks. Instead, it uses mathematical abstractions of systems:

  • Markov Decision Processes (MDPs): Single-player stochastic systems.
  • Turn-based Games: Two-player systems where players alternate moves.
  • Concurrent Games: Two-player systems where players choose moves simultaneously.

Key Insights and Ideas

  • Metrics as Performance Bounds: A major "aha" moment is the proof that these metrics bound the difference in long-run average and discounted average payoffs. If the distance between two states is small, the maximum reward a player can get starting from those states is guaranteed to be similar.
  • The Difficulty of Simultaneity: The paper highlights a sharp complexity divide. While turn-based systems can be handled with polynomial-time one-step operators, concurrent games are "at least as hard" as the square-root-sum problem (a notoriously difficult problem in computational geometry), explaining why they likely require more complex PSPACE algorithms.
  • Duality is Key: The reduction to Linear Programming relies on LP duality. By looking at the "dual" of the distance problem, the authors were able to simplify the antagonist's optimal response into a form that a standard solver can handle.

Key Results

  • Efficiency Gains for Turn-based Systems: The one-step metric distance can now be computed in polynomial time via LP, replacing previous exponential-time methods.
  • Kernel Computation: The algorithm for finding bisimilar states in MDPs and turn-based games runs in $O(n^4)$ time. This is a massive improvement over the previously best-known $O(n^9 \log n)$ algorithm.
  • Concurrent Game Improvements: For simultaneous-move games, the authors improved the decision complexity to $O(|G|^{O(|G|^5)})$, a significant reduction in the exponent compared to prior work.
  • Payoff Bound Theorem: They formally proved that $|w(s) - w(t)| \leq [s \simeq_g t]$, where $w$ is the value of the game and $[s \simeq_g t]$ is the bisimulation distance.

Limitations and Future Work

  • Concurrent Game Kernels: While the paper improves the complexity for concurrent games, finding a truly "efficient" (polynomial-time) algorithm for their simulation/bisimulation kernels remains an open problem.
  • Approximation vs. Exact: For turn-based games, while the one-step operator is polynomial, computing the exact limit distance (after many steps) is still placed in PSPACE. Finding a polynomial-time algorithm for the total distance remains a challenge.
  • Practical Implementation: The paper is primarily theoretical. Future work could involve implementing these LP-based algorithms in formal verification tools to see how they perform on real-world system models (e.g., communication protocols or biological networks).

Summary updated

BibTeX
@inproceedings{chatterjee2008algorithms,
  author = {Krishnendu Chatterjee and Luca de Alfaro and Rupak Majumdar and Vishwanath Raman},
  title = {{Algorithms for Game Metrics (Full Version)}},
  booktitle = {FSTTCS},
  year = {2008},
  doi = {10.4230/lipics.fsttcs.2008.1745},
}
Figure