Research Article

A Survey on Hindsight Experience Replay for Sparse Reward Problems

Yuhan Song*
Central University of Finance and Economics

* Corresponding author: [email protected]

Abstract

Sparse reward is a critical problem in reinforcement learning (RL), where agents receive sparse or delayed rewards, which can drastically affect exploration and learning efficiency. This problem results in inefficient learning, increased sample complexity and credit assignment problems. There are several proposed methods to overcome these issues, such as reward shaping, intrinsic motivation, hierarchical reinforcement learning, and imitation learning. But many of these techniques require extra information or lack scalability. Hindsight Experience Replay (HER) is a simple yet powerful alternative which relabels goals and treats unsuccessful trajectories as a success under different goals. This allows agents to increase their sample efficiency by learning from nearly all past experiences, which is particularly beneficial for goal-oriented tasks like robotics manipulation and navigation. This paper examines the sparse reward problem and its current understandings, specifically HER and its variants. It also outlines recent advances, and proposes some future directions for research. Recent works have also examined the combination of HER and other methods to enhance HER's efficacy when dealing with more complex problems.

Keywords: Sparse reward problem; Hindsight Experience Replay; Reinforcement Learning; Exploration strategies.
Published: May 18, 2026
DOI: 10.54254/2755-2721/2026.GU33500
Volume: ACE Vol.240
pp. 72-77
Download PDF

References

  1. Sutton, R.S., & Barto, A.G. (1998). Reinforcement Learning: An Introduction. IEEE Transactions on Neural Networks, 9, 1054-1054, doi: 10.1109/TNN.1998.712192.
  2. Li, Y. (2017). Deep Reinforcement Learning: An Overview. arXiv (Cornell University). https: //doi.org/10.48550/arxiv.1701.07274
  3. Ladosz, P., Weng, L., Kim, M., & Oh, H. (2022). Exploration in deep reinforcement learning: A survey. Ithaca. doi: https: //doi.org/10.1016/j.inffus.2022.03.003
  4. Andrychowicz, M., Wolski, F., Ray, A., Schneider, J., Fong, R., Welinder, P., McGrew, B., Tobin, J., Abbeel, P., & Zaremba, W. (2018). Hindsight experience replay. arXiv. https: //doi.org/10.48550/arXiv.1707.01495
  5. Bellman, R. (1957). A Markovian decision process. Indiana University Mathematics Journal, 6(4), 679–684.
  6. Ng, A.Y., Harada, D., & Russell, S.J. (1999). Policy invariance under reward transformations: Theory and application to reward shaping. Proceedings of the Sixteenth International Conference on Machine Learning, 278–287.
  7. Ostrovski, G., Bellemare, M.G., van den Oord, A., & Munos, R. (2017). Count-based exploration with neural density models. Proceedings of the 34th International Conference on Machine Learning, 2721–2730.
  8. Pathak, D., Agrawal, P., Efros, A. A., & Darrell, T. (2017). Curiosity-driven exploration by self-supervised prediction. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 488–489. https: //doi.org/10.1109/CVPRW.2017.70
  9. Machado, M.C., Bellemare, M.G., & Bowling, M.H. (2018). Count-Based Exploration with the Successor Representation. AAAI Conference on Artificial Intelligence
  10. Achiam, J., & Sastry, S. (2017). Surprise-based intrinsic motivation for deep reinforcement learning (arXiv: 1703.01732). arXiv. https: //arxiv.org/abs/1703.01732
  11. Pateria, S., Subagdja, B., Tan, A.-h., & Quek, C. (2021). Hierarchical reinforcement learning: A comprehensive survey. ACM Computing Surveys (CSUR), 54(5), Article 109. https: //doi.org/10.1145/3453160
  12. Hussein, A., Gaber, M. M., Elyan, E., & Jayne, C. (2017). Imitation learning: A survey of learning methods. ACM Computing Surveys (CSUR), 50(2), Article 21.
  13. Ding, Y., Florensa, C., Phielipp, M., & Abbeel, P. (2019). Goal-conditioned imitation learning. In Advances in Neural Information Processing Systems (NeurIPS), 15324–15335.
  14. Bai, C., Zhang, Y., Chen, Y., & Xu, W. (2023). Addressing hindsight bias in multigoal reinforcement learning. IEEE Transactions on Cybernetics, 53(1), 392-405. https: //doi.org/10.1109/TCYB.2021.3107202
  15. Nair, A., McGrew, B., Andrychowicz, M., Zaremba, W., & Abbeel, P. (2017). Overcoming exploration in reinforcement learning with demonstrations. arXiv. https: //doi.org/10.48550/arXiv.1709.10089