Abstract
The class of direct preference optimization (DPO) algorithms has emerged as a promising approach for solving the alignment problem in foundation models. These algorithms work with very limited feedback in the form of pairwise preferences and fine-tune models to align with these preferences without explicitly learning a reward model. While the form of feedback used by these algorithms makes the data collection process easy and relatively more accurate, its ambiguity in terms of the quality of responses could have negative implications. In this paper, we study how to design algorithms that can leverage additional information in the form of rating gap, which informs the learner how much the chosen response is better than the rejected one. We present new algorithms that can achieve faster statistical rates than DPO in presence of accurate rating gap information. Moreover, we theoretically prove and empirically show that the performance of our algorithms is robust to inaccuracy in rating gaps. Finally, we demonstrate the solid performance of our methods in comparison to a number of DPO-style algorithms across a wide range of LLMs and evaluation benchmarks.
Introduction: The Information Scarcity in DPO
Fine-tuning Large Language Models (LLMs) to follow human values typically relies on Reinforcement Learning from Human Feedback (RLHF). Recently, Direct Preference Optimization (DPO) has become the go-to method because it skips the complex step of training a separate reward model, directly optimizing the policy based on pairwise preferences (e.g., "Response A is better than Response B").
However, binary preferences are inherently ambiguous. If both responses are excellent, DPO might still penalize the "loser," potentially hurting the model's overall quality—a phenomenon known as likelihood displacement. Conversely, if both are terrible, DPO doesn't know it should "forget" both. This paper introduces a new family of alignment algorithms—RDPO, RIPO, and ML-RDPO—that enhance standard DPO by incorporating "rating gaps" ($\Delta \hat{r}$), which quantify how much better one response is than another. By leveraging this extra information, these algorithms achieve exponentially faster learning rates and superior alignment performance while remaining robust to noisy or inaccurate ratings.
Methodology: Integrating Rating Gaps
The authors propose three primary algorithms that integrate rating gaps ($\Delta \hat{r}$) into the optimization objective:
- Ratings DPO (RDPO): Modifies the DPO loss function to include the rating gap. It treats the target alignment as a linear combination of the ranking and the specific magnitude of the rating difference.
- Ratings IPO (RIPO): A variation based on Identity-mapping Preference Optimization (IPO), which uses a squared-loss approach rather than a log-sigmoid loss.
- Maximum-Likelihood-based RDPO (ML-RDPO): Derived from first principles using maximum likelihood estimation. It assumes that rating gaps follow a Gaussian distribution, resulting in a loss function with two distinct terms: one for ranking and one for rating.
A key hyperparameter, $\beta_1$, is introduced to control the "trust" level. If ratings are high-quality, they are weighted heavily; if they are noisy, the model leans back toward standard DPO.
Experimental Setup
The models were fine-tuned using the UltraFeedback dataset, which contains both pairwise preferences and numeric scores from GPT-4. Performance was evaluated across several popular benchmarks:
- AlpacaEval: An automatic evaluator for instruction-following.
- ArenaHard: A more challenging benchmark designed to mimic the LMSYS Chatbot Arena.
Experiments were conducted on a variety of base models, including Llama-3.1-8B, Mistral-7B, Zephyr-7B, and the SmolLM2 family (135M to 1.7B parameters).
Key Results and Insights
The "Rating Gap" acts as a force multiplier. Standard DPO has a sample complexity that scales exponentially with the range of the reward ($e^{R_{max}}$). By adding rating information, the authors theoretically prove an exponential improvement, reducing the dependence to a polynomial one.
Empirically, RDPO and ML-RDPO consistently outperformed DPO, IPO, and SimPO. As shown in the benchmarks, RDPO achieved the highest average win rates (79.4 on Arena Hard and 68.7 on AlpacaEval). For specific configurations like Llama-3.1-8B on ArenaHard, RDPO achieved a win rate of ~35.4% compared to DPO’s ~14.7% against a strong reference. The benefits were even more pronounced for smaller models (SmolLM2), where RDPO achieved win rates over 90% against the reference model, suggesting that rating information is a powerful "teacher" for smaller student models. Furthermore, the authors prove that even if the ratings are somewhat corrupted, RDPO with a properly tuned $\beta_1$ will perform at least as well as standard DPO.
Conclusion and Future Work
While the proposed algorithms show significant gains and robustness to noise, the primary bottleneck is that numeric ratings are harder and more expensive to collect from humans than simple binary choices. Additionally, ML-RDPO relies on the assumption that rating noise is Gaussian. While this works well in practice, real-world human scoring might follow different distributions. Currently, the algorithms focus on the gap between two responses; the authors leave the development of algorithms that use absolute scores as an open question for future research.
Summary updated