Multi-Agent Craftax: Benchmarking Open-Ended Multi-Agent Reinforcement Learning at the Hyperscale

Bassel Al Omari, Michael T. Matthews, Alexander Rutherford, Jakob Nicolaus FoersterarXiv 2025 · DOI

Introduction

While single-agent reinforcement learning (RL) has advanced through complex, procedurally generated environments like NetHack and Procgen, multi-agent reinforcement learning (MARL) has largely remained confined to narrow, short-term tactical challenges. Existing benchmarks often focus on specific communication hurdles or micro-management, failing to test long-horizon dependencies and systematic generalization in open-ended worlds. Furthermore, the computational overhead of many environments prevents the massive-scale experimentation—billions of interactions—necessary to observe emergent complex behaviors.

To bridge this gap, researchers from the University of Waterloo and Oxford have introduced Craftax-MA and Craftax-Coop. These JAX-based benchmarks are designed for the "hyperscale" era, enabling high-speed training and testing the limits of current MARL algorithms in complex, resource-rich environments.

The Craftax Environments

The researchers developed two distinct environments leveraging the JAX framework for hardware acceleration:

  1. Craftax-MA: A direct multi-agent extension of the original Craftax. It supports an unbounded number of agents in a shared world where they must navigate resource competition and potential cooperation.
  2. Craftax-Coop: A specialized variant that mandates cooperation through heterogeneity. Agents are assigned one of three distinct roles, each essential for the group's long-term survival:
  3. The Miner: Responsible for crafting pickaxes and gathering advanced ores.
  4. The Forager: Tasked with hunting for food and securing water sources.
  5. The Warrior: The primary defender, capable of crafting high-level weaponry to protect the team.
Overview of the Craftax-Coop environment and its specialized roles.

To facilitate teamwork, a trading system was implemented, allowing agents to broadcast resource requests and fulfill them regardless of spatial distance. The study evaluated these environments using three primary MARL baselines: MAPPO (Multi-Agent PPO), IPPO (Independent PPO), and PQN (Parallelized Q-Network).

Key Insights and Results

Hyperscale Efficiency

By utilizing JAX, the environments achieve remarkable speeds. A training run of 250 million environment steps can be completed in under an hour on a single GPU. This efficiency allows for the iteration speeds required to explore the massive state spaces of open-ended worlds.

The Credit Assignment Wall

A primary finding was the difficulty agents faced with temporal credit assignment. Agents frequently died of hunger or thirst because the immediate reward for gathering resources was too disconnected from the eventual penalty of death. This suggests that current MARL algorithms struggle significantly with long-term planning without heavy reward shaping.

Performance and Scaling Penalties

Across all tests, agents achieved less than 15% of the total possible reward. Even after 5 billion steps of training, agents rarely progressed past the early stages of the game's nine-level dungeon. Interestingly, in the shared reward setting of Craftax-MA, increasing the number of agents actually decreased the average reward per agent. This "scaling penalty" is likely due to noisy credit assignment; when rewards are shared, it becomes difficult for an individual agent to identify which of its specific actions contributed to a positive outcome.

Reward curves showing that agents across different population sizes struggle to exceed 15% of the maximum possible reward.

The Cooperation Gap

In Craftax-Coop, while MAPPO showed rudimentary trading—such as a Warrior crafting a stone sword using materials provided by a Miner—true emergent teamwork remained elusive. Surprisingly, naive independent learning (IPPO) occasionally outperformed centralized methods like MAPPO, suggesting that some advanced MARL algorithms may be overfit to simpler, older benchmarks.

Conclusion

Craftax-MA and Craftax-Coop reveal a significant gap between current MARL capabilities and the requirements of complex, open-ended worlds. While hyperscale training is now computationally feasible, algorithmic improvements in credit assignment and specialized cooperation are necessary. Future work will explore larger agent populations and the integration of Large Language Models (LLMs) to handle high-level planning and communication.

Summary updated

BibTeX
@misc{omari2025multi,
  author = {Bassel Al Omari and Michael T. Matthews and Alexander Rutherford and Jakob Nicolaus Foerster},
  title = {{Multi-Agent Craftax: Benchmarking Open-Ended Multi-Agent Reinforcement Learning at the Hyperscale}},
  year = {2025},
  eprint = {2511.04904},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.04904},
}
Figure