Scaling Laws for Reward Model Overoptimization in Direct Alignment Algorithms
TL;DR. Direct alignment algorithms (DPO, IPO, SLiC) skip the reward model, but they still overoptimise. Win rate first rises and then falls as KL from the reference grows, often within a single epoch. The cause is that the implicit reward is only constrained on compared pairs, so the policy can put mass on unseen responses.
Why it matters now. DPO-style training is the default for many open models and is often used to train rerankers and agents from LLM preferences. The belief “no RM, so no reward hacking” is wrong. The same Goodhart curve appears, and the usual training metrics do not warn you.
Key idea
Section titled “Key idea”A DAA minimises a loss over preference pairs :
with for DPO, for IPO and for SLiC. This fits an implicit reward . In KL-regularised RL the optimum is , so β sets how far the policy may move.
The setup (§3) uses Reddit TL;DR, Pythia 1B, 2.8B and 6.9B, and seven values of β per objective. GPT-4 win rate against the dataset summaries serves as the gold score. Section 4 explains the result: the loss depends on π only through the compared pairs, so it has many minimisers. Some of them put probability on responses that were never compared (Proposition 1).
Key results
Section titled “Key results”- Scaling fit (§3.2): halves RMSE compared with a quadratic in KL. A quadratic in fits about as well.
- Length (§3.3): length regularisation changes the frontier but does not stop overoptimisation. Regressing implicit reward on length gives higher R² for weaker models and smaller KL budgets. The authors’ reading is that limited capacity makes the model extrapolate on simple features.
- Decreasing likelihoods (§3.5): the expected implicit reward of the preferred response is roughly minus the forward KL from π_ref. Plotting win rate against it shows the same hump. Falling likelihoods are expected and not, by themselves, a problem.
- Toy MDP (§4, App. E): in a small tree-structured MDP, DPO, IPO and SLiC all move probability onto trajectories outside the preference data.
The paper’s headline: “DAA methods deteriorate not only across a wide range of KL budgets but also often before even a single epoch of the dataset is completed” (Rafailov et al., abstract).
Limitations & open questions
Section titled “Limitations & open questions”- The gold score is an LLM judge on one main task. Appendix results add Gemma-2-2B and Anthropic HH.
- Small models (up to 6.9B). The trend with scale is encouraging but not tested at frontier sizes.
- No mitigation is proposed. The paper diagnoses the problem. Fixes such as on-policy data, explicit regularisation of unseen responses, or ensembles are left open.
- Open: can we estimate the peak from the policy alone, without a gold judge?
Connections
Section titled “Connections”- The RLHF version of the curve: Scaling laws for RM overoptimization.
- The feature that the implicit reward extrapolates on: Length correlations in RLHF.
- Explicit-RM mitigations that could be adapted: RM ensembles, WARM.
- The KL-regularised objective DPO solves in closed form: PPO.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
Work through the paper's toy example. There is one prompt, three responses y1, y2, y3, a uniform reference policy (1/3 each), and the preference dataset D = {y1 ≻ y2, y2 ≻ y1}. Write the DPO loss as a function of π, find its minimisers, and compute KL(π‖π_ref) for π = (0.5, 0.5, 0) and π = (0, 0, 1). What does the loss say about y3?
What a strong answer covers
- Let Δ = β·[log π(y1)/π_ref(y1) − log π(y2)/π_ref(y2)] = β·log(π(y1)/π(y2)). The loss is −log σ(Δ) − log σ(−Δ). Its minimum is at Δ = 0, with value 2·log 2 ≈ 1.386.
- Every π with π(y1) = π(y2) is a minimiser, whatever the mass on y3. The family includes (0.5, 0.5, 0) and, in the limit, (0, 0, 1).
- KL for (0.5, 0.5, 0) = log(0.5/(1/3)) = log 1.5 ≈ 0.405 nats. KL for (0, 0, 1) = log 3 ≈ 1.099 nats.
- y3 never appears in a comparison, so the loss puts no constraint on it. Its implicit reward β·log(π(y3)/π_ref(y3)) can be anything. This is the null space of the query matrix in Proposition 1.
- In real data most responses are never compared, so this freedom is the normal case. Optimisation can move mass to unseen (out-of-distribution) responses.
- Derive / compute
For KL-regularised RL the optimal policy is π*(y) ∝ π_ref(y)·exp(r(y)/β), and DAAs use the implicit reward r = β·log(π/π_ref). Two responses have equal reference probability and a reward gap of 1. Compute π*(a)/π*(b) for β = 1, 0.1 and 0.05. Explain why β sets a KL budget, and why the paper sweeps β rather than training steps.
What a strong answer covers
- Ratio = exp(Δr/β): β = 1 gives e ≈ 2.7. β = 0.1 gives e¹⁰ ≈ 22,000. β = 0.05 gives e²⁰ ≈ 4.9 × 10⁸.
- A small β lets the same reward gap justify a much larger change in the policy, so the policy can move further from π_ref (a larger KL budget).
- In a DAA the loss itself defines this target. Lowering β lets the policy reach large KL in fitting the preferences, with no RM queries.
- The paper sweeps seven β values per objective and model size (§3.1). Each gives a different reachable KL. Win rate plotted against √KL then shows the hump.
- Training steps matter too: wider KL budgets peak after about 25% of an epoch and then decline as KL keeps growing (Fig. 2).
- Mechanism
DPO has no separate reward model, so what exactly is being over-optimised? Explain using the implicit reward, the under-constrained loss of §4, and the paper's length-extrapolation regression (§3.3).
What a strong answer covers
- The policy is the reward model: r_θ = β·log(π_θ/π_ref). Fitting preferences changes the policy directly, so any error in the implicit reward becomes policy behaviour.
- The loss only constrains log-ratio differences on the compared pairs. Mass can move freely onto responses that were never compared, and nothing in the objective says whether those responses are good.
- With limited capacity (smaller model or smaller KL budget), the implicit reward leans on simple features. Regressing implicit reward on length gives higher R² for Pythia 1B than for 2.8B and 6.9B, and higher R² at smaller budgets.
- So "overoptimisation" here means the policy keeps fitting the preference loss while moving toward out-of-distribution responses that a gold judge (GPT-4 win rate) scores worse.
- Training metrics do not reveal it. Within a model size, implicit-reward accuracy and DAA loss do not correlate with win rate (§3.4).
- What if…
The paper varies the objective (DPO, IPO, SLiC), the model size (Pythia 1B, 2.8B, 6.9B) and adds length regularisation. Summarise what each changes about the hump, and why IPO's fixed-margin loss might overoptimise less.
What a strong answer covers
- Objective: DPO and SLiC behave similarly. IPO is less prone to overoptimisation and reaches lower KL under the same β.
- Why IPO helps: DPO's −log σ keeps rewarding larger margins, so the KL constraint is weakly enforced. IPO regresses the margin to a fixed target (a squared loss) and stops pushing once it is reached.
- Size: 1B reaches high KL and overoptimises almost immediately. 6.9B gets better trade-offs, and 6.9B with IPO shows little to no overoptimisation.
- Length regularisation changes the win-rate–KL frontier but does not remove the hump, and it underperforms at low KL budgets (Fig. 3). Length is one exploited feature, not the only one.
- Gao's form R(d) = d(α − β·log d) fits the win rates, halving RMSE compared with a quadratic in KL. A quadratic in d fits about as well, so the exact form is not uniquely supported.
- Critique
The gold signal is GPT-4 win rate against the dataset's reference summaries on Reddit TL;DR. Give two ways this choice could distort the measured hump, and propose a check that would make the conclusion more robust.
What a strong answer covers
- GPT-4 has its own biases, such as length and style, so the decline could partly reflect the judge's preferences rather than true quality.
- The comparison is against the dataset summaries, a fixed baseline. Win rate saturates and has binomial noise at small evaluation sizes.
- TL;DR is a narrow task with short outputs. The appendix adds Gemma-2-2B and Anthropic HH, but frontier-scale models are not tested.
- Check: repeat the main sweep with a second judge family and with a sample of human ratings, and use a length-controlled win rate. If all three show a peak at similar √KL, the effect is not judge-specific.
- Design
You want to train a listwise reranker or a search agent with DPO on LLM-judge preferences over result lists. Using this paper's findings, design the training and checkpoint-selection protocol so you do not overoptimise the implicit reward.
What a strong answer covers
- Sweep β and log KL(π‖π_ref) on held-out prompts. Plot held-out quality (nDCG against human qrels, or nugget recall) against √KL, not against epochs.
- Evaluate many checkpoints within the first epoch. The paper finds wider budgets peak after about 25% of an epoch.
- Do not select checkpoints by DPO loss or preference accuracy. The paper shows these do not track downstream quality within a model size.
- Prefer IPO or a larger base model if the hump appears early. Track simple features (list length, number of citations, response length) for drift, because weaker models extrapolate on them.
- Add on-policy preference collection or a separate RM check on samples from the policy, since unseen responses are exactly where the implicit reward is unconstrained.