arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.20359cs.LGcs.AI
收藏

嵌套风险度量下的风险感知直接偏好优化

Risk-aware Direct Preference Optimization under Nested Risk Measure

Key Laboratory of Computational Intelligence and Chinese Information Processing of Ministry of Education, School of Computer and Information Technology, Shanxi University(教育部计算智能与中文信息处理重点实验室,计算机与信息学院,山西大学);Institute for AI, Peking University(人工智能研究院,北京大学);University College London(伦敦大学学院)

Lijun Zhang, Lin Li, Yajie Qi, Huizhong Song, Yaodong Yang, Jun Wang, Wei Wei

AI总结:

本文提出风险感知直接偏好优化(Ra-DPO),通过嵌套风险度量构建受约束的优势函数最大化问题,在token级别抑制模型偏差,有效平衡对齐性能与模型漂移。

摘要:

在微调预训练大型语言模型(LLMs)以使其与人类价值观和意图对齐时,最大化估计奖励可以带来卓越的性能,但由于偏离参考模型的预期行为,这也会引入潜在风险。大多数现有方法通常引入KL散度来约束训练模型与参考模型之间的偏差;然而,在某些需要严格风险控制的应用中,这可能是不够的。在本文中,我们引入了风险感知直接偏好优化(Ra-DPO),这是一种通过采用一类嵌套风险度量来纳入风险感知的新颖方法。该方法构建了一个受约束的风险感知优势函数最大化问题,然后将Bradley-Terry模型转换为token级别的表示。目标函数最大化策略的可能性,同时使用序列风险比率抑制训练模型与参考模型之间的偏差,从而增强模型的风险感知能力。在三个开源数据集:IMDb Dataset、Anthropic HH Dataset和AlpacaEval上的实验结果,证明了所提出方法在平衡对齐性能和模型漂移方面的卓越性能。我们的代码已在https://github.com/zlj123-max/Ra-DPO开源。

英文摘要:

When fine-tuning pre-trained Large Language Models (LLMs) to align with human values and intentions, maximizing the estimated reward can lead to superior performance, but it also introduces potential risks due to deviations from the reference model's intended behavior. Most existing methods typically introduce KL divergence to constrain deviations between the trained model and the reference model; however, this may not be sufficient in certain applications that require tight risk control. In this paper, we introduce Risk-aware Direct Preference Optimization (Ra-DPO), a novel approach that incorporates risk-awareness by employing a class of nested risk measures. This approach formulates a constrained risk-aware advantage function maximization problem and then converts the Bradley-Terry model into a token-level representation. The objective function maximizes the likelihood of the policy while suppressing the deviation between a trained model and the reference model using a sequential risk ratio, thereby enhancing the model's risk-awareness. Experimental results across three open-source datasets: IMDb Dataset, Anthropic HH Dataset, and AlpacaEval, demonstrate the proposed method's superior performance in balancing alignment performance and model drift. Our code is opensourced at https://github.com/zlj123-max/Ra-DPO.

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

↑