GCHR : Goal-Conditioned Hindsight Regularization for Sample-Efficient Reinforcement Learning

Xing Lei, Wenyan Yang, Kaiqiang Ke, Shentao Yang, Xuetao Zhang, Joni Pajarinen, Donglin WangarXiv 2025 · DOI

Introduction

In Goal-Conditioned Reinforcement Learning (GCRL), agents are tasked with reaching specific target states. A primary challenge in this domain is the sparse reward problem: agents often receive feedback only upon perfect task completion, leading to inefficient exploration. While Hindsight Experience Replay (HER) and its variants have mitigated this by relabeling failed trajectories with achieved goals, they often overlook the rich reachability information present in intermediate steps. This paper introduces Goal-Conditioned Hindsight Regularization (GCHR) to more effectively exploit past experiences and improve sample efficiency.

Methodology: Hindsight Regularization

GCHR enhances off-policy RL algorithms by incorporating two distinct regularization terms that guide the agent's policy using past successes.

Conceptual comparison between self-imitation action prior (HSR) and hindsight goal prior (HGR).
  1. Hindsight Self-imitation Regularization (HSR): This term acts as a behavioral cloning prior. It encourages the agent to repeat actions that previously led to a successful goal $g'$ from state $s$.
  2. Hindsight Goal Regularization (HGR): This is the core innovation. Unlike HSR, which is limited to observed actions, HGR leverages the agent's current policy to estimate how to reach any intermediate goal visited during a trajectory. By minimizing the KL-divergence between the current policy and these priors, the agent effectively "stitches" together successful sub-paths to reach more distant, complex targets.

Experimental Setup

The authors evaluated GCHR on high-dimensional robotic benchmarks from OpenAI Gym:

  • Fetch Tasks: Includes Reach, Push, Slide, and Pick-and-Place using a 7-DoF robotic arm.
  • Shadow Hand Tasks: Complex 20-DoF dexterous manipulation tasks, including HandReach and various block rotation challenges.

Key Results and Insights

GCHR demonstrates superior performance and sample efficiency across all tested environments.

Success rates on FetchReach and HandReach tasks comparing GCHR against baselines.
  • Significant Performance Gains: In the challenging HandReach task, GCHR achieved a success rate of 75.5%, vastly outperforming the DDPG+HER baseline, which only reached 23.4%.
  • Improved Sample Efficiency: On the FetchPush task, GCHR required approximately 1.5x fewer samples than competitive baselines to reach a 45% success rate (4,000 vs. 6,000 samples).
  • Robustness and Exploration: The method's use of a distribution-based prior (KL-divergence) makes it more resilient to environmental noise compared to exact-action imitation methods. Visualization in maze environments further confirmed that GCHR facilitates better exploration of distant state spaces.

Conclusion

GCHR provides a simple yet powerful framework for improving GCRL by better utilizing hindsight information. By combining self-imitation with a policy-based goal prior, it creates an implicit curriculum that accelerates learning in complex robotic tasks. While extremely high-dimensional rotation tasks remain a challenge, GCHR sets a new state-of-the-art for sample-efficient goal-conditioned learning.

Summary updated

BibTeX
@misc{lei2025gchr,
  author = {Xing Lei and Wenyan Yang and Kaiqiang Ke and Shentao Yang and Xuetao Zhang and Joni Pajarinen and Donglin Wang},
  title = {{GCHR : Goal-Conditioned Hindsight Regularization for Sample-Efficient Reinforcement Learning}},
  year = {2025},
  eprint = {2508.06108},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.06108},
}
Figure