[Paper Review] Learning Montezuma's Revenge from a Single Demonstration
The paper presents a reinforcement learning approach that starts each episode from states in a single demonstration to solve sparse-reward tasks like Montezuma's Revenge, achieving state-of-the-art score without imitation.
We propose a new method for learning from a single demonstration to solve hard exploration tasks like the Atari game Montezuma's Revenge. Instead of imitating human demonstrations, as proposed in other recent works, our approach is to maximize rewards directly. Our agent is trained using off-the-shelf reinforcement learning, but starts every episode by resetting to a state from a demonstration. By starting from such demonstration states, the agent requires much less exploration to learn a game compared to when it starts from the beginning of the game at every episode. We analyze reinforcement learning for tasks with sparse rewards in a simple toy environment, where we show that the run-time of standard RL methods scales exponentially in the number of states between rewards. Our method reduces this to quadratic scaling, opening up many tasks that were previously infeasible. We then apply our method to Montezuma's Revenge, for which we present a trained agent achieving a high-score of 74,500, better than any previously published result.
Motivation & Objective
- Motivate solving hard exploration tasks with sparse rewards.
- Avoid imitation by directly optimizing rewards via demonstration-guided curricula.
- Show that resetting to demonstration states reduces exploration from exponential to quadratic in difficulty.
- Demonstrate scalability and effectiveness on Montezuma's Revenge compared to prior methods.
Proposed method
- Construct a curriculum by starting episodes from demonstration states and gradually moving resets toward the beginning of the demonstration.
- Use multiple parallel rollout workers sharing an RL policy to collect data and a central optimizer to update the policy.
- Initialize RNN policy hidden states from demonstration segments while masking those transitions in training.
- Apply an off-the-shelf RL algorithm (e.g., PPO, A3C, Impala) for policy updates.
- Dynamically adjust the reset point based on the fraction of rollouts beating the demonstration, with threshold ρ.
- Train the agent to beat the demonstration score by progressively returning to earlier demonstration states.
Experimental results
Research questions
- RQ1Can starting episodes from demonstration states enable effective learning in sparse-reward environments like Montezuma's Revenge?
- RQ2Does a demonstration-guided curriculum reduce exploration complexity from exponential to a more tractable growth?
- RQ3How does the approach compare to imitation-based methods in terms of final performance and robustness to suboptimal demonstrations?
- RQ4What are the scalability and practical requirements (e.g., compute, network architecture) for training such agents on Atari-level tasks?
Key findings
- The method achieves a final Montezuma's Revenge score of 74,500, higher than previously published results.
- In a toy blind cliff walk, starting from demonstration states reduces exploration complexity from exponential to quadratic.
- The agent can surpass the demonstration score by collecting additional diamonds and discovering new paths (e.g., a key reappearance).
- Training used 128 GPUs over ~2 weeks, with the curriculum moving the reset point from the end toward the beginning of the demonstration.
- The approach learns without hard imitation, optimizing returns directly and potentially discovering novel strategies.
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.