Variational Automatic Curriculum Learning for Sparse-Reward Cooperative Multi-Agent Problems

Jiayu Chen, Yuanxin Zhang, Yuanfan Xu, Huimin Ma, Huazhong Yang, Jiaming Song, Yu Wang, Yi Wu

Introduction

Multi-agent reinforcement learning (MARL) faces a significant hurdle known as the "curse of dimensionality." As the number of agents increases, the joint action space grows exponentially, making the search for optimal strategies increasingly difficult. This problem is exacerbated in sparse-reward environments, where agents receive feedback only upon completing a complex sequence of actions. While curriculum learning—starting with simple tasks and gradually increasing difficulty—offers a potential solution, manually designing these curricula is often impractical for complex simulations.

Variational Automatic Curriculum Learning (VACL)

To address these challenges, the authors propose VACL, a framework that formalizes curriculum learning through a variational lens. The learning objective is decomposed into two parts: a policy update to improve agent performance on current tasks, and a curriculum update to shift the training distribution toward more challenging but solvable regions.

Task space partitioning in VACL.

VACL utilizes Stein Variational Gradient Descent (SVGD) to treat tasks as particles in a continuous space. These particles are pushed away from "Solved" regions and toward the "Active" boundary—the sweet spot where tasks are just beyond the agents' current capabilities. To maintain computational efficiency, Value Quantization is used to categorize tasks into Solved, Active, and Unsolved buckets based on success rates, focusing training effort where it is most effective.

Scaling via Entity Progression

A unique feature of VACL is its approach to scaling the number of agents. Instead of abrupt jumps in agent counts, VACL employs a "continuous relaxation" trick, treating the discrete number of agents as a continuous variable. This Entity Progression allows for smooth transitions, enabling the curriculum to scale from a few agents to a massive 100-agent swarm without the catastrophic performance drops typical of direct transfer learning. This suggests that managing the distribution shift in value functions is key to scaling MARL.

Experimental Evaluation and Results

The framework was evaluated on several benchmarks, including the Multi-agent Particle-world Environment (MPE) and the Hide-and-Seek (HnS) environment. VACL demonstrated significant improvements over existing curriculum methods such as GoalGAN and AMIGo.

Performance comparison on Simple-Spread and Push-Ball benchmarks.

Key results include:

  • Massive Scaling: VACL achieved a 98% coverage rate with 100 agents in the Simple-Spread benchmark using only sparse rewards, while most baselines failed to scale.
  • Emergent Behavior: In the Hide-and-Seek environment, VACL successfully reproduced complex emergent behaviors like "ramp-use," where agents coordinate to move tools to reach goals.
  • Efficiency: Remarkably, these results were achieved on a single desktop machine, whereas previous milestones in this area often required massive compute clusters.

Limitations and Future Work

Currently, VACL is optimized for cooperative multi-agent problems where task difficulty expands monotonically. In competitive "zero-sum" games, difficulty is relative to the opponent's strategy, which can lead to non-monotonic "cycling" (e.g., Strategy A beats B, B beats C, C beats A). Extending this variational curriculum approach to competitive settings remains a promising direction for future research.

Summary updated

BibTeX
@inproceedings{chen2021variational,
  author = {Jiayu Chen and Yuanxin Zhang and Yuanfan Xu and Huimin Ma and Huazhong Yang and Jiaming Song and Yu Wang and Yi Wu},
  title = {{Variational Automatic Curriculum Learning for Sparse-Reward Cooperative Multi-Agent Problems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure