Aligning language models with human preferences is essential for ensuring their safety and reliability. Although most existing approaches assume specific human preference models such as the Bradley-Terry model, this assumption may fail to accurately capture true human preferences, and consequently, these methods lack statistical consistency, i.e., the guarantee that language models converge to the true human preference as the number of samples increases. In contrast, direct density ratio optimization (DDRO) achieves statistical consistency without assuming any human preference models. DDRO models the density ratio between preferred and non-preferred data distributions using the language model, and then optimizes it via density ratio estimation. However, this density ratio is unstable and often diverges, leading to training instability of DDRO. In this paper, we propose a novel alignment method that is both stable and statistically consistent. Our approach is based on the relative density ratio between the preferred data distribution and a mixture of the preferred and non-preferred data distributions. Our approach is stable since this relative density ratio is bounded above and does not diverge. Moreover, it is statistically consistent and yields significantly tighter convergence guarantees than DDRO. We experimentally show its effectiveness with Qwen 2.5 and Llama 3.
Figures & tables
Qwen-1.5B
Qwen-3B
Llama-3B
Llama-8B
KTO
5.220 ± 0.104
7.920 ± 0.082
9.937 ± 0.024
9.344 ± 0.296
DDRO
5.364 ± 0.162
7.888 ± 0.088
12.069 ± 0.113
15.660 ± 0.343
RDRO
5.599 ± 0.122
8.933 ± 0.318
12.634 ± 0.101
17.314 ± 0.078
Table 1: Comparison of AlpacaEval LC Win Rates on UF-G.
Qwen-1.5B
Qwen-3B
Llama-3B
Llama-8B
KTO
5.320 ± 0.173
8.240 ± 0.124
12.763 ± 0.190
13.921 ± 0.041
DDRO
5.169 ± 0.166
8.458 ± 0.138
12.487 ± 0.156
17.269 ± 0.675
RDRO
5.297 ± 0.102
8.793 ± 0.238
12.720 ± 0.205
17.102 ± 0.305
DPO
7.134 ± 0.145
12.418 ± 0.085
10.056 ± 0.088
16.039 ± 0.448
SimPO
6.557 ± 0.059
12.612 ± 0.142
9.815 ± 0.231
15.862 ± 0.242
Table 2: Comparison of AlpacaEval LC Win Rates on MIX-14K. DPO ( Rafailov et al., 2023 ) and SimPO ( Meng et al., 2024 ) use pairwise labels (DPO-Mix-7K), while KTO, DDRO, and RDRO use pointwise labels (MIX-14K).
Figure 1: AlpacaEval LC win rates across α on UF-G, with shading indicating standard deviations.
Figure 2: AlpacaEval LC win rates across α on MIX-14K, with shading indicating standard deviations.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 3: Density ratio comparison and loss functions.
Qwen-1.5B
Qwen-3B
Llama-3B
Llama-8B
KTO
0.252 ± 0.000
0.000 ± 0.000
0.438 ± 0.000
0.190 ± 0.012
DDRO
0.279 ± 0.001
0.004 ± 0.001
0.531 ± 0.001
0.615 ± 0.018
RDRO
0.286 ± 0.000
0.010 ± 0.000
0.546 ± 0.001
0.701 ± 0.000
Appendix
Table 3: Comparison of BIG-Bench Hard (3 shot) on UF-G.
Qwen-1.5B
Qwen-3B
Llama-3B
Llama-8B
KTO
0.243 ± 0.000
0.017 ± 0.000
0.538 ± 0.000
0.668 ± 0.001
DDRO
0.275 ± 0.001
0.015 ± 0.000
0.552 ± 0.001
0.699 ± 0.003
RDRO
0.284 ± 0.000
0.014 ± 0.000
0.553 ± 0.000
0.694 ± 0.001
Appendix
Table 4: Comparison of BIG-Bench Hard (3 shot) on MIX-14K.
Figure 4: Training losses over steps for DDRO, KTO, and RDRO on Llama-8B with UF-G and α=0.39 . Note that the loss values are not directly comparable across methods since the objectives differ.
Figure 5: Gradient norms over steps for DDRO, KTO, and RDRO on Llama-8B with UF-G and α=0.39 .
Figure 6: Preferred log-ratios over steps for DDRO, KTO, and RDRO on Llama-8B with UF-G and α=0.39 .
Figure 7: Non-preferred log-ratios over steps for DDRO, KTO, and RDRO on Llama-8B with UF-G and α=0.39 .
Preference-based alignment methods such as Direct Preference Optimization (DPO) use pairwise preferences labeled by human annotators to fine-tune language models. However, annotators carry systematic biases toward some attributes: a name that signals a gender or an ethnicity, a persona, a language variety, a formatting convention, or length. If not properly addressed, these systematic biases can be absorbed and amplified during alignment. Existing methods address length bias or annotator disagreement, but fail to eliminate biases toward arbitrary attributes. To address this limitation, we propose Bias-Adjusted DPO (BA-DPO), a generalization of DPO that adds one bias parameter per annotator toward responses carrying a declared attribute. We prove that the objective is convex in the bias parameters and that the votes identify each annotator's bias up to a shared constant. The remaining constant is what fixes the aligned model's attribute rate: by default the rate of the reference model, or a target rate, which we use to bring a biased policy to statistical parity. On a corpus with planted biases, DPO drives the attribute from a balanced start to probability 0.96 and BA-DPO removes 81 to 95% of that shift; on MultiPref with real annotators it removes about half of DPO's lengthening. Both hold at 0.5B with full fine-tuning and at 8B with LoRA, at no higher KL than DPO and no loss in judged quality.
Alignment of large language models typically relies on pairwise preference feedback, though ranked feedback can capture more comprehensive information across multiple responses within a single annotation. However, ranked-preference alignment is underexplored in practice compared to simpler pairwise approaches, potentially resulting in suboptimal behavior. Concurrently, recent research has conceptualized large language model alignment objectives as divergence estimators between aligned (preferred) and unaligned (less-preferred) response distributions, resulting in a family of objectives with an interpretable theoretical foundation and strong empirical performance. This work unifies these perspectives by introducing f-RPO, a f-divergence objective for ranked preference optimization that extends divergence-based alignment to ranked feedback and recovers pairwise preference alignment as a special case. Our theoretical analysis establishes rank-order consistency, showing that f-RPO preserves the underlying preference ordering at convergence. Empirical results indicate that total-variation and reverse-KL variants of the proposed objective consistently outperform ranked-alignment baselines in both ranking and generation quality across Qwen, Llama, & Gemma models ranging from 0.5B to 8B parameters.
The alignment of large language models with human preferences is commonly achieved through Reinforcement Learning from Human Feedback or Direct Preference Optimization. However, these methods are vulnerable to the significant noise prevalent in real-world preference datasets. To address this critical issue, we present a theoretical framework for unbiased alignment, introducing the Unbiased Reward Model (URM) loss and the Unbiased Direct Preference Optimization (UDPO) loss. By mathematically correcting the distortion induced by preference noise, our novel objectives enable unbiased model training directly from noisy datasets, without requiring clean ground-truth supervision. We provide rigorous theoretical analyses demonstrating that our methods are noise-tolerant, parameter downward compatible, and classification-calibrated. Comprehensive experiments across diverse datasets demonstrate that our approaches outperform state-of-the-art baselines. Code available at: https://github.com/cswjl/unbiased-alignment.
Jialiang Wang, Xianming Liu, Xiong Zhou +2
1Harbin Institute of Technology · 2City University of Hong Kong.