Preference optimization has become a central approach for aligning large language models with human values, but its effectiveness depends heavily on the quality of preference annotations. In practice, preference data is often noisy due to annotation errors and ambiguity. Existing robust preference optimization methods primarily operate at the sequence level, implicitly treating entire responses as uniformly correct or incorrect. However, rejected responses may still contain informative reasoning steps, while preferred responses can include subtle errors. In this work, we propose Preference Optimization via Robust Token-level reweighting (PORT), a fine-grained framework for robust alignment under noisy preferences. PORT performs token-level reweighting using the empirical cumulative distribution function (CDF) of token log-probabilities, yielding an efficient forward-pass-only proxy to gradient-norm penalization that selectively suppresses corrupted tokens without additional backward-pass computation. We provide theoretical analysis showing that PORT reduces the gradient bias from noisy preference labels by minimizing an upper bound on the bias term. Extensive experiments across diverse noise settings demonstrate that PORT consistently improves robustness and outperforms existing sequence-level baselines. The code is available at https://github.com/osu-srml/PORT
Figures & tables
Figure 1: Overview of the PORT training pipeline: 1) Given a batch B={(x~,y~w[b],y~l[b])}b=1∣B∣ of preference pairs, where y~w[b] and y~l[b] denote chosen and rejected responses. 2) Forward pass: the policy πθ and reference policy πref are evaluated to obtain per-token log-ratios δt[b](θ) and token-level logits s~w,t[b],s~l,t[b] . 3) Δ CDF estimation: token log-probabilities are pooled across the batch to form a global empirical CDF F(⋅) , which gives percentile ranks Fw,t[b] and Fl,t[b] for the chosen and rejected tokens. A large gap indicates that the rejected token is assigned anomalously high probability relative to the chosen token, signaling potential token-level label noise. 4) Weight conversion: gap Δt[b]=Fl,t[b]−Fw,t[b] is mapped to a weight wt[b]=γexp(ρΔt[b]) . 5) Weighted token-level update: these weights are incorporated into the preference objective Lw , yielding a robust gradient update that suppresses corrupted tokens. The procedure uses only a single forward pass and introduces no extra backward-pass overhead.
Figure 2: Scatter plot of Δ CDF versus token-level gradient discrepancy. Since ∥∇δt(z;θ)∥=∥∇θπθ(yw,t∣x)−∇θπθ(yl,t∣x)∥ , we compute this quantity by taking the SFT gradients of the chosen and rejected responses separately and evaluating the norm of their difference. Across a large population of tokens, an implicit linear trend emerges between the two quantities (Pearson r=0.4526 , n=8,752 ), suggesting that ΔCDF may serve as a lightweight proxy for the noise-induced gradient magnitude in Theorem 1 , without requiring access to the unobservable statistics.
Method
LLaMA2-7B
Qwen3-4B
Gold RM Score ↑
GPT Win Rate (%) ↑
Gold RM Score ↑
GPT Win Rate (%) ↑
SLiC-HF
2.58 ± 0.11
55.8 ± 1.2
2.08 ± 0.07
45.5 ± 0.8
IPO
2.75 ± 0.09
57.4 ± 0.5
2.15 ± 0.13
46.7 ± 0.7
DPO
2.66 ± 0.12
56.8 ± 0.9
2.18 ± 0.11
46.3 ± 1.2
fDPO
3.20 ± 0.06
60.7 ± 0.8
2.54 ± 0.08
48.7 ± 1.0
SamS
3.68 ± 0.11
64.8 ± 0.9
2.84 ± 0.10
53.8 ± 1.1
Table 1: Evaluation results on the AlpacaFarm dataset under two model settings. Bold indicates the best performance, and underline denotes the second-best performance. The results is reported under 3 different seed and as the format of mean ± standard deviation.
Method
PKU-Beaver SR ↑
GPT Win Rate (%) ↑
SLiC-HF
0.41
56.0
IPO
0.43
57.6
DPO
0.42
56.8
fDPO
0.48
61.8
SamS
0.53
65.8
cDPO
0.48
61.8
Table 2: Results on Anthropic HH dataset (Harmless split). Bold denotes the best performance, underline indicates the second-best performance.
Method
p=0.2
p=0.3
p=0.4
SR ↑
GPT Win Rate (%) ↑
SR ↑
GPT Win Rate (%) ↑
SR ↑
GPT Win Rate (%) ↑
DPO
0.45
59.3
0.42
56.8
0.38
53.4
SamS
0.53
65.9
0.53
65.8
0.46
60.1
β -DPO
0.54
66.7
0.51
64.3
0.47
60.9
PORT
0.56
68.5
0.55
67.6
0.53
65.9
Table 3: Ablation of Noise Intensity on Anthropic HH (evaluated by PKU-Beaver SR ↑ ). Bold denotes the best performance, underline indicates the second-best performance.
Method
ϵ -mislabeled noise
α -uncertain noise
SR ↑
GPT Win Rate (%) ↑
SR ↑
GPT Win Rate (%) ↑
DPO
0.38
53.4
0.38
53.5
SamS
0.46
60.1
0.43
57.0
Dr.DPO
0.48
61.8
0.44
58.5
PORT
0.53
65.9
0.49
62.5
Table 4: Impact of Noise Type on Model Performance (evaluated by PKU-Beaver SR ↑ ) on Anthropic HH with p=0.4 noise level. Bold denotes the best performance, underline indicates the second-best performance. PORT achieves consistent gains of ∼4% WR and 0.05 SR over the strongest baseline across both noise types.
Figure 3: Comparison of per-sample training loss trajectories between standard DPO and our proposed PORT method across 30 gradient steps. The training samples are partitioned into High Δ CDF (more reliable) and Low Δ CDF (more noisy) groups.
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 4: Scatter plot of Δ CDF versus token-level gradient discrepancy. Since ∥∇h(z;θ)∥=∥∇θπθ(yw∣x)−∇θπθ(yl∣x)∥ , we compute this quantity by taking the SFT gradients of the chosen and rejected responses separately and evaluating the norm of their difference. Across a large population of tokens, an implicit linear trend emerges between the two quantities, suggesting that ΔCDF may serve as a lightweight proxy for the noise-induced gradient magnitude η(z)∥∇h(z;θ)∥ in Theorem 1 , without requiring access to the unobservable statistics.
ρ\γ
0.5
1.0
1.5
0.1
0.0804
0.2315
0.2928
0.3
0.0921
0.2624
0.3088
0.5
0.0797
0.2448
0.2649
Appendix
Table 5: Sensitivity analysis of γ and ρ on LLaMA2-7B. Performance is measured by the mean ground-truth log-probability margin between chosen and rejected responses on a held-out validation set. Higher is better.
Batch Size ( B )
GPT Win Rate (%)
1
39.1
4
42.8
16
44.3
Appendix
Table 6: Effect of batch size on GPT win rate using Qwen2.5-0.5B. The reference set R pools all non-padding chosen and rejected token logits across the batch. Higher is better.
Figure 5: Qualitative comparison of PORT and the baseline model on a safety-related prompt from PKU-Beaver. PORT’s response is classified as harmless, whereas the baseline response is classified as harmful.
Method
α -uncertain noise
ϵ -mislabeled noise
SR ↑
GPT Win Rate (%) ↑
SR ↑
GPT Win Rate (%) ↑
SLiC-HF
0.36
52.0
0.37
52.6
IPO
0.37
52.6
0.39
54.2
DPO
0.38
53.5
0.38
53.4
fDPO
0.41
56.1
0.45
59.3
SamS
0.43
57.0
0.46
60.1
Appendix
Table 7: Impact of Noise Type on Model Performance (evaluated by PKU-Beaver SR ↑ ) on Anthropic HH with p=0.4 noise level. Bold denotes the best performance, underline indicates the second-best performance.
Method
p=0.2
p=0.3
p=0.4
SR ↑
GPT Win Rate (%) ↑
SR ↑
GPT Win Rate (%) ↑
SR ↑
GPT Win Rate (%) ↑
SLiC-HF
0.44
58.4
0.41
56.0
0.37
52.6
IPO
0.46
60.1
0.43
57.6
0.39
54.2
DPO
0.45
59.3
0.42
56.8
0.38
53.4
fDPO
0.51
64.2
0.48
61.8
0.45
59.3
SamS
0.53
65.9
0.53
65.8
0.46
60.1
Appendix
Table 8: Ablation of Noise Intensity on Anthropic HH (evaluated by PKU-Beaver SR ↑ ). Bold denotes the best performance, underline indicates the second-best performance. We have improved 19.2 % compared with the SFT baseline and 2% compared with the best SOTA method.
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
Harbin Institute of Technology · City University of Hong Kong
Most preference optimization methods, such as Direct Preference Optimization (DPO), apply preference supervision at the response level, although autoregressive language models are optimized token by token. As a result, all tokens in a rejected response contribute to the negative training signal, including tokens that may encode behavior that is useful for the preferred response. We introduce GAW-PO, a gradient-aligned token reweighting method for DPO that estimates, for each rejected token, whether penalizing it would interfere with the preferred update directions. Tokens whose gradients are strongly aligned with the preferred behavior receive a weaker negative contribution, while conflicting tokens retain a stronger penalty. Our method achieves the highest average performance among the evaluated preference-optimization methods, improving by 0.97 points over standard DPO and 0.65 points over the strongest competing baseline across 11 benchmarks spanning mathematics, reasoning, coding, and question answering. We further show that gradient-aligned weighting is substantially more robust to aggressive preference optimization: as the DPO regularization parameter β decreases, standard DPO degrades sharply, whereas GAW-PO continues to improve. These results suggest that accounting for the interaction between rejected-token updates and preferred behavior provides an effective form of token-level credit assignment for preference optimization.
Andreea Dutulescu, Stefan Ruseti, Mihai Masala +2
National University of Science and Technology POLITEHNICA Bucharest · NVIDIA
Direct Preference Optimization (DPO) is a widely used RL-free method for aligning language models from pairwise preferences, but it models preferences over full sequences even though generation is driven by per-token decisions. Existing token-level extensions typically decompose a sequence-level Bradley-Terry objective across timesteps, leaving per-prefix (state-wise) optimality implicit. We study how to recover token-level preference optimality using only standard sequence-level pairwise comparisons. We introduce Token-level Bregman Preference Optimization (TBPO), which posits a token-level Bradley-Terry preference model over next-token actions conditioned on the prefix, and derive a Bregman-divergence density-ratio matching objective that generalizes the logistic/DPO loss while preserving the optimal policy induced by the token-level model and maintaining DPO-like simplicity. We introduce two instantiations: TBPO-Q, which explicitly learns a lightweight state baseline, and TBPO-A, which removes the baseline through advantage normalization. Across instruction following, helpfulness/harmlessness, and summarization benchmarks, TBPO improves alignment quality and training stability and increases output diversity relative to strong sequence-level and token-level baselines.
Truong Nguyen, Tien-Phat Nguyen, Linh Ngo Van +3
Hanoi University of Science and Technology · University of Stuttgart · German Research Center for Artificial Intelligence +3