arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.15453cs.CL
收藏

用于训练奖励模型的数据自适应安全规则

Data-adaptive Safety Rules for Training Reward Models

Harvard University(哈佛大学);Massachusetts Institute of Technology(麻省理工学院);Pennsylvania State University(宾夕法尼亚州立大学)

Xiaomin Li, Mingye Gao, Zhiwei Zhang, Jingxuan Fan, Weiyu Li

AI总结:

本文提出一种为回复对自适应选择最重要规则的动态方法,基于最大差异的数学框架最大化标注与真实偏好的互信息,训练的8B奖励模型在RewardBench上取得了最高安全性能。

摘要:

人类反馈强化学习(RLHF)通常被用于使模型适应人类偏好,特别是为了提高大型语言模型(LLMs)输出的安全性。传统上,该方法依赖于从配对中选择偏好的回复。然而,由于人类观点的多样性以及直接比较两个回复的挑战,越来越多地趋向于使用多个针对性指标或规则来评估回复的细粒度标注方法。挑战在于如何高效地选择和应用这些规则以处理多样化的偏好数据。在本文中,我们提出了一种动态方法,能够自适应地为每个回复对选择最重要的规则。我们引入了一个利用配对回复间最大差异的数学框架,并从理论上证明了该方法能够最大化基于规则的标注与潜在真实偏好之间的互信息。随后,我们使用这种自适应标注的偏好数据集训练了一个8B奖励模型,并使用RewardBench评估了其效能。截至2025年1月25日,我们的模型在排行榜上取得了最高的安全性能,超越了多种更大的模型。

英文摘要:

Reinforcement Learning from Human Feedback (RLHF) is commonly employed to tailor models to human preferences, especially to improve the safety of outputs from large language models (LLMs). Traditionally, this method depends on selecting preferred responses from pairs. However, due to the variability in human opinions and the challenges in directly comparing two responses, there is an increasing trend towards fine-grained annotation approaches that evaluate responses using multiple targeted metrics or rules. The challenge lies in efficiently choosing and applying these rules to handle the diverse range of preference data. In this paper, we propose a dynamic method that adaptively selects the most important rules for each response pair. We introduce a mathematical framework that utilizes the maximum discrepancy across paired responses and demonstrate theoretically that this approach maximizes the mutual information between the rule-based annotations and the underlying true preferences. We then train an 8B reward model using this adaptively labeled preference dataset and assess its efficacy using RewardBench. As of January 25, 2025, our model achieved the highest safety performance on the leaderboard, surpassing various larger models.

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

↑