Skip to main content
QUICK REVIEW

[Paper Review] Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback

Hamish Ivison, Yizhong Wang|arXiv (Cornell University)|Jun 13, 2024
Bayesian Modeling and Causal InferenceComputer Science3 citations
TL;DR

This paper disentangles the key components of preference-based learning for language models, evaluating preference data quality, learning algorithms (PPO vs. DPO), reward model scaling, and policy training prompts. It finds that high-quality synthetic preference data yields the largest gains (up to 8% in instruction following), PPO outperforms DPO by up to 2.5% on math tasks, and targeted prompts improve domain-specific performance, leading to a recommended recipe: synthetic data with PPO and large reward models.

ABSTRACT

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).

Motivation & Objective

  • To identify and isolate the most impactful components in preference-based fine-tuning of language models.
  • To compare the performance of PPO and DPO under controlled conditions using identical models and data.
  • To evaluate the impact of reward model size, preference data quality, and policy training prompt selection on downstream performance.
  • To provide a data-driven recipe for effective preference-based learning that maximizes model performance across diverse benchmarks.

Proposed method

  • Systematically vary four core components: preference data, learning algorithm (PPO vs. DPO), reward model size and training data, and policy training prompt quality.
  • Use a strong supervised fine-tuned base model (Tülu 2 70B) and apply each component in isolation to measure its impact.
  • Train reward models on preference datasets with chosen/rejected response pairs and use them to score model generations during PPO training.
  • Generate and classify unlabelled prompts into domain-specific categories (e.g., math, code) using a zero-shot tagging prompt to create targeted training sets.
  • Evaluate across 11 diverse benchmarks, including GSM8k, AlpacaEval 2, IFEval, and MMLU, to assess performance across capabilities.
  • Conduct ablation studies across multiple training runs and monitor performance over training steps to assess convergence and overfitting.
Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback

Experimental results

Research questions

  • RQ1How does the quality and type of preference data affect downstream model performance in preference-based learning?
  • RQ2Does PPO consistently outperform DPO when all other components are held constant?
  • RQ3To what extent does scaling the reward model and its training data improve policy model performance?
  • RQ4Can the use of domain-specific, unlabeled prompts during policy training improve performance on targeted benchmarks?
  • RQ5Which combination of components yields the strongest overall performance across diverse evaluation tasks?

Key findings

  • High-quality synthetic preference data with per-aspect annotations leads to the largest performance gains, improving instruction following and truthfulness by up to 8%.
  • PPO outperforms DPO by up to 2.5% on math benchmarks (GSM8k) and 1.2% on general benchmarks, even when using the same base model and data.
  • Scaling the reward model size improves performance on GSM8k by up to 5%, but yields marginal improvements on other benchmarks, indicating task-specific benefits.
  • Using domain-specific, unlabeled prompts (e.g., math or code prompts) during policy training improves performance in targeted domains but has limited impact on overall performance.
  • The choice of learning algorithm (PPO vs. DPO) has a larger impact than reward model scaling or prompt engineering, ranking second only to data quality.
  • Performance trajectories over training vary significantly across benchmarks—e.g., AlpacaEval 2 improves over time, while IFEval and GSM8k peak early—highlighting the risk of relying on single-benchmark evaluation.
Unpacking DPO and PPO: Disentangling Best Practices for Learning from Preference Feedback

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.