arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.11232cs.LGcs.AIcs.CL
收藏

TLRS-DPO:用于改进直接偏好优化的令牌级风险评分

TLRS-DPO: Token-Level Risk Scoring for Better Direct Preference Optimization

University of Pennsylvania(宾夕法尼亚大学)

Suxin Ji, Hungtao Wan

AI总结:

该研究针对DPO无法精确定位局部风险模式的问题,提出TLRS-DPO方法,通过令牌级风险评分等机制改进DPO,在几乎不影响有用性的前提下提升了LLM的对齐质量与安全性。

摘要:

直接偏好优化(DPO)是一种简单且广泛使用的、用于对齐大语言模型(LLMs)的方法,是RLHF的替代方案,但它的序列级目标无法精确定位或抑制那些使原本可接受的响应变得不安全或不合需要的局部模式。我们提出TLRS-DPO(Token-Level Risk Scoring for Better Direct Preference Optimization),它在保持完全离线且基于参考的特性的同时,为DPO增加了细粒度的令牌级控制。TLRS-DPO引入了一个令牌级鲁棒补偿项,将被拒绝响应上的策略-参考对数比率转换为局部风险评分;一个课程式调度,在训练过程中逐渐增加该补偿的强度;以及一个风险自适应筛选机制,仅选择性地惩罚高风险令牌而非整个序列。这种设计弥合了序列级偏好拟合与令牌级行为控制之间的差距,可作为标准DPO训练器的即插即用修改。实验表明,与强大的DPO基线相比,TLRS-DPO在对有用性影响极小的情况下,提升了对齐质量和与安全相关的行为。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑