ApproxED: Approximate exploitability descent via learned best responses

Carlos Martín, Tüomas Sandholm

TL;DR

This paper introduces two novel methods, ApproxED-BRF and ApproxED-BRE, for finding approximate Nash equilibria in complex, continuous-action games. By learning best-response functions or ensembles, these methods effectively tackle the challenges of cycling and divergence that plague existing approaches, demonstrating superior performance across a range of challenging game environments.

What Problem Does This Paper Address?

Finding game-theoretic equilibria, particularly Nash Equilibria (NE), is a cornerstone of game theory and has seen significant progress. However, most existing methods are designed for games with finite, discrete action spaces. Many real-world scenarios, such as those involving continuous resource allocation, strategic movement in games, or financial markets, inherently involve continuous action spaces. These continuous games pose a significant challenge for traditional equilibrium-finding algorithms. A key metric for measuring closeness to an NE is "exploitability," which quantifies how much a player can gain by unilaterally deviating from their current strategy. While minimizing exploitability is a direct path to finding NE, evaluating it requires computing best responses, which is computationally difficult in continuous games. This paper addresses the need for efficient and robust methods to find approximate NE in these complex, continuous-action games, overcoming issues like cycling and divergence that plague prior techniques.

Methods

The paper proposes two novel methods based on the concept of "Approximate Exploitability Descent" (ApproxED):

  1. ApproxED with Learned Best-Response Functions (ApproxED-BRF): This method introduces a learned best-response function, typically a neural network. This function takes the current strategy profile as input and outputs a candidate best response for each player. The core idea is to train the strategy profile and the best-response function simultaneously. The strategy profile aims to minimize exploitability, while the learned best-response function aims to maximize it. This simultaneous training allows the best-response function to adapt to the evolving strategy profile, preventing the cycling issues seen in simpler gradient-based methods.
  2. ApproxED with Learned Best-Response Ensembles (ApproxED-BRE): This approach maintains an ensemble of candidate best responses for each player. In each iteration, the best-performing member of each ensemble is used to update the current strategy profile. Similar to BRF, the strategy profile is trained to minimize exploitability, while the ensemble members are trained to maximize it. This ensemble approach provides robustness and allows different members to specialize in responding to different aspects of the opponent's strategy, further mitigating cycling and divergence.

Both methods leverage the idea of minimizing an approximation of exploitability, making them practical for complex games where exact best-response computation is intractable.

Datasets

The paper evaluates its methods on a variety of continuous games and GAN training scenarios:

  • Saddle-point game: A simple two-player zero-sum game with utility $u_1(x,y) = xy$.
  • GAN training datasets:
    • Ring dataset: A mixture of 8 Gaussians with means equally spaced on a circle.
  • Grid dataset: A mixture of 9 Gaussians on a square grid.
  • Spiral dataset: A noisy Archimedean spiral.
  • Cube dataset: Points sampled from the edges of a cube with Gaussian noise.
  • MNIST dataset: Handwritten digit images for a more complex generative task.
  • Security game: A defender-attacker game on a continuous space, inspired by prior work.
  • Glicksberg-Gross game: A two-player zero-sum game with a known mixed-strategy NE.
  • Shapley game: A two-player normal-form game known to cause fictitious play to diverge.
  • Kuhn poker: A classic imperfect-information game, used in both 2-player and 3-player variants.
  • Generalized rock paper scissors: An n-action variant of RPS.
  • Generalized matching pennies: An n-player variant of matching pennies.

The paper does not introduce new benchmark datasets but uses existing ones to demonstrate the generality and effectiveness of its proposed methods.

Key Insights and Ideas

  • Learning best responses is key: The core insight is that directly learning or approximating best-response functions is crucial for overcoming the limitations of traditional methods in continuous games. This allows algorithms to adapt to complex strategy spaces.
  • Simultaneous training for stability: Training the strategy profile and the best-response mechanism (function or ensemble) simultaneously is vital. This creates a dynamic where the strategy profile tries to exploit the best response, and the best response tries to counter the strategy profile, leading to a more stable convergence.
  • Ensembles for robustness: Using an ensemble of best-response candidates provides a more robust approach than a single learned function, allowing for better exploration of the strategy space and preventing degeneracy.
  • Exploitability as a unified objective: Framing the problem as minimizing exploitability provides a consistent objective across various game types, making the proposed methods broadly applicable.
  • Neural networks as powerful function approximators: The paper leverages neural networks as universal function approximators for learning best-response functions, demonstrating their effectiveness in capturing complex strategic behaviors.

Key Results

The paper demonstrates that its proposed methods, ApproxED-BRF and ApproxED-BRE, significantly outperform prior state-of-the-art methods across a wide range of continuous games.

  • Faster Convergence: In many tested games, including the saddle-point game, GAN training, and Kuhn poker, the proposed methods converge much faster than baselines.
  • Avoidance of Divergence/Cycling: For games where other methods diverge or cycle (e.g., Shapley game, generalized matching pennies), ApproxED-BRF and ApproxED-BRE successfully converge to approximate Nash equilibria.
  • Superior Performance: In security games and GAN training benchmarks, the proposed methods consistently show better performance, achieving lower exploitability or better generative model quality.
  • Scalability: The methods are shown to be effective in high-dimensional settings, such as those encountered in GAN training and multi-player poker.

Limitations and Future Work

  • Approximation Quality: While the methods aim to minimize exploitability, they find approximate Nash equilibria. The quality of the approximation depends on the expressiveness of the learned best-response functions and the training process.
  • Hyperparameter Tuning: Like most machine learning approaches, the performance of the proposed methods can be sensitive to hyperparameter choices (e.g., learning rates, ensemble size, network architecture).
  • Theoretical Guarantees: While the paper presents theoretical analysis on convex exploitability, a general convergence proof for all proposed methods in all game settings is beyond the scope of the paper.
  • Future Work: The authors suggest several promising directions:
  • Analyzing strategies via samples: Developing methods to analyze the behavior of complex generative strategies rather than their internal parameters.
  • Learning to query strategies: Enabling best-response functions to intelligently query player strategies with hypothetical observations or information sets.
  • Dynamically-sized ensembles: Adapting the size of best-response ensembles during training for improved efficiency and effectiveness.
  • Black-box games: Extending the methods to games where utility functions are not differentiable or gradients are not accessible, potentially using smoothed gradient estimators.
  • Generalizing to more complex game structures: Applying the methods to a wider range of games, including those with more intricate information structures or non-standard equilibrium concepts.

Summary updated

BibTeX
@inproceedings{martin2023approxed,
  author = {Carlos Martín and Tüomas Sandholm},
  title = {{ApproxED: Approximate exploitability descent via learned best responses}},
  booktitle = {AAMAS},
  year = {2023},
  doi = {10.48550/arxiv.2301.08830},
}
Figure