Second-Order Algorithms for Finding Local Nash Equilibria in Zero-Sum Games

Kushagra Gupta, Xinjie Liu, Ufuk Topcu, David Fridovich-Keil · DOI

Introduction

Zero-sum games serve as the mathematical foundation for many modern artificial intelligence applications, ranging from Generative Adversarial Networks (GANs) to robust optimization. In these settings, the objective is to find a local Nash equilibrium (LNE)—a point where neither player can improve their outcome by unilaterally changing their strategy. Despite their importance, finding LNE in complex, nonconvex-nonconcave landscapes remains a significant challenge for standard optimization techniques.

The Limitations of First-Order Methods

The standard tool for solving zero-sum games is Gradient Descent Ascent (GDA). However, GDA frequently fails in two distinct ways:

  1. Rotational Instability (Cycling): The iterates often spin around an equilibrium indefinitely without ever converging to it.
  2. Convergence to Non-Nash Points: In nonconvex-nonconcave landscapes, GDA can be attracted to stationary points that are stable for the algorithm's dynamics but do not actually constitute a Nash equilibrium. These "fake" equilibria hinder the training of robust models.

While some existing second-order methods attempt to address these issues, they often lack rigorous convergence rate guarantees or fail to handle the constraints common in real-world games.

A New Family of Second-Order Algorithms

This research introduces three novel algorithms designed to treat only true local Nash equilibria as stable attractors, providing the first convergence rate analysis for the nonconvex-nonconcave setting.

1. Discrete-time Nash Dynamics (DND)

DND is a second-order algorithm where the Jacobian is specifically engineered so that only strict local Nash equilibria are Locally Asymptotically Stable (LASE). By utilizing a regularization term ($\beta$), the algorithm ensures that the system's dynamics are not diverted by the curvatures of non-Nash stationary points.

2. Second Order Nash Dynamics (SecOND)

SecOND is a high-performance variant of DND. It interprets the game as a modified Gauss-Newton problem when the iterates are far from an equilibrium, allowing for superlinear or even quadratic convergence speeds. As the iterates approach a potential solution, the algorithm switches back to DND logic to ensure it only settles at a true Nash equilibrium.

3. Second-order Constrained Nash Dynamics (SeCoND)

To handle practical scenarios with strategy constraints, SeCoND extends the framework using Euclidean projections. This allows the algorithm to navigate convex constraints, including "coupled" constraints where the feasible set of one player depends on the strategy of the other.

Key Insights: Stability as a Filter

The core innovation of this work is the use of dynamical systems theory to design discrete-time updates. By ensuring the Jacobian of the update rule has only real eigenvalues at equilibria, the authors eliminate the rotational instability (cycling) that plagues first-order methods.

Furthermore, the authors highlight that second-order information (the Hessian) is essential in games. Unlike single-agent optimization where one simply moves "downhill," game dynamics must account for the interaction between one player's descent and the other's ascent. The Hessian allows the algorithm to reliably distinguish a true Nash equilibrium from a saddle point.

Experimental Results

The proposed algorithms were evaluated against several benchmarks, demonstrating significant improvements over state-of-the-art baselines:

  • Avoiding Non-Nash Attractors: In 2D toy examples with multiple stationary points, DND and SecOND successfully avoided attractors that trapped GDA and Local Symplectic Surgery (LSS).
  • Accelerated Convergence: The hybrid nature of SecOND provides massive speedups. In one test case, DND required over 5,000 iterations to converge, while SecOND reached the same equilibrium in just 7 iterations.
  • GAN Training and Mode Collapse: In a synthetic GAN task (fitting a 1D mixture of four Gaussians), GDA suffered from mode collapse, capturing only two components. SecOND successfully captured all four modes and outperformed the LSS baseline in accuracy.
  • Constrained Optimization: SeCoND successfully reached equilibria in entropy-regularized matrix games, even when initialized at the boundaries of the probability simplex.

Limitations and Future Work

While these algorithms provide strong theoretical guarantees and performance, they come with a higher computational cost per iteration due to the need for Hessian information. Although Hessian-vector products can mitigate this, second-order methods remain more expensive than gradient-based approaches. Additionally, the current guarantees focus on local convergence; finding a global Nash equilibrium in highly non-convex landscapes remains an open challenge. Future research will focus on scaling these methods to massive models, such as Large Language Models, through more efficient second-order approximations.

Summary updated

BibTeX
@misc{gupta2024second,
  author = {Kushagra Gupta and Xinjie Liu and Ufuk Topcu and David Fridovich-Keil},
  title = {{Second-Order Algorithms for Finding Local Nash Equilibria in Zero-Sum Games}},
  year = {2024},
  eprint = {2406.03565},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.03565},
}
Figure