Settling the Variance of Multi-Agent Policy Gradients

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. Code is released at \url{https://github.com/morning9393/Optimal-Baseline-for-Multi-agent-Policy-Gradients}.

Cite

Text

Kuba et al. "Settling the Variance of Multi-Agent Policy Gradients." Neural Information Processing Systems, 2021.

Markdown

[Kuba et al. "Settling the Variance of Multi-Agent Policy Gradients." Neural Information Processing Systems, 2021.](https://mlanthology.org/neurips/2021/kuba2021neurips-settling/)

BibTeX

@inproceedings{kuba2021neurips-settling,
  title     = {{Settling the Variance of Multi-Agent Policy Gradients}},
  author    = {Kuba, Jakub Grudzien and Wen, Muning and Meng, Linghui and Gu, Shangding and Zhang, Haifeng and Mguni, David and Wang, Jun and Yang, Yaodong},
  booktitle = {Neural Information Processing Systems},
  year      = {2021},
  url       = {https://mlanthology.org/neurips/2021/kuba2021neurips-settling/}
}