TL;DR
Standard Direct Preference Optimization (DPO) focuses on relative rankings but ignores absolute quality, often "unlearning" high-quality rejected responses. This paper introduces a simple data relabeling method that conditions LLMs on reward scores, allowing them to learn from the entire spectrum of response quality and significantly boosting performance across major benchmarks.
What Problem Does This Paper Address?
Direct Preference Optimization (DPO) has become the go-to method for aligning Large Language Models (LLMs) with human intentions. However, DPO has a "quality blind spot." It treats preference pairs—where response A is better than response B—as binary signals.
This leads to two major issues:
- Unnecessary Unlearning: If response B is actually very high quality but just slightly worse than A, DPO still tries to minimize the probability of B. This forces the model to "unlearn" good information.
- Indiscriminate Learning: If response A is mediocre but response B is terrible, DPO reinforces A just as strongly as if A were perfect.
Because DPO is unaware of the absolute quality (the "reward score") of the responses, it struggles to generalize to truly optimal responses that might be rare in the training data.
Methods
The authors propose Reward-Augmented DPO. Instead of a standard policy $\pi(y|x)$, they train a reward-conditioned policy $\pi(y|x, g)$, where $g$ is a target "goal" reward score.
The Relabeling Trick
The core innovation is a simple data augmentation strategy. For every preference pair $(x, y_w, y_l)$ with associated reward scores $(r_w, r_l)$ from a judge model (like GPT-4):
- High-Quality Goal: They create a pair where the model is told to achieve score $r_w$. In this context, $y_w$ is the chosen response and $y_l$ is rejected.
- Low-Quality Goal: They create a second pair where the model is told to achieve score $r_l$. Here, the roles are reversed: $y_l$ becomes the "chosen" response for that specific low-score goal, and $y_w$ is rejected.
This doubles the dataset size ($2N$) and teaches the model to distinguish between different quality levels. During training, the goal score is prepended to the prompt (e.g., "Generate a response of score 10"). At inference time, the model is simply prompted to generate a score 10 response.
Datasets
The researchers primarily utilized UltraFeedback, a large-scale dataset containing reward scores from GPT-4. To evaluate the models, they used a suite of rigorous benchmarks:
- Instruction Following: AlpacaEval 2.0, MT-Bench, and Arena-Hard-Auto.
- Academic Reasoning: GSM8K (Math), GPQA (Science), MUSR, TruthfulQA, BBH, and ARC Challenge.
Key Insights and Ideas
- Learning from "Failure": By treating rejected responses as "correct" examples of a lower-tier goal, the model retains the knowledge within those responses rather than discarding it.
- Extrapolation to the Optimum: Most preference data is "middle-of-the-road." By conditioning on scores, the model learns the direction of improvement, allowing it to better extrapolate to a "Score 10" even if such examples are sparse in the training set.
- Implicit Reward Augmentation (IRA): Interestingly, the authors found that if you don't have a judge model's scores, you can use the implicit reward from a standard DPO-tuned model to relabel the data. This "self-improvement" loop actually yielded even better results than using the original judge scores.
- Theoretical Grounding: The paper provides a mathematical proof that this reward-conditioned approach attains global convergence to the optimal policy, a stronger guarantee than many previous conditional supervised learning methods.
Key Results
The results show a consistent and considerable boost over vanilla DPO across multiple base models.
- AlpacaEval 2.0: On Qwen2-7B-Instruct, the Length-Controlled (LC) win rate jumped from 21.46% (vanilla DPO) to 31.17% with reward augmentation.
- Arena-Hard: For Gemma-2-9B-It, the score improved from 35.8 to 43.9.
- State-of-the-Art: When applied to on-policy data with a Llama-3-8B model, their method achieved a 56.57% LC win rate on AlpacaEval 2.0, surpassing strong baselines like SimPO and OpenChat.
- Mitigating Unlearning: Qualitative analysis showed that the reward-augmented models maintained higher log-probabilities for high-quality rejected responses compared to vanilla DPO, proving they were not "forgetting" good alternatives.
Limitations and Future Work
- Judge Dependency: The method relies on having accurate reward scores. If the judge model (or reward model) is biased or inaccurate, the conditioning will be flawed.
- Prompt Overhead: The requirement of a system prompt ("Overall score: 10") adds a small amount of complexity to the inference pipeline.
- Multi-Attribute Scaling: While the authors touched on multi-dimensional rewards (e.g., helpfulness vs. honesty), they suggest that more complex ways of combining these attributes for conditioning is a promising area for future research.
Summary updated