Linear Complementarity Algorithms for Infinite Games

John Fearnley, Marcin Jurdzinski, Rahul Savani

TL;DR

This paper bridges the gap between game theory and mathematical programming by applying classical Linear Complementarity Problem (LCP) algorithms—specifically Lemke’s and Cottle-Dantzig—to infinite-duration games like parity and discounted games. While these algorithms provide a fresh perspective by operating directly on game strategies, the authors prove that they still hit an exponential "wall" in the worst case, performing no better than general LCP solvers.

What Problem Does This Paper Address?

The paper focuses on infinite-duration zero-sum games played on finite graphs, such as parity, average-reward, and discounted games. These games are a cornerstone of computer science, particularly in formal verification (like checking if a software system meets its specifications).

The complexity-theoretic status of these games is famously "intriguing": they are known to be in NP ∩ co-NP, meaning a solution can be verified quickly, but we don't yet have an algorithm that is guaranteed to find that solution in polynomial time.

Previously, researchers found that these games could be reduced to a Linear Complementarity Problem (LCP)—a fundamental problem in optimization used to find equilibria. However, the LCP community and the games community rarely talked to each other. This paper asks: If we use the most famous LCP algorithms to solve these games, how do they actually behave?

Methods

The authors take two "classic" pivoting algorithms from the LCP world and translate them into the language of games:

  1. Lemke’s Algorithm: Traditionally, this uses a "covering vector" to find a solution. The authors describe it as starting with a modified game where an extra parameter ($z$) makes a simple initial strategy optimal. The algorithm then systematically "drives $z$ to zero" by switching moves (pivoting) at vertices that are indifferent between two choices.
  2. Cottle-Dantzig Principal Pivoting: This algorithm tries to build a set of vertices where the "balance" (the advantage of one player over the other) is non-negative. It brings vertices into this "safe" set one by one.

The Innovation: Usually, you would convert a game into a giant matrix, run an LCP solver, and get an answer. This paper bypasses the matrix reduction. They describe the algorithms purely in terms of game strategies and rewards, making the mechanics transparent to computer scientists who might not be experts in mathematical programming.

Datasets

As a theoretical computer science paper, it does not use real-world datasets. Instead, it introduces a new synthetic benchmark: a family of games denoted as $\mathcal{G}_n$. These are specifically designed to be "hard" instances that force the algorithms to explore an enormous number of strategies.

Key Insights and Ideas

  • Direct Translation: The "aha moment" is that LCP algorithms are essentially just specific types of strategy-improvement algorithms. By describing them this way, the authors make it easier to analyze their behavior using graph-theoretic tools.
  • Symmetry as a Trap: In their hard example ($\mathcal{G}_n$), the authors show that Lemke’s algorithm gets stuck traversing "symmetric strategies." Because the game graph is symmetric, the algorithm ends up doing double the work, leading to an exponential number of steps.
  • The "Choice" Problem: Much like the Simplex algorithm for linear programming, these algorithms require the user to make certain choices (like the "covering vector" for Lemke or the "vertex ordering" for Cottle-Dantzig). The paper shows that for any fixed, "naive" choice, there is a game that will break the algorithm's efficiency.

Key Results

The paper provides a "reality check" for using these LCP methods:

  • Exponential Lower Bounds: The authors prove that on the game family $\mathcal{G}_n$, Lemke’s algorithm takes $2^{n+1} - 2$ iterations, and the Cottle-Dantzig algorithm takes $2^{n+1} - 1$ iterations.
  • Worst-Case Performance: This confirms that for parity, average-reward, and discounted games, these algorithms perform no better in the worst case than they do for general "P-matrix" LCPs.
  • Reduction Chain: Because there are known ways to turn a parity game into an average-reward game, and then into a discounted game, these exponential bounds apply to the whole family of infinite games.

Limitations and Future Work

The authors are careful to note that these lower bounds are "not fatal." * Randomization: The hard examples rely on specific, deterministic choices (like a unit covering vector). In the world of the Simplex algorithm, we know that randomizing choices can often bypass worst-case scenarios. The authors suggest that a similar analysis for randomized LCP algorithms on games is a promising next step. * Average-Case vs. Worst-Case: While the worst case is exponential, these algorithms might still be very fast on "typical" games encountered in real-world verification tasks. * Open Question: The complexity of these algorithms when equipped with "clever" or "reasonable" switching policies remains an open and exciting problem.

Summary updated

Abstract

The performance of two pivoting algorithms, due to Lemke and Cottle and Dantzig, is studied on linear complementarity problems (LCPs) that arise from infinite games, such as parity, average-reward, and discounted games. The algorithms have not been previously studied in the context of infinite games, and they offer alternatives to the classical strategy-improvement algorithms. The two algorithms are described purely in terms of discounted games, thus bypassing the reduction from the games to LCPs, and hence facilitating a better understanding of the algorithms when applied to games. A family of parity games is given, on which both algorithms run in exponential time, indicating that in the worst case they perform no better for parity, average-reward, or discounted games than they do for general P-matrix LCPs.
BibTeX
@inproceedings{fearnley2010linear,
  author = {John Fearnley and Marcin Jurdzinski and Rahul Savani},
  title = {{Linear Complementarity Algorithms for Infinite Games}},
  booktitle = {SOFSEM},
  year = {2010},
  url = {https://openreview.net/forum?id=p6tgVxTN8yem},
}

Loading related content...

Figure