Discovering Multiagent Learning Algorithms with Large Language Models

Zun Li, John Schultz, Daniel Hennes, Marc LanctotarXiv 2026

TL;DR

Google DeepMind researchers have successfully used an LLM-driven evolutionary framework to automatically discover state-of-the-art multi-agent reinforcement learning (MARL) algorithms. By introducing a systematic train-test ablation pipeline, they stripped away the LLM's tendency to over-engineer complex code, distilling the results into two elegant, mathematically pure, and highly generalizable algorithms: WOP-CFR and PM-PSRO.

What Problem Does This Paper Address?

Designing effective MARL algorithms for imperfect-information games (like Poker or Battleship) has historically been a manual, grueling process driven by human intuition and trial-and-error. While Large Language Models (LLMs) have recently been used to automate code generation and algorithm discovery, they suffer from a distinct flaw: they tend to overfit.

Because evolutionary LLM agents optimize for performance on a specific training set, they often construct highly complex, messy, and hyper-specific symbolic mechanisms. This paper addresses how we can leverage the creative code-generation power of LLMs to discover novel game-theoretic algorithms while stripping away the algorithmic "fluff" so that the final rules generalize robustly to entirely unseen environments.

Methods

The authors deployed AlphaEvolve, a distributed evolutionary framework backed by Gemini 2.5 Pro, treating Python source code directly as the genetic material. They targeted two foundational game-theoretic paradigms:

  1. Counterfactual Regret Minimization (CFR): Mutating classes responsible for accumulating regret and deriving strategies.
  2. Policy-Space Response Oracles (PSRO): Mutating the meta-strategy solvers used during training and evaluation.

AlphaEvolve initially discovered two highly complex, heavily parameterized algorithms: Volatility-Adaptive Discounted (VAD-) CFR and Smoothed Hybrid Optimistic Regret (SHOR-) PSRO.

To fix the LLM's over-engineering, the authors introduced a systematic train-test split ablation pipeline using Interquartile Mean (IQM) log-improvement scores. By systematically dropping components and measuring performance on unseen test games, they isolated the true mathematical engines of generalization and distilled them into two succinct, elegant solvers:

  • WOP-CFR (Warm-started Optimistic Predictive CFR): A clean modification of standard CFR defined by three core mechanics: a hard warm-start delay (suspending policy averaging for 500 iterations), extreme asymmetric discounting (acting as an instantaneous "forget-gate" for negative regrets), and a non-linear optimistic prediction step.
  • PM-PSRO (Projection Matching PSRO): A minimal meta-solver that replaces standard regret matching signals with a geometric tangent-projection step, centering expected utilities by their mean to instantly drop below-average strategies.

Datasets

The algorithms were evaluated on a comprehensive suite of 18 game instances from the OpenSpiel framework, spanning 5 distinct game families:

  • Poker Variants: 3-player/4-player Kuhn Poker, Leduc Poker, and Universal Poker.
  • Goofspiel (The Game of Pure Strategy): Various card scales, including standard and limited-information versions.
  • Liar's Dice: 4-sided, 5-sided, and 6-sided variants.
  • Colonel Blotto: A classic resource-allocation game.
  • Battleship: $2\times2$ and $3\times2$ grid variants.

The framework trained on a proxy set of 4 games and tested generalization on the remaining 14 larger, more complex environments. Additionally, the PSRO variants were validated on 1,000 randomly generated multi-player Normal-Form Games (NFGs) under both Gaussian and Uniform payoff distributions to isolate the meta-solver from extensive-form game structures.

Key Insights and Ideas

  • LLMs as Over-Engineers: Left to their own devices, evolutionary LLM coding agents act like classic over-fitting mechanisms. They layer complex symbolic logic (like EWMA volatility tracking or hybrid pure-strategy blending) that yields high training synergy but contributes nothing to—or even harms—held-out generalization.
  • Less is More (The Distillation Effect): Simultaneously stripping away all secondary LLM heuristics actually improves test performance. The distilled versions achieved superior generalization with drastically reduced structural complexity.
  • Re-discovering Classic Theory: Remarkably, the LLM's distilled core in PM-PSRO independently re-discovered a discrete analogue to Projection Dynamics from continuous-time evolutionary game theory literature, proving that semantic code mutation can land on deep, mathematically sound principles.

Key Results

  • CFR Performance: WOP-CFR achieved a +0.119 Test IQM improvement over its raw LLM predecessor. As shown in the benchmarking curves, WOP-CFR ranked in the top three across all 18 evaluation games and achieved the absolute lowest exploitability in 14 of them, outperforming strong human-designed baselines like DCFR and PCFR+.
CFR variants performance
  • PSRO Performance: PM-PSRO delivered a +0.059 Test IQM log-improvement over the raw discovery. In synthetic NFG evaluations, both SHOR-PSRO and PM-PSRO completely dominated traditional baselines (Uniform, AlphaRank, PRD, RM), with the performance gap widening significantly as the iteration count grew.
PSRO variants performance

Limitations and Future Work

  • Human-in-the-Loop: The distillation process is not yet fully autonomous; it requires human judgment to identify which components to retain, simplify, or formally define mathematically.
  • Tabular Restrictions: Exact exploitability metrics restricted the evaluation to tabular methods (games with fewer than 350K information states), leaving scaling behavior to deep neural network architectures (like Deep CFR) unexplored.
  • Single Trajectory: The reported algorithms reflect a single AlphaEvolve run trajectory; variance and stability across independent evolutionary seeds remain uncharacterized.

Future Directions: The authors suggest extending this automated discovery and distillation pipeline to deep reinforcement learning agents and cooperative general-sum games.

Summary updated

BibTeX
@misc{li2026discovering,
  author = {Zun Li and John Schultz and Daniel Hennes and Marc Lanctot},
  title = {{Discovering Multiagent Learning Algorithms with Large Language Models}},
  year = {2026},
  eprint = {2602.16928},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.16928},
}
Figure