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

当距离干扰:BT损失中表示距离偏差对奖励模型的影响

When Distance Distracts: Representation Distance Bias in BT-Loss for Reward Models

University of California, Berkeley(加州大学伯克利分校)

Tong Xie, Andrew Bai, Yuanhao Ban, Yunqi Hong, Haoyu Li, Cho-Jui Hsieh

AI总结:

分析BT损失中表示距离导致的梯度偏差,提出NormBT自适应归一化方案,提升奖励模型在细粒度区分上的性能。

摘要:

奖励模型是RLHF框架中大型语言模型对齐的核心。奖励建模中使用的标准目标是Bradley-Terry(BT)损失,它从由选择和拒绝响应组成的成对数据中学习。在这项工作中,我们分析了BT损失的每个样本梯度,并展示了由于表示距离而产生的虚假学习信号。特别是,BT梯度范数由两个不同的组成部分缩放:(1)预测误差,反映选择和拒绝响应之间预测奖励的差异,以及关键地,(2)在最后一层输出空间中测量的对之间的表示距离。虽然第一项捕获了预期的训练信号,但第二项会显著影响更新幅度并导致学习错位。具体来说,表示距离小的对即使排名错误也经常收到微弱的更新,而距离大的对则收到不成比例的大更新。这导致来自大距离对的梯度掩盖了来自小距离对的梯度,而细粒度区分在小距离对中尤为重要。为了克服这一限制,我们提出了NormBT,一种自适应成对归一化方案,重新缩放更新以平衡表示驱动效应,并将学习信号聚焦于预测误差。NormBT是对BT损失的轻量级、即插即用修改,开销可忽略。在各种LLM骨干和数据集上,NormBT一致地提高了奖励模型性能,在RewardBench的推理类别上取得了超过5%的显著提升,该类别包含大量细粒度对。

英文摘要:

Reward models are central to Large Language Model (LLM) alignment within the framework of RLHF. The standard objective used in reward modeling is the Bradley-Terry (BT) loss, which learns from pairwise data consisting of chosen and rejected responses. In this work, we analyze the per-sample gradient of BT-loss and show spurious learning signals due to representation distance. In particular, BT gradient norm scales with two distinct components: (1) prediction error, reflected by the difference in predicted rewards between chosen and rejected responses, and critically, (2) representation distance between the pair measured in the output space of the final layer. While the first term captures the intended training signal, the second term can significantly impact the update magnitude and misalign learning. Specifically, pairs with small representation distance often receive vanishingly weak updates, even when misranked, while pairs with large distance receive disproportionately strong updates. This leads to gradients from large-distance pairs to overshadow those from small-distance pairs, where fine-grained distinctions are especially important. To overcome this limitation, we propose NormBT, an adaptive pair-wise normalization scheme that rescales updates to balance representation-driven effects and focuses learning signals on prediction error. NormBT is a lightweight, drop-in modification to BT loss with negligible overhead. Across various LLM backbones and datasets, NormBT improves reward model performance consistently, with notable gains of over 5% on the Reasoning category of RewardBench, which contains numerous fine-grained pairs.

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

↑