TL;DR
The MineRL 2020 competition aimed to foster the development of robust, domain-agnostic, and sample-efficient reinforcement learning (RL) algorithms. By introducing novel mechanisms like action/observation obfuscation and mandatory retraining, they successfully encouraged submissions that generalized better and were more reproducible than in previous competitions.
What Problem Does This Paper Address?
Reinforcement learning (RL) competitions have been instrumental in driving progress in the field, serving as benchmarks and catalysts for new algorithms. However, traditional competition formats often suffer from several critical issues:
- Domain Specificity: Winning solutions tend to be highly specialized to the competition's specific environment, limiting their broader applicability.
- Computational Demands: Top-performing agents often require immense computational resources for training and hyperparameter tuning, creating an uneven playing field and hindering reproducibility.
- Lack of Reproducibility: Submissions might not share their training code or rely on hard-coded features, making it difficult for others to replicate or build upon their work.
- Overfitting to Specifics: Competitions that don't encourage generalization can lead to participants exploiting specific environmental quirks rather than developing fundamentally novel algorithms.
These limitations create a gap between the impressive performance achieved in simulated environments and the practical utility of these RL agents in real-world, diverse, and resource-constrained scenarios.
Methods
The MineRL 2020 competition introduced several key design principles to address the aforementioned problems:
- Submission Retraining: To ensure submissions adhere to compute and sample limits, participants' code was retrained from scratch by the organizers in a second round. This also inherently promotes reproducibility.
- Domain Randomization: During the retraining phase (Round 2), the environment's textures, action effects, and game dynamics were randomized. This penalizes solutions that rely on specific environmental features and encourages more robust algorithms.
- Action and Observation Space Obfuscation: This was a novel mechanism designed to prevent domain-specific strategies and feature engineering. A randomized, volume-preserving embedding was learned to map semantically labeled actions and observations into a compact feature vector space. This forces agents to learn from a more abstract representation, making them agnostic to the specific semantics of the original environment.
- Human Priors (Demonstration Data): A large dataset of human demonstrations was provided to facilitate imitation learning, which can significantly reduce the sample requirements for training.
- Compute and Sample Budget Limits: Strict limits were imposed on the hardware, compute time, and number of environment samples allowed for training, democratizing access to the competition and promoting sample efficiency.
Datasets
- MineRL-v0 Human Demonstration Dataset: A dataset of 60 million frames from human gameplay was provided to participants. This dataset is crucial for enabling imitation learning techniques.
- MineRL ObtainDiamond Environment: This is the primary benchmark environment for the competition, set in Minecraft. It presents a complex, long time-horizon task requiring agents to obtain a diamond.
Key Insights and Ideas
- Obfuscation as a Game Changer: The action/observation space obfuscation was particularly effective in preventing "action shaping" and feature engineering, a common pitfall in previous competitions. This forced participants to develop more generalizable solutions.
- Retraining for Reproducibility: The mandatory retraining phase proved crucial for ensuring that submissions were not only performant but also reproducible and adhered to resource constraints.
- Minecraft as a Rich Benchmark: The complexity and procedural generation of Minecraft make it an excellent environment for testing robust and generalizable RL agents, mirroring challenges found in real-world robotics.
- Human Priors Accelerate Learning: The availability of human demonstration data significantly lowered the barrier to entry and enabled sample-efficient learning, especially for imitation learning-focused approaches.
Key Results
- Improved Robustness: Many top-performing algorithms from Round 1 also performed well in Round 2, despite the domain randomization, indicating increased robustness.
- Reproducible and Resource-Efficient Submissions: The competition design successfully yielded submissions that were certifiably reproducible and adhered to compute/sample limits.
- Emergence of Common Techniques: The obfuscation technique led to a common strategy among top teams: K-means clustering of the expert action space.
- Performance Comparison: While overall scores in Round 2 were lower than in the previous year's competition (average top 9 scores: 16.42 vs. 25.84), this is attributed to the increased difficulty and focus on generalization rather than simply exploiting the environment.
Limitations and Future Work
- Minecraft Domain Limitation: The competition is still limited to the Minecraft domain. While domain randomization helps, participants may still leverage implicit knowledge of Minecraft mechanics. Future work could involve training against a different domain using the autoencoder-based obfuscation technique to promote even greater domain agnosticism.
- Pixel Observation Subspace: The obfuscation did not include the pixel observation subspace. This choice was made to encourage research on learning from pixels, a challenging but crucial area in deep RL. Future work could explore extending obfuscation to this subspace.
Summary updated