Trust Region Policy Optimisation in Multi-Agent Reinforcement Learning

Jakub Grudzien Kuba, Ruiqing Chen, Muning Wen, Ying Wen, Fanglei Sun, Jun Wang, Yaodong Yang

TL;DR

Researchers have cracked the code for bringing "trust region" guarantees—the gold standard for stable learning in single-agent AI—to the complex world of Multi-Agent Reinforcement Learning (MARL). By introducing a novel sequential update scheme and the "Multi-Agent Advantage Decomposition Lemma," the authors developed two new algorithms, HATRPO and HAPPO. These methods theoretically guarantee that a team of agents will monotonically improve over time, even if they possess different capabilities and do not share parameters.

The Challenge of Multi-Agent Trust Regions

In single-agent reinforcement learning (RL), "Trust Region" methods like TRPO and PPO are highly regarded because they offer a monotonic improvement guarantee. They ensure that every policy update makes the agent at least as good as it was before by preventing overly aggressive updates that might crash performance.

However, moving to Multi-Agent Reinforcement Learning (MARL) breaks this logic. In a multi-agent environment, the world is non-stationary: while Agent A is trying to learn, Agent B is simultaneously changing its behavior. If both update at the same time, the "trust region" Agent A calculated is no longer valid because the environment (which includes Agent B) has shifted.

Existing solutions often take shortcuts, such as forcing all agents to share the same parameters (homogeneity) or making restrictive assumptions about how individual rewards sum up to a total score. These shortcuts limit the types of problems we can solve and can lead to exponentially worse results in complex, cooperative scenarios.

Methods: Sequential Updates and Advantage Decomposition

The authors bridge this gap with two core theoretical innovations:

  1. Multi-Agent Advantage Decomposition Lemma: They mathematically prove that the "joint advantage" (how much better the whole team is doing) can be broken down into a sum of individual agent advantages—but only if the agents are considered in a specific sequence.
  2. Sequential Policy Update Scheme: Instead of everyone updating at once, agents update one by one in a random permutation. When it’s Agent $i$'s turn, they optimize their policy while accounting for the updates already made by agents earlier in the sequence.
Sequential vs. simultaneous policy updates. HATRPO and HAPPO use sequential updates (blue arrows) to successfully reach the optimal joint policy, avoiding the pitfalls of simultaneous updates (red arrows) used by MAPPO and IPPO.

Based on this theory, they developed two practical algorithms:

  • HATRPO (Heterogeneous-Agent Trust Region Policy Optimisation): Uses a "hard" KL-divergence constraint to keep updates within a safe neighborhood.
  • HAPPO (Heterogeneous-Agent Proximal Policy Optimisation): A more computationally efficient version that uses "clipping" (similar to standard PPO) to achieve similar stability.

Crucially, these methods work for heterogeneous agents (agents with different roles or abilities) and do not require parameter sharing.

Key Insights

  • The Power of Order: The breakthrough realization is that sequential updates solve the non-stationarity problem. By treating previous agents' updates as fixed, the current agent can safely calculate its own trust region.
  • The Trap of Parameter Sharing: While sharing parameters (making every agent use the same "brain") is a common trick to speed up learning, the authors show it can be a massive liability. In some cooperative games, forcing agents to be identical can result in a joint reward that is $2/2^n$ times worse than the optimal—meaning the penalty for homogeneity grows exponentially with the number of agents.
  • No Decomposability Required: Unlike popular methods like QMIX, HATRPO and HAPPO don't assume the team's "Value Function" can be neatly split into individual pieces, making them much more general-purpose.

Key Results

The authors evaluated their algorithms on two major benchmarks: the StarCraftII Multi-Agent Challenge (SMAC) (for combat coordination) and Multi-Agent MuJoCo (MAMuJoCo) (for physics-based heterogeneous control).

  • State-of-the-Art Performance: HATRPO and HAPPO consistently outperformed strong baselines like MAPPO, IPPO, and MADDPG across almost all tasks.
  • Superior Scaling: The performance gap between these new methods and existing ones widened as the number of agents increased, such as in the 17-agent Humanoid task.
  • Stability: HATRPO generally performed slightly better than HAPPO, likely because the "hard" trust region constraint is a more faithful implementation of the underlying theory than PPO-style clipping.
Performance of HATRPO, HAPPO, and MAPPO on various StarCraftII Multi-Agent Challenge (SMAC) maps, demonstrating the superior learning stability and win rates of the proposed methods.

Interestingly, all top-tier algorithms hit a 100% win rate on many SMAC maps, suggesting that SMAC might no longer be difficult enough to distinguish between the most advanced MARL techniques.

Limitations and Future Work

  • Computational Overhead: The sequential update scheme means that as you add more agents, the training process takes longer because updates must be computed one by one. The authors do provide a joint advantage estimator to help mitigate this.
  • Safety Constraints: While the paper provides a "performance" trust region, it doesn't yet incorporate "safety" constraints (e.g., ensuring a robot doesn't hit a wall while learning).
  • Communication: The current model assumes agents can observe enough to coordinate but doesn't explicitly model complex communication protocols between agents during the sequential update.

Summary updated

BibTeX
@inproceedings{kuba2022trust,
  author = {Jakub Grudzien Kuba and Ruiqing Chen and Muning Wen and Ying Wen and Fanglei Sun and Jun Wang and Yaodong Yang},
  title = {{Trust Region Policy Optimisation in Multi-Agent Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=EcGGFkNTxdJ},
}
Figure