TL;DR
This paper tackles the challenge of training 11-vs-11 multi-agent football AI in the Google Research Football (GRF) environment, a complex scenario largely unexplored. They introduce a population-based training framework, Light-MALib, and demonstrate that their approach can train agents from scratch to outperform the built-in AI, providing valuable insights and tools for the research community.
What Problem Does This Paper Address?
The Google Research Football (GRF) environment offers a realistic simulation for multi-agent reinforcement learning (MARL), but most research has focused on simpler "academy" scenarios. The full 11-vs-11 game presents significant challenges: extremely sparse rewards, long game durations, high state stochasticity, and the complex problem of credit assignment and the exponential growth of the joint action space. Crucially, there was no publicly available benchmark or established training pipeline for this full-game scenario, hindering progress in the field.
Methods
The authors propose a population-based MARL training pipeline built on the Independent Proximal Policy Optimization (IPPO) algorithm. IPPO is a standard MARL approach where each agent learns its own policy independently, maximizing its individual reward. What's novel here is their implementation and application to the GRF 11v11 scenario.
They introduce Light-MALib, a distributed and asynchronous framework that extends the existing MALib codebase. Light-MALib is specifically optimized for GRF and includes features like:
- Population-Based Training (PBT): This is a core contribution, employing techniques like Policy-Space Response Oracles (PSRO) and League Training. PBT involves maintaining a population of diverse policies that compete against each other, leading to more robust and generalizable agents.
- Diverse Reward Shaping: To encourage strategic variety, they experiment with different reward functions beyond just scoring goals.
- GRF Toolkits: They developed event detection and a game debugger for detailed analysis of game dynamics.
Datasets
The primary "dataset" used is the Google Research Football (GRF) environment, specifically the 11-vs-11 full-game scenarios. They also mention using smaller-scale MARL environments like Leduc Poker, Kuhn Poker, and ConnectFour for framework testing. They release diverse pretrained policies for benchmarking.
Key Insights and Ideas
- 11v11 GRF is Hard, but Solvable: The paper demonstrates that even with the challenges of sparse rewards and long horizons, it's possible to train effective agents from scratch using IPPO and population-based methods.
- Discount Factor Matters: A discount factor ($\gamma$) close to 1 (specifically $\gamma=1$) is crucial for stable training in the long-horizon 11v11 GRF scenario, preventing pessimistic behavior and improving convergence. Lower discount factors lead to high variance and unstable learning.
- Feature Engineering is Key: Simple feature encodings are insufficient. Using features that incorporate relative positions of teammates and opponents (encoder_basic) significantly improves performance. Further enhancements like offside information (encoder_enhanced) can be beneficial for population-based training against diverse opponents.
- Built-in AI Can Be a Hindrance: Including the built-in AI as an opponent in population-based training can lead to policies that exploit specific glitches and become overly specialized, rather than developing general skills. Excluding it and focusing on diverse learned policies is more effective for building robust AI.
- Population-Based Training is Essential for Generalization: While IPPO can beat the bot, it leads to exploitable policies. Population-based methods like PSRO and League Training are necessary to develop diverse, robust, and less exploitable football AI.
Key Results
- Outperforming the Bot: The trained IPPO agents, using their Light-MALib framework and population-based training, achieve a high win rate against the built-in AI at difficulty 1.0, trained from scratch within 2 million steps.
- Training Time: Achieving a high win rate against the 1.0 hard bot can take approximately 15.7 hours on their hardware setup, but this can be reduced to under 5 hours with more resources.
- Feature Encoder Performance: The
encoder_basicfeature encoder significantly outperforms the officialsimple115_v2encoder. - Discount Factor Impact: $\gamma=1$ leads to more stable training and faster convergence compared to $\gamma=0.995$ or $\gamma=0.99$.
- Reward Shaping: Scaling down negative rewards for goal-losing events improved performance in failure cases when using a lower discount factor.
Limitations and Future Work
- Exploitable Policies: While IPPO can beat the bot, the resulting policies are highly exploitable, indicating a need for more sophisticated training methods.
- Computational Cost: Training effective agents for the 11v11 GRF scenario is computationally intensive, requiring significant resources.
- Future Work: The authors suggest further improving agents through self-play using their population-based training framework. They also aim to provide guidance for building stronger football AI and release diverse pretrained policies for benchmarking, fostering community research. The release of Light-MALib and pretrained models is a significant step towards enabling future research in this area.
Summary updated