Sample-based Approximation of Nash in Large Many-Player Games via Gradient Descent

Ian Gemp, Rahul Savani, Marc Lanctot, Yoram Bachrach, Thomas Anthony +4 more
6/2/2021
cs.GT

Official code: google-deepmind/open_spiel (5,603 stars, C++, Apache-2.0, last commit 2026-04-26).

Abstract

Nash equilibrium is a central concept in game theory. Several Nash solvers exist, yet none scale to normal-form games with many actions and many players, especially those with payoff tensors too big to be stored in memory.

Show full abstract

In this work, we propose an approach that iteratively improves an approximation to a Nash equilibrium through joint play. It accomplishes this by tracing a previously established homotopy that defines a continuum of equilibria for the game regularized with decaying levels of entropy. This continuum asymptotically approaches the limiting logit equilibrium, proven by McKelvey and Palfrey (1995) to be unique in almost all games, thereby partially circumventing the well-known equilibrium selection problem of many-player games. To encourage iterates to remain near this path, we efficiently minimize average deviation incentive via stochastic gradient descent, intelligently sampling entries in the payoff tensor as needed. Monte Carlo estimates of the stochastic gradient from joint play are biased due to the appearance of a nonlinear max operator in the objective, so we introduce additional innovations to the algorithm to alleviate gradient bias. The descent process can also be viewed as repeatedly constructing and reacting to a polymatrix approximation to the game. In these ways, our proposed approach, average deviation incentive descent with adaptive sampling (ADIDAS), is most similar to three classical approaches, namely homotopy-type, Lyapunov, and iterative polymatrix solvers. The lack of local convergence guarantees for biased gradient descent prevents guaranteed convergence to Nash, however, we demonstrate through extensive experiments the ability of this approach to approximate a unique Nash in normal-form games with as many as seven players and twenty one actions (several billion outcomes) that are orders of magnitude larger than those possible with prior algorithms.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games.

5,6031,221C++, PythonJul 22, 20197 months agoApache-2.0
cppgamesmultiagentpythonreinforcement-learning

Similar Papers

Cite this paper

@article{gemp2021samplebased,
  title  = {Sample-based Approximation of Nash in Large Many-Player Games via Gradient Descent},
  author = {Ian Gemp and Rahul Savani and Marc Lanctot and Yoram Bachrach and Thomas Anthony and Richard Everett and Andrea Tacchetti and Tom Eccles and János Kramár},
  year   = {2021},
  eprint = {2106.01285},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.01285}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.01285.svg)](https://codeofpaper.com/paper/2106.01285)

Discussion