Abstract
Mean Field Games (MFGs) offer a powerful framework for studying large-scale multi-agent systems. Yet, learning Nash equilibria in MFGs remains a challenging problem, particularly when the initial distribution is unknown or when the population is subject to common noise. In this paper, we introduce an efficient deep reinforcement learning (DRL) algorithm designed to achieve population-dependent Nash equilibria without relying on averaging or historical sampling, inspired by Munchausen RL and Online Mirror Descent. The resulting policy is adaptable to various initial distributions and sources of common noise. Through numerical experiments on seven canonical examples, we demonstrate that our algorithm exhibits superior convergence properties compared to state-of-the-art algorithms, particularly a DRL version of Fictitious Play for population-dependent policies. The performance in the presence of common noise underscores the robustness and adaptability of our approach.
Introduction
In Mean-Field Games (MFGs), we model the interactions of a massive number of agents by analyzing a "representative" agent interacting with the collective distribution—the "mean field"—of the population. A significant challenge in this domain is finding a Nash Equilibrium that generalizes across varying initial distributions. Real-world systems, such as traffic flow or swarm robotics, rarely begin from the same state twice, necessitating "Master Policies" that are population-aware.
Furthermore, these systems are often subject to "common noise"—external shocks that affect the entire population simultaneously (e.g., weather events in traffic models). Traditional methods like Fictitious Play (FP) struggle with these complexities, often requiring the storage of massive historical data or the averaging of multiple neural networks, leading to high computational costs and "catastrophic forgetting."
Methodology: Master Online Mirror Descent (M-OMD)
The core contribution of this work is Master Online Mirror Descent (M-OMD). This algorithm adapts Online Mirror Descent for the "Master" setting, where the policy explicitly takes the current population distribution as an input.
The Munchausen Trick and Implicit Averaging
To avoid the computational burden of explicitly averaging policies from every previous iteration, M-OMD utilizes a regularized Q-learning approach known as the "Munchausen trick." By adding a log-policy term to the reward function, the algorithm performs "implicit averaging" within a single network. The authors provide a mathematical proof (Theorem 1) showing that this regularized Q-update is functionally equivalent to summing all historical Q-functions, allowing the agent to retain the history of the game without storing old models.
Handling Common Noise
To manage environmental shocks, M-OMD integrates the historical sequence of common noise into the policy network. This allows agents to distinguish between population shifts caused by collective behavior versus those induced by external factors. To stabilize training in these shifting landscapes, the authors utilize periodic target policy updates similar to Deep Q-Networks (DQN).
Experimental Evaluation
The researchers evaluated M-OMD across seven canonical MFG benchmarks categorized into three environments:
- Exploration: Agents must disperse to avoid crowds in 2D grid worlds (one-room and four-room configurations).
- Beach Bar: Agents balance the desire to be near a central "bar" with the need to avoid overcrowding. This includes scenarios with common noise where the bar randomly opens or closes.
- Linear-Quadratic: A classic control problem adapted for MFGs, tested both with and without common noise.
The study also introduced an "Ad-hoc Teaming" test case, where new agent groups are introduced mid-game to test the master policy's adaptability to sudden, massive shifts in population distribution.
Key Results and Performance
M-OMD demonstrated significant improvements over state-of-the-art methods like Master Fictitious Play (M-FP):
- Superior Convergence: M-OMD converged to Nash Equilibrium faster and more reliably across Exploration and Beach Bar tasks.
- Lower Exploitability: In tests with unknown initial distributions, M-OMD consistently achieved lower exploitability scores. For instance, in the 4-room exploration task, M-OMD reached an exploitability of 60.0, significantly outperforming M-FP (72.66) and Vanilla OMD (159.67).
- Memory and Robustness: By eliminating the need for a policy library, M-OMD is more memory-efficient. It also successfully learned to follow "anchor trajectories" created by common noise, proving its robustness to environmental shocks.
Conclusion
M-OMD provides a scalable and efficient solution for learning population-aware policies in MFGs. While it shows a slight performance lag in simple Linear-Quadratic environments—likely due to heavy regularization in nearly deterministic systems—its performance in complex, noisy environments is state-of-the-art. Future research will explore extending this framework to multi-population games involving heterogeneous agent types, such as predator-prey dynamics.
Summary updated