TL;DR
West-of-N improves reward models for RLHF by generating high-quality, synthetic preference pairs from unlabeled prompts. By sampling $N$ candidate responses from the policy and selecting only the predicted "best" and "worst" outputs (Best-of-N + Worst-of-N), this semi-supervised approach creates clean, on-policy training pairs. In practice, adding West-of-N data boosts reward model and policy performance by an amount comparable to—or exceeding—doubling the quantity of human-labeled data.
What Problem Does This Paper Address?
Reinforcement Learning from Human Feedback (RLHF) hinges on reward models (RMs) that accurately mirror human judgments. However, collecting human preference pairs is slow, noisy, and expensive. Furthermore, human preference datasets often consist of responses generated by foreign or older systems, meaning the data is off-policy relative to the model being aligned.
While synthetic preference generation techniques exist (such as RLAIF or contrastive prompting via RLCD), they often suffer from off-policy shifts or unreliable labels. Standard semi-supervised self-training also struggles here: base reward models make frequent labeling errors on arbitrary pairs of model outputs, poisoning the training mixture with label noise.
Methods
The authors introduce West-of-N, a self-training framework for reward modeling:
- Sampling Candidates: For an unlabeled prompt $x$, sample a pool of $N$ candidate completions from the current policy model $\pi(x)$.
-
Extreme Pair Selection (West-of-N): Using a base preference teacher model $P_\theta$, evaluate the candidates and extract the single best ($y_{\text{BoN}}$) and worst ($y_{\text{WoN}}$) generations: $$(y^+, y^-) = \arg\max_{y_i, y_j} P_\theta(y_i \succ y_j \mid x)$$ When using a pairwise teacher (which avoids the transitivity assumptions of Bradley-Terry models), candidate selection is approximated efficiently via an elimination tournament.
-
Filtering: To minimize label noise and out-of-distribution drift, pairs can be filtered based on:
- Confidence thresholding: Retaining pairs with high base-model preference probability $P_\theta(y^+ \succ y^- \mid x)$.
- Likelihood thresholding: Pruning responses with low sequence log-likelihood under the policy $\pi$.
- Student Training: A pointwise reward model (compatible with downstream PPO/RLHF) is trained on a 1:1 mixture of the original base preferences and the synthetic West-of-N pairs.
- Iterative Alignment: The procedure can be run iteratively, sampling new on-policy pairs from the newly RL-finetuned policy.
Datasets
The authors evaluated their method across two benchmark domains using 11B T5-XXL backbones:
- Reddit TL;DR: Text summarization (~129k posts with human summaries, 64k human-rated summary pairs).
- Anthropic Helpful and Harmless (HH): Multi-turn dialogue (~170k pairs split into helpfulness and harmlessness tracks).
Evaluations included accuracy on held-out human preference test sets, as well as win rates (judged by both an independent T5-Large "Autorater" and few-shot GPT-4) for Best-of-64 and PPO-finetuned outputs against the supervised fine-tuned (SFT) baseline.
Key Insights and Ideas
- Extreme sampling slashes label noise: Setting $N=2$ (standard self-training) degrades reward model performance because the teacher mislabels close calls. Setting $N=64$ pushes candidate quality to opposite extremes. Under mild assumptions, the authors prove (Theorem 4.1) that if the base model's error is bounded by $\epsilon$, the West-of-N pair is correctly labeled with probability at least $1 - 2\epsilon$.
- On-policy data matters more than human data volume: Doubling human preference data ($HF_{50\%} \to HF_{100\%}$) yields diminishing returns because human datasets contain low-likelihood, off-policy outputs. West-of-N injects outputs directly from the policy’s current distribution, providing the reward model with dense signal in the exact regions it encounters during RLHF.
- Pairwise teachers train pointwise students: Pairwise rankers outperform pointwise Bradley-Terry models because they don't assume transitivity. West-of-N exploits this by using a high-performing pairwise ranker as a teacher to supervise a fast, pointwise student model suitable for RL finetuning.
Key Results
- Matches or Beats Full Human Data: On Reddit TL;DR, adding West-of-N data to a 50% human feedback baseline ($HF_{50\%} + \text{West-of-N}$) raised RM accuracy from 70.9% to 72.5% (and high-confidence accuracy from 78.0% to 79.7%), outperforming a reward model trained on 100% human feedback ($HF_{100\%}$ at 71.6% / 78.4%).
- Superior Downstream Alignment: On TL;DR, policy win rates using PPO trained against the West-of-N RM achieved 85.1% (Autorater) and 70.9% (GPT-4), beating both $HF_{100\%}$ (83.2% / 70.6%) and other synthetic baselines (RLAIF at 81.2% / 68.8%; RLCD at 78.2% / 69.0%).
- Fully Synthetic Pipelines: Combining RLAIF and West-of-N (with zero human preference data) yielded a Best-of-64 win rate of 86.2% (Autorater) and 74.8% (GPT-4), rivaling human-annotated baselines.
- Iterative Gains: Applying a second round of West-of-N post-RLHF pushed GPT-4 win rates on TL;DR Best-of-64 from 75.0% to 80.8%.
Limitations and Future Work
- Computational Cost: Sampling $N=64$ generations per query and running pairwise tournament comparisons scales self-training compute significantly compared to static dataset training.
- Teacher Bias Propagation: Any biases or systemic failure modes present in the base preference model risk being amplified during self-training.
- Potential Over-Optimization at Large $N$: While reward hacking was not observed at $N=64$, extremely large candidate pools could push generations out-of-distribution for the proxy reward model, necessitating uncertainty estimation (e.g., deep ensembles) in future scaling studies.
Summary updated