JaxMARL: Multi-Agent RL Environments and Algorithms in JAX
Alexander Rutherford, Benjamin Ellis, Matteo Gallici, Jonathan Cook,, Andrei Lupu, Gardar Ingvarsson, Timon Willi, Ravi Hammond, Akbir Khan,, Christian Schroeder de Witt, Alexandra Souly, Saptarashmi Bandyopadhyay,, Mikayel Samvelyan, Minqi Jiang, Robert Tjarko Lange

TL;DR
JaxMARL is a new JAX-based library that accelerates multi-agent reinforcement learning environments and algorithms, enabling faster training and evaluation, and includes a GPU-accelerated StarCraft Multi-Agent Challenge reimplementation.
Contribution
It introduces JaxMARL, the first GPU-enabled, open-source library for multi-agent RL environments and algorithms, with a novel, efficient benchmark for StarCraft Multi-Agent Challenge.
Findings
JaxMARL achieves 14x faster training than existing methods.
Up to 12500x speedup with vectorized multiple runs.
SMAX enables GPU acceleration and flexible MARL environment.
Abstract
Benchmarks are crucial in the development of machine learning algorithms, with available environments significantly influencing reinforcement learning (RL) research. Traditionally, RL environments run on the CPU, which limits their scalability with typical academic compute. However, recent advancements in JAX have enabled the wider use of hardware acceleration, enabling massively parallel RL training pipelines and environments. While this has been successfully applied to single-agent RL, it has not yet been widely adopted for multi-agent scenarios. In this paper, we present JaxMARL, the first open-source, Python-based library that combines GPU-enabled efficiency with support for a large number of commonly used MARL environments and popular baseline algorithms. Our experiments show that, in terms of wall clock time, our JAX-based training pipeline is around 14 times faster than existing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsReinforcement Learning in Robotics · Artificial Intelligence in Games · Digital Games and Media
MethodsLib · Balanced Selection
