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

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

TL;DR

Standard Bradley-Terry (BT) loss for training LLM reward models suffers from a hidden structural bias: gradient updates are heavily scaled by the representation distance between response pairs rather than just prediction error. This causes models to ignore hard, fine-grained distinctions (like subtle reasoning errors) while over-focusing on surface-level differences. To fix this, the authors introduce NormBT, a lightweight, drop-in normalization scheme that balances these learning signals and boosts reasoning performance on RewardBench by over 5%.

What Problem Does This Paper Address?

In Reinforcement Learning from Human Feedback (RLHF), a Reward Model (RM) acts as a proxy for human preferences, learning from pairs of "chosen" and "rejected" responses. The standard training objective is the Bradley-Terry (BT) loss. Intuitively, we expect a model's parameter updates to be driven by its prediction error—meaning the model should learn the most when it is highly confident but wrong.

However, this paper reveals a critical flaw in BT loss: the gradient magnitude is mathematically coupled with the representation distance between the two responses in the model's final hidden layer.

Figure 1. Representation-distance bias in BT gradients. Under BT objective, update magnitudes scale with representation distance: “far-apart” pairs (top) can produce inherently large gradients, while “close” pairs (bottom) produce weak gradients, even when the model is equally wrong in its predictions for both pairs. Our method NORMBT introduces a per-pair scale factor, normalizing the gradient contributions by representation distance, such that update magnitudes depend primarily on prediction errors.

As shown in Figure 1, this coupling introduces a severe learning bias. Pairs that are highly distinct in content (like safety violations vs. safe refusals) have a large representation distance and generate massive gradient updates, even if the model already ranks them correctly. Conversely, pairs that are textually and structurally very similar but differ by a single critical mistake (like a subtle logical bug in a coding task) have a tiny representation distance. This causes their learning signals to vanish, leaving critical reasoning errors under-corrected.

Methods

The authors propose NormBT, a sample-wise normalization technique designed to decouple representation distance from the learning signal.

  1. Gradient Decomposition: The authors mathematically prove that the standard BT gradient norm is bounded by the product of the prediction error and the final-layer representation distance ($\|h_w - h_l\|$).
  2. Pair-wise Reweighting: NormBT introduces a per-pair weight ($\tilde{w}_i$) that scales inversely with this distance proxy: $$\tilde{w}_i \propto \frac{1}{\|h_w - h_l\|}$$
  3. Stabilizing Scale Drift: Because embedding scales naturally shift and drift over the course of training, applying raw distance values can destabilize learning. NormBT tracks the running mean of the representation distance using an Exponential Moving Average (EMA) and rescales each pair relative to this baseline.

Crucially, because the final-layer embeddings ($h_w, h_l$) are already computed during the standard forward pass, NormBT acts as a lightweight, drop-in modification to the loss function that incurs virtually zero computational overhead.

Datasets

The reward models were trained and evaluated using several prominent open-source preference datasets and benchmarks:

  • Training: A 80K subset of Unified-Feedback (a diverse aggregated collection) and Skywork-Reward-Preference-80K-v0.2 (a curated, decontaminated dataset).
  • Evaluation: RewardBench (categorized into Chat, Chat-Hard, Safety, and Reasoning). For broader validation, the authors also tested on RM-Bench, RewardBench-2, and Preference Proxy Evaluations (PPE).

Key Insights and Ideas

  • The Reasoning Bottleneck: Reasoning and coding tasks are uniquely penalized by standard BT loss. Because a correct and an incorrect code snippet often look nearly identical on the surface, their representation distance is tiny, leading to suppressed learning signals.
  • An Elegant Proxy: Instead of calculating full parameter gradients to normalize updates (which would require expensive extra backward passes), the L2 distance between the final-layer tokens serves as an exact proxy for the linear score head's gradient, making the solution computationally negligible.
Figure 2. Gradient Analysis Across Dataset. (a) Even for pairs with the same prediction error d (i.e., pairs within each color group), its BT gradient norm, hence update magnitude, still scales strongly with representation distance ∥hw −hl∥. (b) BT gradient norms vary substantially across RewardBench categories, with Reasoning receiving the weakest updates. (c) This disparity in (b) aligns with category-wise representation distances: Reasoning pairs are also closest in representation space, while others are farther apart.
  • Equalizing the Learning Field: As illustrated in Figure 2, standard BT loss allows easy-to-separate categories like Safety to dominate the gradient space. NormBT acts as an equalizer, ensuring that quiet but critical fine-grained errors aren't drowned out by loud, obvious surface-level differences.

Key Results

  • Consistent Performance Gains: Across different LLM backbones (Gemma-2B-It and Llama-3.2-3B-Instruct), NormBT consistently outperformed standard BT loss, margin-based variants, and label smoothing.
  • Reasoning Breakthrough: The largest improvements occurred in the Reasoning category of RewardBench, where NormBT achieved a notable >5% average accuracy boost (e.g., jumping from 65.34% to 70.50% in controlled seed tests).
  • Downstream Utility: In Best-of-N (BoN) response selection tests, reward models trained with NormBT consistently selected higher-quality responses (validated by a strong gold-standard reward model) compared to standard BT baselines.

Limitations and Future Work

  • The Large-Distance Trade-off: Down-weighting pairs with large representation distances can occasionally lead to minor performance drops in categories like Safety, where surface-level differences are actually highly informative.
  • Sensitivity to Noise: In datasets containing high levels of label noise or near-duplicate pairs, NormBT's upweighting mechanism could inadvertently amplify noisy gradients.
  • Future Directions: The authors suggest exploring more sophisticated decoupling strategies and conducting full end-to-end policy training (PPO/DPO) to see how these reward model improvements translate to final LLM behavior.

Summary updated

Abstract

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.
BibTeX
@inproceedings{xie2026when,
  author = {Tong Xie and Andrew Bai and Yuanhao Ban and Yunqi Hong and Haoyu Li and Cho-Jui Hsieh},
  title = {{When Distance Distracts: Representation Distance Bias in BT-Loss for Reward Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=MBk6Pur6RX},
}
Figure