Scaling up Mean Field Games with Online Mirror Descent

Julien Pérolat, Sarah Perrin, Romuald Elie, Mathieu Laurière, Georgios Piliouras, Matthieu Geist, Karl Tuyls, Olivier Pietquin

Abstract

Mean Field Games (MFGs) provide a framework for modeling large-scale multi-agent systems by considering an infinite population of identical agents. However, traditional solvers like Fictitious Play (FP) often struggle with scalability in high-dimensional state spaces. This paper introduces Online Mirror Descent (OMD) as a robust alternative. By replacing the discrete best-response updates of FP with smoother, iterative policy updates, OMD achieves convergence in games with hundreds of billions of states, significantly outperforming existing benchmarks.

Introduction

In multi-agent reinforcement learning and game theory, the complexity of finding a Nash Equilibrium typically grows exponentially with the number of agents. Mean Field Games (MFGs) mitigate this by modeling a representative agent interacting with the aggregate behavior of a population—the "mean field." While this simplification is powerful, practical applications like urban planning or large-scale evacuations involve state spaces that remain computationally prohibitive for standard algorithms.

Traditional MFG solvers generally rely on Partial Differential Equation (PDE) methods or Fictitious Play (FP). PDE solvers are mathematically elegant but do not scale well to high-dimensional or non-Euclidean spaces. FP, while more flexible, requires computing a full "best response" at each iteration, which is both memory-intensive and prone to oscillations.

Online Mirror Descent for MFGs

To address these limitations, we propose the use of Online Mirror Descent (OMD). Unlike FP, which jumps to the optimal response for the current mean field, OMD performs incremental updates. It maintains a running sum of Q-functions (expected rewards) and updates the policy using a soft-max transformation.

Theoretical Convergence

A key contribution of this work is the formal proof that continuous-time OMD converges to a Nash Equilibrium in monotone MFGs. Monotonicity is a property where agents are incentivized to avoid crowded states—a common feature in realistic scenarios like traffic flow or social distancing. The framework is further extended to multi-population MFGs and environments with common noise, where external stochastic events affect the entire population simultaneously.

Experimental Evaluation

The efficacy of OMD was tested across several challenging environments, including abstract Garnet MDPs and complex spatial simulations. One notable test case is the Building Evacuation task, where agents must navigate a 20-story structure while maintaining social distance.

Schematic of the multi-floor building evacuation environment.

The building evacuation task, illustrated above, highlights the algorithm's ability to handle structured, high-dimensional state spaces where agents must coordinate to optimize flow.

Key Results and Scalability

OMD demonstrates superior performance and scalability compared to traditional methods. In our experiments, OMD solved a common-noise MFG with over 270 billion states ($2.73 \times 10^{11}$), representing a four to five order-of-magnitude improvement over previous state-of-the-art results.

Comparison of exploitability over steps for Fictitious Play (FP), Damped FP, and Mirror Descent (MD). MD shows significantly faster and more stable convergence.

As shown in the comparison above, OMD (labeled MD) converges to a near-zero exploitability much faster than FP across various learning rates ($\alpha$). While FP often plateaus or oscillates, OMD's "soft" updates allow it to settle into a stable equilibrium efficiently. Furthermore, OMD is more memory-efficient, as it only needs to store the current strategy and integrated Q-values rather than a history of policies.

Conclusion and Future Directions

Online Mirror Descent represents a significant step forward in making Mean Field Games practical for real-world modeling. By leveraging the mathematical properties of monotonicity and the stability of mirror descent, we can now solve games of unprecedented scale.

Future work will focus on establishing theoretical convergence rates for discrete-time OMD and extending the approach to model-free settings. Integrating OMD with deep reinforcement learning could enable the solution of even more complex, continuous-state games where the underlying transitions are unknown.

Summary updated

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