KL Penalty Control via Perturbation for Direct Preference Optimization

Sangkyu Lee, Janghoon Han, Hosung Song, Stanley Jungkyu Choi, Honglak Lee +1 more
2/18/2025
10 citations
cs.LGcs.AI
rlhf-rlvr-dpo

Official code: oddqueue/e-dpo (6 stars, Python, last commit 2025-11-26).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

oddqueue/e-dpoOfficial25%

[NeurIPS 2025] The official implementation of "KL Penalty Control via Perturbation for Direct Preference Optimization"

61PythonFeb 18, 20251 years ago

Similar Papers

Cite this paper

@article{lee2025penalty,
  title  = {KL Penalty Control via Perturbation for Direct Preference Optimization},
  author = {Sangkyu Lee and Janghoon Han and Hosung Song and Stanley Jungkyu Choi and Honglak Lee and Youngjae Yu},
  year   = {2025},
  eprint = {2502.13177},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.13177v3},
  journal = {NEURIPS 2025 2025}
}

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.13177.svg)](https://codeofpaper.com/paper/2502.13177)

Discussion