Abstract
In Reinforcement Learning (RL), agents often struggle to learn from sparse rewards due to an imbalance in the replay buffer, where redundant failures dominate successful or novel experiences. This paper introduces Curiosity-Driven Prioritization (CDP), a framework that uses density estimation to identify and over-sample rare trajectories. By focusing on uncommon events rather than repetitive failures, RL agents achieve higher success rates and significantly improved sample efficiency in complex robotic environments.
Introduction
Reinforcement Learning typically relies on a replay buffer to store past experiences for training. However, in tasks with sparse rewards—such as a robot arm attempting to pick up an object—the agent may fail in identical ways for the vast majority of trials. Randomly sampling from this buffer leads to inefficient learning, as the agent repeatedly processes redundant information. While Prioritized Experience Replay (PER) addresses this by using Temporal Difference (TD) error, it is computationally intensive. CDP offers a more efficient alternative by prioritizing "rare" achieved goals, effectively mimicking human-like curiosity.
Methodology: Curiosity as Density
The core of the CDP framework is the use of a Variational Gaussian Mixture Model (V-GMM) to model the distribution of goal states reached by the agent.
- Density Estimation: The V-GMM estimates the density ($\rho$) of every trajectory in the memory buffer. A low density indicates a state configuration the agent has rarely reached.
- Prioritization: A "complementary density" ($\bar{\rho} \propto 1 - \rho$) is calculated to rank trajectories. Those with the lowest density—representing the most novel experiences—are given the highest priority for replay during training.
- Integration: CDP is a modular "plug-and-play" component, evaluated here alongside Deep Deterministic Policy Gradient (DDPG) and Hindsight Experience Replay (HER).
Experimental Evaluation
The researchers tested CDP using the OpenAI Gym robotic simulation environment across six challenging tasks involving high-dimensional continuous control. These included Fetch robotic arm tasks (Push, Slide, Pick & Place) and Shadow Dexterous Hand manipulations (Block, Egg, and Pen rotation).
Results and Discussion
CDP demonstrated substantial improvements in both final performance and learning speed. For instance, in the "Fetch Pick & Place" task, the success rate jumped from 39% (baseline DDPG) to approximately 76% with CDP.
Key findings include:
- Sample Efficiency: CDP improved sample efficiency by an average factor of 1.95x. In the "FetchPush" task, the agent reached a 99% success rate with only 112,100 samples, compared to 273,600 for the baseline.
- Computational Speed: CDP was found to be roughly four times faster than PER, as it only requires density updates once per epoch rather than after every gradient step.
- Learning Correlation: A strong Pearson correlation (~0.7) was observed between low-density trajectories and high TD-errors, confirming that rare experiences provide the most significant learning opportunities.
Conclusion
By formalizing curiosity as the inverse of state density, CDP enables RL agents to prioritize informative, rare experiences. This approach significantly mitigates the issues of memory imbalance and sparse rewards in robotic manipulation, providing a computationally efficient path to mastering complex control tasks.
Summary updated