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

Tuned PPO matches off-policy methods across four cooperative multi-agent benchmarks

Yu, Chao, Velu, Akash, Vinitsky, Eugene, Gao, Jiaxuan, Wang, Yu, Bayen, Alexandre and 1 more · arXiv · 2021-3-2

- **Problem** Multi-agent researchers mostly use off-policy methods, because PPO is believed to be less sample-efficient. That belief was never tested carefully across several cooperative benchmarks.
- **Method** MAPPO keeps PPO's structure but gives the value function global information that the policy does not see. The policy still acts on local observations, and the critic input is only used during training.
- **Results** MAPPO scored 88.03 on GRF scenario 3v.1, compared to 8.12 for QMix.

## Why PPO fell out of favour in multi-agent work

PPO is a staple of single-agent on-policy RL, yet most recent multi-agent work has moved to off-policy methods. Large successes such as AlphaStar and OpenAI Five did rely on on-policy RL, but they ran on huge distributed systems. Academic MARL has instead concentrated on MADDPG and value-decomposed Q-learning, which the paper says reached state-of-the-art results on many benchmarks.

The authors name two reasons for this gap. The first is a belief that PPO is less sample-efficient and therefore less useful when resources are limited. The second is that the implementation and tuning practices of single-agent PPO often transfer poorly to multi-agent settings. Earlier evidence points the same way, since a prior study reports that COMA was outperformed by MADDPG and QMix by a clear margin.

A few concurrent studies have tested PPO on multi-agent tasks. IPPO reached high success rates on several hard SMAC maps, but its results stayed overall below QMix, and that study covered SMAC only. The open question is whether a well-configured PPO can compete across several benchmarks, and this paper tests exactly that.

## Keeping PPO and changing what the critic sees

The key idea is to keep PPO's structure and let the value function see more than the policy does. In MAPPO the policy acts on local observations, while the value function may take extra global information that is used only during training. IPPO sits at the other extreme, with local inputs for both the policy and the value function. Both variants assume a shared common reward, because the study covers only cooperative settings.

The setting is a DEC-POMDP with shared rewards, where each agent acts on its own local observation. Each agent's policy is written as \\(\\pi\_\\theta(a\_i\|o\_i)\\), and the team maximizes the discounted accumulated shared reward. Parameter sharing is used when agents are homogeneous, meaning they have identical observation and action spaces. Shared parameters cover both the policy and the value function, and the authors report that this improves learning efficiency.

Each training iteration has three stages. First, agents act with the policy on local observations while the critic runs on the global input to record each trajectory. Second, GAE is computed on those trajectories with advantage normalization, and the value outputs are denormalized using running statistics. Third, the clipped policy objective and the critic loss are optimized on mini-batches, and the clipping range is set by the epsilon hyperparameter.

## What the critic should see in SMAC

The critic input is the main design choice that separates centralized PPO from decentralized PPO. CL concatenates all local observations, so its size grows with the number of agents and it can miss information that no agent observes. EP is the environment's own global state, which holds information common to all agents and can drop agent-specific details such as agent ID and available actions.

AS concatenates EP with agent i's local observation, so the critic sees both shared and private features. Many features overlap between the two, so FP removes the repeated features from AS to cut the input size. Using FP requires knowing which features overlap between EP and the local observations.

On SMAC, CL was ineffective, especially on maps with many agents. EP reached stronger performance than CL but was weaker on harder maps, which the authors link to missing local information. AS and FP both performed strongly, with FP ahead of AS on only several maps, so the authors suggest including both local and global features.

## Main results compared with off-policy baselines

On the three MPE tasks, MAPPO tracked QMix closely and exceeded MADDPG on Comm, using a comparable number of environment steps. IPPO, which sees no global state, was similar to or better than the centralized off-policy methods. IPPO ends at slightly lower final returns than MAPPO on Comm and Reference.

Compared to RODE, MAPPO is comparable or superior in 10 of 14 maps at the same number of training samples. The RODE numbers come from its published statistics rather than a rerun, so this comparison rests on those values.

On GRF scenario 3v.1, MAPPO's average success rate was 88.03 with standard deviation 1.06, compared to 8.12 for QMix. In the six scenarios of the table, MAPPO's mean success rate is above that of CDS in every row. TiKick uses pretrained models, so it is not a direct comparison.

In 4-player Hanabi-Full, MAPPO averaged 23.57 with standard deviation 0.13, compared to 23.27 for SAD and 23.03 for VDN. IPPO scored 22.52 there, and the authors suggest that a centralized critic becomes more useful as the number of agents grows. With two agents, IPPO was comparable with MAPPO, and all Hanabi methods were trained for at most 10B environment steps.

## How value normalization works

During MAPPO training the value targets can shift a lot as the realized returns change, which makes value learning unstable. The fix standardizes the targets with running estimates of their mean and standard deviation. The critic regresses to these normalized targets, and GAE uses the running average to denormalize the critic outputs.

The authors study this in the MPE Spread task and several SMAC maps. In Spread, where episode returns range from below -200 to 0, normalization is critical to strong performance. On several SMAC maps it either improves final performance or reduces training variance, so the authors suggest using it to stabilize value learning.

## Epochs and mini-batches

PPO usually reuses each batch for many epochs, but MAPPO degraded when samples were reused too often. With 15 epochs, MAPPO consistently learned a suboptimal policy, especially on MMM2 and Corridor. With 5 or 10 epochs it performed well.

Splitting data into mini-batches also hurt, since with 4 mini-batches MAPPO solved none of the selected maps. A single mini-batch gave the best performance on 22 of 23 maps. In the harder MPE Spread task, fewer epochs and no mini-batch splitting gave the best results, while Reference and Comm showed the same final performance across settings.

The authors hypothesize that non-stationarity is the cause, since fewer epochs limit how far each agent's policy moves per update. Their suggestion is at most 10 epochs on difficult environments, 15 epochs on easy ones, and no mini-batch splitting.

## Clipping strength and batch size

Clipping is controlled by epsilon, and the same epsilon is used for both policy and value clipping. A small epsilon such as 0.05 slowed learning on several maps, including MMM2 and 3s5z vs 3s6z, but its final performance stayed consistently high and steadier. Large epsilon values such as 0.2, 0.3 and 0.5 often gave suboptimal performance.

Batch size sets how many on-policy samples each gradient estimate uses. Because the number of mini-batches is fixed, larger batches give more accurate gradients, but they need more compute and GPU memory. Across SMAC and GRF, performance was poor below a critical batch size, and further increases did not keep improving sample efficiency. The authors suggest a large batch for best performance, then tuning it for sample efficiency.

## Death masking and parameter sharing

In SMAC, a dead agent's local observation becomes zeros except its ID, but the global value input still carries other nonzero features. Death masking replaces the dead agent's value input with a zero vector that keeps its ID. Fig. 10 shows this variant outperforms keeping the unmasked global state and dropping transitions after death. The authors attribute this to a distribution shift, since agent-specific features become zero after death, and a single fixed vector is easier to fit.

The authors share parameters across agents in all PPO runs. On 3s5z vs 3s6z, MAPPO scored a median 84.4 with standard deviation 34.0, compared to 37.8 for MAPPO-Ind without parameter sharing. The gap appears on the other selected maps too, which supports the design choice.

## Limits of the evidence

All benchmarks use discrete action spaces, are cooperative, and mostly contain homogeneous agents. Competitive games, continuous actions and heterogeneous agents are left for future work. The work is empirical and does not analyze the theoretical underpinnings of PPO.

MAPPO did not converge within 10M environment steps on 3s5z vs 3s6z, so the authors ran it to 40M steps, as in Fig. 11. The RODE numbers in the SMAC comparison are taken from prior statistics rather than rerun by the authors.

## Paper info

- **Authors**: Yu, Chao, Velu, Akash, Vinitsky, Eugene, Gao, Jiaxuan, Wang, Yu, Bayen, Alexandre, Wu, Yi
- **Venue**: arXiv · Preprint
- **First published**: 2021-3-2
- **Added**: 2026-11-12
- **Updated**: 2022-11-4
- **Version**: v4
- **arXiv**: 2103.01955
- **Category**: cs.LG · cs.AI · cs.MA
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2103.01955v4) · [PDF ↗](https://arxiv.org/pdf/2103.01955v4)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Yu, Chao, Velu, Akash, Vinitsky, Eugene, Gao, Jiaxuan, Wang, Yu, Bayen, Alexandre, Wu, Yi (2021). The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Games. arXiv:2103.01955v4. https://arxiv.org/abs/2103.01955v4

**BibTeX**

```
@misc{chao2021surprising,
  title = {{The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Games}},
  author = {Yu, Chao and Velu, Akash and Vinitsky, Eugene and Gao, Jiaxuan and Wang, Yu and Bayen, Alexandre and Wu, Yi},
  year = {2021},
  eprint = {2103.01955},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.01955v4}
}
```

## Other paper commentary

- [AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation](https://refivu.com/en/papers/d3d2ade6-3bed-4a94-9439-088b61554b00-autogen-enabling-next-gen-llm-applications-via-multi.md)
- [Deep Multi-agent Reinforcement Learning for Highway On-Ramp Merging in Mixed Traffic](https://refivu.com/en/papers/5a4426df-329c-4335-a2f9-61fd8bab85a2-deep-multi-agent-reinforcement-learning-for-highway-on.md)
- [Reflexion: Language Agents with Verbal Reinforcement Learning](https://refivu.com/en/papers/a572f458-b121-4d38-bfc9-7a77309a3aba-reflexion-language-agents-with-verbal-reinforcement-learning.md)
- [A Generalist Agent](https://refivu.com/en/papers/890475cb-e797-43df-8de3-0d0eb9ed882e-a-generalist-agent.md)
- [Escaping Whack-a-Mole: Optimizing Documentation as Repo-Specific Playbooks for Coding Agents](https://refivu.com/en/papers/52e2d558-711f-4753-af6e-c88268527a9b-escaping-whack-a-mole-optimizing-documentation-as-repo.md)
- [VeriLadder: A Multi-Agent Specification Refinement System for Tool-Verified Verilog Datasets](https://refivu.com/en/papers/f3a3ce4f-fd41-462e-8bb7-f3e5263ba827-veriladder-a-multi-agent-specification-refinement-system-for.md)
- [OpenNMT: Open-Source Toolkit for Neural Machine Translation](https://refivu.com/en/papers/d158ab7b-d0c6-4ffd-a069-53d34c28b7eb-opennmt-open-source-toolkit-for-neural-machine-translation.md)
- [Instruction-Following Evaluation for Large Language Models](https://refivu.com/en/papers/87d7b3e4-5def-4a0c-ac6d-4f0204c38402-instruction-following-evaluation-for-large-language-models.md)
- [Neural Architecture Search: A Survey](https://refivu.com/en/papers/b954b27d-f3d7-4513-8986-c9a0dfb01e6e-neural-architecture-search-a-survey.md)
- [NTU RGB+D 120: A Large-Scale Benchmark for 3D Human Activity Understanding](https://refivu.com/en/papers/3fe61b53-c129-49a6-9839-f52dcd0e5d8d-ntu-rgb-d-120-a-large-scale-benchmark.md)
- [Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learning](https://refivu.com/en/papers/fddce09d-7fcc-4378-9b7f-d421fd3b3e85-imbalanced-learn-a-python-toolbox-to-tackle-the.md)
- [Learning Structured Sparsity in Deep Neural Networks](https://refivu.com/en/papers/904b80d6-c19c-420d-861d-be919e5725b1-learning-structured-sparsity-in-deep-neural-networks.md)

## Terms in this paper

- [Success rate](https://refivu.com/en/terms/0964df1dc5eb-success-rate)
- [proximal policy optimization](https://refivu.com/en/terms/59b59e5d0f9d-proximal-policy-optimization)
- [PPO](https://refivu.com/en/terms/21c34991d674-ppo)
- [win rate](https://refivu.com/en/terms/14de48f4526a-win-rate)
- [GAE](https://refivu.com/en/terms/911dea6feff4-gae)
- [SMAC](https://refivu.com/en/terms/96cbe183f791-smac)
- [MADDPG](https://refivu.com/en/terms/621458f4f72c-maddpg)
- [MAPPO](https://refivu.com/en/terms/04d293a5c68c-mappo)
- [parameter sharing](https://refivu.com/en/terms/a678bc1aadfb-parameter-sharing)
- [Dec-POMDP](https://refivu.com/en/terms/48d03dd74135-dec-pomdp)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/7c9c355e-16b7-49a8-b767-07760b1c48a4-the-surprising-effectiveness-of-ppo-in-cooperative-multi)
