RRHF: Rank Responses to Align Language Models with Human Feedback
Hongyi Yuan, Zheng Yuan, Chuanqi Tan, Wei Wang, Songfang Huang, Fei Huang
摘要
Reinforcement Learning from Human Feedback (RLHF) facilitates the alignment of large language models with human preferences, significantly enhancing the quality of interactions between humans and models. InstructGPT implements RLHF through several stages, including Supervised Fine-Tuning (SFT), reward model training, and Proximal Policy Optimization (PPO). However, PPO is sensitive to hyperparameters and requires multiple models in its standard implementation, making it hard to train and scale up to larger parameter counts. In contrast, we propose a novel learning paradigm called RRHF, which scores sampled responses from different sources via a logarithm of conditional probabilities and learns to align these probabilities with human preferences through ranking loss. RRHF can leverage sampled responses from various sources including the model responses from itself, other large language model responses, and human expert responses to learn to rank them. RRHF only needs 1 to 2 models during tuning and can efficiently align language models with human preferences robustly without complex hyperparameter tuning. Additionally, RRHF can be considered an extension of SFT and reward model training while being simpler than PPO in terms of coding, model counts, and hyperparameters. We evaluate RRHF on the Helpful and Harmless dataset, demonstrating comparable alignment performance with PPO by reward model score and human labeling. Extensive experiments show that the performance of RRHF is highly related to sampling quality which suggests RRHF is a best-of-n learner. Codes are released at https://github.com/GanjinZero/RRHF . 2 https://openai.com/blog/introducing-chatgpt-and-whisper-apis
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 92 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scaling Laws for Reward Model Overoptimization 引用了 Language Models are Few-Shot Learners
- Scaling Laws for Reward Model Overoptimization 引用了 Training language models to follow instructions with human feedback
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning 引用了 SimPO: Simple Preference Optimization with a Reference-Free Reward
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning 引用了 Training language models to follow instructions with human feedback
- Large Language Models are Zero-Shot Reasoners 引用了 Language Models are Few-Shot Learners
- Large Language Models are Zero-Shot Reasoners 引用了 Training language models to follow instructions with human feedback
- Self-Rewarding Language Models 引用了 Training language models to follow instructions with human feedback
- BoNBoN Alignment for Large Language Models and the Sweetness of Best-of-n Sampling 引用了 Scaling Laws for Reward Model Overoptimization
- BoNBoN Alignment for Large Language Models and the Sweetness of Best-of-n Sampling 引用了 Training language models to follow instructions with human feedback
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Scaling Laws for Reward Model Overoptimization
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Self-Rewarding Language Models
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Language Models are Few-Shot Learners
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Training language models to follow instructions with human feedback
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 The Curious Case of Neural Text Degeneration
- Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
- Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study 引用了 Scaling Laws for Reward Model Overoptimization
- Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study 引用了 Self-Rewarding Language Models
- Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study 引用了 Language Models are Few-Shot Learners
- Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study 引用了 Training language models to follow instructions with human feedback
- Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper92
- SimPO: Simple Preference Optimization with a Reference-Free RewardYu Meng, Mengzhou Xia, Danqi ChenNeurIPS 2024 · 1,203 次引用
- Self-Rewarding Language ModelsWeizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Xian Li 等ICML 2024 · 569 次引用
- Is DPO Superior to PPO for LLM Alignment? A Comprehensive StudyShusheng Xu, Wei Fu, Jiaxuan Gao, Wenjie Ye 等ICML 2024 · 274 次引用
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM UnlearningChongyu Fan, Jiancheng Liu, Licong Lin, Jinghan Jia 等NeurIPS 2025 · 182 次引用
- BoNBoN Alignment for Large Language Models and the Sweetness of Best-of-n SamplingLin Gui, Cristina Garbacea, Victor VeitchNeurIPS 2024 · 138 次引用
它引用的 Paper15
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 次引用
相关 Paper
- Preference Ranking Optimization for Human AlignmentFeifan Song, Bowen Yu, Minghao Li, Haiyang Yu 等AAAI 2024 · 357 次引用
- Back to Basics: Revisiting REINFORCE-Style Optimization for Learning from Human Feedback in LLMsArash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee 等ACL 2024 · 20 次引用
- trlX: A Framework for Large Scale Reinforcement Learning from Human FeedbackAlexander Havrilla, Maksym Zhuravinskyi, Duy Phung, Aman Tiwari 等EMNLP 2023 · 11 次引用
- OPPO: Accelerating PPO-based RLHF via Pipeline OverlapKaizhuo Yan, Yingjie Yu, Yifan Yu, Haizhong Zheng 等ICLR 2026 · 4 次引用
- DPO Meets PPO: Reinforced Token Optimization for RLHFHan Zhong, Zikang Shan, Guhao Feng, Wei Xiong 等ICML 2025
