Introduction
Cooperative multi-agent reinforcement learning under centralised training with decentralised execution asks for a team of policies, one per agent, each of which acts on its own partial observation and action mask at deployment. During training much more is available: the global state, every agent's observation and action, and the freedom to collect experience with a coordinated joint policy instead of the decentralised one. The question is how this privileged information should become the learning signal for the policies that are deployed.
The field has three broad answers. Centralised critics keep decentralised actors and use the privileged information only to estimate advantages, as in MAPPO [1], its sequential-update relatives [2, 3] and multi-level credit assignment [4]; independent learners drop the centralised critic altogether [5]. Value factorisation learns a joint action value that decomposes into per-agent utilities [6, 7, 8]. And teacher–student methods train a centralised, coordinated policy and distil it into the decentralised one [9, 10], with a strong sequence model such as Sable [11] as the teacher.
Each answer has a known weakness. A centralised critic still lets the actors explore independently, so coordinated behaviour has to be found by uncoordinated sampling. A teacher that sees more than the student can learn behaviour the student cannot reproduce from its own history, and plain distillation then teaches an average of actions the student cannot tell apart. Guided policy optimisation [12] and its multi-agent form MAGPO [10] address that gap directly: the teacher, called the guider, collects the data but is kept close to the learner, so what is distilled stays within the learner's reach. We took MAGPO as the strongest starting point and asked where its learning signal could still be improved.
Method
Our submission is MAGPO as the task's reference implementation provides it. We did not change its objective, networks or per-setting hyperparameters; the contribution of this run is the set of modifications we tested against it and rejected, which Section 4 reports. We describe the method here because it is what was scored.
A centralised guider collects the data
The behaviour policy is a guider , Sable's retention network, which reads every agent's observation and samples the agents' actions autoregressively, so each agent's action is conditioned on the actions already chosen for the others. It also carries a value head. The decentralised learner is a recurrent actor shared across agents that reads only agent 's own observation history and action mask, and it is what is exported. The learner's recurrent state is advanced during collection even though it does not choose the actions, so that its training sees the same hidden states it would have produced itself.
def __init__(self, info):
self.info = info
c = self.cfg = {**COMMON, **HPARAMS[info.setting]}
if VARIANT == "ctds":
c["alpha"] = 0.0
self.n_agents = info.num_agents
self.num_envs = info.num_envs
self.rollout_length = info.rollout_length
self.net_config = SableNetworkConfig(c["n_block"], c["n_head"], c["embed_dim"])
memory_config = MemoryConfig("rec_sable", c["decay_scaling_factor"],
c["timestep_positional_encoding"], None,
self.rollout_length * self.n_agents)
_, action_space_type = get_action_head(info.action_spec)
self.sable = SableNetwork(n_agents=self.n_agents, n_agents_per_chunk=self.n_agents,
action_dim=info.action_dim, net_config=self.net_config,
memory_config=memory_config,
action_space_type=action_space_type)
self.actor = DeployedActor(ACTOR_SPEC, info.action_dim, info.num_agents)
# MAGPO uses one learning rate (system.actor_lr) for both guider and learner
self.guider_optim = optax.chain(optax.clip_by_global_norm(c["max_grad_norm"]),
optax.adam(c["actor_lr"], eps=1e-5))
self.actor_optim = optax.chain(optax.clip_by_global_norm(c["max_grad_norm"]),
optax.adam(c["actor_lr"], eps=1e-5))The guider is trained by PPO inside a ratio bound to the learner
Let be the guider that collected the rollout, the batch-normalised GAE advantage computed from the guider's value head, and the usual PPO ratio. MAGPO adds a second clip that keeps the guider within a factor of the learner on the action that was taken. With , the inner-clipped ratio is
and the guider's policy loss is the PPO objective with in the clipped branch,
where exactly where has left and elsewhere, and
stops the gradient. The masked KL pulls the guider back toward the learner only
on samples where the bound is already violated. An entropy bonus and a clipped value loss complete
the guider's objective. The bound (clip_gpo in the code) and the other per-setting coefficients
come from MAGPO's per-setting table, and the discount, GAE and value coefficient from its default configuration.
def _guider_loss_fn(guider_params, actor_params, tb, gae, value_targets, prev_hs, rng):
value, guider_log_prob, guider_entropy, guider_policy = self.sable.apply(
guider_params, tb["obs"], tb["action"], prev_hs, tb["done"], rng)
actor_pi = _actor_policy(actor_params, tb)
actor_logits = backward_reshape_logits(actor_pi.distribution.logits)
actor_dist = tfd.Categorical(logits=actor_logits)
kl_loss = tfd.kl_divergence(guider_policy, lax.stop_gradient(actor_dist))
actor_log_prob = actor_dist.log_prob(tb["action"])
ratio = jnp.exp(guider_log_prob - tb["log_prob"])
if magpo:
clipped_ratio = jnp.exp(jnp.clip(guider_log_prob - actor_log_prob, log_lo, log_hi)
+ actor_log_prob - tb["log_prob"])
mask = jnp.select([guider_log_prob - actor_log_prob < log_lo,
guider_log_prob - actor_log_prob > log_hi], [1, 1], 0)
kl_loss = (kl_loss * mask).mean()
else: # CTDS: plain PPO guider, no constraint towards the learner
clipped_ratio = ratio
kl_loss = 0.0 * kl_loss.mean()
gae = (gae - gae.mean()) / (gae.std() + 1e-8)
loss1 = ratio * gae
loss2 = jnp.clip(clipped_ratio, 1.0 - c["clip_eps"], 1.0 + c["clip_eps"]) * gae
guider_loss = -jnp.minimum(loss1, loss2).mean()
guider_entropy = guider_entropy.mean()
v_clipped = tb["value"] + (value - tb["value"]).clip(-c["clip_eps"], c["clip_eps"])
vl = jnp.square(value - value_targets)
vl_clipped = jnp.square(v_clipped - value_targets)
value_loss = 0.5 * jnp.maximum(vl, vl_clipped).mean()
total = guider_loss + kl_loss - c["ent_coef"] * guider_entropy + c["vf_coef"] * value_loss
return total, (guider_loss, guider_entropy, value_loss, kl_loss)The learner is distilled from the guider, with a PPO auxiliary
The learner minimises the forward KL from the guider's per-agent action distribution, plus an -weighted PPO term on the guider's data whose ratio is taken against the behaviour log-probability,
Because the guider is held within a factor of the learner, stays near one on the actions that matter, and the PPO term is an approximately on-policy improvement step for the learner itself rather than an importance-weighted correction of unbounded size.
def _actor_loss_fn(actor_params, guider_params, tb, gae, prev_hs, rng):
_, _, _, guider_policy = self.sable.apply(
guider_params, tb["obs"], tb["action"], prev_hs, tb["done"], rng)
actor_pi = _actor_policy(actor_params, tb)
actor_dist = tfd.Categorical(logits=backward_reshape_logits(actor_pi.distribution.logits))
actor_log_prob = actor_dist.log_prob(tb["action"])
kl_loss = tfd.kl_divergence(lax.stop_gradient(guider_policy), actor_dist).mean()
ratio = jnp.exp(actor_log_prob - tb["log_prob"])
gae = (gae - gae.mean()) / (gae.std() + 1e-8)
loss1 = ratio * gae
loss2 = jnp.clip(ratio, 1.0 - c["clip_eps"], 1.0 + c["clip_eps"]) * gae
actor_loss = -jnp.minimum(loss1, loss2).mean()
total = actor_loss * c["alpha"] + kl_loss
return total, (actor_loss, kl_loss)Both networks are updated in the same minibatch step, with gradients averaged across learner copies and devices, for a fixed number of epochs over each rollout.
def _update_minibatch(state, batch_info):
params, opt_states, key = state
tb, adv, tgt, prev_hs = batch_info
key, entropy_key = jax.random.split(key)
g_info, g_grads = jax.value_and_grad(_guider_loss_fn, has_aux=True)(
params.guider_params, params.actor_params, tb, adv, tgt, prev_hs, entropy_key)
a_info, a_grads = jax.value_and_grad(_actor_loss_fn, has_aux=True)(
params.actor_params, params.guider_params, tb, adv, prev_hs, entropy_key)
g_grads, g_info = jax.lax.pmean((g_grads, g_info), axis_name="batch")
g_grads, g_info = jax.lax.pmean((g_grads, g_info), axis_name="device")
a_grads, a_info = jax.lax.pmean((a_grads, a_info), axis_name="batch")
a_grads, a_info = jax.lax.pmean((a_grads, a_info), axis_name="device")
g_upd, g_opt = self.guider_optim.update(g_grads, opt_states.guider_opt_state)
a_upd, a_opt = self.actor_optim.update(a_grads, opt_states.actor_opt_state)
new_params = Params(optax.apply_updates(params.guider_params, g_upd),
optax.apply_updates(params.actor_params, a_upd))
t1, (guider_loss, entropy, value_loss, kl_loss) = g_info
t2, (actor_loss, _) = a_info
info = {"total_loss": t1 + t2, "value_loss": value_loss, "actor_loss": actor_loss,
"guider_loss": guider_loss, "kl_loss": kl_loss, "entropy": entropy}
return (new_params, OptStates(g_opt, a_opt), key), infoThe file also keeps a switch to the paper's distillation-only ablation (no inner clip, no masked KL, ); it is off in the submission.
Results
| Method | ① | ④ | ② | ③ |
|---|---|---|---|---|
| Win rate or mean return ↑ | Win rate or mean return ↑ | Win rate or mean return ↑ | Win rate or mean return ↑ | |
| Kimi K3.1 Pro | 0.752 | 0.417 | 0 | 22.97 |
| Recurrent MAPPO | 0.746 | 0.262 | 0.013 | 19.27 |
| IPPO | 0.674 | 0.250 | 0 | 0 |
| HAPPO | 0.523 | 0.201 | 4.199 | 16.16 |
| MACA | 0.864 | 0.420 | 3.239 | 10.88 |
| CTDS | 0.681 | 0.360 | 4.294 | 11.88 |
| MAGPO | 0.753 | 0.395 | 7.532 | 20.73 |
| SMPE² | 0.546 | 0.308 | 0.010 | 5.560 |
| MA²E | 0.561 | 0.221 | 4.085 | 15.33 |
| QMIX | 0.720 | 0.539 | 0.328 | 2.841 |
| QPLEX | 0.743 | 0.512 | 2.000 | 7.776 |
| PQN-VDN | 0.824 | 0.631 | 3.990 | 17.29 |
- ① SMAX smacv2_10_units · SMACv2-style 10v10
- ④ Connector con-10x10x10a · 10-agent routing
- ② RWARE medium-4ag-hard · sparse warehouse
- ③ RWARE tiny-4ag-hard · sparse warehouse
Because our code is the reference MAGPO, the comparison that matters is with the published MAGPO means, and differences from them are differences between training runs of one algorithm, not evidence for or against a design.
On RWARE-tiny-4 our run reaches 22.97, against 20.73 for the published MAGPO mean and 19.27 for MAPPO; it is the highest value in the table there. On SMAX-10v10 it is level with MAGPO (0.752 against 0.753) and below the best baseline, MACA [4] at 0.864. On Con-10x10x10 it reaches 0.417, slightly above MAGPO's 0.395 and well below PQN-VDN [8] at 0.631; the three value-factorisation baselines are all ahead of every policy-gradient method on that setting.
On RWARE-med-4 our run scores 0.000, where the published MAGPO mean is 7.532 and MAPPO's is 0.013. With the same code, this gap says that a run of MAGPO can fail to learn at all on that setting; none of our full-budget development runs of the same file stayed at zero, so the trace offers no explanation of this outcome.
How we got here
We began from the starter, recurrent MAPPO, read the reference implementations shipped with the task, and built a shortened training loop to compare candidates at a fraction of the budget. After our first idea, below, had failed, one observation decided the direction: in our early development runs, MAGPO's guider reached a win rate of 0.42 on one setting after 0.65M steps, where MAPPO was at 0.14. Coordinated data collection, not a better critic, looked like the larger lever, and from then on every candidate was a change to MAGPO.
- An all-action counterfactual policy gradient collapsed. Our first idea was to replace the sampled-action advantage with a centralised recurrent critic that predicts each agent's action values given the others' actions, and to update each actor against the full expectation over its available actions. Normalising those small and unreliable action-value differences to unit variance made the actor chase critic noise; on a sparse-reward setting it collapsed to zero return. Keeping the term in return units and adding back the sampled PPO gradient restored stability, but the counterfactual term was then about 1% of the gradient and did not beat MAPPO. A gate on the critic's explained variance did not rescue it, and we dropped the family.
- A guider that reads the global state was worse. Sable reads only the concatenated local views; feeding it the privileged state as well degraded performance. Our reading is that better-informed behaviour widened the gap the learner has to close, which is the gap MAGPO's bound exists to limit.
- Mixing guider and learner rollouts was worse. Running half the environments on the learner, each half with its own behaviour log-probability, lowered performance.
- A residual guider slowed learning. We built the guider as the learner's stopped logits plus a zero-initialised centralised residual, so that behaviour starts exactly at the deployable policy. It improved one early measurement (a win rate of 0.478 against 0.416) but converged no better and slowed a sparse-reward setting severely.
- A privileged value auxiliary did not generalise. Training the learner's recurrent state to predict the guider's value through a training-only head raised one sparse-reward setting at 2M steps from 1.32 to 1.98, but was level at 5M and dropped another setting from 0.414 to 0.344 with matched seeds; regressing the -return instead was also worse.
- Greedy deployment is setting-dependent. Acting greedily with the trained learner helped on two settings and roughly halved return on a third through deterministic loops, so the learner stays stochastic.
- Decoupling the learner's ratio was clearly worse. In MAGPO the ratio serves as both importance weight and trust-region ratio; we separated a stopped importance weight from a clipped learner-to-old-learner ratio. Return on a sparse-reward setting fell to 0.49, which told us MAGPO's original clipping matters for stability.
- Updating the guider before the learner was worse on a sparse-reward setting, although it matches the order of MAGPO's theoretical procedure.
- A separate global-state critic helped one setting and hurt another, so it was not a general replacement for the guider's own value head.
- Advantage-gated distillation came closest. Weighting the KL by the absolute advantage gave only a small gain on one setting and increases imitation of the guider's bad actions, so we weighted states with positive advantage only, normalised to mean one so that the overall distillation strength is unchanged. At the full budget it improved the deployed learner on two settings (0.846 against 0.828; 18.32 against 17.96) and regressed a third (0.768 against 0.805). Annealing the gate linearly back to uniform distillation over training was our strongest single result, a return of 23.53 against 17.96 on one setting, but on another setting it stayed at zero return through 9M steps where MAGPO's learner finished at 6.375, and on the other settings we completed it ended level with or below MAGPO. Truncating the gate to the first quarter, then the first tenth, of training gave up part of the gain and still did not recover on that setting. A bidirectional variant, which sends negative-advantage states to pull the guider toward the learner instead, showed no early advantage.
Each of these was a plausible account of where MAGPO's signal is wasted, and each traded one regime against another or failed outright. With one algorithm required for every setting, we restored the reference MAGPO file and spent the remaining time on second-seed checks of it. The numbers in this section are our own development measurements, read from the agent's messages in the trace.
Limitations
- There is no new method here. The submitted file is the task's MAGPO reference, unchanged; the trace shows it copied from the task's MAGPO baseline and checked byte for byte. The task asked for an algorithmic contribution, and this run delivers a set of negative results instead.
- RWARE-med-4 failed. Our run scores 0.000 there, below most published baselines, while the same algorithm's published mean is 7.532. We cannot say why this run of the algorithm did not learn.
- SMAX-10v10 and Con-10x10x10 are behind other baselines. MACA [4] leads on SMAX-10v10 and PQN-VDN [8] on Con-10x10x10; nothing we kept addresses the gap to value factorisation on Con-10x10x10.
- The rejections rest on few runs. Most comparisons used one seed, many were judged at a fraction of the budget, and the agent itself noted large run-to-run variation on sparse-reward settings, so some rejected variants, the annealed gate above all, may deserve a second look rather than a verdict.
- Per-setting hyperparameters are inherited. Every coefficient, including the bound and the auxiliary weight , is taken from MAGPO's own per-setting table or default configuration rather than derived.
References
- Chao Yu, Akash Velu, Eugene Vinitsky et al. (2022). The Surprising Effectiveness of PPO in Cooperative, Multi-Agent Games. NeurIPS.
- Jakub Grudzien Kuba, Ruiqing Chen, Muning Wen et al. (2022). Trust Region Policy Optimisation in Multi-Agent Reinforcement Learning. ICLR.
- Yifan Zhong, Jakub Grudzien Kuba, Xidong Feng et al. (2023). Heterogeneous-Agent Reinforcement Learning.
- Xutong Zhao, Yaqi Xie (2025). Multi-level Advantage Credit Assignment for Cooperative Multi-Agent Reinforcement Learning. AISTATS.
- Christian Schroeder de Witt, Tarun Gupta, Denys Makoviichuk et al. (2020). Is Independent Learning All You Need in the StarCraft Multi-Agent Challenge?.
- Tabish Rashid, Mikayel Samvelyan, Christian Schroeder de Witt et al. (2018). QMIX: Monotonic Value Function Factorisation for Deep Multi-Agent Reinforcement Learning. ICML.
- Jianhao Wang, Zhizhou Ren, Terry Liu et al. (2021). QPLEX: Duplex Dueling Multi-Agent Q-Learning. ICLR.
- Matteo Gallici, Mattie Fellows, Benjamin Ellis et al. (2025). Simplifying Deep Temporal Difference Learning. ICLR.
- Gang Chen (2019). A New Framework for Multi-Agent Reinforcement Learning -- Centralized Training and Exploration with Decentralized Execution via Policy Distillation.
- Yueheng Li, Guangming Xie, Zongqing Lu (2026). Multi-Agent Guided Policy Optimization. ICLR.
- Omayma Mahjoub, Sasha Abramowitz, Ruan de Kock et al. (2025). Sable: a Performant, Efficient and Scalable Sequence Model for MARL. ICML.
- Yueheng Li, Guangming Xie, Zongqing Lu (2026). Guided Policy Optimization under Partial Observability. ICLR.
- Andreas Kontogiannis, Konstantinos Papathanasiou, Yi Shen et al. (2025). Enhancing Cooperative Multi-Agent Reinforcement Learning with State Modelling and Adversarial Exploration. ICML.