Skip to content

Benchmark

IPPO, MAPPO and HAPPO were trained on every scenario under one fixed protocol, 20 seeds each, and evaluated on held-out seeds. Results are reported as the interquartile mean (IQM) over seeds with 95% stratified bootstrap confidence intervals. The code, the protocol and instructions to reproduce everything are in the repository's benchmark/ folder, which is not part of the pip package.

Protocol

  • Reward: team reward (reward_mode="team"). The score is the team return: the sum of infos[agent]["team_reward"] (the same for every agent) over an episode, each capture counted once.
  • Episodes: 200 steps (Swarm 300); prey are static except in Specialists, where they flee.
  • Observations: each scenario's default, except Raid and Swarm, which use flat_coords.
  • Evaluation: actions sampled from the policy on 32 fixed held-out seeds every 1% of training, and 100 episodes at the end; a run's score is its final evaluation mean. Greedy (argmax) scores are recorded alongside.
  • Budgets: per scenario, the same for all algorithms, set from a 20M-step pilot: ClassicStag 3M, Raid and LandAndSea 7M, Military 50M, all others 20M.
  • Algorithms: one PyTorch implementation of PPO with a 128×128 tanh MLP, GAE, value normalization and a floor on advantage standardization:
Algorithm Actor Critic
IPPO one per agent one per agent, on its own observation
MAPPO one shared (observation + agent one-hot) one, on the global state
HAPPO one per agent, updated sequentially in random order one, on the global state

Scores are also normalized as (score - random) / (scripted - random), using a random team and the scripted GreedyPolicy team. The scripted team reads the true state, including hidden information, so it is a reference point, not an upper bound: trained teams beat it in some scenarios (normalized scores above 1) and fall far short in others.

Results

Normalized IQM over the eight main scenarios:

Normalized IQM over 8 main scenarios (classic_stag, toxic_stag, specialists, military, raid, pig_chase, land_and_sea, swarm)

Algorithm Normalized IQM [95% CI]
IPPO 0.71 [0.67, 0.75]
MAPPO 0.76 [0.74, 0.77]
HAPPO 0.76 [0.74, 0.78]
P(X > Y) Estimate [95% CI]
IPPO > MAPPO 0.62 [0.57, 0.66]
IPPO > HAPPO 0.59 [0.53, 0.64]
MAPPO > HAPPO 0.43 [0.38, 0.48]

Normalized IQM per algorithm

Per scenario (team return):

Scenario Algorithm Seeds Mean ± std IQM [95% CI] Normalized IQM [95% CI] Greedy IQM
classic_stag IPPO 20 123.9 ± 0.6 123.8 [123.6, 124.2] 0.38 [0.37, 0.38] 124.7
classic_stag MAPPO 20 124.0 ± 0.4 124.0 [123.8, 124.2] 0.38 [0.38, 0.38] 125.0
classic_stag HAPPO 20 124.0 ± 0.5 123.9 [123.7, 124.2] 0.38 [0.38, 0.38] 124.6
toxic_stag IPPO 20 160.6 ± 4.7 161.5 [159.6, 162.8] 1.39 [1.38, 1.41] 161.7
toxic_stag MAPPO 20 150.6 ± 2.7 150.8 [149.6, 151.7] 1.30 [1.29, 1.30] 151.5
toxic_stag HAPPO 20 156.0 ± 5.0 156.2 [153.3, 158.9] 1.35 [1.32, 1.37] 156.6
specialists IPPO 20 81.1 ± 22.8 90.6 [77.0, 94.9] 1.02 [0.87, 1.07] 91.2
specialists MAPPO 20 95.2 ± 2.7 95.5 [94.3, 96.8] 1.08 [1.07, 1.09] 96.0
specialists HAPPO 20 93.2 ± 7.7 95.7 [92.3, 97.1] 1.08 [1.04, 1.10] 95.6
military IPPO 20 84.1 ± 2.9 84.1 [83.3, 85.2] 0.67 [0.66, 0.68] 69.8
military MAPPO 20 76.3 ± 2.4 76.1 [75.0, 77.3] 0.60 [0.59, 0.61] 55.1
military HAPPO 20 77.1 ± 2.8 77.3 [76.0, 78.4] 0.61 [0.60, 0.62] 58.4
raid IPPO 20 5.9 ± 0.1 5.9 [5.9, 5.9] 0.45 [0.44, 0.45] 3.1
raid MAPPO 20 5.8 ± 0.1 5.8 [5.7, 5.9] 0.44 [0.43, 0.44] 2.8
raid HAPPO 20 5.8 ± 0.2 5.9 [5.8, 5.9] 0.45 [0.44, 0.45] 3.4
pig_chase IPPO 20 35.0 ± 23.5 45.0 [25.0, 50.0] 0.90 [0.50, 1.00] 45.0
pig_chase MAPPO 20 47.0 ± 11.3 50.0 [50.0, 50.0] 1.00 [1.00, 1.00] 50.0
pig_chase HAPPO 20 47.5 ± 11.2 50.0 [50.0, 50.0] 1.00 [1.00, 1.00] 50.0
land_and_sea IPPO 20 42.0 ± 0.4 42.0 [41.9, 42.2] 1.06 [1.06, 1.07] 42.4
land_and_sea MAPPO 20 41.5 ± 0.5 41.5 [41.2, 41.7] 1.05 [1.04, 1.06] 41.9
land_and_sea HAPPO 20 42.2 ± 0.3 42.2 [42.1, 42.3] 1.07 [1.07, 1.07] 42.2
swarm IPPO 20 22.5 ± 1.1 22.3 [21.9, 22.9] 0.05 [0.05, 0.05] 21.0
swarm MAPPO 20 22.6 ± 2.0 22.9 [22.0, 23.6] 0.05 [0.05, 0.05] 19.5
swarm HAPPO 20 19.3 ± 1.4 19.4 [18.7, 20.0] 0.03 [0.03, 0.04] 18.8
specialists_comm IPPO 20 105.4 ± 17.6 109.2 [108.5, 110.0] 1.23 [1.23, 1.24] 110.1
specialists_comm MAPPO 20 109.4 ± 1.2 109.3 [108.8, 110.0] 1.24 [1.23, 1.24] 110.1
specialists_comm HAPPO 20 105.4 ± 17.9 109.9 [108.0, 111.1] 1.24 [1.22, 1.26] 111.1
specialists_full_vision IPPO 20 121.5 ± 1.5 121.5 [120.7, 122.3] 1.37 [1.37, 1.38] 122.1
specialists_full_vision MAPPO 20 122.8 ± 1.2 122.7 [122.3, 123.4] 1.39 [1.38, 1.40] 124.2
specialists_full_vision HAPPO 20 121.8 ± 1.3 121.8 [121.1, 122.6] 1.38 [1.37, 1.39] 122.7
toxic_stag_blind IPPO 20 132.4 ± 6.5 134.5 [130.8, 136.3] 1.15 [1.11, 1.16] 133.8
toxic_stag_blind MAPPO 20 130.4 ± 4.2 131.6 [130.1, 132.3] 1.12 [1.10, 1.13] 130.6
toxic_stag_blind HAPPO 20 133.7 ± 6.3 134.6 [132.6, 136.4] 1.15 [1.13, 1.16] 133.4
military_full_vision IPPO 20 108.2 ± 1.7 108.1 [107.5, 108.8] 0.87 [0.86, 0.87] 100.8
military_full_vision MAPPO 20 96.1 ± 2.8 96.1 [94.9, 96.9] 0.77 [0.76, 0.78] 78.0
military_full_vision HAPPO 20 101.7 ± 1.8 101.3 [100.6, 102.3] 0.81 [0.81, 0.82] 88.5

The _comm, _full_vision and _blind rows are hypothesis tests that change one thing about a scenario: a message channel for Specialists, full vision for the agent that lacks it, and no knowledge of stag toxicity in Toxic stag.

Interdependence

Does each scenario need every agent? The scripted team plays each scenario on the evaluation seeds, then once more with each agent in turn standing still while the others plan for the team they have left. The drop in team return is how much the scenario depends on that agent: 100 episodes each, with 95% confidence intervals.

The scripted team reads the true state, so this measures who is needed to capture what, not who is needed to see what. That is why removing the UAV in Military or the toxicity-aware hunter in Toxic stag costs the scripted team nothing. How much information matters to trained teams is what the variants above measure: _full_vision gives the short-sighted agent the whole board, and _blind takes away the knowledge of which stags are toxic.

Team return without each agent
Scenario Team Team return [95% CI] Drop vs full team
classic_stag full scripted team 306.4 [302.6, 310.2] -
without predator_0 78.1 [77.1, 79.0] 75%
without predator_1 78.8 [77.9, 79.7] 74%
random team 14.0 [13.1, 15.0] 95%
toxic_stag full scripted team 118.6 [115.0, 122.2] -
without predator_0 116.7 [113.2, 120.2] 2%
without predator_1 117.6 [114.2, 120.9] 1%
without predator_2 119.9 [117.0, 122.9] -1%
random team 9.9 [9.2, 10.6] 92%
specialists full scripted team 88.6 [86.1, 91.1] -
without bruiser_0 27.8 [27.3, 28.4] 69%
without scout_0 79.5 [77.3, 81.8] 10%
random team 0.8 [0.5, 1.1] 99%
military full scripted team 123.9 [118.1, 129.7] -
without ground_vehicle_0 0.0 [0.0, 0.0] 100%
without uav_0 124.8 [119.0, 130.5] -1%
random team 3.6 [2.7, 4.5] 97%
raid full scripted team 10.9 [8.5, 13.4] -
without raider_0 5.9 [5.6, 6.3] 46%
without raider_1 5.9 [5.6, 6.3] 46%
without raider_2 5.9 [5.6, 6.3] 46%
random team 1.8 [1.6, 2.1] 83%
pig_chase full scripted team 50.0 [50.0, 50.0] -
without predator_0 0.0 [0.0, 0.0] 100%
without predator_1 0.0 [0.0, 0.0] 100%
random team 0.3 [0.2, 0.4] 99%
land_and_sea full scripted team 39.6 [38.9, 40.3] -
without land_predator 0.8 [0.6, 1.1] 98%
without sea_predator 1.5 [1.1, 1.8] 96%
random team 1.3 [1.1, 1.6] 97%
swarm full scripted team 256.7 [247.8, 265.6] -
without predator_0 250.1 [241.0, 259.1] 3%
without predator_1 251.1 [241.7, 260.5] 2%
without predator_2 248.2 [238.4, 258.0] 3%
without predator_3 254.2 [244.8, 263.6] 1%
without predator_4 253.0 [244.6, 261.4] 1%
without predator_5 249.4 [240.7, 258.2] 3%
without predator_6 251.7 [242.2, 261.2] 2%
without predator_7 244.4 [235.7, 253.1] 5%
without predator_8 247.5 [238.9, 256.0] 4%
without predator_9 257.3 [248.4, 266.2] 0%
random team 10.8 [10.1, 11.6] 96%

Learning curves

IQM of the evaluation score over training, with 95% bootstrap intervals.

Classic stag Toxic stag
Specialists Military
Raid Pig chase
Land and sea Swarm

Reproducing

The repository's benchmark/README.md explains how to train a single run, run the full sweep on a SLURM cluster, and rebuild every table from the archived runs. All 720 runs (evaluations, training curves and final weights) are on Zenodo: doi:10.5281/zenodo.24694964.