Curiosity-Driven Reinforcement Learning from Human Feedback

Haoran Sun, Yekun Chai, Shuohuan Wang, Yu Sun, Hua Wu +1 more
1/20/2025
cs.CL

Official code: ernie-research/CD-RLHF (16 stars, MIT, last commit 2025-06-22).

Abstract

Reinforcement learning from human feedback (RLHF) has proven effective in aligning large language models (LLMs) with human preferences, but often at the cost of reduced output diversity. This trade-off between diversity and alignment quality remains a significant challenge. Drawing inspiration from curiosity-driven exploration in reinforcement learning, we introduce curiosity-driven RLHF (CD-RLHF), a framework that incorporates intrinsic rewards for novel states, alongside traditional sparse extrinsic rewards, to optimize both output diversity and alignment quality. We demonstrate the effectiveness of CD-RLHF through extensive experiments on a range of tasks, including text summarization and instruction following. Our approach achieves significant gains in diversity on multiple diversity-oriented metrics while maintaining alignment with human preferences comparable to standard RLHF. We make our code publicly available at https://github.com/ernie-research/CD-RLHF.

View on arXivView PDF

Code Implementations(1)

MIT

[ACL'25] Official code of curiosity-driven RLHF

161Shell, PythonDec 12, 20241 years agoMIT

Similar Papers

Cite this paper

@article{sun2025curiositydriven,
  title  = {Curiosity-Driven Reinforcement Learning from Human Feedback},
  author = {Haoran Sun and Yekun Chai and Shuohuan Wang and Yu Sun and Hua Wu and Haifeng Wang},
  year   = {2025},
  eprint = {2501.11463},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.11463v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.11463.svg)](https://codeofpaper.com/paper/2501.11463)

Discussion