Direct Alignment Algorithms such as DPO, IPO, and SLiC-HF exhibit the same hump-shaped quality collapse as classical RLHF, frequently peaking after just 25% of a single epoch before deteriorating as KL divergence from the reference policy keeps rising.
- Quarter-epoch peak: Across 92K Reddit TL;DR preference pairs on Pythia 1B, 2.8B, and 6.9B, looser KL budgets (smaller
beta) reach topgpt-4-turbowin-rates around 25% of epoch 1 and degrade thereafter while KL climbs monotonically. - RLHF scaling law fits: Fitting Gao et al.’s RLHF overoptimization law
R(d) = d(alpha - beta log d)withd = sqrt(D_KL)to GPT-4 win-rates halves RMSE compared to a quadratic fit inD_KL. - Training metrics mislead: Within any fixed model size, DAA loss and held-out implicit reward accuracy show near-zero correlation with downstream generation win-rates.
- Scale and IPO stabilize: Pythia 1B drifts to high KL and degrades immediately, whereas Pythia 6.9B trained with IPO’s quadratic margin loss keeps KL bounded with minimal overoptimization.
How It Works
In classical RLHF, reward model overoptimization happens when on-policy PPO rollouts query a flawed proxy reward model out of distribution. Direct Alignment Algorithms such as DPO skip both the explicit reward model and on-policy rollouts by optimizing a convex classification loss g over log-probability ratios beta log(pi_theta(y|x) / pi_ref(y|x)). Rafailov et al. evaluate three variants across seven beta budgets on Reddit TL;DR (92K pairs, Pythia 1B, 2.8B, and 6.9B; plus Gemma2-2B on Anthropic-HH): DPO (g(x) = -log sigma(x)), SLiC-HF hinge loss (g(x) = max(0, 1 - x)), and IPO quadratic margin loss (g(x) = (x - 1)^2).
Why can purely offline classification still “reward hack”? First, Proposition 1 proves that because |X x Y| dwarfs finite preference dataset size |D|, the stacked comparison matrix Q is rank-deficient. Any perturbation in Q’s null space leaves the DAA loss unchanged while draining probability from observed responses onto out-of-distribution strings y_OOD to keep probabilities summing to one. Second, viewing logits as token-level soft Q-values reveals implicit OOD bootstrapping: the soft value target sums across every vocabulary token, including unvisited ones, becoming greedier as beta shrinks. Even in a minimal 3-action Tree MDP trained on one preference pair after three SFT demonstrations, DPO, IPO, and SLiC-HF all shift probability mass onto OOD trajectories.
Key Findings
Evaluating 256 held-out prompts with gpt-4-turbo-2024-04-09 (with random positional flips) at four intermediate checkpoints per epoch uncovered consistent overoptimization across models and datasets:
Two popular fixes fail to explain or prevent the collapse. First, falling log-likelihoods on preferred responses are not by themselves the bug: E[log(pi_theta(y_w|x) / pi_ref(y_w|x))] approximates -D_KL(pi_ref || pi_theta) and follows the same hump-shaped curve, meaning early drops accompany real gains before turning harmful past a threshold (separate from the edit-pair collapse studied in DPO-Positive). Second, adding length regularization on Pythia 2.8B shifts the high-KL Pareto frontier but underperforms standard DPO under tighter KL constraints and still overoptimizes.
Caveats and Builder Takeaway
Compute limits restricted experiments to Pythia models up to 6.9B (plus Gemma2-2B on Anthropic-HH), single-seed runs per configuration, and gpt-4-turbo as an automated judge rather than human evaluation. The paper diagnoses overoptimization rather than offering a general fix, and the optimal stopping point shifts with model scale, beta, and dataset, leaving no universal KL cutoff.
In practice, never tune or early-stop DPO runs using training loss, held-out reward classification accuracy, or epoch count. Save frequent intra-epoch checkpoints (every 10% to 25% of an epoch), log both forward and reverse D_KL against pi_ref, evaluate actual generations with a held-out judge at each checkpoint, and prefer larger base policies or margin-bounded objectives like IPO when preference coverage is sparse.


