Abstract
Multi-Agent Craftax (MAC) is a new, high-performance environment designed to facilitate research into social learning within complex, open-ended worlds. Built using JAX, MAC allows for massive parallelization on GPUs, achieving simulation speeds orders of magnitude faster than existing benchmarks like Minecraft. This paper evaluates current reinforcement learning (RL) algorithms on MAC, focusing on social learning from experts and emergent cooperation. Results indicate that while agents naturally learn to utilize shared infrastructure, they struggle to "socially learn" complex behaviors from experts, highlighting a significant gap in current multi-agent RL capabilities.
Introduction
Human intelligence is fundamentally social; we learn by observing others and utilizing shared tools rather than rediscovering everything from first principles. For artificial intelligence to reach similar levels of utility, it must develop social intelligence. However, research in this area is currently hindered by a trade-off between simulation speed and environment complexity. Rich, open-ended environments like Minecraft are slow to simulate, while faster environments often lack the depth required for high-level social strategies. Multi-Agent Craftax (MAC) addresses this gap by providing a complex, hierarchical task environment that is efficient enough to run millions of training steps in minutes.
The Multi-Agent Craftax (MAC) Environment
MAC is an extension of Craftax, a JAX-based implementation of the Crafter benchmark. By leveraging JAX, the environment runs entirely on the GPU, enabling the simulation of 100 million training steps in less than an hour on a single NVIDIA L40 GPU—a 250x speedup over Python-native equivalents.
The environment consists of a procedurally generated 2D world where agents must survive and progress through a tech tree of 22 distinct achievements. These achievements are hierarchical, requiring long-horizon planning. For example, mining stone requires a wood pickaxe, which in turn requires a crafting table.
Methods and Social Metrics
To evaluate social capabilities, the authors focused on three primary areas:
- Social Learning (Cultural Transmission): Measuring if a novice agent improves its performance by observing a pre-trained expert.
- Social Auxiliary Loss: Implementing a mechanism where agents are rewarded for predicting the actions and states of their peers, encouraging them to attend to social cues.
- Mixed-Motive Incentives: Exploring how different reward structures (e.g., shared rewards vs. individual rewards vs. competitive rewards) affect overall achievement.
Results and Key Insights
Experiments revealed several fascinating emergent behaviors and significant challenges for current RL algorithms.
Emergent Infrastructure Sharing: One of the most striking findings was the "free rider" effect. Agents learned to use tools—such as crafting tables and furnaces—placed by other agents 90% of the time. This implicit cooperation allowed agents to skip the resource-intensive step of building infrastructure themselves, focusing instead on higher-tier achievements.
The Failure of Social Learning: Despite the presence of experts, standard Multi-Agent Reinforcement Learning (MARL) algorithms, such as Independent PPO, showed no significant performance gains from social learning. The "cultural transmission" score remained near zero. As shown in the results heatmap, agents trained with experts performed similarly to solo agents, and in some cases, adding social auxiliary losses even hindered performance.
The Proximity Paradox: While social learning requires proximity for observation, forcing agents to stay close via a proximity bonus actually decreased performance. In resource-sparse environments, the competition for food and materials outweighed the benefits of observation, leading to a net negative impact on survival and progression.
Conclusion
Multi-Agent Craftax provides a powerful new benchmark for the RL community, offering the complexity of open-world survival with unprecedented simulation efficiency. The study's findings suggest that current RL agents are "socially blind," failing to leverage the presence of experts even when given explicit auxiliary incentives. Future research should focus on developing more sophisticated social learning architectures, such as internal world models or specialized imitation modules, to bridge the gap between individual task mastery and true social intelligence.
Summary updated