Population-aware Online Mirror Descent for Mean-Field Games by Deep Reinforcement Learning

Zida Wu, Mathieu Laurière, Samuel Jia Cong Chua, Matthieu Geist, Olivier Pietquin, Ankur Mehta

Introduction

In multi-agent systems involving thousands or millions of players—such as traffic flow management or swarm robotics—modeling individual interactions is computationally prohibitive. Mean-Field Games (MFGs) address this by assuming agents are identical and interact with the collective distribution of the population rather than specific individuals.

Despite their theoretical elegance, two major practical hurdles remain. First, the "Master Policy" Challenge: most MFG solvers find an equilibrium for a single specific starting distribution. If the initial population changes, the policy often fails. Second, Algorithmic Efficiency: standard approaches like Fictitious Play (FP) require averaging policies over many iterations, which is memory-intensive and difficult to implement with deep neural networks.

This paper introduces Master Deep Online Mirror Descent (M-OMD), a reinforcement learning algorithm designed to find Nash equilibria in MFGs that are robust to varying initial population distributions.

Methodology: M-OMD and the Munchausen Trick

The authors propose M-OMD, which shifts the strategy from averaging policies to aggregating value functions (Q-functions). This approach relies on three key pillars:

  1. Online Mirror Descent (OMD): Unlike Fictitious Play, which computes a "best response" at every step, OMD stabilizes learning by incrementally updating the policy based on the sum of past Q-functions.
  2. The Munchausen Trick: Summing deep neural networks is computationally complex. The authors utilize the "Munchausen trick"—adding a log-policy term to the reward function—to implicitly perform this summation within a single reinforcement learning agent.
  3. Population-Aware Architecture: To enable a true "Master Policy," the policy and Q-network take the current population distribution (represented as a histogram) as an explicit input. This allows the agent to perceive the crowd and adjust its behavior dynamically.
Evolution process and exploitability for a fixed initial distribution.

To prevent "catastrophic forgetting," where the model loses proficiency in one distribution while learning another, the authors implement a specialized Inner-loop Replay Buffer. This buffer is reset each iteration but stores transitions from multiple different starting distributions simultaneously.

Experimental Evaluation

The algorithm was evaluated on four canonical MFG benchmarks:

  • Exploration in one room: Agents spread out uniformly in a 2D grid.
  • Exploration in four connected rooms: A complex version with obstacles and narrow passages.
  • Beach Bar: Agents balance proximity to a central "bar" with the need to avoid crowded areas.
  • Linear-Quadratic (LQ) Game: A mathematical benchmark for testing convergence properties.

Key Results and Insights

The authors compared M-OMD against Master Fictitious Play (M-FP), the previous state-of-the-art.

  • Lower Exploitability: In the "Four Rooms" task, M-OMD achieved an exploitability score of 60.0, significantly outperforming M-FP's 72.66.
  • Memory Efficiency: Because M-OMD aggregates Q-functions implicitly via the Munchausen trick, it does not need to store a library of past policies. Its memory usage remains constant over iterations, whereas FP-based methods scale linearly with time.
  • Zero-Shot Generalization: The resulting Master Policy successfully handled "Ad-hoc teaming" scenarios, where new groups of agents were introduced mid-game.
Comparison of exploitability across different algorithms, showing M-OMD's superior convergence and stability.

Conclusion and Future Work

M-OMD demonstrates that Q-aggregation is often more stable and efficient than policy averaging in Deep RL contexts. By using implicit regularization, the authors drastically reduced the memory footprint required for learning Master Policies in MFGs.

Future work aims to bridge the theoretical gap by providing a formal mathematical proof of convergence for M-OMD under general monotonicity conditions. Additionally, the authors plan to investigate adaptive tuning for Linear-Quadratic cases and explore Convolutional Neural Networks (ConvNets) to better process population "shapes" in higher-dimensional 3D environments.

Summary updated

BibTeX
@inproceedings{wu2024population,
  author = {Zida Wu and Mathieu Laurière and Samuel Jia Cong Chua and Matthieu Geist and Olivier Pietquin and Ankur Mehta},
  title = {{Population-aware Online Mirror Descent for Mean-Field Games by Deep Reinforcement Learning}},
  booktitle = {AAMAS},
  year = {2024},
  url = {https://openreview.net/forum?id=dwx2PblanN},
}
Figure