What Is Preference Optimization Doing, How and Why?
Yue Wang, Qizhou Wang, Zizhuo Zhang, Ang Li, Gang Niu, Bo Han, Masashi Sugiyama
TL;DR
The paper investigates why DPO often behaves like supervised learning while PPO exhibits reinforcement-learning-like dynamics in PO for LLM alignment. By introducing a gradient-alignment framework, it decomposes PO into positive learning, negative learning, and loss reweighting, and analyzes their distinct roles. Empirical results show DPO yields stable targets whereas PPO promotes exploration, with loss reweighting serving method-specific functions and negative learning sometimes acting as a regularizer. The authors further demonstrate that coordinating learning components (via cDPO, cPPO, hPPO) can improve performance and propose Coordinated Preference Optimization as a future direction to optimize these dynamics in real time.
Abstract
Preference optimization (PO) is indispensable for large language models (LLMs), with methods such as direct preference optimization (DPO) and proximal policy optimization (PPO) achieving great success. A common belief is that DPO is supervised learning while PPO is reinforcement learning, yet deeper analyses for the reasons underlying these differences remain lacking. To fill this gap, we analyze their optimization dynamics, revealing distinct algorithmic behaviors and comprehending their underlying causes. First, we examine the target directions of gradient-based updates and find that DPO follows stable targets, whereas PPO follows dynamic targets that balance exploration and exploitation, thus validating the common belief from a new perspective. Second, we examine the roles of positive learning, negative learning, and loss reweighting, which are three key components in PO methods. Our analyses reveal that these components play fairly different roles. In DPO, positive and negative learning jointly shape the learning targets meanwhile mutually offset each other. However, loss reweighting in DPO acts less as a reward signal but more as a regularizer to mitigate overfitting. In PPO, negative learning primarily supports exploration rather than determining the targets. Meanwhile, loss reweighting, related to absolute values of token-level advantages, indicates the distinct roles of token groups in updating targets. Given these findings, we conduct carefully designed ablation studies to further examine how controlling these dynamics impacts optimization efficiency and practical performance. The insights gained from our analyses not only deepen the understanding of PO methods but also inspire the development of more preference-aligned LLMs.
