[Paper Review] Scaling Imitation Learning in Minecraft
This paper presents a strong imitation learning framework for mastering complex, sparse-reward tasks in Minecraft, such as crafting an iron pickaxe, using expert demonstrations and architectural innovations. It achieves state-of-the-art performance—74.5 average return on ObtainIronPickaxe—by combining Deep Impala networks, cross-entropy loss, data augmentation, and Treechop demonstration data, outperforming prior methods and reinforcement learning baselines.
Imitation learning is a powerful family of techniques for learning sensorimotor coordination in immersive environments. We apply imitation learning to attain state-of-the-art performance on hard exploration problems in the Minecraft environment. We report experiments that highlight the influence of network architecture, loss function, and data augmentation. An early version of our approach reached second place in the MineRL competition at NeurIPS 2019. Here we report stronger results that can be used as a starting point for future competition entries and related research. Our code is available at https://github.com/amiranas/minerl_imitation_learning.
Motivation & Objective
- To address the sample inefficiency of reinforcement learning in sparse-reward, high-action-space environments like Minecraft.
- To evaluate how network architecture, loss functions, and data augmentation affect imitation learning performance in image-based, 3D environments.
- To establish a strong baseline for future MineRL competition entries and research in imitation learning for immersive environments.
- To demonstrate that imitation learning can achieve near-optimal performance without environment interaction during training.
Proposed method
- The method uses expert demonstration data from the MineRL-v0 dataset, consisting of over 500 hours of human trajectories for the ObtainIronPickaxe task.
- A Deep Impala neural network architecture is employed with input observations from the first-person view and resource inventory, processed through a convolutional encoder and recurrent processing.
- The policy is trained using cross-entropy loss on expert actions, with additional data augmentation including image flipping, brightness adjustment, sharpness, contrast, and posterization.
- The approach incorporates additional Treechop demonstration data to improve generalization and performance on related subtasks.
- Performance is evaluated via average return over 100 test episodes, with results averaged across multiple training runs and standard deviation reported.
- The method is compared to DQfD and Rainbow RL agents to assess relative performance in sparse-reward settings.
Experimental results
Research questions
- RQ1How do different neural network architectures (e.g., DQN, Impala, Deep Impala) affect imitation learning performance in Minecraft?
- RQ2What is the impact of data augmentation techniques (e.g., flipping, brightness, contrast) on policy generalization and final performance?
- RQ3How do different loss functions (cross-entropy vs. margin loss) influence policy stability and return in imitation learning?
- RQ4Can imitation learning outperform reinforcement learning in sparse-reward, high-observation environments like Minecraft?
- RQ5How does incorporating additional demonstration data from related tasks (e.g., Treechop) improve performance on the target task?
Key findings
- The Deep Impala network with cross-entropy loss and full data augmentation (flipping, brightness, rectangle removal) achieved the highest average return of 53.4 ± 7.5 on the ObtainIronPickaxe task.
- The best-performing policy, using cross-entropy loss and Treechop demonstration data, reached an average return of 74.5 across three training runs, significantly outperforming the earlier competition entry (42.4) and the top RL baseline.
- Data augmentation, particularly image flipping and brightness adjustment, improved performance from 49.7 ± 2.0 to 53.4 ± 7.5, indicating strong generalization benefits.
- The cross-entropy loss with argmax action selection outperformed both margin loss and combined loss (margin + TD), suggesting that pure imitation is more effective than hybrid DQfD-style training in this setup.
- Imitation learning achieved near-optimal performance after only 50,000 training steps, while Rainbow RL failed to achieve non-zero rewards on two of three training runs, highlighting the sample efficiency of imitation learning.
- The policy could successfully reach the stone pickaxe in 82% of episodes and occasionally obtain iron ingots, but crafting an iron pickaxe remained rare (1% success rate), indicating persistent challenges in long-horizon, sequential decision-making.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.