Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study
Shusheng Xu, Wei Fu, Jiaxuan Gao, Wenjie Ye, Weilin Liu, Zhiyu Mei, Guangju Wang, Chao Yu, Yi Wu
摘要
Reinforcement Learning from Human Feedback (RLHF) is currently the most widely used method to align large language models (LLMs) with human preferences. Existing RLHF methods can be roughly categorized as either reward-based or reward-free. Novel applications such as Chat-GPT and Claude leverage reward-based methods that first learn a reward model and apply actor-critic algorithms, such as Proximal Policy Optimization (PPO). However, in academic benchmarks, the state-of-the-art results are often achieved via reward-free methods, such as Direct Preference Optimization (DPO). Is DPO truly superior to PPO? Why does PPO perform poorly on these benchmarks? In this paper, we first conduct both theoretical and empirical studies on the algorithmic properties of DPO and show that DPO may have fundamental limitations. Moreover, we also comprehensively examine PPO and reveal the key factors for the best performances of PPO in fine-tuning LLMs. Finally, we benchmark DPO and PPO across a collection of RLHF testbeds, ranging from dialogue to code generation. Experiment results demonstrate that PPO is able to surpass other alignment methods in all cases and achieve state-of-the-art results in challenging code competitions. Our code is publicly available at https://github.com/ openpsi-project/ReaLHF .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 105 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Large Language Models Can Be Easily Distracted by Irrelevant Context 引用了 Language Models are Few-Shot Learners
- Large Language Models Can Be Easily Distracted by Irrelevant Context 引用了 Training language models to follow instructions with human feedback
- What Can RL Bring to VLA Generalization? An Empirical Study 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- What Can RL Bring to VLA Generalization? An Empirical Study 引用了 Training language models to follow instructions with human feedback
- What Can RL Bring to VLA Generalization? An Empirical Study 引用了 Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback
- 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
- Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 Scaling Laws for Reward Model Overoptimization
- Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 Language Models are Few-Shot Learners
- Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 A Minimaximalist Approach to Reinforcement Learning from Human Feedback
- Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy Data 引用了 Training language models to follow instructions with human feedback
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 Language Models are Few-Shot Learners
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model 引用了 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 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Language Models are Few-Shot Learners
- SimPO: Simple Preference Optimization with a Reference-Free Reward 引用了 Training language models to follow instructions with human feedback
- A Minimaximalist Approach to Reinforcement Learning from Human Feedback 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
- Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback 引用了 Scaling Laws for Reward Model Overoptimization
- Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback 引用了 Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback 引用了 Training language models to follow instructions with human feedback
引用它的顶会 Paper105
- SimPO: Simple Preference Optimization with a Reference-Free RewardYu Meng, Mengzhou Xia, Danqi ChenNeurIPS 2024 · 1,203 次引用
- Preference Fine-Tuning of LLMs Should Leverage Suboptimal, On-Policy DataFahim Tajwar, Anikait Singh, Archit Sharma, Rafael Rafailov 等ICML 2024 · 189 次引用
- A Minimaximalist Approach to Reinforcement Learning from Human FeedbackGokul Swamy, Christoph Dann, Rahul Kidambi, Steven Wu 等ICML 2024 · 147 次引用
- Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference FeedbackHamish Ivison, Yizhong Wang, Jiacheng Liu, Zeqiu Wu 等NeurIPS 2024 · 124 次引用
- What Can RL Bring to VLA Generalization? An Empirical StudyJijia Liu, Feng Gao, Bingwen Wei, Xinlei Chen 等NeurIPS 2025 · 120 次引用
它引用的 Paper20
- 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 次引用
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning 等NeurIPS 2023 · 10,924 次引用
- Large Language Models Can Be Easily Distracted by Irrelevant ContextFreda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales 等ICML 2023 · 970 次引用
- Scaling Laws for Reward Model OveroptimizationLeo Gao, John Schulman, Jacob HiltonICML 2023 · 963 次引用
相关 Paper
- Back to Basics: Revisiting REINFORCE-Style Optimization for Learning from Human Feedback in LLMsArash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee 等ACL 2024 · 20 次引用
- DPO Meets PPO: Reinforced Token Optimization for RLHFHan Zhong, Zikang Shan, Guhao Feng, Wei Xiong 等ICML 2025
- Zeroth-Order Policy Gradient for Reinforcement Learning from Human Feedback without Reward InferenceQining Zhang, Lei YingICLR 2025
- Measuring memorization in RLHF for code completionJamie Hayes, Ilia Shumailov, William P. Porter, Aneesh PappuICLR 2025
- Reinforcement Learning for Large Language Models via Group Preference Reward ShapingHuaisheng Zhu, Siyuan Xu, Hangfan Zhang, Teng Xiao 等EMNLP 2025
