Direct Preference Optimization (DPO) has gained attention as an efficient alternative to reinforcement learning from human feedback (RLHF) for aligning large language models (LLMs) with human preferences. Despite its advantages, DPO suffers from a length bias, generating responses longer than those from the reference model. Existing solutions like SimPO and SamPO address this issue but uniformly treat the contribution of rewards across sequences, overlooking temporal dynamics. To this end, we propose an enhanced preference optimization method that incorporates a temporal decay factor controlled by a gamma parameter. This dynamic weighting mechanism adjusts the influence of each reward based on its position in the sequence, prioritizing earlier tokens that are more critical for alignment. By adaptively focusing on more relevant feedback, our approach mitigates overfitting to less pertinent data and remains responsive to evolving human preferences. Experimental results on several benchmarks show that our approach consistently outperforms vanilla DPO by 5.9-8.8 points on AlpacaEval 2 and 3.3-9.7 points on Arena-Hard across different model architectures and sizes. Furthermore, additional experiments on mathematical and reasoning benchmarks (MMLU, GSM8K, and MATH) confirm that our method enhances performance without compromising general capabilities. Our codebase would be available at \url{https://github.com/LotuSrc/D2PO}.
Beyond Uniform Forgetting: A Study of Sequential Direct Preference Optimization Across Preference Settings
Network Analysis and Social Influence Modelling (NASIM) Lab(网络分析与社会影响建模实验室);School of Physics Maths and Computing, The University of Western Australia(西澳大学物理数学与计算学院);School of Psychological Science, The University of Western Australia(西澳大学心理科学学院);School of Computing, Macquarie University(麦考瑞大学计算机学院)
HEAL: A Hypothesis-Based Preference-Aware Analysis Framework
School of Computer Science and Engineering, Northeastern University(计算机科学与工程学院,东北大学);NiuTrans Research(NiuTrans研究院);CAS Key Laboratory of Behavioral Science, Institute of Psychology, CAS(行为科学重点实验室,心理学研究所)
Both Direct and Indirect Evidence Contribute to Dative Alternation Preferences in Language Models
Department of Linguistics, The University of Texas at Austin(德克萨斯大学奥斯汀分校语言学系);Department of Linguistics and Philology, Uppsala University(乌普萨拉大学语言学与哲学系)