Direct Preference Optimization with an Offset
Afra Amini, Tim Vieira, Ryan Cotterell
TL;DR
This work extends direct preference optimization (DPO) by introducing ODPO, which incorporates an offset that scales with how strongly a preferred output is favored over a dispreferred one. Grounded in a Gumbel-based connection to Bradley–Terry and softmax-margin concepts, ODPO enforces a margin that grows with the reward difference, enabling more data-efficient alignment without reward models or RL. Empirically, ODPO consistently yields better reward–KL tradeoffs and higher win rates than DPO across sentiment control, toxicity reduction, and summarization, especially when preference data are limited. The paper also conducts ablations on the scaling function and offset strength, discusses limitations related to the availability of degree-of-preference data, and addresses ethical considerations in RLHF-style fine-tuning.
Abstract
Direct preference optimization (DPO) is a successful fine-tuning strategy for aligning large language models with human preferences without the need to train a reward model or employ reinforcement learning. DPO, as originally formulated, relies on binary preference data and fine-tunes a language model to increase the likelihood of a preferred response over a dispreferred response. However, not all preference pairs are equal. Sometimes, the preferred response is only slightly better than the dispreferred one. In other cases, the preference is much stronger. For instance, if a response contains harmful or toxic content, the annotator will have a strong preference for that response. In this paper, we propose a generalization of DPO, termed DPO with an offset (ODPO), that does not treat every preference pair equally during fine-tuning. Intuitively, ODPO requires the difference between the likelihood of the preferred and dispreferred response to be greater than an offset value. The offset is determined based on the extent to which one response is preferred over another. Our experiments on various tasks suggest that ODPO significantly outperforms DPO in aligning language models, especially when the number of preference pairs is limited.
