A bi-convex optimization problem to compute Nash equilibrium in n-player games and an algorithm

Vinayaka Yaji, Shalabh BhatnagararXiv 2015

Abstract

In this paper we present optimization problems with biconvex objective function and linear constraints such that the set of global minima of the optimization problems is the same as the set of Nash equilibria of a n-player general-sum normal form game. We further show that the objective function is an invex function and consider a projected gradient descent algorithm. We prove that the projected gradient descent scheme converges to a partial optimum of the objective function. We also present simulation results on certain test cases showing convergence to a Nash equilibrium strategy.

Introduction

In game theory, a Nash Equilibrium (NE) represents a stable state where no player can improve their utility by unilaterally changing their strategy. While John Nash famously proved that such equilibria exist for all finite games, the computational task of finding them remains notoriously difficult. For simple two-player "bi-matrix" games, efficient algorithms like Lemke-Howson are available. However, as the number of players ($n$) increases, the problem becomes non-linear and non-convex, falling into the complexity class of PPAD-complete problems.

Traditional optimization methods often struggle with these games because they get trapped in local minima that do not correspond to true equilibria. This paper addresses this challenge by reformulating the search for a Nash Equilibrium as a bi-convex optimization problem, creating a mathematical landscape where gradient-based tools can reliably reach a global minimum.

Methodology

Bi-convex Formulation

The authors introduce a novel framework based on bi-convexity. A function is considered bi-convex if, when one set of variables is held constant, the function is convex with respect to the other set, and vice versa. They define an objective function $f(\pi, p)$ that measures the distance between a strategy profile $\pi$ and a joint probability distribution $p$. A critical property of this function is that it equals zero if and only if the strategies constitute a Nash Equilibrium.

The Role of Invexity

The "secret sauce" of this approach is the proof that the objective function is invex. In optimization, an invex function is one where every stationary point (where the gradient is zero) is also a global minimum. This property is transformative for $n$-player game theory because it theoretically eliminates the "local minimum trap" that typically plagues non-convex optimization in high-dimensional strategy spaces.

Projected Gradient Descent

To ensure that strategies remain valid probability distributions (non-negative and summing to 1), the authors employ a projected gradient descent algorithm. They utilize an Ordinary Differential Equation (ODE) approach to provide a formal proof that this scheme converges to a partial optimum of the objective function.

Experimental Setup

To validate the algorithm, the authors tested it against four classic games that represent specific mathematical hurdles in game theory:

  1. Rock-Paper-Scissors: A standard zero-sum game used to verify convergence to a mixed-strategy equilibrium.
  2. Jordan’s Game: A 3-player game known for having a unique equilibrium that is notoriously difficult for many iterative algorithms to locate.
  3. Games with Finite Nash Equilibria: Used to ensure the algorithm converges correctly when multiple valid endpoints exist.
  4. Games with Infinite Nash Equilibria: Used to test the stability of the algorithm in landscapes with "flat" equilibrium regions.

Key Insights

The core theoretical insight relies on the relationship between Correlated Equilibria (CE) and Nash Equilibria. A Correlated Equilibrium that can be factored into a product of individual player strategies is, by definition, a Nash Equilibrium. The authors' objective function essentially penalizes any distribution that fails to be a product of individual strategies, effectively "forcing" the solution toward a Nash Equilibrium.

Geometric Navigation

By bypassing the traditional non-linear complementarity formulations, this method offers a more intuitive, geometric way to navigate the strategy space. The proof of invexity suggests that if the gradient descent stops moving, the algorithm has likely found a global minimum (the NE) rather than a false floor.

Results

The paper provides both theoretical guarantees and empirical evidence of success:

  • Theoretical Convergence: The authors mathematically demonstrate that the projected gradient descent scheme converges to a partial optimum of the bi-convex objective function.
  • Empirical Performance: In all test cases, the algorithm successfully reached the known Nash Equilibria.
  • In Rock-Paper-Scissors, strategies for both players converged precisely to $(1/3, 1/3, 1/3)$.
  • In Jordan's Game, the 3-player strategies converged to the unique $(1/2, 1/2)$ equilibrium.
  • The objective function value approached zero in every simulation, confirming that the global minimum was achieved.

Conclusion and Future Work

While the algorithm performed perfectly in simulations, the authors note that proving convergence to a global optimum in every possible general case remains an open theoretical challenge. Additionally, the size of the joint distribution $p$ grows exponentially with the number of players and actions, which may lead to a "curse of dimensionality" in very large-scale games.

Future research directions include extending this bi-convex formulation to discounted stochastic games. These are dynamic games where the state evolves over time, representing a significantly more complex class of problems central to modern reinforcement learning and dynamic economics.

Summary updated

BibTeX
@misc{yaji2015bi,
  author = {Vinayaka Yaji and Shalabh Bhatnagar},
  title = {{A bi-convex optimization problem to compute Nash equilibrium in n-player games and an algorithm}},
  year = {2015},
  eprint = {1504.06828},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1504.06828},
}
Figure