Abstract
CrafterDojo is a comprehensive suite of foundation models and data-generation toolkits designed to transform the lightweight "Crafter" environment into a high-speed playground for embodied AI research. By providing pre-trained models for behavior (C-VPT), vision-language grounding (C-CLIP), and instruction following (C-Steve-1), the suite enables researchers to prototype complex, open-ended agents without the massive computational overhead of 3D simulators like Minecraft. This work bridges the gap between lightweight simulation and high-level agent capabilities, offering a robust ecosystem for rapid iteration in open-ended embodied AI.
Introduction
In the quest for general-purpose embodied agents—AI that can survive, craft, and plan in open worlds—Minecraft has become the gold standard. However, Minecraft is a "heavy" simulator: it is resource-intensive, slow, and prone to crashes, which significantly hinders rapid iteration for many research teams.
Crafter was introduced as a 2D, top-down, Python-based alternative that retains Minecraft's core challenges—procedural generation, survival, and crafting—but runs orders of magnitude faster. Despite its efficiency, Crafter initially lacked the "foundation model ecosystem" that Minecraft enjoys (such as VPT or MineCLIP). Without these pre-trained priors, agents in Crafter were often forced to learn from scratch using inefficient reinforcement learning, limiting research to narrow, easily solvable tasks. CrafterDojo addresses this by providing the necessary behavioral and linguistic foundations to enable sophisticated agent research.
The CrafterDojo Framework
The authors introduce three core foundation models and the toolkits required to build them, creating a pipeline from raw environment interaction to high-level instruction following.
Foundation Models
- C-VPT (Behavioral Foundation): Based on Video Pre-Training (VPT), this model learns "how to act" by predicting actions based on visual history. It utilizes a ResNet encoder paired with a TransformerXL to process temporal visual data.
- C-CLIP (Vision-Language Grounding): A contrastive model that aligns video segments with text descriptions. This allows the agent to understand the visual representation of high-level concepts like "collecting wood" or "attacking a zombie."
- C-Steve-1 (Instruction Following): A goal-conditioned policy that executes natural language instructions by leveraging the visual-language embeddings from C-CLIP. It acts as the bridge between linguistic intent and physical action.
Data Generation Toolkits
To train these models, the authors developed two automatic toolkits:
- Expert Behavior Generator: This toolkit trains a high-performance "expert" agent to generate the CrafterPlay dataset, consisting of 20,000 expert episodes (approximately 180 million timesteps) of successful gameplay.
- Caption Generator: A rule-based system that monitors the expert's state to automatically label video clips. This was further augmented by Large Language Models (LLMs) to create the CrafterCaption dataset, featuring 2.3 million video-text pairs with 2,440 diverse, paraphrased captions (e.g., "obtain stone" vs. "grab some rocks").
Key Insights and Technical Innovations
Several critical findings emerged during the development of CrafterDojo that significantly impacted model performance:
- Strategic No-op Filtering: Expert agents in Crafter spend roughly 60% of their time idle (waiting for crops or hiding). Training on this "lazy" data was found to degrade performance. By selectively filtering short, non-strategic "no-op" sequences while retaining tactical ones (like waiting out an enemy attack), the authors nearly doubled the model's performance score.
- Event-Based Relabeling: Standard hindsight relabeling often fails in fast-paced environments like Crafter. The authors introduced event-based relabeling, using the Caption Generator to identify meaningful task boundaries, ensuring the agent learns distinct and coherent skills.
- Linguistic Diversity via LLMs: Using LLMs to paraphrase simple templates into diverse natural language was essential for generalization. Without this variety, the instruction-following agent (C-Steve-1) struggled to understand novel prompts.
Experimental Results
CrafterDojo models set new benchmarks for the environment:
- State-of-the-Art Performance: C-VPT achieved a Crafter Score of 61.4%, nearly doubling the previous best-in-class performance of 31.8%.
- Superior Grounding: C-CLIP achieved an 89.8% Recall@1 in video-text retrieval. In contrast, general-purpose models like CLIP4Clip managed only 1.7%, highlighting the necessity of environment-specific grounding.
- Emergent Behaviors: Beyond its trained achievements, C-VPT exhibited emergent survival skills, such as building bridges over lava and constructing shelters for nighttime safety.
- Hierarchical Task Solving: By pairing a high-level LLM planner with C-Steve-1 as a low-level controller, the system successfully solved long-horizon tasks (e.g., "obtain coal -> craft pickaxe -> mine stone") that traditional RL agents typically fail to initiate.
Limitations and Future Work
While CrafterDojo provides a powerful foundation, it currently relies on high-performing expert policies for data generation. Future research could explore the use of unlabelled or sub-optimal data. Additionally, while Crafter is an efficient proxy, it lacks the 3D spatial reasoning required for more complex robotics applications. Expanding the rule set of the Caption Generator will also be necessary to support even more complex, multi-step instruction following in the future.
Summary updated