Semi-Centralised Multi-Agent Reinforcement Learning with Policy-Embedded Training

Taher Jafferjee, Juliusz Krysztof Ziomek, Tianpei Yang, Zipeng Dai, Jianhong Wang, Matthew E. Taylor, Kun Shao, Jun Wang, David MguniarXiv 2022 · DOI

TL;DR

This paper introduces PERLA, a novel framework that significantly reduces variance in multi-agent reinforcement learning (MARL) by employing a more robust sampling strategy for critic updates. This leads to more stable learning, improved sample efficiency, and better scalability in complex multi-agent systems.

What Problem Does This Paper Address?

Multi-agent reinforcement learning (MARL) algorithms, particularly those using the popular "centralized training with decentralized execution" (CT-DE) paradigm, often struggle with high variance in their gradient estimates. This is primarily because the critic, which estimates the value of actions, relies on single samples of joint actions from other agents. During training, as agents' policies change, these single samples can become unrepresentative of the true joint policy, leading to noisy updates that hinder learning and limit scalability. The paper aims to tackle this fundamental issue of estimator variance in MARL.

Methods

The core contribution is the Performance Enhancing Reinforcement Learning Apparatus (PERLA). PERLA is an enhancement tool that can be integrated into existing actor-critic MARL methods. The key innovation lies in PERLA's approach to critic updates:

  • Marginalized Q-function: Instead of using a single joint-action sample, PERLA's critic estimates the expected value of an agent's action by marginalizing over the joint policy of the other agents. This is achieved by sampling multiple joint actions from the other agents' current policies.
  • Sampling Technique: PERLA introduces a sampling process within the critic that leverages shared policy information among agents. This allows the critic to learn from a more representative distribution of joint actions.
  • Variance Reduction: By approximating the true expected value under the current joint policy, PERLA significantly reduces the variance of the critic's value estimates. This leads to more stable and precise updates for both the critic and the actor (policy).
  • Compatibility: PERLA is designed to be compatible with any actor-critic MARL method and does not alter the decentralized execution aspect of CT-DE.

Datasets

The paper evaluates PERLA on several established MARL benchmarks:

  • Multi-agent Mujoco: A suite of physics-based robotic control tasks.
  • StarCraft II Multi-agent Challenge (SMAC): A complex real-time strategy game environment.
  • Level-based Foraging (LBF): A cooperative task requiring coordination.
  • Large-scale Matrix Games: A set of games designed to test scalability and handling of multiple stable equilibria.

No new benchmarks were introduced.

Key Insights and Ideas

  • The "single sample" problem is a critical bottleneck: The paper convincingly argues that relying on single joint-action samples for critic updates is a major cause of high variance and poor performance in MARL.
  • Marginalization is key to variance reduction: By averaging over the joint policy of other agents, PERLA effectively smooths out the noisy estimates that arise from single samples.
  • PERLA offers a theoretical guarantee: The authors provide theoretical proofs showing that PERLA reduces variance and maintains convergence properties, similar to decentralized methods but with the benefits of centralized training.
  • Scalability is directly linked to variance reduction: PERLA's ability to handle more agents and larger action spaces is a direct consequence of its improved estimator stability.

Key Results

  • Improved Performance: PERLA consistently outperforms or matches baseline MARL algorithms (like MAPPO and IPPO) across various environments, including SMAC, LBF, and Multi-agent Mujoco.
  • Enhanced Sample Efficiency: PERLA learns faster, achieving better performance with fewer training interactions. This is visually demonstrated in learning curves where PERLA converges more quickly.
  • Superior Scalability: PERLA shows remarkable scalability, maintaining optimal performance as the number of agents increases, a feat where other algorithms falter. For instance, in large-scale matrix games, PERLA yielded over 1000% performance gains with 8 agents compared to MAPPO.
  • Significant Variance Reduction: Empirical results, particularly on a toy problem, show PERLA's variance decreasing sharply as the number of samples (K) increases, approaching the variance of fully decentralized methods.

Limitations and Future Work

  • Computational Cost: While PERLA improves sample efficiency, the marginalization process (sampling multiple actions from other agents) can increase the computational cost per update. The paper notes that the communication complexity scales with the number of agents and action space size.
  • Ablation on K: The ablation study on the number of samples (K) suggests that while more samples generally improve performance, there's a point of diminishing returns (around K=100-250 in their experiments), and performance can even slightly degrade with excessive samples.
  • Future Work: The paper suggests that PERLA's theoretical soundness and empirical success make it a promising direction for future MARL research, particularly in complex, large-scale coordination tasks. The authors also highlight that PERLA can help algorithms overcome failure modes in challenging scenarios.

Summary updated

BibTeX
@misc{jafferjee2022semi,
  author = {Taher Jafferjee and Juliusz Krysztof Ziomek and Tianpei Yang and Zipeng Dai and Jianhong Wang and Matthew E. Taylor and Kun Shao and Jun Wang and David Mguni},
  title = {{Semi-Centralised Multi-Agent Reinforcement Learning with Policy-Embedded Training}},
  year = {2022},
  eprint = {2209.01054},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.01054},
}
Figure