TLRS-DPO: Token-Level Risk Scoring for Better Direct Preference Optimization
Organizations: University of Pennsylvania · Independent Researcher
Abstract
Direct Preference Optimization (DPO) is a simple and widely used alternative to RLHF for aligning large language models (LLMs), but its sequence-level objective cannot precisely locate or suppress the local patterns that make an otherwise acceptable response unsafe or undesirable. We propose TLRS-DPO (Token-Level Risk Scoring for Better Direct Preference Optimization), which augments DPO with fine-grained token-level control while remaining fully offline and reference-based. TLRS-DPO introduces a token-level robust compensation term that converts the policy-reference log-ratio on rejected responses into localized risk scores, a curriculum-style schedule that gradually increases the strength of this compensation during training, and a risk-adaptive screening mechanism that selectively penalizes only high-risk tokens instead of entire sequences. This design bridges sequence-level preference fitting and token-level behavior control, and can be implemented as a drop-in modification to standard DPO trainers. Empirically, TLRS-DPO improves alignment quality and safety-relevant behavior with minimal impact on helpfulness compared to strong DPO baselines.
Figures & tables
| Method | A-Eval | A-Eval (LC) | Arena | Arena (LC) | MT-Bench | Std. |
|---|---|---|---|---|---|---|
| DPO Rafailov et al. (2023) | 62.8 0.0 | 58.7 0.0 | 51.2 0.0 | 47.3 0.0 | 6.72 0.0 | 0.15 0.29 |
| SimPO Meng et al. (2024) | 66.1 3.3 | 61.9 3.2 | 54.6 3.4 | 51.4 4.1 | 7.01 0.29 | 0.14 |
| SePO Yang et al. (2025a) | 68.5 5.7 | 65.7 7.0 | 57.3 6.1 | 53.8 6.5 | 7.24 0.52 | 0.12 |
| TIS-DPO Liu et al. (2025a) | 70.2 7.4 | 67.4 8.7 | 59.9 8.7 | 56.7 9.4 | 7.41 0.69 | 0.11 |
| T-REG Zhou et al. (2025) | 71.0 8.2 | 68.2 9.5 | 61.3 10.1 | 58.0 10.7 | 7.48 0.76 | 0.09 |
| TLRS-DPO (ours) | 73.4 10.6 | 70.6 11.9 | 64.1 12.9 | 61.2 13.9 | 7.73 1.01 | 0.08 |
| Method | Safety | Reward | GSM8K | MathInst. |
|---|---|---|---|---|
| Rate (%) | (↑) | Acc@1 (%) | Acc@1 (%) | |
| DPO | 76.2 | 0.41 | 58.3 | 62.4 |
| SePO | 80.5 | 0.47 | 62.1 | 67.2 |
| TIS-DPO | 82.9 | 0.49 | 63.4 | 68.6 |
| T-REG | 83.6 | 0.50 | 64.1 | 69.3 |
| TLRS-DPO (ours) | 86.8 | 0.54 | 67.5 | 72.1 |
| Method Variant | GSM8K | PKU-SafeRLHF | ||
|---|---|---|---|---|
| Accuracy↑ | Risk Score↓ | Accuracy↑ | Risk Score↓ | |
| Vanilla DPO | 72.4 | 0.41 | 64.8 | 0.47 |
| w/o Token-Level Scoring | 75.1 | 0.36 | 66.5 | 0.43 |
| w/o Risk Curriculum | 76.3 | 0.32 | 68.4 | 0.39 |
| w/o Reference Penalty | 77.5 | 0.30 | 70.2 | 0.36 |
| Full TLRS-DPO (ours) | 80.7 | 0.25 | 73.1 | 0.31 |
Direct Preference Optimization
Direct Preference Optimization trains generative models from preferred and rejected outputs without fitting an explicit reward model.
See all 174 papers