Reward Modeling Requires Automatic Adjustment Based on Data Quality

Binghai Wang, Rui Zheng, Lu Chen, Zhiheng Xi, Wei Shen, Yuhao Zhou, Dong Yan, Tao Gui, Qi Zhang, Xuanjing Huang

Abstract

Training reward models (RMs) for Large Language Models (LLMs) is challenging due to the inherent noise and subjectivity in human preference data. This paper introduces a method to automatically detect data quality using an ensemble-based metric called Preference Strength. We propose a novel loss function, Label Smoothing using Adaptive Margin (LSAM), which dynamically adjusts training by flipping incorrect labels and applying adaptive margins. Our approach ensures the model learns robust human values rather than memorizing noise. Experiments on industry-standard benchmarks show that LSAM consistently outperforms traditional reward modeling techniques, leading to more stable and better-aligned models.

Introduction

In the standard Reinforcement Learning from Human Feedback (RLHF) pipeline, a Reward Model (RM) serves as a proxy for human judgment. However, human annotators are often inconsistent; major research labs report agreement rates of only 60% to 70%. This noise creates a "garbage in, garbage out" problem: training on ambiguous or incorrect preference pairs leads to unstable reward signals, causing the subsequent reinforcement learning phase to fail or overfit to surface-level patterns.

Methods

The proposed framework moves away from treating all human feedback as equally valid through a two-step process:

1. Preference Strength Estimation

Instead of relying on a single label, the authors train an ensemble of 10 reward models. Preference Strength is defined as the mean difference in scores assigned to a pair of responses across this ensemble.

  • Strong Preference: High positive score.
  • Ambiguous Preference: Score near zero.
  • Incorrect Preference: Negative score (ensemble disagrees with the human label).
Examples of ambiguous and strong preferences categorized by Preference Strength.

2. Label Smoothing using Adaptive Margin (LSAM)

The standard Bradley-Terry loss is replaced with LSAM to handle varying data quality:

  • Label Smoothing/Flipping: For noisy or incorrect data, the model uses soft labels or flips the preference entirely, preventing the learning of erroneous values.
  • Adaptive Margin: For pairs with high preference strength, the model is forced to maintain a wider gap between scores, encouraging decisiveness when intent is clear.

Datasets and Evaluation

The method was validated on Anthropic’s HH-RLHF and OpenAI’s Summarization datasets. Models were evaluated using MT-bench and Arena-Hard, with GPT-4-turbo serving as a judge.

Key Insights

  • The U-Shaped Uncertainty: Variance in model scores is highest for both ambiguous data and very strong preferences, where models may overfit to different surface features.
  • Utility of Incorrect Data: "Incorrect" human labels, when flipped, provide high-quality training signals as they clearly demonstrate what to avoid.
  • Overfitting to Strong Preferences: Training exclusively on the strongest preferences leads to rapid overfitting on surface patterns (e.g., length). Label smoothing on these samples improves generalization.

Results

LSAM consistently outperformed vanilla RLHF and Supervised Fine-Tuning (SFT) across multiple metrics.

Comparison of accuracy and loss across different validation sets and training stages for LSAM and baselines.
  • Higher Win Rates: LSAM-trained models achieved significantly higher win rates against baseline RLHF models in GPT-4-judged evaluations.
  • Benchmark Performance: On MT-bench, the LSAM model scored 6.32, compared to the baseline's 5.82.
  • Training Stability: During PPO, LSAM-guided models showed more stable training curves with fewer spikes in KL divergence, indicating a more reliable reward signal.

Conclusion and Future Work

LSAM effectively addresses the challenge of noisy human feedback in reward modeling. While the ensemble-based estimation of preference strength adds computational overhead, techniques like LoRA can mitigate this. Future research will focus on lower-resource methods for data quality estimation and scaling these techniques to 70B+ parameter models.

Summary updated

BibTeX
@inproceedings{wang2024reward,
  author = {Binghai Wang and Rui Zheng and Lu Chen and Zhiheng Xi and Wei Shen and Yuhao Zhou and Dong Yan and Tao Gui and Qi Zhang and Xuanjing Huang},
  title = {{Reward Modeling Requires Automatic Adjustment Based on Data Quality}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.234},
}
Figure