NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MineRL: A Large-Scale Dataset of Minecraft Demonstrations

William H. Guss, Brandon Houghton, Nicholay Topin, Phillip Wang, Cayden R. Codel, Manuela Veloso, Ruslan Salakhutdinov

Introduction

MineRL is a massive, first-of-its-kind dataset containing over 60 million state-action pairs of human Minecraft gameplay. It aims to solve the chronic sample inefficiency of deep reinforcement learning (DRL) by providing a large-scale platform for imitation learning and hierarchical planning in a complex, 3D open-world environment.

The Challenge of Complex Environments

Deep Reinforcement Learning (DRL) has achieved incredible feats, from mastering Atari games to beating world champions in Go and Dota 2. However, these successes come at a massive cost: sample inefficiency. Training these agents often requires the equivalent of thousands of years of gameplay.

The procedurally generated 3D world of Minecraft presents unique challenges for RL agents, including long-term planning and hierarchical task navigation.

While leveraging human demonstrations (imitation learning) can drastically reduce the number of samples needed, the field has lacked a high-quality, large-scale dataset for complex environments. Most existing RL benchmarks are "toy" problems—2D, discrete, or confined to small maps. Minecraft offers a unique challenge: it is a 3D, procedurally generated, open-world game that requires long-term planning and navigating a deep hierarchy of sub-tasks, such as crafting specific tools to mine rare resources.

Methodology: Packet-Level Data Collection

The authors developed a novel data collection platform to capture human trajectories at scale. Rather than recording simple video, the system captures packet-level communication between a custom Minecraft client and server.

The MineRL data collection pipeline records packet-level communication, allowing for perfect reconstruction and flexible re-rendering of the dataset.
  • Packet-Level Recording: This allows for "perfect reconstruction" of the game state.
  • The Renderer: Because they have the raw data packets, researchers can re-simulate and re-render the demonstrations. This means they can generate different versions of the dataset with varied resolutions, textures, or even added noise without needing new human players.
  • Task Design: They defined six specific "stand-alone" tasks that isolate key research challenges: Navigate, Treechop, Obtain Iron Pickaxe, Obtain Diamond, Obtain Cooked Meat, and Obtain Bed.

The MineRL-v0 Dataset

The primary contribution is the MineRL-v0 dataset, which features over 500 hours of recorded human play and over 60 million state-action pairs. The data is provided in multiple resolutions (64x64 and 192x256) and textures (default and simplified). It includes rich metadata such as RGB video, player inventory, health, achievements, and distance to current objectives.

Key Insights and Results

Minecraft is inherently hierarchical, involving hundreds of unique items with complex prerequisites. Analysis of the dataset shows that humans adapt their strategies through "meta-policies," often taking alternative paths through the dependency tree when resources are scarce.

Experimental results demonstrate a significant "RL Wall." Standard algorithms like DQN and A2C fail completely on tasks with sparse rewards. However, agents pre-trained on MineRL (PreDQN) showed substantial improvements:

  • Imitation Learning Advantage: In the Navigate (Dense) task, PreDQN nearly doubled the performance of vanilla DQN (94.96 vs 55.59).
  • Sparse Reward Breakthrough: In the Navigate (Sparse) task, where vanilla RL failed entirely (0.0), the human-aided PreDQN managed to achieve a non-zero score (6.0), proving that human demonstrations are essential for navigating "reward deserts."

Limitations and Future Work

Despite these gains, a massive gap remains between human and agent performance. The primary bottleneck is long-horizon credit assignment—the difficulty of connecting an action taken now to a reward received much later. Future work involves using MineRL to develop better algorithms for inverse reinforcement learning, automatic hierarchical discovery, and lifelong learning in persistent environments.

Summary updated

BibTeX
@inproceedings{guss2019minerl,
  author = {William H. Guss and Brandon Houghton and Nicholay Topin and Phillip Wang and Cayden R. Codel and Manuela Veloso and Ruslan Salakhutdinov},
  title = {{MineRL: A Large-Scale Dataset of Minecraft Demonstrations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/339},
}
Figure