atlas

Research map / Multi-agent systems and games / Cooperative multi-agent RL

JaxMARL: Multi-Agent RL Environments and Algorithms in JAX

NeurIPS 2024 · Multi-agent systems and games › Cooperative multi-agent RL · approach: MARL benchmarks and grouping · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces JaxMARL, an open-source JAX library of GPU-accelerated multi-agent RL environments (including new SMAX and STORM suites) and baseline algorithms (IPPO, MAPPO, IQL, VDN, QMIX), reporting large wall-clock speedups over CPU-based PyMARL and related implementations.

Problem

MARL research is slow and under-evaluated because most environments run on CPU and papers typically test on very few domains, limiting scalability on academic compute.

Approach

Reimplement popular MARL environments and baseline algorithms end-to-end in JAX so environments and training run on the same accelerator, enabling jit/vmap parallelism across many seeds, plus a SMAC-like JAX environment (SMAX) that avoids the StarCraft II engine.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use PPO instead of Q-LearningJaxMARL · SMAX, Overcooked, and MPEnormalized scoreHelped
Use PPO instead of Q-LearningJaxMARL on SMAX · SMAXtraining time: 6 times fasterHelped
Use PPO instead of Q-LearningJaxMARL on Overcooked · Overcookedtraining time: 10 times fasterHelped
Run the environment and training pipeline in JAXJaxMARL IPPO · MPEtraining speedup relative to PyMARL: 14xHelped
Vectorize multiple training runsJaxMARL IPPO · MPEtraining speedup relative to PyMARL: 12,500xHelped
Use SMAX with JaxMARL IPPO instead of SMAC with PyMARLIPPO training · SMAX / SMACtraining speedup: 31xHelped
Vectorize 1024 training runsJaxMARL QMIX · MPEtraining speedup per agent relative to PyMARL: 21,500xHelped
Use IPPO instead of Q-LearningJaxMARL · Overcookednormalized scoreHelped
Use MAPPO instead of IPPOJaxMARL · SMAXwin rateHelped
Use IPPO instead of MAPPOJaxMARL · HanabiscoreMixed
Increase the number of vectorized environmentsJaxMARL environment stepping · MPE Simple Spreadsteps per second: 5.5 × 10^3 -> 4.0 × 10^7Helped
Increase the number of vectorized environmentsJaxMARL environment stepping · Overcookedsteps per second: 3.6 × 10^3 -> 1.7 × 10^7Helped

Surprising findings

Limitations

Experimental setup

Datasets: SMAC scenarios SMACv2 scenarios MPE Overcooked Hanabi MABrax (Multi-Agent MuJoCo derivative) Coin Game Switch Riddle

Benchmarks: SMAX MPE Overcooked Hanabi MABrax STORM Coin Game

Metrics: steps per second wall clock training time speedup relative to PyMARL episode return win rate interquartile mean mean normalized score

Baselines: PyMARL E-PyMARL MARLLib SMAC PettingZoo Overcooked-AI Hanabi Learning Environment

Builds on: PureJaxRL PyMARL CleanRL Gymnax SMACv2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy