Reinforcement Learning (RL) agents frequently struggle in "sparse reward" environments, where positive signals—like finding food or reaching a final goal—occur very rarely. To overcome this, researchers often augment the agent with a "curiosity" bonus, providing an internal reward for exploring novel states.
However, most modern curiosity formulations are based on surprise: the agent is rewarded when it cannot predict the next state. This leads to a critical vulnerability known as the "couch-potato" problem. Imagine an agent navigating a maze that contains a television and a remote control. If the TV displays random, unpredictable images, a surprise-based agent will stay glued to the screen forever. Because the next frame is always "novel" and unpredictable, the agent receives a constant stream of curiosity rewards, halting any productive exploration of the maze.
This paper introduces a novel curiosity-driven exploration method that solves this problem by rewarding agents for reaching states that are "far" from their current episodic memory. By defining novelty through reachability—the number of steps required to transition between states—the authors create an agent that is robust to stochastic "distractors" and significantly outperforms prior state-of-the-art curiosity methods in sparse-reward 3D environments.
Methods: Episodic Curiosity (EC)
The authors propose Episodic Curiosity (EC), a framework that uses an episodic memory buffer to track where the agent has recently been, evaluating new observations based on how much effort it takes to reach them from known states.
- Reachability Network: The core of the system is a Siamese neural network (the R-network) trained to predict if two observations are "reachable" within a small number of steps ($k$). This network consists of an embedding network that maps raw images to dense vectors, and a comparator network that predicts the reachability between two embeddings.
- Episodic Memory: At the start of each episode, the agent begins with an empty memory buffer. As it navigates the environment, it stores the embeddings of its past observations.
- Novelty Bonus: At each step, the agent compares its current observation to the contents of its memory. If the current state takes many steps to reach from any state currently in memory, it is deemed genuinely "novel," and the agent receives a reward bonus.
- The "Couch Potato" Fix: Because the agent learns the environment's dynamics, it knows that a random TV channel change is only one action away. It realizes the new, unpredictable image is highly "reachable" from the previous state, and thus not novel. This effectively prevents the agent from getting trapped by easy-to-trigger stochastic events.
Key Insights and Ideas
- Reachability as a Proxy for Effort: Unlike prediction error, reachability is grounded in the actual physical dynamics of the environment. If a state is "far" in terms of required action steps, reaching it represents a genuine expansion of the explored frontier.
- Episodic vs. Global Novelty: By wiping the memory clean at the start of every episode, the agent is encouraged to thoroughly explore its immediate surroundings every time. This is crucial for navigating procedurally generated or randomized layouts.
- Robustness to Stochasticity: The core "aha moment" of the paper is that reachability naturally filters out "white noise." Even if a TV screen is unpredictable, the fact that you can reach any TV state in one click makes it "boring" to a reachability-based agent.
- 90th Percentile Aggregation: When comparing a new state to the memory buffer, the authors found that using the 90th percentile of similarity scores (rather than the absolute maximum) made the system significantly more robust to outliers and minor neural network errors.
Experimental Results
The method was rigorously evaluated on visually rich 3D environments, including VizDoom (static mazes), DeepMind Lab (procedurally generated key-door puzzles), and MuJoCo (continuous control locomotion).
- Faster Convergence: In VizDoom goal-reaching tasks, the EC agent reached 100% success rates at least 2x faster than the previous state-of-the-art Intrinsic Curiosity Module (ICM).
- Superior Exploration: In DeepMind Lab environments with no external rewards, the EC agent covered 4x more area than ICM, demonstrating vastly superior intrinsic motivation.
- Handling Distractors: When a "randomized TV" distractor was added to the environment, ICM's performance collapsed as it became fixated on the noise. The EC agent remained largely unaffected, ignoring the TV and continuing to solve the task.
- Locomotion from Curiosity: In the MuJoCo "Ant" environment, the agent learned to walk and explore its surroundings using only the curiosity bonus, without any predefined external reward for moving forward.
Limitations and Future Work
While highly effective, the approach has a few limitations. The authors utilized a simple random replacement strategy for the episodic memory, but more sophisticated memory management might be required for extremely long episodes. Additionally, the reachability network must be trained on environment dynamics; while it generalizes across different DeepMind Lab levels, its performance across vastly different physics engines or action spaces remains an open question. Future work may also focus on making the policy "aware" of the memory content, allowing it to actively guide navigation toward unexplored regions rather than just passively receiving rewards.
Summary updated