Understanding Reference Policies in Direct Preference Optimization

Yixin Liu, Pengfei Liu, Arman Cohan

Abstract

Direct Preference Optimization (DPO) has emerged as a leading method for aligning Large Language Models (LLMs) with human preferences by eliminating the need for a separate reward model. However, DPO's reliance on a reference policy—typically the model's supervised fine-tuned (SFT) state—introduces significant sensitivities. This study investigates the impact of the KL-divergence constraint ($\beta$) and the choice of reference model. We find that a smaller $\beta$ (0.01) often yields superior performance compared to the standard 0.1, and that reference model compatibility is essential to prevent performance collapse.

Introduction

Direct Preference Optimization (DPO) simplifies the alignment process by implicitly learning a reward function through comparisons with a fixed reference model ($p_{ref}$). This reference model serves as a regularizer, constraining the fine-tuned policy via KL-divergence. Despite its widespread adoption, several aspects of this dependency remain poorly understood: the optimal strength of the $\beta$ parameter, the necessity of the reference policy itself, and the impact of reference model quality. This paper addresses these unknowns through an empirical study on Mistral-7B and Tulu-2 (Llama-2-7B).

Methods

The researchers evaluated the sensitivity of DPO to the $\beta$ parameter by testing values ranging from $\infty$ (original SFT) down to 0.001. They also compared DPO against reference-free objectives, such as "Posterior Probability" (Maximum Entropy RL) and "Likelihood-based" objectives. To understand the underlying mechanics, they performed token-level analysis, specifically focusing on the End-of-Sequence (EOS) token.

Experiments were conducted using the UltraFeedback dataset (64K binarized instruction pairs) for training. Evaluation was performed on AlpacaEval 2 using the length-controlled win-rate metric, judged by GPT-4 Turbo to mitigate verbosity bias.

Key Results and Insights

The Optimal $\beta$ and Performance Gains

A primary finding is that the standard $\beta=0.1$ used in many high-profile models is often sub-optimal. For 7B models, a $\beta$ of 0.01 significantly improved performance. For instance, Mistral-7B's AlpacaEval score rose from 13.42 at $\beta=0.1$ to 16.25 at $\beta=0.01$. However, reducing $\beta$ further (e.g., to 0.005) can lead to model degeneration, where the output becomes repetitive or nonsensical.

AlpacaEval 2 scores for Mistral-7B and Tulu-2-7B across various $\beta$ values, highlighting the optimal performance at $\beta=0.01$.

The EOS Anchor and Token Stability

The reference policy plays a critical role in stabilizing token-level behavior. Without a sufficient KL constraint, models tend to downweight the EOS token, leading to excessively long responses—a common "cheating" strategy to inflate evaluation scores. The reference policy acts as an anchor, preventing this drift and ensuring more concise, high-quality outputs.

Log-probability differences for specific tokens across different $\beta$ values, illustrating the stabilization of the EOS token.

Reference Model Compatibility

The study also reveals that "stronger" is not always better when choosing a reference model. While using a more advanced compatible model (e.g., Mistral-Instruct-v0.2 as a reference for Mistral-7B) can boost scores to 20.25, using an architecturally different model often leads to failure. Compatibility between the reference and the policy is paramount. Interestingly, when a stronger reference is used, the optimal $\beta$ tends to increase, suggesting that a more reliable anchor allows for a tighter constraint.

Conclusion

This research underscores that DPO is highly sensitive to its reference policy configuration. Tuning $\beta$ to 0.01 and ensuring reference model compatibility are key to maximizing performance. Future work should focus on developing formal metrics for model compatibility and investigating how these sensitivities scale to larger model sizes (70B+).

Summary updated

BibTeX
@inproceedings{liu2025understanding,
  author = {Yixin Liu and Pengfei Liu and Arman Cohan},
  title = {{Understanding Reference Policies in Direct Preference Optimization}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.findings-naacl.447},
}
Figure