DPO-Shift: Shifting the Distribution of Direct Preference Optimization

Xiliang Yang, Feng Jiang, Qianen Zhang, Lei Zhao, Xiao Li
2/11/2025
cs.CL

Official code: Meaquadddd/DPO-Shift (58 stars, last commit 2025-03-05).

Abstract

Direct Preference Optimization (DPO) and its variants have become increasingly popular for aligning language models with human preferences. These methods aim to teach models to better distinguish between chosen (or preferred) and rejected (or dispreferred) responses. However, prior research has identified that the probability of chosen responses often decreases during training, and this phenomenon is known as likelihood displacement. To tackle this challenge, in this work we introduce DPO-Shift to controllably shift the distribution of the chosen probability. Then, we show that DPO-Shift exhibits a fundamental trade-off between improving the chosen probability and sacrificing the reward margin, as supported by both theoretical analysis and experimental validation. Furthermore, we demonstrate the superiority of DPO-Shift over DPO on downstream tasks such as MT-Bench and a designed win rate experiment. We believe this study shows that the likelihood displacement issue of DPO can be effectively mitigated with a simple, theoretically grounded solution. Our code is available at https://github.com/Meaquadddd/DPO-Shift.

View on arXivView PDF

Code Implementations(1)

DPO-Shift: Shifting the Distribution of Direct Preference Optimization

586Shell, PythonFeb 10, 20251 years ago
alignmentlarge-language-modelspreference-alignmentrlhf

Similar Papers

Cite this paper

@article{yang2025dposhift,
  title  = {DPO-Shift: Shifting the Distribution of Direct Preference Optimization},
  author = {Xiliang Yang and Feng Jiang and Qianen Zhang and Lei Zhao and Xiao Li},
  year   = {2025},
  eprint = {2502.07599},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.07599v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.07599.svg)](https://codeofpaper.com/paper/2502.07599)

Discussion