Introduction
Reinforcement Learning (RL) has achieved remarkable success in environments with dense feedback, such as Go or Chess. However, "sparse reward" environments—where an agent may perform thousands of actions without receiving a single positive signal—remain a significant hurdle. Standard exploration techniques, such as $\epsilon$-greedy strategies, often fail in these high-dimensional spaces because the probability of stumbling upon a reward by chance is infinitesimally small.
To address this, researchers have turned to intrinsic rewards, or "curiosity," to incentivize agents to explore novel states. However, existing curiosity-driven methods face several challenges. Count-based methods do not scale to high-dimensional image inputs. Prediction-based methods, like Random Network Distillation (RND), can be susceptible to noise or fail to distinguish between meaningful novelty and trivial pixel changes. Variational Autoencoder (VAE) approaches often suffer from "blurry" reconstructions, which degrades the quality of the novelty signal. This paper introduces Adventurer, an algorithm designed to overcome these limitations using Bidirectional Generative Adversarial Networks (BiGANs).
The Adventurer Framework
Adventurer integrates a BiGAN into the RL training loop, specifically utilizing Proximal Policy Optimization (PPO) as the underlying policy gradient method. The core innovation lies in how the BiGAN is used to generate a more robust "novelty score."
Unlike standard GANs, a BiGAN simultaneously trains an encoder and a generator. This allows the agent to map a state to a latent representation and then attempt to reconstruct it. Because BiGANs are known for producing sharper, more accurate reconstructions of complex image distributions compared to VAEs, the "error" on unknown states becomes a much clearer signal for exploration.
Dual-Layer Novelty Score
Adventurer calculates novelty using a combination of two components to solve the "near-visited" problem—where minor environmental noise (like a shifting shadow) is mistaken for true novelty:
- Pixel-level Reconstruction ($L_G$): The raw difference between the original state and the reconstructed state. This captures fine-grained changes.
- Feature-level Matching ($L_D$): The difference between the internal features of the BiGAN’s discriminator when processing real versus reconstructed states. This ensures that if the underlying features are familiar, the agent does not waste time on trivial pixel variations.
Episodic Memory and Resettability
In environments that allow "resettability" (common in simulations), Adventurer maintains an episodic memory of the most novel states found so far. The agent can choose to start new training episodes from these high-novelty locations, effectively pushing the frontier of exploration further into the environment rather than repeatedly traversing known territory from a fixed starting point.
Experimental Evaluation
The authors validated Adventurer across three distinct types of challenges to test its versatility and efficiency.
- CIFAR-10: Used as a controlled environment to prove that the BiGAN novelty score correctly decreases as the agent "sees" more images of a certain class, confirming the reliability of the signal.
- MuJoCo (Robotics): In continuous control tasks like FetchPickAndPlace, Adventurer reached a 40% success rate in just 100,000 samples. In contrast, standard PPO required 400,000 samples to reach the same milestone, representing a 4x increase in sample efficiency.
- Atari Games: On "hard exploration" games such as Montezuma’s Revenge and Gravitar, Adventurer outperformed the previous state-of-the-art (RND) by more than 20% in both resettable and non-resettable settings.
Key Insights
The research highlights that generative superiority is a major factor in exploration success. Because BiGANs model complex image distributions more effectively than VAEs, they provide a more stable and less noisy learning curve. Furthermore, the inclusion of the discriminator's feature matching ($L_D$) acts as a critical filter, preventing the agent from being distracted by "noisy" states that lack structural novelty.
Limitations and Future Work
While Adventurer represents a significant step forward, it faces certain challenges:
- Computational Overhead: Training a BiGAN alongside an RL agent is computationally intensive, necessitating future work into optimization.
- Long-term Reasoning: In games like Solaris, where rewards are extremely delayed, novelty alone is insufficient. Agents likely need better mechanisms for reasoning about long-term sequences of events.
- Hyperparameter Tuning: The balance between pixel-level and feature-level scores currently requires manual tuning, which the authors hope to automate in future iterations.
Conclusion
Adventurer demonstrates that BiGAN-driven curiosity provides a more accurate and stable novelty signal for reinforcement learning in sparse-reward environments. By combining pixel-level accuracy with high-level feature matching, it allows agents to navigate complex, high-dimensional spaces with unprecedented efficiency.
Summary updated