This blog post summarizes the paper "Sample-based Approximation of Nash in Large Many-Player Games via Gradient Descent" by Gemp et al. (2022).
TL;DR
The authors introduce ADIDAS (Average Deviation Incentive Descent with Adaptive Sampling), a gradient-based algorithm that finds Nash equilibria in massive many-player games. By combining a classical "homotopy" approach (slowly reducing entropy regularization) with stochastic gradient descent and intelligent sampling, they can approximate equilibria in games with billions of possible outcomes—sizes that cause traditional solvers to fail or take "longer than the age of the universe."
What Problem Does This Paper Address?
In game theory, a Nash Equilibrium (NE) is a state where no player can improve their payoff by unilaterally changing their strategy. While NE is a foundational concept, computing it for "normal-form" games (where players choose actions simultaneously) is notoriously difficult as the game scales.
The primary hurdle is the curse of dimensionality. A game with $n$ players and $m$ actions has a payoff tensor of size $m^n$. For a 7-player game with 21 actions, this results in nearly 2 billion outcomes. Traditional solvers (like those in the popular Gambit library) require the entire payoff tensor to be stored in memory, which is impossible for large games. Furthermore, many-player games often have multiple equilibria, leading to an "equilibrium selection" problem—which one should we find?
Methods
The authors propose ADIDAS, which blends three distinct ideas:
- Homotopy (Temperature Annealing): Instead of solving the "hard" game directly, the algorithm starts by solving a "regularized" version where players are encouraged to play randomly (high entropy). This version has a unique, easy-to-find equilibrium. The algorithm then slowly "anneals" (lowers) the entropy requirement, tracing a path of equilibria that eventually leads to the Limiting Logit Equilibrium (LLE) of the original game.
- Average Deviation Incentive (ADI): ADIDAS minimizes a specific loss function called ADI. This measures, on average, how much a player could gain by deviating from the current group strategy. When ADI is zero, you have a Nash Equilibrium.
- Stochastic Gradient Descent (SGD) with Amortization: To avoid looking at the whole payoff tensor, ADIDAS samples "joint play" (outcomes). However, calculating gradients from samples is tricky because the "best response" operator is non-linear, which introduces gradient bias. To fix this, the authors use:
- Soft Best Responses: Using entropy makes the "max" operator smoother and less biased.
- Historical Play: They maintain an auxiliary variable ($y$) that acts as a moving average of payoff gradients, effectively "smoothing out" the noise from sampling.
Datasets
The authors evaluated ADIDAS on several challenging benchmarks:
- Colonel Blotto: A classic resource-allocation game known for being deceptively complex.
- Modified Shapley’s Game: A 2-player, 3-action game used to test convergence stability.
- GAMUT (D7-CovariantGame): A standard benchmark for game theory solvers.
- Diplomacy Meta-Game: A massive 7-player symmetric game based on the board game Diplomacy. The 21-action version involves over 1.8 billion outcomes, representing the "frontier" of what this algorithm can handle.
Key Insights and Ideas
- Homotopy as a Curriculum: The annealing process isn't just a mathematical trick for uniqueness; it acts as a curriculum that prevents the gradient descent from getting stuck in local minima early in the search.
- Bias is Manageable: While the stochastic gradients are technically biased (meaning they don't point exactly toward the true solution in expectation), the authors show that with enough "amortization" (using historical play), the descent remains stable and accurate enough for practical use.
- Efficiency Gains: By using a polymatrix approximation (focusing on pairwise interactions between players), they reduce the number of payoffs needed for a gradient update from $m^n$ to $n(n-1)m^2$. For the 7-player Diplomacy game, this makes the computation roughly 580,000 times more efficient than exact methods.
Key Results
- Scalability: ADIDAS successfully approximated a Nash Equilibrium in a 7-player, 21-action Diplomacy game. Traditional solvers like Gambit either timed out or were estimated to take thousands of hours for much smaller versions of the same game.
- Convergence: Unlike "no-regret" algorithms (like Fictitious Play or Regret Matching), which often stall or cycle in certain games (like Shapley's), ADIDAS consistently reduced the deviation incentive toward zero.
- Speed: In a 4-player Blotto game, ADIDAS reached a low-error equilibrium in about 3 minutes, whereas the best-performing Gambit solver took over 100 minutes to reach a similar state.
Limitations and Future Work
- No Formal Convergence Proof: Because the gradients are biased, the authors cannot rigorously prove that ADIDAS will always converge to the Nash Equilibrium in every possible game, though it performed well in all experiments.
- Homotopy Assumptions: The method assumes the "equilibrium path" doesn't have "turning points" (where you'd have to temporarily increase the temperature to stay on the path). While rare in "generic" games, this could be an issue in highly structured ones.
- Simulator Requirement: The algorithm still requires a "payoff oracle" or simulator to sample outcomes. If the simulator is extremely slow, the number of iterations required might still be a bottleneck.
The authors suggest that future work could explore different types of entropy (like Tsallis entropy) or more sophisticated ways to reduce gradient bias in the sampling process.
Summary updated