Query-Efficient Algorithm to Find all Nash Equilibria in a Two-Player Zero-Sum Matrix Game

Arnab Maiti, Ross Boczar, Kevin G. Jamieson, Lillian J. Ratliff

TL;DR

This paper tackles the problem of finding all Nash equilibria in two-player zero-sum matrix games, not just one. They introduce a novel randomized algorithm that achieves a query complexity of $O(nk^5 \log n \log(1/\delta))$, where $k$ is related to the support size of the equilibria. This work bridges a significant gap in understanding the query complexity for this problem, providing both an upper bound and a matching lower bound.

What Problem Does This Paper Address?

Finding Nash equilibria in games is a fundamental problem in game theory and computer science. For two-player zero-sum matrix games, while finding a single Nash equilibrium is well-studied, characterizing the complexity of finding the entire set of Nash equilibria has been more challenging. Prior work showed that finding a single equilibrium can be query-efficient ($O(n)$ queries for strict saddle points), but finding all equilibria could require significantly more queries ($O(n^2)$ in the worst case for randomized algorithms). This paper aims to precisely characterize this query complexity in terms of the game's dimension ($n$) and the "size" of the Nash equilibrium solution, defined by the support of the optimal strategies.

Methods

The core of the paper's contribution lies in a randomized algorithm that cleverly reduces the problem of finding all Nash equilibria to finding a strict Pure Strategy Nash Equilibrium (PSNE) in a larger, constructed matrix.

  1. Constructing a Larger Matrix: The algorithm constructs a larger matrix whose entries are derived from the value of subgames of the original matrix. The key idea is that a specific entry in this larger matrix, corresponding to the "optimal submatrix" of the original game, will be a PSNE.
  2. Finding a Strict PSNE: A subroutine called FINDPSNE is developed to efficiently find a strict PSNE in a given matrix. This algorithm uses a divide-and-conquer approach, iteratively eliminating suboptimal rows and columns through sampling and querying. It achieves a query complexity of $O(\log(n+m) \log(n+m))$ for an $(n \times m)$ matrix.
  3. Handling Non-Strict PSNEs: The algorithm is adapted to handle cases where the game might not have a strict PSNE, ensuring it still finds a set of candidate values that includes the game's value.
  4. Iterative Search for Support Sizes: Since the optimal support sizes ($k_1, k_2$) are not known beforehand, the algorithm iteratively tries all possible combinations of support sizes up to the maximum possible value, ensuring it finds the correct Nash equilibria set.

Datasets

Not discussed in the paper. The paper deals with abstract matrix games rather than specific datasets.

Key Insights and Ideas

  • Equivalence to Strict PSNE: The paper shows that finding all Nash equilibria in a general two-player zero-sum game can be reduced to finding a strict PSNE in a carefully constructed larger matrix. This is a powerful reduction that leverages existing techniques for strict PSNEs.
  • Support Size as a Measure of Complexity: The authors identify the union of supports of optimal strategies ($k_1, k_2$) as a crucial parameter for characterizing query complexity. This provides a more refined understanding than just the matrix dimension.
  • Randomization is Key: The algorithm relies on randomization to efficiently sample rows and columns, which is essential for achieving the desired query complexity.
  • Bridging the Gap: The work provides a tight characterization of query complexity, showing that $O(nk^5 \log n \log(1/\delta))$ queries are sufficient and $\Omega(nk)$ queries are necessary, effectively closing a gap in prior research.

Key Results

  • Upper Bound: A randomized algorithm is presented that finds the set of all Nash equilibria with probability at least $1-\delta$ by querying $O(nk^5 \log n \log(1/\delta))$ entries of the input matrix $A \in \mathbb{R}^{n \times n}$, where $k = \max\{k_1, k_2\}$ and $k_1, k_2$ are the sizes of the union of supports of optimal strategies.
  • Lower Bound: It is shown that for any randomized algorithm, there exists an $n \times n$ matrix with $\min\{k_1, k_2\} = 1$ for which $\Omega(nk)$ queries are required in expectation to find the set of all Nash equilibria.

Limitations and Future Work

  • Polynomial Time: The current algorithm does not run in polynomial time due to the iterative search for support sizes. The authors pose designing a polynomial-time randomized algorithm with sub-$n^2$ queries as an open problem, suggesting it might require a "strongly polynomial" approach.
  • Deterministic Algorithm: While a deterministic algorithm exists for finding strict PSNEs with $O(n)$ queries, developing a deterministic algorithm for finding all Nash equilibria with sub-$n^2$ queries remains an open question.
  • Gap in Upper and Lower Bounds: While the paper provides tight bounds in terms of $n$ and $k$, there's still a polynomial gap ($k^5$ vs $k$) in the upper and lower bounds that could potentially be closed.

Summary updated

BibTeX
@article{maiti2025query,
  author = {Arnab Maiti and Ross Boczar and Kevin G. Jamieson and Lillian J. Ratliff},
  title = {{Query-Efficient Algorithm to Find all Nash Equilibria in a Two-Player Zero-Sum Matrix Game}},
  journal = {ACM Trans. Economics and Comput.},
  year = {2025},
  doi = {10.1145/3732787},
}
Figure