Introduction
In Reinforcement Learning (RL), agents must navigate the fundamental trade-off between exploitation (leveraging known high-reward actions) and exploration (searching for new knowledge). Traditional deep RL agents often rely on $\epsilon$-greedy strategies, which select random actions with a small probability. While effective in simple environments, this approach fails in "sparse reward" scenarios—complex worlds where a long, specific sequence of actions is required to receive any feedback. In such cases, random wandering is statistically unlikely to reach the goal. This paper proposes an "informed exploration" framework that mimics human-like behavior by intentionally seeking out novel, unvisited states.
Methodology
The proposed framework enables an agent to "hallucinate" potential futures and evaluate their novelty before committing to an action. This is achieved through a three-part system.
Action-Conditional Prediction
The agent first learns a transition model. Given the current state (represented as image frames) and a potential action, the model predicts the subsequent frame. This allows the agent to perform "roll-outs," simulating the environment several steps into the future without actually taking the actions.
State Hashing and Density Estimation
To quantify novelty, the agent must track how often it has visited specific states. Because raw pixel data is too high-dimensional and sensitive to minor changes, the authors utilize a Convolutional Autoencoder to compress images into latent features. These features are then processed via Locality Sensitive Hashing (LSH) to generate compact binary codes stored in a hash table.
Informed Decision Making
The "secret sauce" of this method is the integration of prediction and hashing. During exploration, the agent simulates the future for every possible action. It calculates a "novelty score" based on the hash counts of these predicted futures. To ensure that blurry predicted frames are hashed similarly to sharp real frames, a "code matching loss" is used during autoencoder training to align their latent representations.
Experimental Results
The framework was evaluated on the Arcade Learning Environment (ALE) across several Atari 2600 games known for difficult exploration. The proposed method, DQN-Informed-Hash, demonstrated significant improvements over standard DQN and other advanced baselines:
- Freeway: Achieved a score of 33.92, whereas standard A3C failed to score (0), demonstrating the necessity of informed exploration in sparse-reward tasks.
- Frostbite: Scored 1812.10, nearly six times higher than the random exploration baseline of 328.3.
- Ms-Pacman: Reached 3526.60, significantly outperforming previous state-of-the-art informed exploration methods (2522).
Conclusion
By combining action-conditional frame prediction with robust state hashing, this research provides a computationally efficient way to implement count-based exploration in high-dimensional spaces. While the computational cost of simulating multiple futures remains a challenge for scaling to continuous action spaces, the results in discrete Atari environments show that "hallucinating" novelty is a powerful tool for solving complex, sparse-reward problems.
Summary updated