Skip to content
DAH

A controlled DPO versus PPO comparison that attributes the gap to online sampling or to the reward model

OpenTo verify: ReproductionPosed by Xu et al. (2024) and Ivison et al. (2024), both preprints
AI-reviewed
On this page17 sections
Difficulty
25/100Engineering
How far from a resolution. P vs NP = 100
Application value
42/100Significant
Realistic practical impact if resolved. P vs NP = 100
Leverage
28/100Local
How much other knowledge hinges on it. P vs NP = 100

Difficulty 25: a controlled experiment with known ingredients; the barriers are matched compute and confounder control. Application value 42: concrete for teams choosing between offline losses and online RL. Leverage 28: a methodological result within post-training.

The problem

Two ways to teach chatbots what people like: which is better, and why?

  1. 1Fix model, data and prompts
  2. 2Train with DPO and with PPO
  3. 3Add online variants as controls
  4. 4Match compute, repeat seeds
  5. 5Compare against noise

Why it matters. Teams that align language models with human preferences choose between two families. DPO trains on a fixed dataset of preferred and rejected answers with a simple supervised loss. PPO-based RLHF trains a reward model, then repeatedly samples fresh answers from the current model, scores them and updates the model. PPO costs much more engineering and compute. If it is genuinely better, the cost is worth paying; if not, the effort is wasted.

What differs between them. At least three things change at once:

  1. Online sampling: PPO learns from answers produced by the current model (on-policy); DPO learns from answers produced earlier, possibly by other models.
  2. An explicit reward model: PPO's reward model can score answers that were never in the preference data.
  3. The optimiser: clipped policy-gradient updates versus a classification-style loss.

A comparison that changes all three cannot say which one matters.

Evidence so far. Xu et al. (2024) report PPO beating other alignment methods across their test settings, including code competitions. Ivison et al. (NeurIPS 2024) report PPO ahead of DPO by up to 2.5% in maths and 1.2% in general domains, and rank the factors: preference-data quality matters most, then the algorithm, then reward-model quality, then extra unlabelled prompts. Different studies use different data, reward models and benchmarks, and gaps of a few percent are comparable to the noise between training runs.

Why it is hard. Randomness matters. The random seed (the starting number of the random-number generator) changes the data order and the sampling, and two runs of the same method can differ by a percent or more. To claim that a 1–2% gap is real, each method must be run several times and the gap compared with the spread across runs, measured by the standard deviation (roughly the typical distance of results from their average). Matching compute is also hard, because PPO spends much of its budget generating answers.

The design. Hold fixed the starting model, one public preference dataset (for example UltraFeedback), the prompts and the total GPU-hours. Compare four arms: (i) DPO; (ii) PPO with a reward model trained on the same data; (iii) online or iterative DPO that labels fresh samples with that same reward model; (iv) best-of-nn distillation, i.e. fine-tuning on the reward model's favourite of nn samples. Arm (iii) separates the effect of online sampling from the effect of the PPO optimiser.

The target. At least three seeds per arm, an evaluation suite of at least eight tasks covering instruction following, reasoning, maths, code and safety, a difference counted only if it exceeds twice the standard deviation across seeds, and an independent replication on a second base model.

Go deeper

The full technical text.

Hold the SFT initialisation, preference dataset, prompt set and total compute fixed. Compare (i) DPO, (ii) PPO against a reward model trained on the same preference data, (iii) iterative or online DPO using that same reward model to label fresh samples, and (iv) best-of-nn distillation. Which of online sampling, the presence of an explicit reward model, and the optimiser accounts for the measured difference, and is the difference larger than seed variance on a broad evaluation suite?

Words on this page (11)
Words on this page
language model
A neural network trained to predict text, which can then write answers and code.
DPO
Direct Preference Optimization: trains on pairs of preferred and rejected answers.
PPO
Proximal Policy Optimization: an RL algorithm that limits how far each update moves the model.
reward model
A network scoring how much people would like a response.
on-policy
Using data generated by the current version of the model rather than a fixed older dataset.
random seed
The starting number of a random process. Different seeds give different training runs.
GPU-hour
One graphics processor running for one hour, a common unit for how much computing a training run used.
standard deviation
A measure of spread: roughly the typical distance of values from their average.
best-of-n
Generate n answers, score them with the reward model and keep the highest-scoring one.
distillation
Training a model on outputs selected or produced by another model or procedure.
supervised learning
Training a model on inputs paired with target outputs to reduce its error on them.
New to this? Read first (3)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Then
    • A controlled DPO versus PPO comparison that attributes the gap to online sampling or to the reward modelThe problem

State of the art

Two preprints favour PPO: Xu et al. report PPO surpassing other alignment methods across their testbeds including code competitions; Ivison et al. report PPO ahead of DPO by up to 2.5% in math and 1.2% in general domains, with preference-data quality the largest factor, followed by algorithm choice, reward-model quality and extra prompts. Preference data, reward models, evaluations and prompt sets vary between studies and mix several effects, and gains are small relative to evaluation noise on some benchmarks. Which factor explains the gap is not isolated.

Realistic applications

Reduces wasted compute in post-training by showing whether the cost of online RL is justified over simpler offline losses.

What counts as solved

A matched-budget study with at least 3 seeds per arm in which the arm differences are resolved against seed variance and replicated by an independent group on a second base model.

How it gets verified

To verify: Reproduction

A training run, experiment or computation rerun by someone else.

Benchmark: the evaluation suite of Ivison et al. (open-instruct evaluations) or a stated equivalent with at least 8 tasks covering instruction following, reasoning, math, code and safety, plus a human or judge-model win rate. Data: one public preference dataset (for example UltraFeedback) used identically by all arms. Compute: equal total GPU-hours including generation, stated for each arm. Seeds: at least 3 training seeds per arm; the claim holds only if the difference in aggregate score exceeds twice the standard deviation across seeds. Repos: open-instruct and TRL implementations.

Claims

No claimed results on this problem.

Where the work is

Theory
10%
New mathematical or conceptual ideas
Engineering
30%
Building instruments, chips, systems, software, formal proofs
Compute
40%
Raw computation, search, simulation
Empirical
20%
Observation, experiment, data collection

Mainly compute and careful engineering to match arms; evaluation noise is the empirical limit.

Connected problems

Progress

  1. Jun 13, 2024
    Component-wise comparison

    Ivison et al. (preprint) separate data, algorithm, reward model and prompts and report PPO ahead by up to 2.5% in math.

    source
  2. Apr 16, 2024
    PPO versus DPO study

    Xu et al. (preprint) report PPO outperforming DPO across testbeds.

    source