Conference item
JaxMARL: multi-agent RL environments and algorithms in JAX
- Abstract:
- Benchmarks play an important role in the development of machine learning algorithms, with reinforcement learning (RL) research having been heavily influenced by the available environments. However, RL environments are traditionally run on the CPU, limiting their scalability with typical academic compute. Recent advancements in JAX have enabled the wider use of hardware acceleration to overcome these computational hurdles, enabling massively parallel RL training pipelines and environments. This is particularly useful for multi-agent reinforcement learning (MARL) research. First of all, multiple agents must be considered at each environment step, adding computational burden, and secondly, the sample complexity is increased due to non-stationarity, decentralised partial observability, or other MARL challenges. In this paper, we present JaxMARL, the first open-source code base that combines ease-of-use with GPU enabled efficiency, and supports a large number of commonly used MARL environments as well as popular baseline algorithms. When considering wall clock time, our experiments show that per-run our JAX-based training pipeline is up to 12500x faster than existing approaches. We also introduce and benchmark SMAX, a vectorised, simplified version of the popular StarCraft Multi-Agent Challenge, which removes the need to run the StarCraft II game engine. This not only enables GPU acceleration, but also provides a more flexible MARL environment, unlocking the potential for self-play, meta-learning, and other future applications in MARL. We provide code at https://github.com/flairox/jaxmarl.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Version of record, pdf, 4.7MB, Terms of use)
-
- Publication website:
- https://dl.acm.org/doi/abs/10.5555/3635637.3663188
Authors
- Publisher:
- Association for Computing Machinery
- Host title:
- AAMAS '24: Proceedings of the 23rd International Conference on Autonomous Agents and Multiagent Systems
- Pages:
- 2444-2446
- Publication date:
- 2024-05-06
- Acceptance date:
- 2023-12-20
- Event title:
- 23rd International Joint Conference on Autonomous Agents and Multiagent Systems (AAMAS 2024)
- Event location:
- Auckland, New Zealand
- Event website:
- https://www.aamas2024-conference.auckland.ac.nz/
- Event start date:
- 2024-05-06
- Event end date:
- 2024-05-10
- EISSN:
-
1558-2914
- ISSN:
-
1548-8403
- ISBN:
- 9798400704864
- Language:
-
English
- Pubs id:
-
1997958
- Local pid:
-
pubs:1997958
- Deposit date:
-
2025-04-02
- ARK identifier:
Terms of use
- Copyright holder:
- International Foundation for Autonomous Agents and Multiagent Systems
- Copyright date:
- 2024
- Rights statement:
- © 2024 International Foundation for Autonomous Agents and Multiagent Systems (www.ifaamas.org). This work is licenced under the Creative Commons Attribution 4.0 International (CC-BY 4.0) licence.
- Notes:
-
This paper was presented at the 23rd International Joint Conference on Autonomous Agents and Multiagent Systems (AAMAS 2024), 6th-10th May 2024, Auckland, New Zealand.
This work is related to the thesis Intelligent interaction at scale.
- Licence:
- CC Attribution (CC BY)
If you are the owner of this record, you can report an update to it here: Report update to this record