Retrospective Analysis of the 2019 MineRL Competition on Sample Efficient Reinforcement Learning

Stephanie Milani, Nicholay Topin, Brandon Houghton, William H. Guss, Sharada P. Mohanty, Keisuke Nakata, Oriol Vinyals, Noboru Sean Kuno

Introduction

State-of-the-art Reinforcement Learning (RL) achievements, like AlphaStar or OpenAI Five, are famously "compute-hungry." They often require billions of frames of experience and massive server farms, creating a significant barrier to entry for most researchers. The 2019 MineRL competition was designed to bridge this "compute divide" by challenging researchers to train an agent to find a diamond in Minecraft using a strict budget of only 8 million samples—orders of magnitude fewer than typical deep RL successes.

Unlike simple grid worlds, Minecraft presents a "sparse reward" problem with a deep hierarchy. To get a diamond, an agent must first gather wood, craft a pickaxe, mine stone, craft a better pickaxe, find iron, smelt it, and finally mine the diamond. Solving this from scratch using standard RL is nearly impossible within a reasonable timeframe. The competition asked a critical question: Can we use human priors (demonstrations) to make RL drastically more sample-efficient?

Methods and Datasets

The competition enforced a strict 8-million-frame limit (roughly 110 hours of gameplay) and a 144-hour wall-clock time limit for training. To succeed, teams moved away from "pure" RL toward three main pillars:

  1. Imitation Learning (IL): Using a provided dataset of human play to bootstrap the agent's behavior.
  2. Hierarchical RL: Breaking the massive ObtainDiamond task into sub-policies (e.g., a "wood-cutting" policy vs. a "crafting" policy).
  3. Action Space Reduction: Minecraft has a complex action space. Every single top-nine team manually restricted the agent's possible actions (e.g., removing rarely used keys) to simplify the learning problem.

To support these methods, organizers provided the MineRL Dataset, a first-of-its-kind, large-scale dataset containing over 60 million frames of human trajectories in Minecraft, including video and recorded player actions. They also provided smaller "Gym" environments (like Treechop or ObtainIronPickaxe) to help participants develop sub-policies before tackling the full diamond quest.

In Round 2, the organizers tested generalization by retraining the agents from scratch on a "held-out" environment with perturbed action spaces and entirely new, unseen textures.

Examples of the modified textures used to test agent generalization.

Key Insights

  • Action Reduction is Universal: 100% of the top teams used action reduction. By simply pruning the "search space" of what the agent could do at any moment, they made the learning task significantly easier.
  • The Power of Human Priors: 78% of top teams leveraged human data. The most successful approach (Team CDS) used a "hierarchical deep Q-network with forgetting," which adaptively sampled expert demonstrations to guide the agent.
  • Imitation vs. Interaction: Interestingly, the second-place team (mc_rl) used only imitation learning with zero environment interaction during training. This earned them a special research prize for showing how far one can get just by "watching" humans.
  • Generalization is Hard: Scores dropped significantly when agents were moved to the "Test Texture" environment. This suggests that many agents were over-fitting to the specific visual look of standard Minecraft blocks rather than learning the underlying logic of the game.

Key Results

Despite the impressive progress in sample efficiency, no team successfully obtained a diamond during the evaluation phase.

Team progression along the Minecraft item hierarchy. No team successfully mined a diamond.

The top team (CDS) reached the penultimate step—obtaining the items required just before mining the diamond (an iron pickaxe).

However, the competition successfully forced participants to move away from "brute force" methods. The winning solutions were far more sample-efficient than standard baselines like Rainbow or PPO. Furthermore, the top team in Round 2 achieved a score of 61.61, significantly outperforming the Round 1 leader (48.42), even though Round 2 involved more difficult, randomized environments.

Limitations and Future Work

The authors acknowledge several hurdles moving forward:

  • Rule Enforcement: It was difficult to programmatically prevent teams from "hard-coding" domain knowledge (like specific crafting recipes). Future iterations plan to use "action obfuscation"—mapping actions to random IDs so agents can't rely on pre-defined meanings of "left" or "jump."
  • The Generalization Gap: The visual domain randomization (changing textures) proved very challenging. Future work will focus on making agents more robust to visual changes.
  • Task Complexity: Since the diamond remained elusive, the organizers plan to keep the ObtainDiamond task for future competitions, as it remains a true "Grand Challenge" for sample-efficient RL.

Summary updated

BibTeX
@inproceedings{milani2019retrospective,
  author = {Stephanie Milani and Nicholay Topin and Brandon Houghton and William H. Guss and Sharada P. Mohanty and Keisuke Nakata and Oriol Vinyals and Noboru Sean Kuno},
  title = {{Retrospective Analysis of the 2019 MineRL Competition on Sample Efficient Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure