From Few to More: Large-scale Dynamic Multiagent Curriculum Learning

Weixun Wang, Tianpei Yang, Yong Liu, Jianye Hao, Xiaotian Hao, Yujing Hu, Yingfeng Chen, Changjie Fan, Yang Gao

Abstract

Training large-scale multi-agent systems is a significant challenge in reinforcement learning due to the exponential growth of interaction complexity and state-space dimensionality. We present DyMA-CL (Dynamic Multiagent Curriculum Learning), a framework designed to bridge the gap between small-scale coordination and large-scale deployment. By progressively increasing the number of agents and utilizing DyAN (Dynamic Agent-number Network), a Graph Neural Network architecture, our approach enables seamless knowledge transfer across tasks with varying input dimensions. Experimental results in StarCraft II and MAgent demonstrate that DyMA-CL achieves high win rates in scenarios where traditional methods fail to learn, effectively leveraging "state semanticity" to scale performance.

Introduction

In Multi-Agent Reinforcement Learning (MARL), the goal is often to coordinate hundreds of units, such as in large-scale battle simulations. However, training from scratch on such tasks is frequently intractable because agents spend excessive time exploring a massive, high-dimensional search space. While Curriculum Learning (CL) offers a path forward by training on simpler tasks first, it faces a major technical hurdle: standard neural networks require fixed-size input vectors. This "fixed-input" constraint makes it physically impossible to transfer a model trained for 5 agents directly to a 10-agent scenario without significant architectural changes.

Methodology

To overcome these challenges, the researchers propose a two-pronged solution involving a dynamic training strategy and a flexible network architecture.

DyMA-CL: Dynamic Multiagent Curriculum Learning

The training strategy decomposes a target large-scale task into a sequence of source tasks with increasing numbers of agents. For example, a 15 vs. 15 combat task is preceded by 5 vs. 5 and 10 vs. 10 stages. Knowledge is transferred between these stages using three primary mechanisms:

  • Model Reload: Initializing the network for a new task with weights learned from the previous, smaller task.
  • Curriculum Distillation: Using KL Divergence to encourage the larger-scale model to mimic the policy of the smaller-scale "expert" model.
  • Buffer Reuse: Leveraging experience samples from previous tasks as expert demonstrations to accelerate early learning.

DyAN: Dynamic Agent-number Network

To enable mechanisms like "Model Reload," the network must handle varying numbers of agents. DyAN utilizes Graph Neural Networks (GNNs) to treat agents as nodes. An aggregation operator (specifically SUM) condenses observations from any number of neighbors into a fixed-size representation. This allows the same internal parameters to process different group sizes while preserving the "semantic" meaning of the state—such as the density and count of nearby units. The core insight is that "semantics" are often invariant to scale; a skill learned in a small group remains relevant in a larger one.

Figure 2: Mapping original state spaces of different tasks into a unified semantic state space.

Experimental Results

The framework was evaluated on StarCraft II (SMAC) and the MAgent grid-world environment.

  • StarCraft II (15-Immortal Scenario): Vanilla MARL algorithms like IQL and VDN achieved a 0% win rate when trained from scratch. In contrast, DyMA-CL enabled these same algorithms to reach win rates between 80% and 100%.
  • MAgent (50 vs. 50): In large-scale grid-world battles, DyMA-CL with Model Reload achieved perfect kill counts and high survival rates. Training from scratch resulted in significantly lower kill counts (~31) and near-zero survival.
  • Transfer Efficiency: "Model Reload" emerged as the most effective transfer mechanism, proving that the DyAN architecture successfully captures scale-invariant features. This creates a "jumpstart" effect where agents begin harder tasks with a non-zero win rate.

Conclusion

DyMA-CL provides a robust framework for scaling multi-agent systems by leveraging the inherent semantic similarities between small and large-scale tasks. By combining a progressive curriculum with a dynamic GNN architecture, the approach significantly reduces training time and improves final performance in complex environments. Future work will focus on automating curriculum generation and extending the framework to heterogeneous agent types.

This summary is based on the paper "From Few to More: Large-scale Dynamic Multiagent Curriculum Learning" by researchers from Tianjin University and partners.

Summary updated

BibTeX
@inproceedings{wang2020from,
  author = {Weixun Wang and Tianpei Yang and Yong Liu and Jianye Hao and Xiaotian Hao and Yujing Hu and Yingfeng Chen and Changjie Fan and Yang Gao},
  title = {{From Few to More: Large-scale Dynamic Multiagent Curriculum Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6221},
}
Figure