Density-based Curriculum for Multi-goal Reinforcement Learning with Sparse Rewards

Deyu Yang, Hanbo Zhang, Xuguang Lan, Jishiyu DingarXiv 2021

Introduction

In the field of robotic reinforcement learning (RL), the "sparse reward" setting—where an agent only receives feedback upon successful task completion—is the most natural yet challenging environment for learning. This paper introduces a novel density-based curriculum designed to bridge the gap between an agent's current capabilities and complex target tasks. By leveraging Kernel Density Estimation (KDE), the proposed method identifies the "frontier" of an agent's abilities, enabling more efficient exploration and superior generalization compared to existing state-of-the-art methods.

Conceptual overview of the density-based goal selection process, highlighting the exploration frontier between achieved and desired distributions.

The Challenge of Sparse Rewards

Designing dense reward functions is notoriously difficult and often leads to unintended behaviors. While Hindsight Experience Replay (HER) allows agents to learn from failures by re-labeling them as goals, it struggles when desired goals are significantly distant from the agent's initial reach. Existing curriculum learning methods often fail by either exploring irrelevant regions (e.g., positions under a table) or becoming computationally prohibitive due to complex optimization requirements.

Proposed Method: Density-Based Exploration

The authors propose a three-pronged approach to guide robotic exploration effectively:

  1. Density-based Goal Selection: Using KDE, the system maps the distribution of achieved goals versus desired goals. It prioritizes exploration in low-density regions of the achieved space that overlap with high-entropy (uncertain) regions of the desired task space. This ensures the agent focuses on the "frontier" of its knowledge.
  2. Dynamic Exploration Setting: The agent initially focuses on these self-generated exploration goals, gradually shifting its focus back to the original task goals as its success rate improves.
  3. Goal and Transition Augmentation: To enhance generalization, the method creates synthetic goals near successful trajectories. This helps the agent understand that minor perturbations should not disrupt its policy, leading to more robust behavior.
System architecture of the proposed RL framework, integrating Kernel Density Estimation and goal augmentation into the training loop.

Experimental Evaluation

The method was evaluated using the MuJoCo physics engine on five challenging 7-DOF Fetch robotic arm tasks: FetchSlide-v1, FetchThrowBall-v1, FetchPush-Obstacle, FetchPnP-InAir, and FetchPnP-Obstacle. These tasks include significant modifications to standard benchmarks, such as physical barriers and varying heights, specifically designed to test the limits of traditional HER-based agents.

Key Insights and Results

  • Targeting the Frontier: A key finding is that targeting the "uncertain" boundaries of the task space is more effective than targeting the high-density "bullseye" of the desired distribution, which can lead to overfitting.
  • Performance and Efficiency: The proposed method achieved the highest success rates across all tasks, notably providing a 3x speedup in exploration efficiency for the complex FetchPnP-Obstacle task compared to competitors like HGG and OMEGA.
  • Computational Lightness: Unlike optimization-heavy curriculum methods that solve for Wasserstein Barycenters, KDE is computationally efficient, making the training process nearly as fast as standard HER.
  • Robustness: Ablation studies highlighted that Transition Augmentation was critical for tasks like throwing, where learning from the uncertain flight paths of objects is essential.

Conclusion and Future Work

This research demonstrates that a density-based curriculum can significantly enhance the learning of complex manipulation tasks under sparse rewards by focusing exploration on the most informative regions of the workspace. Future work will focus on extending this approach to image-based state representations and addressing the "sim-to-real" gap for deployment on physical hardware.

Summary updated

BibTeX
@misc{yang2021density,
  author = {Deyu Yang and Hanbo Zhang and Xuguang Lan and Jishiyu Ding},
  title = {{Density-based Curriculum for Multi-goal Reinforcement Learning with Sparse Rewards}},
  year = {2021},
  eprint = {2109.08903},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.08903},
}
Figure