Next-token Preference: Scaling Unsupervised Reward Modeling

Jingxuan Fan, Yueying Li, Zhenting Qi, Dinghuai Zhang, Kianté Brantley, Sham M. Kakade, Hanlin ZhangNeurIPS 2026

TL;DR

Training modern AI to be helpful and safe usually requires armies of human annotators or expensive frontier models to rank "good" versus "bad" answers. This paper reveals a surprising shortcut: you can train genuinely effective reward models directly from raw, uncurated web text with zero human labels, simply by assuming a sentence's actual ending is better than a random ending from elsewhere in the training batch. Not only do these unsupervised judges learn to grade math and reasoning, they unexpectedly become better at spotting safety violations, too.

What Problem Does This Paper Address?

If you want a language model to behave well, standard practice is Reinforcement Learning from Human Feedback (RLHF). At the heart of RLHF is a reward model—essentially an automated grader trained on thousands of examples where humans (or massive AI judges) have painstakingly labeled Response A as better than Response B.

The catch? Curating preference data is slow, expensive, and notoriously noisy. Annotators disagree, make mistakes, and bring subtle biases. Worse, as AI systems tackle problems harder than humans can easily verify, human-labeled reward signals hit a ceiling. The authors ask a foundational question: How much of what we teach reward models via expensive human preferences is already hiding in plain sight inside raw text corpora?

Methods

The authors introduce Reward-Based Scaling (RBS) (also referred to as Next-Token Preference), a dead-simple contrastive framework that turns raw document streams into preference pairs on the fly.

Figure 1: Schematic overview of our reward model training workflow from web math text. Raw documents are split into prefix–suffix pairs, where the true continuation is treated as the chosen response and other in-batch continuations serve as implicit negatives. The reward model is trained with a Bradley–Terry objective over these online preference pairs, enabling scalable reward learning without human annotations.

Here is the recipe:

  1. Chop the text: Take a continuous stream of raw web text, chunk it into fixed-length blocks, and slice each block down the middle into a prefix (acting as the prompt) and a suffix (acting as the response).
  2. In-batch matchmaking: In a training batch of $B$ chunks, pair every prefix with its true, natural continuation as the "chosen" response. Pair that same prefix with the $B-1$ other suffixes in the batch as "rejected" responses.
  3. Standard ranking + a crucial leash: The model outputs a scalar score for each pair and optimizes a standard Bradley–Terry ranking loss (pushing chosen scores higher than rejected ones). Crucially, because web text is noisy and ranking losses only care about differences between scores, raw reward magnitudes tend to drift wildly and create overconfident outliers. To tame this, the authors add a score-centering regularizer—a simple quadratic penalty ($s^2$) that keeps all reward scores anchored near zero.

Datasets

No new benchmarks were introduced; instead, the authors combined existing raw corpora and evaluation suites:

  • Unsupervised RM Training: FineMath (specifically FineMath-4plus), a collection of mathematical web content filtered from CommonCrawl (used up to an 11M-token budget).
  • Supervised Baselines & Mid-Training: Skywork-Reward-Preference-80K-v0.2 and RLHFMix1 (a blend of UltraFeedback, HH-RLHF, SHP, and Summarize-from-Feedback).
  • Evaluation: RewardBench v1 & v2 (general preference, reasoning, and safety), GSM8K and MATH / MATH500 (math problem-solving), plus Toxigen and IFEval (out-of-domain safety and instruction-following).

Key Insights and Ideas

  • Messy mid-sentence cuts make better teachers: You might assume splitting text cleanly at sentence boundaries makes more sense. Actually, cutting mid-sentence works drastically better (+7.7 vs. +0.8 gain on RewardBench v2). Why? Enforcing clean boundaries discards lots of text, leaving batches filled with wildly unrelated passages that are too easy to tell apart. Mid-sentence cuts keep contiguous chunks from the same document in the same batch, forcing the model to spot subtle semantic inconsistencies among very similar-looking "hard negatives."
  • Math text teaches safety: Even though the reward models were trained exclusively on math-focused web text, their accuracy steadily climbed on out-of-domain safety and refusal benchmarks. Learning coherence and logical continuation appears to transfer to general alignment.
  • Unsupervised RMs are great "mid-training" stepping stones: Just like language models undergo continued pretraining before instruction tuning, initializing a reward model with RBS before fine-tuning on curated human data significantly boosts final performance compared to starting from a raw base model.
  • Without score centering, downstream selection breaks: When sampling $N$ answers from an actor model and picking the highest-scored one (Best-of-$N$), an uncentered RM gets tricked by extreme, heavy-tailed score outliers—eventually performing worse than picking randomly as $N$ grows. Score centering fixes this completely.

Key Results

Scalability of unsupervised reward models across 11M tokens on RewardBench v1 and v2.

Figure 2: Scalability of our method with respect to data size. Reward models trained from scratch on Llama-3.2-3B improve steadily on RewardBench v1/v2 all subsets as token budget increases to 11M.
  • Benchmark Gains: Training on just 11M tokens of FineMath improves RewardBench v2 accuracy by up to +7.7 points on average over initialization, including +16.1 points on in-domain math subsets and +5.4 points on out-of-domain safety.
  • Cross-Model Transfer: The recipe works reliably across base and instruct backbones spanning 1B to 7B parameters (Llama-3.2 and Qwen2.5), landing in the top-10 of size-matched cohorts on RewardBench v2.
  • Downstream RL & Selection: Used in Best-of-$N$ sampling and Group Relative Policy Optimization (GRPO), a 7B unsupervised RM boosts a Llama-3.2-3B actor's MATH accuracy from 26.8% to 42.0% (and GSM8K from 78.9% to 82.3%)—rivaling off-the-shelf Skywork reward models trained on 26 million curated preference pairs.
  • Mid-Training Boost: Fine-tuning an RBS-initialized Llama-3.2-3B on curated preferences yields a +10.4 overall RewardBench v2 gain (vs. +8.3 from the base model), even beating the official Instruct-initialized model on math (+21.4 vs. +19.4) and safety (+24.4 vs. +22.6).

Limitations and Future Work

The authors frame this as a pilot study rather than a complete replacement for human feedback. Notably, experiments here are restricted to a relatively small token budget (11M tokens) and focus heavily on math-centric web text. Furthermore, when shifting from web text to curated data during mid-training, gains on miscellaneous out-of-domain tasks are modest due to distribution-shift forgetting. Future work aims to scale RBS to broader, non-math web domains, blend unsupervised continuation signals directly with human supervision, and stress-test these implicit reward models against reward hacking under much heavier RL optimization pressure.

Summary updated

Abstract

Learning from feedback advances the capabilities and safety of frontier models, but preference supervision remains costly and difficult to scale. We introduce next-token preference (NTP), an unsupervised reward-modeling method that constructs preference pairs from the continuation structure of raw web text. NTP uses each prefix's original continuation as the chosen response and nearby continuations as in-batch negatives, without candidate generation or human or model-generated preference annotations. Training on 11M tokens of math-focused web data yields steady gains on RewardBench and RewardBench 2, with gains across model families and sizes. Across mathematical and general-domain web corpora, our method improves overall RewardBench 2 accuracy by 7.6–8.3 percentage points over initialization under the same token budget. Training on math-focused text yields gains of up to +16.1 on in-domain math subsets and consistent improvements on out-of-domain safety and general subsets. These reward models improve best-of-N selection on math, code, safety, and instruction following, and support math policy optimization competitive with supervised reward models of similar size. NTP also improves the label efficiency of subsequent supervised fine-tuning. Using half the labeled pairs from a curated preference dataset, NTP initialization surpasses base initialization trained on the full dataset. These results suggest that web text contains transferable preference signals that can reduce dependence on costly preference annotations.
BibTeX
@inproceedings{fan2026next,
  author = {Jingxuan Fan and Yueying Li and Zhenting Qi and Dinghuai Zhang and Kianté Brantley and Sham M. Kakade and Hanlin Zhang},
  title = {{Next-token Preference: Scaling Unsupervised Reward Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=yD1cdr9cGj},
}
Figure