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

Tail Competition Explains Scaling in Best-of-N Sampling with Imperfect Judges

Taro Yano, Yoichi Ishibashi, Masafumi OyamadaNeurIPS 2026

TL;DR

When you ask an LLM to generate $N$ answers and pick the best one using a reward model (Best-of-$N$ sampling), generating more answers can paradoxically make your final choice worse. This paper uses extreme value theory to reveal why: as $N$ grows, success stops being about whether correct answers score higher on average, and becomes a battle between the extreme upper tails of the score distributions. Better yet, the authors turn this math into a lightweight, label-free "early stopping" rule that knows right when to quit before your reward model gets hacked.

What Problem Does This Paper Address?

Inference-time scaling is one of the hottest levers in AI right now: instead of training a bigger model, let the model think longer or sample more candidates. Best-of-$N$ (BoN) is the simplest version—generate $N$ candidate answers, score them with a proxy judge (a Reward Model, or RM), and pick the highest scorer.

If you had a magical, perfect oracle judge, your chance of getting a right answer would approach 100% exponentially fast as $N$ grows. In reality, our judges are imperfect. Past a certain point, generating more candidates often causes accuracy to plummet. This is reward hacking: the generator stumbles upon an incorrect answer that exploits a quirk in the RM to get an absurdly high score. Until now, we lacked a unified, predictive mathematical theory explaining when BoN scales nicely, how fast it actually converges with flawed judges, and why reward hacking kicks in at a specific $N$.

Methods

The authors study verifiable problems (math, coding—tasks where an answer is strictly right or wrong) and reframe BoN as a statistical race between two groups: the maximum RM score among generated correct responses versus the maximum RM score among incorrect responses.

  1. Extreme Value Theory (EVT) Framing: Rather than looking at whole distributions, BoN only cares about maxima. Using the Fisher–Tippett–Gnedenko theorem (the Central Limit Theorem's cousin for extreme values), the authors model how the maximum scores of correct and incorrect answers scale as $N \to \infty$ across light-tailed (Gumbel), heavy-tailed (Fréchet), and bounded (Weibull) distributions.
  2. Tail-Tension Early Stopping (New Algorithm): Theory tells us the exact crossover budget $n^\star$ where incorrect answers overtake correct ones—if we know the means and variances of both groups. At inference time, however, we don't know which candidates are right or wrong! To solve this online without labels, the authors fit a simple two-component Gaussian Mixture Model (GMM) to the incoming RM scores on the fly. Assuming the higher-mean cluster represents correct answers and the lower-mean cluster represents incorrect ones, if the lower-mean cluster has a wider variance ($\sigma_l > \sigma_h$), the algorithm estimates the crossover point $\hat{n}^\star$ and halts generation early once $t \ge \hat{n}^\star$ (after a minimum threshold of $n_{\text{th}} = 32$ samples).

Datasets

No new datasets were introduced; instead, the authors piggybacked on the massive monkey_business dataset (from Brown et al., 2024), which contains 10,000 generated responses per problem across 2,878 problem–generator pairs. This spans four classic verifiable benchmarks:

  • MATH, MiniF2F, and GSM8K (mathematical reasoning)
  • CodeContests (competitive programming)

They scored all ~28.8 million responses using six top-ranked open-weights reward models from RewardBench 2, including the Skywork-Reward-V2 family (1.7B, 4B, 8B), Llama-3.1-8B-Instruct-RM-RB2, and RAMO-Llama3.1-8B.

Key Insights and Ideas

  • Means rule small $N$; variances rule large $N$: Suppose RM scores are roughly Gaussian. When $N$ is small, samples hug the mean—so if correct answers have a higher average score ($\mu_c > \mu_w$), BoN improves accuracy. As $N$ gets huge, the maximum score stretches out into the upper tail at a rate proportional to $\sigma \sqrt{2 \log N}$. If incorrect answers have higher variance ($\sigma_w > \sigma_c$), their upper tail is thicker and will inevitably overtake the correct answers!
Figure 1: An illustrative explanation of reward hacking in verifiable problems. The blue and orange points represent correct and incorrect sampled responses, respectively. For small n, BoN accuracy is largely determined by the competition between the means of the reward distributions, as most samples lie near their means, whereas for large n, it is governed by the competition between the upper tails, which determine the winner. In the top row case, correct and incorrect responses have same reward variance, so their maximum rewards grow at similar rates as n increases. In the bottom row case, incorrect responses have larger reward variance, causing their maximum reward to grow faster and eventually exceed that of correct responses. Thus, BoN selects a correct response at small n but incorrect one at large n.
  • Real-world RMs suffer from "Tail Tension": Why are wrong answers noisier? Often there's only one clean way to be right, but a million bizarre ways to be wrong—giving incorrect responses a wider spread of RM scores. Empirical checks on real RMs confirmed that correct answers almost always have higher means, while incorrect answers frequently have larger variances—the exact recipe for an inverted U-shaped "reward hacking" curve.
  • Imperfect judges crush exponential scaling into polynomial scaling: Even in the good regime where correct tails dominate ($\sigma_c > \sigma_w$), BoN with a Gaussian RM doesn't converge exponentially like an oracle ($1 - e^{-np}$). Instead, error decays at an almost polynomial rate ($n^{-\gamma_n}$). Imperfect selection is fundamentally a much slower scaling engine than generation alone.

Key Results

  • Synthetic Validation: Across simulated Gaussian setups, empirical BoN accuracy curves matched all four theoretically predicted phases (monotonic improvement, monotonic degradation, U-shaped delayed improvement, and inverted-U reward hacking), peaking right around the analytical crossover formula $n^\star = \exp\left(\frac{(\mu_c - \mu_w)^2}{2(\sigma_w - \sigma_c)^2}\right)$.
  • Real-World Distributions: Anderson–Darling goodness-of-fit tests on MATH (with Pythia-12B) confirmed that real RM score distributions are well-modeled by max-stable EVT domains.
  • Early Stopping Wins: Tested online with RAMO-Llama3.1-8B (which exhibits frequent reward hacking), Tail-Tension Early Stopping prevented late-stage accuracy collapse—maintaining peak accuracy (~0.82 vs. dropping below 0.75 at $N=2^{12}$ on hacking-prone subsets) while slashing average sample generation and RM compute costs by thousands of evaluations per query.

Limitations and Future Work

  • Verifiable tasks only: The binary split into "correct" and "incorrect" distributions doesn't cleanly map to open-ended tasks like creative writing or summarization, where quality lives on a continuous spectrum.
  • GMM proxy assumptions: The early-stopping rule assumes scores separate nicely into two Gaussian-like modes where correct answers have the higher mean. If a distribution is heavily skewed, unimodal, or if the RM is so broken that wrong answers score higher on average, the unsupervised cluster assignment can misfire.
  • Finite-$N$ gaps: EVT is inherently asymptotic ($N \to \infty$). Because Gaussian maxima converge notoriously slowly to the Gumbel limit, predicting exact finite-$N$ accuracy on messy real-world data remains an open challenge.

Summary updated

BibTeX
@inproceedings{yano2026tail,
  author = {Taro Yano and Yoichi Ishibashi and Masafumi Oyamada},
  title = {{Tail Competition Explains Scaling in Best-of-N Sampling with Imperfect Judges}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=g0h3FQFGch},
}
Figure