Scaling up Mean Field Games with Online Mirror Descent

Julien Pérolat, Sarah Perrin, Romuald Élie, Mathieu Laurière, Georgios Piliouras, Geist, M. (Matthieu), Karl Tuyls, Olivier Pietquin

In the world of multi-agent systems, "more" usually means "messier." As the number of agents grows, the complexity of finding an equilibrium—where no one wants to change their strategy—typically explodes. Mean Field Games (MFGs) offer a clever way out by modeling an infinite population of identical agents, reducing the problem to a single representative player interacting with the "mean field" (the average behavior of everyone else).

However, even with this simplification, traditional solvers struggle to scale to the massive, complex state spaces required for real-world modeling. A new paper from researchers at DeepMind, Google Research, and several universities proposes a powerful solution: Online Mirror Descent (OMD).

TL;DR

The authors introduce Online Mirror Descent (OMD) as a highly scalable algorithm for solving Mean Field Games. By replacing the computationally expensive "best response" step of traditional methods with a smoother iterative update, they achieve convergence in games with hundreds of billions of states—surpassing previous benchmarks by four to five orders of magnitude.

What Problem Does This Paper Address?

Traditional approaches to solving MFGs usually fall into two camps:

  1. PDE Solvers: These use partial differential equations to model population flow and optimal control. They are mathematically rigorous but fail miserably when the state space becomes high-dimensional or complex.
  2. Fictitious Play (FP): A classic game theory algorithm that alternates between computing a "best response" to the current population and mixing that response into an average strategy. While more flexible than PDE solvers, FP is slow to converge and memory-intensive because it requires calculating and storing full best-response policies at every step.

The gap is scalability. We want to model realistic scenarios—like thousands of people evacuating a 20-story building or complex multi-population predator-prey dynamics—without hitting a computational wall.

Methods

The researchers pivot from Fictitious Play to Online Mirror Descent (OMD).

  • The Core Shift: Instead of finding the absolute best response to the current crowd (which is hard), OMD performs a "soft" update. It evaluates the current strategy to get a Q-function (expected rewards) and then updates the policy using a soft-max of the integrated Q-functions over time.
  • Theoretical Backbone: The authors provide a formal proof that continuous-time OMD converges to a Nash Equilibrium in MFGs that satisfy monotonicity. In plain English, monotonicity means agents are generally "crowd-averse"—they are discouraged from doing exactly what everyone else is doing (e.g., everyone trying to use the same narrow hallway at once).
  • Generality: They extend this framework to Multi-Population MFGs (where different groups have different goals) and settings with common noise (random events that affect everyone simultaneously, like a sudden change in weather).

Environments

The algorithm was evaluated on several complex, high-dimensional simulations:

  • Garnet: Abstract, randomly generated Markov Decision Processes used to test robustness.
  • Building Evacuation: A 20-story building model (200x200 cells per floor) where agents must reach the ground floor while maintaining "social distance" (avoiding high-density areas).
  • Crowd Motion with Common Noise: A 2D torus environment where the "point of interest" moves randomly, forcing the entire crowd to shift dynamically.
  • Multi-Population Chasing: A cyclic "Hens-Foxes-Snakes" game where three populations chase each other across various topologies (Torus, Square, and even a "Donut").

Key Insights and Ideas

  • Efficiency through Integration: OMD is significantly more memory-efficient than Fictitious Play. While FP requires storing multiple average policies and distributions, OMD only needs to store the current strategy and the integrated Q-values.
  • Avoiding the "Best Response" Trap: By using a gradient-like update (Mirror Descent) rather than a full optimization (Best Response), the algorithm avoids the "all-or-nothing" oscillations that can plague standard learning in games.
  • The Power of Monotonicity: The paper highlights that the "aversion to crowded areas" isn't just a realistic human behavior; it's the mathematical property that guarantees the algorithm will settle into a stable equilibrium.

Key Results

  • Massive Scale: The authors solved a common-noise MFG with over 270 billion states ($2.73 \times 10^{11}$) and trillions of state-action pairs. This is a massive leap over previous state-of-the-art results.
  • Speedup: In the building evacuation and multi-population chasing tasks, OMD converged significantly faster than Fictitious Play.
  • Robustness: OMD proved robust across different learning rates ($\alpha$) and complex topologies like the "donut" world, where agents had to navigate around a central obstacle to chase their prey.

Limitations and Future Work

  • Theoretical Convergence Rate: While the paper proves that OMD converges, it doesn't provide a theoretical rate of convergence (e.g., how many steps it takes to get within $X$ distance of the equilibrium). In contrast, Fictitious Play has a known $O(1/t)$ rate.
  • Model-Based vs. Model-Free: The current work assumes the "model" (the transitions and rewards) is known. A natural next step is moving toward a model-free setting using Reinforcement Learning (RL) and function approximation (like Neural Networks) to handle even more complex, continuous environments.
  • Non-Monotone Games: The proof relies on monotonicity. Exploring how OMD behaves in "crowd-seeking" games (where agents want to be where others are) remains an open challenge.

Summary updated

BibTeX
@inproceedings{perolat2021scaling,
  author = {Julien Pérolat and Sarah Perrin and Romuald Élie and Mathieu Laurière and Georgios Piliouras and Geist, M. (Matthieu) and Karl Tuyls and Olivier Pietquin},
  title = {{Scaling up Mean Field Games with Online Mirror Descent}},
  booktitle = {HAL},
  year = {2021},
}
Figure