PyTorch MARL library for heterogeneous agents, implementing HARL algorithms
Top 47.4% on sourcepulse
This repository provides the official PyTorch implementation of Heterogeneous-Agent Reinforcement Learning (HARL) algorithms, including HAPPO, HATRPO, HAA2C, HADDPG, HATD3, HAD3QN, and HASAC. It addresses the challenge of multi-agent cooperation in heterogeneous settings without parameter sharing, offering theoretical guarantees and superior performance on various benchmarks. The target audience includes researchers and practitioners in multi-agent reinforcement learning.
How It Works
HARL algorithms employ a sequential update scheme, contrasting with the simultaneous updates of MAPPO and MADDPG. This approach facilitates coordinated agent updates and is supported by theoretical guarantees for monotonic improvement and convergence to equilibrium. Both on-policy and off-policy variants are available, demonstrating effectiveness across diverse benchmarks.
Quick Start & Requirements
conda create -n harl python=3.8
conda activate harl
# Install PyTorch >= 1.9.0 (CUDA >= 11.0) manually
git clone https://github.com/PKU-MARL/HARL.git
cd HARL
pip install -e .
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 months ago
1 week