PORTAL: Automatic Curricula Generation for Multiagent Reinforcement Learning

Jizhou Wu, Jianye Hao, Tianpei Yang, Xiaotian Hao, Yan Zheng, Weixun Wang, Matthew E. Taylor

Introduction

Training multiple agents to cooperate in complex, high-dimensional environments remains a significant challenge in reinforcement learning. In scenarios like the StarCraft MultiAgent Challenge (SMAC), agents often face sparse rewards, leading to a failure to learn effective strategies from scratch. Automatic Curriculum Learning (ACL) has emerged as a promising solution, yet existing methods often struggle with task irrelevance and the inability to transfer knowledge across varying agent populations. This paper presents PORTAL (PrOgRessive mulTiagent Automatic curricuLum), a framework designed to automate the generation of effective curricula for multiagent systems.

The PORTAL Framework

PORTAL addresses the limitations of current ACL methods through a dual-criterion task selection strategy and a specialized neural architecture. The framework focuses on selecting "stepping stone" tasks that are both appropriately challenging and relevant to the final target goal.

The PORTAL framework overview, illustrating the curriculum selection, overall process, and transfer learning components.

Dual-Criterion Task Selection

The selection process utilizes two primary metrics to filter candidate tasks:

  1. Difficulty ($\eta^d$): Measured via "Jumpstart Performance," this metric identifies tasks where the current policy shows some potential but has not yet mastered the environment. This ensures tasks are within the agents' "zone of proximal development."
  2. Similarity ($\eta^s$): To ensure relevance, PORTAL calculates the similarity between candidate tasks and the final goal. This is achieved by modeling observation distributions using Gaussian Mixture Models (GMMs) and measuring the KL-divergence between them. This prevents the curriculum from deviating into "distraction" tasks that do not contribute to the final objective.

Architecture: Entity Relation Feature Network (ERFN)

A core challenge in multiagent transfer learning is the varying number of entities across tasks. Standard architectures often rely on simple summation, which leads to scaling issues when the agent count changes. PORTAL introduces the Entity Relation Feature Network (ERFN), which employs a relational mechanism to weight entity importance. This creates a consistent semantic feature space, allowing policies trained on smaller squads to be effectively transferred to larger, more complex battles.

Experimental Evaluation

The performance of PORTAL was evaluated on the SMAC benchmark, focusing on "extremely hard" scenarios including:

  • Marines: Scaling from 5m to a final task of 7m vs 9m.
  • Heterogeneous Squads: Complex compositions such as 3s5z vs 4s8z.
  • Mixed Groups (MMM): Scenarios involving Medivacs, Marauders, and Marines.

Results

PORTAL demonstrates significant improvements over state-of-the-art baselines, including HPN-QMIX and other curriculum methods like DYMA.

Performance comparison of PORTAL against state-of-the-art baselines across various SMAC scenarios.

In the challenging 7m vs 9m scenario, PORTAL achieved high win rates while competing methods failed to secure any victories. Furthermore, the framework showed higher training efficiency, reaching peak performance on intermediate tasks faster than baselines. The validity of the similarity metric was also confirmed, showing a strong positive correlation between task similarity and successful policy transfer.

Conclusion

PORTAL provides a robust framework for automating curriculum generation in MARL. By balancing task difficulty with goal relevance and utilizing a scale-invariant architecture, it enables agents to master complex cooperative tasks previously considered unreachable. Future work will explore the integration of procedural content generation to remove the dependency on predefined candidate task sets.

Summary updated

BibTeX
@inproceedings{wu2024portal,
  author = {Jizhou Wu and Jianye Hao and Tianpei Yang and Xiaotian Hao and Yan Zheng and Weixun Wang and Matthew E. Taylor},
  title = {{PORTAL: Automatic Curricula Generation for Multiagent Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i14.29524},
}
Figure