Learning Heterogeneous Agent Cooperation via Multiagent League Training

Qingxu Fu, Xiaolin Ai, Jianqiang Yi, Tenghai Qiu, Wanmai Yuan, Zhiqiang Pu

Abstract

Heterogeneous Multiagent Reinforcement Learning (HMARL) presents unique challenges due to non-stationarity and the need for policy compatibility across different agent roles and versions. This paper introduces Heterogeneous League Training (HLT), a framework that maintains a league of historical policies to train robust, adaptive agents. By employing a combination sampler and a hyper-network-based architecture, HLT enables agents to cooperate effectively with teammates running diverse policy versions. Evaluated on the Unreal-based Hybrid Multiagent Platform (UHMP), HLT achieves a 98.09% win rate, demonstrating superior performance and emergent specialized cooperation compared to state-of-the-art baselines.

Introduction

Multiagent Reinforcement Learning (MARL) has seen significant success in homogeneous environments. However, real-world applications often involve heterogeneous teams where agents possess distinct capabilities and roles. Two primary hurdles in HMARL are: 1) Non-stationarity and data imbalance, where rare agent types provide insufficient samples for stable training; and 2) Policy version iteration, where updating one agent type's policy can disrupt established coordination with others. HLT addresses these by making compatibility a first-class citizen during training.

Methodology

The Heterogeneous League Training (HLT) framework consists of three core components designed to foster robust cooperation:

The League and Samplers

HLT maintains a "frontier" policy (the active learner) and a "league" of frozen historical policies. During training, a League Sampler and a Combination Sampler create mixed teams. This forces the frontier policy to learn to cooperate not just with its current self, but with a variety of past versions, ensuring the resulting policies are robust to software updates and variations in teammate skill.

The HLT training loop utilizes a League Sampler and Combination Sampler to optimize the frontier policy against a diverse set of historical teammate policies.

League Management and Filtering

To maintain computational efficiency, HLT uses a "League Filter." It evaluates historical policies based on a metric $\Omega$ (such as win rate) and prunes the league to keep only a diverse set of high-performing or unique historical policies. This allows the system to run effectively on a single GPU, unlike massive cluster-based implementations like AlphaStar.

Adaptive Hyper-networks

To handle the variety of teammates, agents use a hyper-network architecture. Instead of a fixed neural network, the hyper-network takes information about the agent's type and the policy versions of its teammates as input. It then generates the weights for the agent's actual policy network on the fly, allowing for dynamic behavioral adjustment.

The HLT architecture employs hyper-networks in both the centralized critic and decentralized actors to dynamically generate network parameters based on agent types and policy versions.

Experimental Setup and Results

The framework was tested on the Unreal-based Hybrid Multiagent Platform (UHMP). The setup involved three distinct agent types: T1 (UAVs with repair abilities), T2 (long-range missile units), and T3 (short-range kinetic units).

Key Findings

  • Superior Performance: HLT achieved a 98.09% win rate, significantly outperforming FT-Qmix (87.98%) and FT-Qmix-D (91.79%).
  • Emergent Specialized Behaviors: Qualitative analysis showed UAVs (T1) learned hit-and-run tactics to protect ground units, while T3 units learned to form defensive semi-circles to shield long-range T2 units.
  • Learning Bottlenecks: By swapping roles with random policies, the authors identified T3 (short-range) agents as the learning bottleneck; team performance only improved significantly once T3 agents mastered their role.

Conclusion

HLT provides a scalable and efficient solution for HMARL by prioritizing policy compatibility and adaptive behavior. By training against a league of past versions and utilizing hyper-networks, agents develop robust cooperative strategies that persist across policy iterations and varying teammate capabilities.

Summary updated

BibTeX
@misc{fu2022learning,
  author = {Qingxu Fu and Xiaolin Ai and Jianqiang Yi and Tenghai Qiu and Wanmai Yuan and Zhiqiang Pu},
  title = {{Learning Heterogeneous Agent Cooperation via Multiagent League Training}},
  year = {2022},
  eprint = {2211.11616},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.11616},
}
Figure