TL;DR
Bench-MFG is a new, high-performance benchmark suite designed to standardize the evaluation of Reinforcement Learning (RL) algorithms in stationary Mean Field Games (MFGs). By providing a rigorous taxonomy of problem classes, a procedural generator for random game instances (MF-Garnets), and a JAX-based implementation that offers a 2000x speedup over traditional Python, this suite aims to move the field beyond isolated, "bespoke" toy problems toward robust, reproducible research.
What Problem Does This Paper Address?
Multi-Agent Reinforcement Learning (MARL) often hits a wall when population sizes explode—the joint state-action space grows exponentially, making standard approaches computationally impossible. Mean Field Games (MFGs) solve this by modeling a single "representative agent" interacting with the statistical distribution of the entire population, effectively bypassing the curse of dimensionality.
However, the MFG research community has lacked a unified testing ground. Most papers evaluate new algorithms on isolated, simplistic examples like Linear-Quadratic models or basic grid worlds. This fragmentation makes it nearly impossible to compare methods fairly or understand why an algorithm that works in a "monotone" setting (where agents avoid crowds) might fail in a "cyclic" setting (like Rock-Paper-Scissors). Bench-MFG provides the standardized "Arcade Learning Environment" equivalent for the MFG world.
Methods
The authors introduce three major components to the MFG ecosystem:
- A Taxonomy of MFG Classes: They categorize games based on their mathematical properties, providing prototypical environments for each:
- No-Interaction (NI): Standard MDPs where the population doesn't affect the agent.
- Contractive (C): Games where simple iterative updates converge to a unique equilibrium.
- Lasry-Lions Monotone (LL): Games where agents are penalized for being in crowded areas.
- Potential (P): Games where the rewards can be derived from a global potential function.
- Dynamics-Coupled (DC): A more complex class where the population distribution affects the transitions (e.g., a virus spreading or traffic congestion) rather than just the rewards.
- MF-Garnets: A novel method for procedurally generating random MFG instances. This allows researchers to "stress-test" algorithms across thousands of different scenarios rather than over-fitting to a few hand-crafted examples.
- MF-PSO: A new black-box optimization algorithm for minimizing "exploitability" (a measure of how far a policy is from a Nash Equilibrium) based on Particle Swarm Optimization.
- JAX Implementation: The entire suite is built in JAX, enabling just-in-time (JIT) compilation and massive parallelization.
Datasets and Benchmarks
Bench-MFG includes several prototypical environments that isolate specific algorithmic challenges:
- Move Forward (NI): A 1D grid world where rewards increase with state index.
- Coordination Game (C): A two-state game with switching costs and congestion penalties.
- Beach Bar Problem (LL): A classic MFG where agents want to be near a "center" but avoid crowds.
- 4 Rooms Exploration (P): A 2D grid world with obstacles where agents avoid high-density areas.
- Rock-Paper-Scissors (Cyclic): A non-potential game that often leads to rotational dynamics rather than stationary convergence.
- SIS Epidemic & Kinetic Congestion (DC): Environments where the population density physically blocks movement or drives infection rates.
Key Insights and Ideas
- The Robustness of Fictitious Play: Surprisingly, Fictitious Play (FP) demonstrated remarkable robustness, converging even in non-monotone settings where it lacks theoretical guarantees.
- The OMD Trade-off: Online Mirror Descent (OMD) often achieves the lowest exploitability (highest accuracy), particularly in difficult cyclic games, but it is extremely sensitive to hyperparameter tuning.
- Dynamics Coupling is Hard: The authors highlight that games where the population affects state transitions (DC-MFGs) are significantly more challenging for current learning algorithms than those where interactions only happen through rewards.
- Speed Matters: The 2000x speedup provided by JAX isn't just a convenience; it enables the exhaustive hyperparameter sweeps and statistical testing (via MF-Garnets) that were previously too slow to perform.
Key Results
The authors benchmarked a wide array of algorithms, including Fixed Point Iteration, Policy Iteration (PI), and OMD.
- Quantitative Performance: In the MF-Garnet random instances, the novel MF-PSO algorithm often achieved superior performance compared to Fictitious Play, though at a higher computational cost that scales with the number of particles.
- Exploitability Curves: The paper provides detailed exploitability curves across all environments. For example, in the 4 Rooms Exploration (a Potential Game), OMD showed strong convergence, while simpler methods struggled.
Limitations and Future Work
- Discrete Focus: The current benchmark is limited to discrete-time and discrete-space settings. While this provides clarity, many real-world MFGs are continuous.
- Stationary Assumption: The suite focuses on stationary equilibria. The authors acknowledge that extending this to Finite Horizon MFGs (where dynamics vary over time) is a crucial next step.
- Scalability: While JAX helps, the authors plan to investigate even larger-scale environments to test the limits of these algorithms in truly massive state spaces.
- Sample-Based RL: The current solvers are largely model-based. Future versions of the benchmark should incorporate sample-based Deep RL agents to address challenges in exploration and variance.
Summary updated