English

Settling the Variance of Multi-Agent Policy Gradients

Machine Learning 2022-04-05 v3 Artificial Intelligence Multiagent Systems

Abstract

Policy gradient (PG) methods are popular reinforcement learning (RL) methods where a baseline is often applied to reduce the variance of gradient estimates. In multi-agent RL (MARL), although the PG theorem can be naturally extended, the effectiveness of multi-agent PG (MAPG) methods degrades as the variance of gradient estimates increases rapidly with the number of agents. In this paper, we offer a rigorous analysis of MAPG methods by, firstly, quantifying the contributions of the number of agents and agents' explorations to the variance of MAPG estimators. Based on this analysis, we derive the optimal baseline (OB) that achieves the minimal variance. In comparison to the OB, we measure the excess variance of existing MARL algorithms such as vanilla MAPG and COMA. Considering using deep neural networks, we also propose a surrogate version of OB, which can be seamlessly plugged into any existing PG methods in MARL. On benchmarks of Multi-Agent MuJoCo and StarCraft challenges, our OB technique effectively stabilises training and improves the performance of multi-agent PPO and COMA algorithms by a significant margin.

Keywords

Cite

@article{arxiv.2108.08612,
  title  = {Settling the Variance of Multi-Agent Policy Gradients},
  author = {Jakub Grudzien Kuba and Muning Wen and Yaodong Yang and Linghui Meng and Shangding Gu and Haifeng Zhang and David Henry Mguni and Jun Wang},
  journal= {arXiv preprint arXiv:2108.08612},
  year   = {2022}
}