The Challenge of Specification Gaming
Specifying reward functions for AI systems by hand often leads to "specification gaming"—a scenario where an agent finds a loophole to maximize its score without actually completing the intended task (e.g., a racing bot that drives in circles to collect power-ups instead of finishing the race).
To build agents that actually do what designers intend, researchers are turning to Learning from Human Feedback (LfHF), where agents learn from demonstrations, preferences, or corrections rather than programmatic rewards. However, prior to this competition, there was a lack of benchmarks testing LfHF techniques in complex, sequential decision-making environments.
The 2021 MineRL BASALT competition addressed this gap by challenging participants to solve four open-world Minecraft tasks defined only by natural language descriptions, forcing reliance on human feedback.
Competition Design and Methods
The organizers designed four Minecraft tasks: FindCave, MakeWaterfall, CreateVillageAnimalPen, and BuildVillageHouse. Because there were no programmatic reward functions, submitted agents were evaluated entirely by human contractors who watched pairs of agent rollouts and judged which agent better completed the task. These pairwise comparisons were aggregated into a global ranking using the TrueSkill rating system.
Participants were provided with a dataset of human demonstrations for each task and were free to use any LfHF approach. The top three winning teams utilized vastly different methods:
- 1st Place (KAIROS): A hybrid intelligence approach. They used a state-machine to orchestrate subtasks. Some subtasks were learned via behavioral cloning (e.g., navigation), while others were human-engineered scripts triggered by a custom-trained CNN state classifier (e.g., throwing a snowball to end the episode when inside a cave).
- 2nd Place (Obsidian): A pure imitation learning approach using a novel algorithm called Inverse Q-Learning (IQ-Learn) paired with an LSTM policy. IQ-Learn learns a Q-function directly from human demonstrations without the complex, nested adversarial training loops used in traditional Inverse Reinforcement Learning.
- 3rd Place (NotYourRL): A combination of Deep Q-learning from Demonstrations (DQfD) and reward modeling. They trained a reward model based on trajectory preferences and used it to guide the Q-learning agent.
Key Insights and Results
Despite using radically different paradigms (hybrid engineering, pure imitation learning, and preference-based reward modeling), the final aggregated scores of the top three teams were remarkably close.
Interestingly, each of the top three teams performed best on a different task. This validated the organizers' task design, showing that the suite captured a wide variety of requirements that forced different algorithmic trade-offs.
- KAIROS won 1st place with an average normalized TrueSkill score of 0.67, heavily dominating the
MakeWaterfalltask (score: 2.81). - Obsidian took 2nd place (average: 0.61), performing best on the
FindCavetask (score: 1.07). - NotYourRL took 3rd place (average: 0.55), excelling at the
AnimalPentask (score: 1.59). - The
BuildVillageHousetask proved too difficult for current methods; all teams scored near zero, failing to significantly beat the baseline.
Limitations and Future Work
Evaluating agents via human pairwise comparisons allowed the organizers to enforce a very relaxed rule set—if an agent visually accomplished the task, it counted. However, this method introduced noise when agents behaved similarly, and made it impossible to compare scores objectively across different iterations of the competition. Furthermore, participants found it incredibly hard to iterate on their agents; without a ground-truth reward function, it is highly difficult to automatically evaluate if a code tweak actually improved the agent's behavior during development.
The competition attracted ~300 registered participants, but only 10 teams submitted to all required tasks. The authors attribute this drop-off to a clunky submission system, the inherent difficulty of evaluating LfHF agents locally, and a noisy public leaderboard that failed to provide reliable intermediate feedback.
For future iterations, the organizers recommend:
- Allocating at least 3 months strictly for human evaluation.
- Fixing the public leaderboard to accurately track rankings, or removing it entirely to prevent misleading feedback.
- Lowering the barrier to entry by providing a wider variety of baselines and better tutorials to encourage diverse algorithmic exploration.
Summary updated