NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Heterogeneous-Agent Reinforcement Learning

Yifan Zhong, Jakub Grudzien Kuba, Siyi Hu, Jiaming Ji, Yaodong Yang · DOI

Abstract

Multi-Agent Reinforcement Learning (MARL) often relies on parameter sharing and simultaneous updates, which limits performance in heterogeneous environments and causes training instability. This paper introduces the Heterogeneous-Agent Reinforcement Learning (HARL) framework, which utilizes a sequential update scheme and the multi-agent advantage decomposition lemma. By deriving algorithms like HATRPO and HAPPO from the Heterogeneous-Agent Mirror Learning (HAML) template, the authors provide mathematical guarantees for monotonic improvement. Experiments across diverse benchmarks demonstrate that HARL significantly outperforms state-of-the-art baselines in complex, heterogeneous tasks.

Introduction

In the world of Multi-Agent Reinforcement Learning (MARL), researchers frequently assume agent homogeneity to simplify optimization. By forcing agents to share parameters, the mathematical complexity is reduced, but the ability to solve real-world problems involving diverse agents—such as a "scout" and a "soldier" in a tactical scenario—is limited. Furthermore, most standard algorithms update all agents simultaneously. This creates a "moving target" problem: as Agent A adapts to Agent B, Agent B is also changing its behavior, often leading to conflicting updates and training instability.

The HARL Framework

The Heterogeneous-Agent Reinforcement Learning (HARL) framework addresses these issues by replacing simultaneous updates with a sequential update scheme. This approach is theoretically grounded in a multi-agent advantage decomposition lemma, which proves that the total advantage of a joint action can be decomposed into a sequence of individual agent contributions.

Figure 1: Illustration of update schemes in a two-player differentiable game. The sequential update (blue star) reaches a higher reward contour than the simultaneous update (solid red circle) by allowing agents to account for the updated policies of their teammates.

Heterogeneous-Agent Mirror Learning (HAML)

The authors propose HAML as a "grand unified theory" for designing MARL algorithms. HAML serves as a template that allows for the derivation of heterogeneous versions of popular RL algorithms, including:

  • HATRPO & HAPPO: Multi-agent extensions of Trust Region Policy Optimization and Proximal Policy Optimization.
  • HAA2C, HADDPG, & HATD3: Heterogeneous versions of Actor-Critic and Deterministic Policy Gradient methods.

Crucially, any algorithm derived from the HAML template inherits a "monotonic improvement" property, mathematically guaranteeing that the team’s total reward will not decrease during the training process. Unlike previous attempts to handle heterogeneity—which often relied on "padding" to make different action spaces appear identical—HARL treats agents as truly distinct entities.

Experimental Evaluation

The HARL framework was evaluated across six challenging benchmarks, including MAMuJoCo, SMAC/SMACv2, Google Research Football (GRF), and Bi-DexterousHands.

Key Results

  • High Heterogeneity: In the 17-agent Humanoid task (MAMuJoCo), the popular MAPPO baseline failed to learn. In contrast, HAPPO and HATD3 achieved state-of-the-art performance, successfully coordinating 17 distinct "joint-agents."
  • Complex Coordination: In Google Research Football, HAPPO significantly outperformed MAPPO as the complexity of specialized roles (e.g., counter-attacks) increased.
  • Stability: Sequential updates eliminated the "blind" simultaneous updates that cause instability, allowing agents to treat their teammates' updated policies as part of the environment.

Conclusion

The HARL framework provides a rigorous mathematical foundation for training diverse agents in cooperative tasks. By moving beyond the "crutch" of parameter sharing and the instability of simultaneous updates, HARL enables the development of more robust and capable multi-agent systems. Future work may explore specialized "drift functionals" within the HAML template to further enhance cooperation in real-world multi-robot systems.

Summary updated

BibTeX
@article{zhong2024heterogeneous,
  author = {Yifan Zhong and Jakub Grudzien Kuba and Siyi Hu and Jiaming Ji and Yaodong Yang},
  title = {{Heterogeneous-Agent Reinforcement Learning}},
  journal = {J. Mach. Learn. Res.},
  year = {2024},
  url = {https://openreview.net/forum?id=KSwMat3ERN},
}
Figure