Evolutionary Population Curriculum for Scaling Multi-Agent Reinforcement Learning

Qian Long, Zihan Zhou, Abhinav Gupta, Fei Fang, Yi Wu, Xiaolong Wang

Abstract

Scaling Multi-Agent Reinforcement Learning (MARL) to large populations is notoriously difficult because environmental complexity and policy gradient variance grow exponentially with the number of agents. This paper introduces Evolutionary Population Curriculum (EPC), a framework that scales MARL by progressively increasing the agent population in stages and using an evolutionary "mix-and-match" process to select for agents that are best at adapting to larger groups.

Introduction

In Multi-Agent Reinforcement Learning (MARL), the "curse of dimensionality" presents a significant barrier to scaling. While state-of-the-art algorithms like MADDPG perform well for small groups, they often fail to learn effective strategies when the population scales to dozens or hundreds of agents.

A common approach to manage this complexity is Curriculum Learning, which involves starting with simple tasks and gradually increasing difficulty—in this case, starting with a small population and scaling up. However, the authors identify a "misalignment" problem: an agent optimized for a 3-agent game may overfit to those specific dynamics, performing poorly when transitioned to a 20-agent environment. Standard curriculum methods that simply clone successful agents often become trapped in these local optima.

Methodology

Population-Invariant Architecture

To handle a dynamic number of agents without altering the neural network structure, the authors implement a self-attention mechanism. This architecture allows the policy and the centralized critic to process an arbitrary number of "entities" (other agents or objects) into a fixed-size embedding, facilitating seamless transitions between curriculum stages.

The population-invariant architecture utilizing self-attention to process a variable number of agent observations and actions.

Evolutionary Population Curriculum (EPC)

EPC maintains $K$ parallel sets of agents. Training proceeds in stages, doubling the population at each step:

  1. Mix-and-Match (Crossover): At the start of a new stage, sets are combined and cloned to reach the target population size, creating $C$ candidate sets.
  2. MARL Fine-tuning (Mutation): Each candidate set undergoes gradient-based training in the larger environment. This "guided mutation" is more efficient than random parameter noise.
  3. Selection: Sets are evaluated, and only the top $K$ sets—those demonstrating the best adaptation to the increased scale—are retained for the subsequent stage.

Experimental Setup

The researchers evaluated EPC on three increasingly complex scenarios within the Particle-World environment:

  • Grassland: A predator-prey survival game where sheep must avoid wolves while consuming food.
  • Adversarial Battle: A mixed cooperative-competitive game where teams compete for resources and attempt to trap opponents.
  • Food Collection: A fully cooperative game requiring agents to simultaneously occupy multiple food locations.
Visualization of the Grassland environment featuring wolves (predators), sheep (prey), and food sources.

Key Results and Insights

  • Adaptability Over Performance: The core insight of EPC is that the best initialization for a large-scale game is not necessarily the highest-scoring agent from a smaller scale. By maintaining a population of agent sets, EPC preserves "evolutionary diversity," ensuring some sets possess the features necessary to adapt to new social dynamics.
  • Performance and Stability: In the "Grassland" environment with 24 sheep and 16 wolves, EPC sheep achieved 10x more rewards than baselines without population curriculum. Furthermore, EPC significantly reduced training variance, maintaining stability where vanilla methods often failed to converge.
  • Emergent Cooperation: EPC agents discovered complex group behaviors, such as forming defensive phalanxes in "Adversarial Battle" to avoid being isolated and deactivated.
  • Generalization: Policies trained via EPC demonstrated superior generalization. When a policy trained on 12 agents was tested on 24 agents, the EPC-trained model significantly outperformed those trained through standard methods.

Conclusion and Future Work

While EPC introduces computational overhead by training multiple agent sets, these can be processed in parallel. Current limitations include "role homogeneity," where agents within a role are assumed interchangeable. Future work may explore "swarm intelligence," applying EPC to learn simple local rules that lead to massive-scale emergent coordination among thousands of agents.

Summary updated

BibTeX
@inproceedings{long2020evolutionary,
  author = {Qian Long and Zihan Zhou and Abhinav Gupta and Fei Fang and Yi Wu and Xiaolong Wang},
  title = {{Evolutionary Population Curriculum for Scaling Multi-Agent Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=IaKDI5VFdzO},
}
Figure