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.
CDE: Curiosity-Driven Exploration for Efficient Reinforcement Learning in Large Language Models
Tencent AI Lab(腾讯AI实验室);Tencent Multimodal Department(腾讯多模态部门);University of North Carolina at Chapel Hill(北卡罗来纳大学夏洛特分校);University of Virginia(弗吉尼亚大学);University of Maryland, College Park(马里兰大学学院公园分校)
Pixel Reasoner: Incentivizing Pixel-Space Reasoning with Curiosity-Driven Reinforcement Learning
University of Waterloo(多伦多大学);Hong Kong University of Science and Technology(香港科技大学);University of Science and Technology of China(中国科学技术大学);Vector Institute(向量研究所)