The Right Solver at the Right Time: Amortised Nash Equilibrium Computation

Yaqi Sun, Julian Ma, Jing Peng, Claudia Garetto, David MguniarXiv 2026

TL;DR

Finding a Nash equilibrium in multi-agent games is notorious for getting stuck in loops or stalling out when relying on a single fixed algorithm. Instead of hunting for one mythical "master solver," this paper introduces a learned computational policy that orchestrates a team of classic solvers—learning both where to start the search and when to tag in a different algorithm mid-run. By dynamically switching solvers as the optimization landscape shifts, this framework slashes error across unseen games by up to 43.8%.

What Problem Does This Paper Address?

In single-objective optimization, gradient descent usually rolls nicely downhill. In game theory, however, multiple players optimize competing objectives simultaneously. Searching for a Nash equilibrium (NE)—a stable state where no player can benefit by unilaterally changing their strategy—often produces rotational or cycling dynamics, much like an endless game of rock-paper-scissors.

Existing pipelines usually make a static choice: they pick a starting strategy (sometimes learned via a "warm start") and run a single fixed solver, or select one solver per game. This misses two crucial realities:

  1. No single solver is best throughout an entire run. An algorithm like Extragradient might make fast early progress only to start oscillating wildly later, whereas switching to Fictitious Play mid-solve could stabilize it.
  2. Where you start depends on how you finish. A warm start tuned for a fixed solver isn't necessarily the best launchpad for an adaptive, switching controller.
Figure 1: Solver choice is phase-dependent. (a) AUC of the exploitability gap over 𝐶= 200 operator calls, relative to M1 (lower is better), for the per-game oracle’s best fixed solver, the best schedule with at most one switch, and the best schedule with at most three switches. (b) Game 362 (5 × 5, warm seed 1). Both runs use extragradient (EG) and are identical up to 𝜏= 20. Continuing EG leads to oscillatory behaviour, whereas switching to fictitious play at 𝜏reduces the AUC by 68.66%.

Methods

The authors measure convergence speed via the Area Under the Curve (AUC) of the Nash gap (or exploitability—how much extra payoff players could gain by deviating from their current strategies, which hits zero at equilibrium) under a strict budget of operator calls.

To minimize this, they build a three-layer amortised framework:

Figure 2: Amortised equilibrium computation. The framework separates three roles: a frozen behavioural prior supplies game-level context, a controller-aware initialiser chooses where equilibrium search begins, and a dynamic controller chooses which solver mechanism should govern the current phase of the solve. The local value model in the centre panel is used only to refine the initialiser during training; deployment follows the solid path.
  1. Frozen Behavioural Prior: A pre-trained encoder digests the game's payoff matrices into a compact contextual representation without needing retraining.
  2. Phase-Aware Solver Control: Every $\Delta = 10$ operator calls, a hierarchical RL controller observes the game context and inexpensive trajectory stats (like recent step sizes or reversals). A gate decides whether to Stay or Switch, and a router picks the next algorithm from seven classic, stateful primitives (Optimistic, Extragradient, Fictitious Play, GDA, Mirror, Proximal, and Anchoring). Crucially, solver memories (like running averages or momentum) persist while inactive rather than resetting. The policy is warmed up via behavioral cloning on an oracle, then fine-tuned with PPO.
  3. Controller-Aware Meta-Initialisation: You can't easily backpropagate through discrete solver switches to train the starting-point network. To bridge this gap, the authors freeze the trained controller, sample local perturbations around initial strategies, and fit a differentiable local value surrogate to predict how well the controller will perform from there. They then use gradients from this surrogate to refine the initialiser.

Datasets

The authors train and evaluate on normalised two-player, general-sum normal-form games (payoffs scaled to $[-1, 1]$):

  • Behavioural Atlas Prior: Pre-trained on 20,000 $3\times 3$ games.
  • Main Panels ($3\times 3$, $4\times 4$, and $5\times 5$ games): Includes a diagnostic TEST3 panel (2,048 games/size), plus strictly held-out panels generated after freezing all models: an ablation panel (512 games/size) and a main evaluation panel (1,024 games/size).
  • Scale-Transfer Suite: To test size generalisation from uniform starts, a multi-size controller (Full-L) is trained on games with 3, 4, 5, 10, 20, 50, and 100 actions, and tested on held-out sizes of 15, 30, and 75 actions.

Key Insights and Ideas

  • Warm starts and dynamic control conquer different regimes: Strong learned initialisers do the heavy lifting on typical, well-behaved games. Adaptive solver control shines on the hardest 5% of games, where fixed solvers stall or get trapped in cycles regardless of how close to the equilibrium they started.
  • Open-loop schedules aren't enough: Knowing the game and elapsed compute time helps, but observing real-time trajectory feedback improves performance by 11.7–14.6% over static per-game solver selection—and matters two to three times more on hard games.
  • A few smart switches beat constant thrashing: Exact oracle searches reveal that picking a good opening solver plus just one well-timed switch later on captures the vast majority of theoretical gains.
  • Initialisation and control are additive: Refining the initialiser specifically for the downstream switching controller recovers 85–92% of the sum of their individual improvements.

Key Results

  • Main Pipeline Gains: At a budget of $C = 200$ operator calls on held-out $3\times 3$, $4\times 4$, and $5\times 5$ games, combining the refined warm start with dynamic control reduces normalised exploitability AUC by 43.8%, 26.5%, and 32.6%, respectively, compared to the base warm start with a fixed Optimistic solver. It also outperforms strong external warm-starters (NfgTransformer) paired with the same controller.
  • Horizon Generalisation: Evaluated zero-shot at longer budgets ($C = 400$ and $C = 1000$) without retraining, the frozen models maintain their AUC advantage.
  • Size Transfer: On larger games (up to 100 actions) starting from uniform strategies, the multi-size controller achieves a lower mean AUC than every individual fixed primitive at every size by 2–13%, and transfers cleanly to unseen action sizes (15 and 30).

Limitations and Future Work

  • Computational Overhead: Neural controller inference and representation encoding add wall-clock overhead beyond raw payoff-matrix evaluations, meaning the switching policy only pays off in wall-clock time in specific regimes when payoffs are cheap in-memory lookups.
  • AUC vs. Strict Terminal Precision: Because the controller optimizes for rapid area-under-the-curve reduction over a finite horizon, on larger games it hits ultra-strict terminal tolerances less frequently than pure Extragradient.
  • Scope: Experiments are restricted to two-player normal-form games and a fixed library of seven primitives. Scaling to many-player games, extensive-form games, larger solver libraries, and training directly on longer horizons remain open avenues.

Summary updated

BibTeX
@misc{sun2026right,
  author = {Yaqi Sun and Julian Ma and Jing Peng and Claudia Garetto and David Mguni},
  title = {{The Right Solver at the Right Time: Amortised Nash Equilibrium Computation}},
  year = {2026},
  eprint = {2611.38333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38333},
}
Figure