Abstract
Preference optimization has made significant progress recently, with numerous methods developed to align language models with human preferences. This paper introduces f-divergence Preference Optimization (f-PO), a novel framework that generalizes and extends existing approaches. f-PO minimizes f-divergences between the optimized policy and the optimal policy, encompassing a broad family of alignment methods using various divergences. Our approach unifies previous algorithms like DPO and EXO, while offering new variants through different choices of f-divergences. We provide theoretical analysis of f-PO's properties and conduct extensive experiments on state-of-the-art language models using benchmark datasets. Results demonstrate f-PO's effectiveness across various tasks, achieving superior performance compared to existing methods on popular benchmarks such as AlpacaEval 2, Arena-Hard, MT-Bench, and Open LLM Leaderboard v2. Additionally, we present ablation studies exploring the impact of different f-divergences, offering insights into the trade-offs between regularization and performance in offline preference optimization. Our work contributes both practical algorithms and theoretical understanding to the field of language model alignment.
Introduction
Aligning Large Language Models (LLMs) with human preferences is a critical challenge in modern AI development. While Reinforcement Learning from Human Feedback (RLHF) is the standard approach, its complexity and instability have led to the rise of "offline" methods like Direct Preference Optimization (DPO). However, DPO and its successors (like IPO or EXO) often appear as heuristic tweaks rather than parts of a cohesive theory.
This paper addresses this gap by introducing f-divergence Preference Optimization (f-PO). By framing alignment as a distribution matching task, f-PO provides a unified theoretical framework that views preference optimization as the geometric problem of moving a model's probability distribution toward an ideal "optimal" policy.
Methods: The f-divergence Framework
The core innovation of f-PO is the use of the mathematical family of f-divergences to define the distance between the model policy ($\pi_\theta$) and the optimal policy ($\pi^*$). This family includes well-known metrics such as KL divergence, Jensen-Shannon, and Hellinger distance.
As shown in Figure 1, different divergences result in different geometric behaviors. The authors prove that existing methods are specific cases of this framework: DPO is f-PO using Reverse KL divergence, while EXO is f-PO using Forward KL. A key new variant introduced is $\alpha$-PO, based on $\alpha$-divergence. This "super-divergence" allows practitioners to interpolate between different behaviors—such as focusing on the most likely correct answer (mode-seeking) or covering a broader range of human-like responses (mode-covering)—by tuning a single parameter, $\alpha$.
Results and Key Insights
The researchers evaluated f-PO across a wide array of benchmarks, including AlpacaEval 2.0, Arena-Hard, and the Open LLM Leaderboard v2. The $\alpha$-PO variant consistently set new state-of-the-art marks. For example, using a Llama-3-8B-Instruct base, f-PO achieved a 45.3% length-controlled win rate on AlpacaEval 2, significantly outperforming DPO (40.3%) and SimPO (44.7%).
Ablation studies (Figure 5) reveal that alternative divergences like Jeffrey's and $\alpha$-divergence often provide a better balance of regularization and performance than standard KL-based methods. Specifically, $\alpha=0.1$ was found to be a robust choice, allowing the model to outperform both Forward and Reverse KL-based methods across 16 out of 20 metrics tested.
Conclusion
f-PO offers a principled, unified theory for LLM alignment. By viewing preference optimization through the lens of geometry and distribution matching, it provides a systematic way to design loss functions that go beyond simple binary classification. While the framework introduces new hyperparameters like $\alpha$, its ability to consistently outperform existing state-of-the-art methods suggests it is a significant step forward in robustly aligning language models with human values.
Summary updated