[论文解读] Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback
本文解耦了语言模型偏好学习的关键组件,评估了偏好数据质量、学习算法(PPO 与 DPO)、奖励模型扩展以及策略训练提示的影响。研究发现,高质量的合成偏好数据可带来最大收益(指令跟随能力提升高达 8%),PPO 在数学任务上比 DPO 最高出 2.5%,而针对性提示可提升特定领域表现,因此推荐采用的方案为:使用合成数据、PPO 算法与大尺寸奖励模型。
Learning from preference feedback has emerged as an essential step for improving the generation quality and performance of modern language models (LMs). Despite its widespread use, the way preference-based learning is applied varies wildly, with differing data, learning algorithms, and evaluations used, making disentangling the impact of each aspect difficult. In this work, we identify four core aspects of preference-based learning: preference data, learning algorithm, reward model, and policy training prompts, systematically investigate the impact of these components on downstream model performance, and suggest a recipe for strong learning for preference feedback. Our findings indicate that all aspects are important for performance, with better preference data leading to the largest improvements, followed by the choice of learning algorithm, the use of improved reward models, and finally the use of additional unlabeled prompts for policy training. Notably, PPO outperforms DPO by up to 2.5% in math and 1.2% in general domains. High-quality preference data leads to improvements of up to 8% in instruction following and truthfulness. Despite significant gains of up to 5% in mathematical evaluation when scaling up reward models, we surprisingly observe marginal improvements in other categories. We publicly release the code used for training (https://github.com/hamishivi/EasyLM) and evaluating (https://github.com/allenai/open-instruct) our models, along with the models and datasets themselves (https://huggingface.co/collections/allenai/tulu-v25-suite-66676520fd578080e126f618).
研究动机与目标
- 识别并隔离语言模型偏好微调中最具影响力的组件。
- 在使用相同模型与数据的受控条件下,比较 PPO 与 DPO 的性能表现。
- 评估奖励模型规模、偏好数据质量以及策略训练提示选择对下游性能的影响。
- 提供一个数据驱动的优化方案,以在多种基准测试中最大化模型性能。
提出的方法
- 系统性地调整四个核心组件:偏好数据、学习算法(PPO 与 DPO)、奖励模型规模及其训练数据,以及策略训练提示的质量。
- 采用一个强大的监督微调基础模型(Tülu 2 70B),并单独应用每个组件以衡量其影响。
- 在包含选定/拒绝响应对的偏好数据集上训练奖励模型,并在 PPO 训练过程中使用其对模型生成结果进行打分。
- 使用零样本标签提示将未标注的提示分类至特定领域类别(如数学、代码),以构建针对性的训练数据集。
- 在 11 个多样化基准测试上进行评估,包括 GSM8k、AlpacaEval 2、IFEval 和 MMLU,以衡量模型在不同能力维度上的表现。
- 通过多次训练运行开展消融研究,并监控训练过程中的性能变化,以评估收敛性与过拟合风险。

实验结果
研究问题
- RQ1偏好数据的质量与类型如何影响基于偏好的学习中下游模型的性能?
- RQ2当其他所有组件保持不变时,PPO 是否始终优于 DPO?
- RQ3扩大奖励模型规模及其训练数据在多大程度上能提升策略模型的性能?
- RQ4在策略训练期间使用特定领域的未标注提示(如数学或代码提示)是否能提升目标基准上的表现?
- RQ5哪种组件组合能在多样化的评估任务中实现最强的整体性能?
主要发现
- 高质量的合成偏好数据(含逐方面标注)带来最大性能提升,指令跟随与真实性表现最高可提升 8%。
- 在数学基准(GSM8k)上,PPO 比 DPO 最高出 2.5%,在通用基准上也高出 1.2%,即使使用相同的基模型与数据。
- 扩大奖励模型规模可在 GSM8k 上将性能提升最高达 5%,但在其他基准上提升有限,表明其收益具有任务特异性。
- 在策略训练期间使用特定领域的未标注提示(如数学或代码提示)可提升目标领域的表现,但对整体性能影响有限。
- 学习算法的选择(PPO 与 DPO)的影响大于奖励模型扩展或提示工程,其重要性仅次于数据质量,位居第二。
- 不同基准上的性能轨迹差异显著——例如,AlpacaEval 2 表现随训练时间提升,而 IFEval 与 GSM8k 则早期达到峰值——凸显了依赖单一基准评估的风险。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。