KL Penalty Control via Perturbation for Direct Preference Optimization
Sangkyu Lee, Janghoon Han, Hosung Song, Stanley Jungkyu Choi, Honglak Lee, Youngjae Yu
TL;DR
ε-Direct Preference Optimization (ε-DPO) introduces instance-level adaptive KL penalty control for direct preference optimization by perturbing the KL temperature parameter $β$ and assessing monotonic changes in logit-based preference confidence. The method estimates perturbed policies using re-used logits from the current and reference policies, enabling per-instance adjustment without extra forward passes, thereby achieving more efficient KL-trade-offs than batch- or periodically-updated approaches. Empirical results on UltraFeedback and Anthropic-HH show ε-DPO outperforming DPO and many direct-alignment baselines, while offering clearer signals of when a preference pair is confused and requiring modest additional computation. The work highlights the importance of instance-level KL penalty relaxation for robust, data-dependent alignment of large language models with human preferences, though it depends on maintaining a reference policy and incurs some memory costs.
Abstract
Direct Preference Optimization (DPO) demonstrates the advantage of aligning a large language model with human preference using only an offline dataset. However, DPO has the limitation that the KL penalty, which prevents excessive deviation from the reference model, is static throughout the training process. Several methods claim to change this static KL penalty of DPO into a dynamic one, but no approach can adaptively assign different KL penalties for each preference pair. In this paper, we propose $\varepsilon$-Direct Preference Optimization ($\varepsilon$-DPO), which allows adaptive control of the KL penalty strength $β$ for each preference pair. Specifically, $\varepsilon$-DPO adaptively controls $β$ for each preference pair based on the monotonicity of logits as a preference model under the perturbation of $β$ during training. This is equivalent to adjusting the KL penalty by checking whether the change in training-time temperature can lead to better preference confidence as preference models by simply reusing the logit of the current policy and the reference policy. Experimental results show that the simple criterion of $\varepsilon$-DPO for KL penalty relaxation significantly improves DPO compared to most existing direct alignment algorithms on general chatbot benchmarks and reveal that this KL penalty control criterion can reflect confusion as a preference model and provide an efficient KL trade-off, highlighting the significance of instance-level adaptive KL penalty control in DPO.
