The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Games

Chao Yu, Akash Velu, Eugene Vinitsky, Yu Wang, Alexandre M. Bayen, Yi Wu

arXiv (Cornell University) · 2021 · 594 citations · 0 references

DOIFull text

Open access

Concepts

TL;DR

PPO is a widely used on‑policy RL algorithm yet is underutilized in multi‑agent settings because it is perceived as less sample efficient than off‑policy methods. The study investigates PPO’s performance in cooperative multi‑agent environments. The authors conduct ablation studies to identify critical implementation and hyper‑parameter choices for PPO and provide practical recommendations. PPO achieves surprisingly strong performance across four benchmark multi‑agent testbeds, often matching or surpassing competitive off‑policy methods in final returns and sample efficiency, and can serve as a strong baseline with minimal tuning. Source code is available at https://github.com/marlbenchmark/on‑policy.

Abstract

Proximal Policy Optimization (PPO) is a ubiquitous on-policy reinforcement learning algorithm but is significantly less utilized than off-policy learning algorithms in multi-agent settings. This is often due to the belief that PPO is significantly less sample efficient than off-policy methods in multi-agent systems. In this work, we carefully study the performance of PPO in cooperative multi-agent settings. We show that PPO-based multi-agent algorithms achieve surprisingly strong performance in four popular multi-agent testbeds: the particle-world environments, the StarCraft multi-agent challenge, Google Research Football, and the Hanabi challenge, with minimal hyperparameter tuning and without any domain-specific algorithmic modifications or architectures. Importantly, compared to competitive off-policy methods, PPO often achieves competitive or superior results in both final returns and sample efficiency. Finally, through ablation studies, we analyze implementation and hyperparameter factors that are critical to PPO's empirical performance, and give concrete practical suggestions regarding these factors. Our results show that when using these practices, simple PPO-based methods can be a strong baseline in cooperative multi-agent reinforcement learning. Source code is released at \url{https://github.com/marlbenchmark/on-policy}.