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.