Abstract
Reinforcement Learning from Human Feedback (RLHF) is the standard for aligning Large Language Models (LLMs) with human values, but its effectiveness is constrained by the quality and quantity of the underlying Reward Model (RM). This paper introduces West-of-N, a novel self-training strategy that improves RMs by generating high-quality, synthetic preference data. By sampling $N$ responses and selecting the "Best" and "Worst" (hence "West") to form training pairs, the authors create an on-policy dataset that boosts reward model performance as effectively as—or even better than—doubling the amount of expensive human-labeled data.
Introduction
Currently, reward modeling faces two major bottlenecks: Data Scarcity, as collecting human preference labels is slow and expensive, and Distribution Mismatch, where human feedback data is often "off-policy." Responses humans originally rated might look very different from the responses the model generates during its actual training. The authors propose a way to use the generative power of the LLM itself to create a "self-improving" loop for the reward model, ensuring the data is both plentiful and relevant to the model's current behavior.
Methods: The West-of-N Pipeline
The core technique is West-of-N Self-Training. Unlike standard "Best-of-N" sampling used at inference to pick a single good answer, West-of-N is used to generate a training signal for the reward model itself.
The process follows five key steps:
- Sampling: For a given unlabeled query $x$, the language model generates $N$ different candidate responses (the authors used $N=64$).
- Selection (The "West"): A base preference model (trained on existing human data) scores all $N$ responses. The highest-scored response is labeled the "Best" ($y_{BoN}$) and the lowest-scored is the "Worst" ($y_{WoN}$).
- Pairing: These two extremes are paired to create a synthetic preference: $y_{BoN} \succ y_{WoN}$.
- Filtering: To ensure quality, the authors apply two filters: Confidence (keeping pairs where the base model is highly certain) and Likelihood (ensuring responses have high log-likelihood under the policy to stay "on-policy").
- Training: A new "student" reward model is trained on a mixture of the original human data and this new synthetic "West-of-N" data.
Experimental Evaluation
The researchers evaluated West-of-N across three diverse benchmarks:
- Reddit TL;DR: A summarization task involving 129k Reddit posts.
- Anthropic Helpful and Harmless (HH): Dialogue datasets focused on AI safety and utility.
- UltraFeedback: A large-scale conversational dataset where responses are rated by GPT-4.
Key Results and Insights
The Power of Extremes
Naive self-training (picking two random samples and ranking them) often fails because the reward model's labels are too noisy. By picking the best and worst out of 64 samples, the quality gap becomes large enough that even an imperfect base model can label the pair correctly with very high probability.
Performance Gains
- Accuracy Boosts: On the Reddit TL;DR task, West-of-N improved reward model accuracy from 70.9% to 72.5%. On "High-Confidence" test samples, accuracy jumped from 78.0% to 79.7%.
- Win Rates: Policies optimized with West-of-N reward models significantly outperformed those trained on standard human feedback. On TL;DR, the West-of-N policy achieved a 90.4% win rate against the baseline SFT model when evaluated by GPT-4.
- Synthetic Data > More Human Data: Adding synthetic West-of-N data yielded a ~2.3% accuracy boost on the TL;DR dataset, whereas doubling the amount of human data only provided a ~1% boost. This suggests that the relevance of on-policy data can outweigh the authority of human labels.
Discussion and Limitations
While West-of-N shows significant promise, it remains tethered to the initial Base Model. If the base model has fundamental biases (e.g., rewarding verbosity over quality), West-of-N might amplify them. Additionally, the Computational Cost of generating 64 responses per query is high. Future work may explore more complex "tournament" styles for ranking and investigate how this method interacts with Direct Preference Optimization (DPO).
Summary updated