NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Understanding the Influence of Reward Margin on Preference Model Performance

Bowen Qin, Duanyu Feng, Xi YangarXiv 2024 · DOI

Introduction

In the standard Reinforcement Learning from Human Feedback (RLHF) pipeline, reward models (RMs) are typically trained to mimic human preferences through a binary ranking task. Given a pair of responses, the model is tasked with predicting which one a human would prefer. However, this binary approach treats all preference gaps equally, failing to distinguish between a "slightly better" response and one that is "distinctly superior." This lack of nuance often leads to two major issues: reward hacking, where the language model exploits loopholes in the RM to achieve high scores without improving actual helpfulness, and poor generalization to out-of-distribution examples where quality differences are subtle.

Methodology: Incorporating Reward Margins

To address these limitations, this research introduces a training objective that incorporates a reward margin ($m$). This numerical value represents the magnitude of the preference difference between "chosen" and "rejected" responses, moving beyond the traditional Bradley-Terry ranking objective.

Automated Margin Estimation

Providing granular numerical scores for every training pair is prohibitively expensive. To circumvent this, the authors developed an automated method using batch-level reward confidence. The process involves:

  1. Batch Statistics: Calculating the mean margin ($\mu^B$) within a training batch.
  2. Threshold Filtering: Implementing a mechanism where pairs with margins smaller than the batch average are penalized more heavily to "push" that margin wider.
  3. Distribution Shifting: This effectively forces the model to maintain a clearer differentiation, shifting the reward distribution to be more right-skewed.

Experimental Framework

The approach was validated across a diverse set of human preference datasets, including Anthropic’s HH (Helpful and Harmless), OASST1, WebGPT, Stanford Human Preferences (SHP), and Chatbot Arena. To establish a "gold standard" for testing, the researchers utilized GPT-4 to annotate a subset of data with specific margin labels ranging from "Negligibly Better" to "Distinctly Superior."

GPT-4 annotated margin distribution across preference labels.

Results and Analysis

The proposed margin-aware method consistently outperformed traditional ranking objectives across various model architectures and sizes.

Accuracy and Win Rates

On the HH benchmark, the Pythia-410M model achieved a significant 6.31% increase in accuracy. Larger models also benefited; for instance, Llama-7B-chat reached peak accuracies of 71.95% on HH and 78.34% on OASST1. In "Best-of-N" evaluations, where the RM selects the top output from $N$ candidates, the margin-aware models demonstrated substantially higher win rates against baselines, indicating that the improved reward scores correlate more strongly with final output quality.

Comparison of reward margin distributions between the baseline and the proposed margin-aware method on GPT-4 and HH datasets.

Distributional Impact

As illustrated in the figure above, the margin-aware training (Baseline + Margin) successfully shifts the reward margin distribution. While standard models tend to cluster predictions around zero—indicating low confidence and an inability to truly differentiate—the proposed method encourages a wider, more discerning gap between responses. This increased right-skewness serves as a proxy for higher model quality and better differentiation capabilities.

Discussion and Future Work

While the method provides substantial gains, particularly for smaller models like TinyLlama-1.1B, the relative improvement decreases as model scale increases. This suggests that larger models may implicitly capture some margin information, or that the current automated estimation requires further refinement for high-capacity architectures. Future research will explore dynamic margin techniques that adapt during the reinforcement learning phase and investigate the plateauing performance observed in high-$N$ Best-of-N scenarios.

Summary updated

BibTeX
@misc{qin2024towards,
  author = {Bowen Qin and Duanyu Feng and Xi Yang},
  title = {{Towards Understanding the Influence of Reward Margin on Preference Model Performance}},
  year = {2024},
  eprint = {2404.04932},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.04932},
}
Figure