TL;DR
Several teams of agents must cooperate to win a game, and the off-policy learners that dominated multi-agent research were thought to be the only sample-efficient option. This paper shows that PPO, an on-policy method common in single-agent work, is also strong here when it is set up carefully. The authors give the critic (the value function) access to global information while the actors see only local observations, and call this MAPPO. On four benchmarks it matches or beats strong off-policy baselines with little tuning, and it gives five concrete rules for the settings that matter.
Builds on: Proximal Policy Optimization (PPO), Centralized Training with Decentralized Execution, Generalized Advantage Estimation (GAE) · Leads to: a common baseline for cooperative multi-agent reinforcement learning (no lesson node yet)
Why it mattered
The introduction cites AlphaStar in StarCraft II and OpenAI Five in Dota 2 as recent multi-agent successes. Academic multi-agent work had moved toward off-policy value-based methods such as QMix and MADDPG, which reuse old data and were widely believed to be more sample-efficient than PPO. This paper showed that the on-policy route is competitive on the academic benchmarks too, on one desktop with one GPU. It gave the field a strong, simple baseline, with five stated rules for configuring it. The paper has about 3,200 citations on Semantic Scholar.
The problem
In a cooperative multi-agent game the agents share one reward but each sees only part of the world. The standard setting is a decentralised partially observable Markov decision process with shared rewards. Each agent i picks an action from its own observation o_i, and the team tries to maximise the expected discounted sum of the shared reward.
Two questions were open. First, is PPO too sample-hungry to compete with off-policy methods? Second, if it is competitive, which implementation choices matter, given that the single-agent tricks often do not transfer? The paper addresses both.
Two ways of using PPO were on the table. In IPPO (independent PPO) each agent has a critic that sees only its own observation. In MAPPO, the critic sees a global state. The paper's main point is that the critic's input is the important choice.
How it works
The method runs as a loop over batches of experience.
- Collect a batch. Run the current policy in many parallel environments. Each agent i sees its local observation o_i and samples an action. The policy network is shared across homogeneous agents (parameter sharing), so one network serves all of them.
- Compute values from the global state. The critic V takes a global state s and outputs one number. In MAPPO, the critic input is the agent-specific global state (AS): the environment's global state concatenated with agent i's observation. The paper's featured-pruned variant (FP) removes repeated features from AS.
- Estimate advantages. For each step, compute the advantage with generalized advantage estimation, and normalise the advantages across the batch. Use value normalisation: keep running estimates of the mean and standard deviation of the value targets, so the critic regresses to normalised numbers.
- Split the batch into updates. Train for a small number of epochs, at most 10 on hard tasks and 15 on easy ones, and avoid splitting the batch into mini-batches. Each epoch is one pass of gradient steps over the batch.
- Clip the updates. Use PPO's clipped policy objective and clipped value loss, with the clip value epsilon at most 0.2. Smaller values make learning steadier and slower.
- Use a large batch. The paper's last rule is to use a large batch: more data gives more accurate gradients, but a batch bigger than needed wastes compute and can hurt sample efficiency.
A tiny trace of steps 2 and 3: suppose the value network outputs 0.5 for an agent's global input and the realised return is 1.0. The target is normalised using the running mean and standard deviation, the regression error is computed on the normalised scale, and the advantage used for the policy is the return minus the denormalised value estimate.
flowchart LR A["Parallel environments"] --> B["Local observations o_i to shared actor"] A --> C["Global state with agent features to shared critic"] B --> D["Batch of actions and rewards"] C --> D D --> E["GAE advantages with value normalisation"] E --> F["Clipped PPO update, few epochs, no mini-batches"] F --> A
The math
Setting. The team objective is J(theta) = E[ sum over t of gamma to the power t times R(s^t, A^t) ], where A^t is the joint action and gamma is the discount factor. In the paper's common settings, gamma = 0.99 and the GAE parameter lambda = 0.95.
Actor objective (step 5). Let r_i^(k) be the probability ratio of the new policy to the old one for agent k on sample i, and A_i^(k) the GAE advantage. The paper's actor objective is
where B is the batch size, n is the number of agents, S is the policy entropy, and sigma is the entropy coefficient. The minimum makes the update pessimistic: it never rewards a ratio that has moved beyond the clip range.
Critic objective (steps 2 and 5). The critic regresses toward the discounted reward-to-go R_hat, with clipping around its previous value:
The only multi-agent change is in the input s_i^(k) of V_phi. The objective itself is single-agent PPO. This is why the paper can call its method "PPO with a centralised critic" and not a new algorithm.
Tiny check on the clip. With epsilon = 0.2, a ratio r = 1.5 and advantage A = 2 give the unclipped term 3.0 and the clipped term 1.2 times 2 = 2.4, so the minimum is 2.4. The update gets less credit than the raw ratio would give, which is the intended brake on large steps.
- clipped term, A > 0, epsilon = 0.2
- unclipped ratio r
Results
The numbers below are copied from the paper's tables and text.
Multi-agent particle world (MPE). MAPPO performs very similarly to QMix on all three tasks, Spread, Reference and Comm, and it exceeds MADDPG on Comm. IPPO also performs similarly to or better than the centralised off-policy methods.
StarCraft Multi-Agent Challenge (SMAC). The paper reports median win rates over six seeds across 23 maps, with a 10 million step budget. On the hard map 6h vs 8z, MAPPO with the feature-pruned input reaches 88.3 percent against 9.4 percent for QMix. On corridor it reaches 100.0 percent against 84.4 percent. On 5m vs 6m it reaches 89.1 percent against 75.8 percent. These are the paper's Table 1 values.
Google Research Football (GRF). On the 3 versus 1 academy scenario, MAPPO reaches 88.03 percent success against 8.12 percent for QMix and 76.60 percent for CDS. On the Corner scenario, it reaches 65.53 percent against 33.00 percent for TiKick, which uses pretrained models and so is not a like-for-like comparison.
Hanabi. For 5 players, MAPPO's average score is 23.04, against 20.75 for IPPO, 22.06 for SAD and 21.28 for VDN. For 2 players, IPPO is slightly better on average, 24.00 against 23.89. The paper's reading is that a centralised critic matters more as the number of agents grows.
Parameter sharing. On selected SMAC maps (Table 4 of Appendix C.2), shared parameters beat separate networks, most clearly on 6h vs 8z. On 6h vs 8z the win rates are 88.3 percent shared and 11.4 percent separate.
Limits the paper states. All four benchmarks use discrete actions, are cooperative, and nearly all have homogeneous agents. The paper says it does not analyse PPO's theory, and it flags competitive games, continuous actions and heterogeneous agents as open questions.
Reading guide
- Section 1, Introduction and Section 2, Related Works: read with Actor-Critic Methods and QMIX: Monotonic Value Function Factorisation for Deep Multi-Agent beside you. The contrast between centralised, decentralised and CTDE methods is the context for the whole paper.
- Section 3, PPO in Multi-Agent Settings: the setting is the decentralised partially observable process with shared rewards. Read it with Markov Game and Proximal Policy Optimization (PPO). The MAPPO and IPPO definitions are here.
- Section 4, Main Results: the four testbeds and the comparison tables. Tables 1 to 3 are the main evidence. You do not need the baselines' details to follow the conclusion.
- Section 5, Factors: the five rules. Section 5.1 (value normalisation) builds on Generalized Advantage Estimation (GAE); Section 5.4 assumes the clipping from Proximal Policy Optimization (PPO). Section 5.3 gives the epoch and mini-batch settings you would copy.
- Appendix A, MAPPO details: the recurrent version (Algorithm 1) and the two loss functions. Appendix C is the hyperparameter record; Table 7 holds the common values quoted above.
Check yourself
QuestionIn MAPPO, which part of the update is different from single-agent PPO, and which part is unchanged?Show answer
The critic's input changes: it receives a global state, built from the environment state and each agent's own features, instead of only the local observation. The clipped policy objective, the clipped value loss, and the use of GAE are the same as single-agent PPO. The paper's claim rests on this single change plus implementation practice.
QuestionWith epsilon = 0.2, a probability ratio r = 0.5 and advantage A = -1, what is the clipped objective term? Show the steps.Show answer
The unclipped term is r times A = 0.5 times minus 1, which is minus 0.5. The clipped ratio is max(0.8, min(1.2, 0.5)) = 0.8, so the clipped term is 0.8 times minus 1, which is minus 0.8. The minimum of the two is minus 0.8. For a negative advantage the clip stops the update from being credited too generously when the ratio falls.
QuestionA team trains on hard SMAC maps with 10 epochs and 4 mini-batches per batch, which the paper advises against. Count the gradient steps per batch, and compare with the paper's advice of 10 epochs and no mini-batch splitting.Show answer
With 4 mini-batches and 10 epochs, there are 10 times 4 = 40 gradient steps per batch. The paper's advice on hard maps is at most 10 epochs with the batch not split, which gives 10 times 1 = 10 gradient steps per batch. The paper found that 4 mini-batches failed to solve any of its selected maps, so the extra steps made things worse, not better.
QuestionOn the 5-player Hanabi task, what is the difference between MAPPO's average score and IPPO's average score, and what does the sign suggest?Show answer
MAPPO's average is 23.04 and IPPO's is 20.75, so the difference is 23.04 minus 20.75, which is 2.29. The sign is positive, so MAPPO is ahead. This matches the paper's reading that the centralised critic helps more as the number of agents grows, since at 2 players IPPO's average was slightly higher (24.00 against 23.89).
QuestionApplied scenario: a robotics team has eight homogeneous robots that each see only their own sensors, and the gripping task needs continuous torque control. Which parts of the paper transfer directly, and which need checking?Show answer
The parameter-sharing and centralised-critic ideas apply, since the robots are homogeneous. The five rules are a useful starting point, including value normalisation and few epochs. But the paper's benchmarks use discrete actions and only cooperative tasks, and it says that continuous actions were not tested. So the team should check the results on its own continuous controller before trusting the rules, and expect the epsilon and epoch settings to need retuning.
Sources
- Yu, C., Velu, A., Vinitsky, E., Gao, J., Wang, Y., Bayen, A., Wu, Y. (2021). The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Games. https://arxiv.org/abs/2103.01955
- Source code: https://github.com/marlbenchmark/on-policy