↑↓ move Enter open ⌘K find from any page 256 of 256 tabs
Loading the recording…

Sample N answers, let a verifier choose

Sampling a model several times often produces a right answer somewhere among wrong ones; the hard part is knowing which. Best-of-N hands that to a second model, a verifier or reward model , which reads the question and one whole answer and returns a number. The answer with the highest number wins:

Cobbe et al. introduced the idea with GSM8K: a verifier trained to judge whether a solution reaches the right answer, used to pick among many sampled solutions. Because scores the final result rather than each step, it is called an outcome reward model (ORM). On this page the answers are the first 16 of the Self-consistency tab's 32 samples from Qwen2.5-Math-1.5B-Instruct for GSM8K test rows 0–39, and the reward model is Skywork-Reward-V2-Qwen3-0.6B.

The reward model

Skywork-Reward-V2-Qwen3-0.6B is a Qwen3 decoder of 28 blocks with a linear score head on its last token. It reads the conversation, the question as the user turn and one answer as the assistant turn, and the head's value at the final token is the score. It was trained, as most reward models are, on preference pairs: for a prompt, a chosen response and a rejected one , with the Bradley–Terry loss

Only differences between scores enter the loss, so adding a constant to every score of a prompt changes nothing: the scale has no fixed meaning and only the order of a problem's answers matters, as the Reward model: the highest score wins panel says; it draws each score minus the mean of the . The Skywork-Reward-V2 paper trains its eight models on 26 million curated pairs from its SynPref-40M dataset, general human preferences rather than maths alone. The model never sees the other answers or the reference.

Three ways to choose

The Three ways to choose column compares the reward model with two other rules on the same answers. The majority vote, the Self-consistency tab's rule, needs no second model and uses only agreement between answers; ties count as the chance of drawing the right one. The oracle is right whenever any answer is right. It needs the reference, so no real system can use it, but it is the ceiling any way of choosing among these answers can reach.

With all 16 answers, best-of-16 is right on 87.5 % of the 40 problems, the vote on 83.8 % and the oracle on 97.5 %; one answer on its own is right 79.7 % of the time. Here the reward model beats the vote: it can prefer a right answer that few samples reached, which a vote never does.

Exact curves over subsets

The Accuracy over 40 problems chart does not sample subsets; it averages every rule over all ways to take of a problem's 16 answers. For best-of- there is a closed form. Sort the answers by score and let be the number scoring below answer . Answer wins a random subset exactly when it is in the subset and the other members all score below it, so with for a right answer,

where is the number of right answers; the oracle fails only when all come from the wrong ones. The recorder enumerates every subset and checks both formulas to rounding error. The curves are plotted against times the mean answer's length, 313 tokens, so the x axis is the tokens generated per problem.

Where the reward model is fooled

The gap between best-of-16 and the oracle is right answers the reward model had and did not pick. The Where the reward model is fooled list names those problems: 4 of the 40, where the highest-scoring answer is wrong although a right one was sampled; Δ is how much higher the wrong answer scored than the best right one. On one of them the vote is right; on the others it is wrong or tied.

Picking the maximum of a learned score favours whatever the score overrates, and the more answers there are, the more chances an overrated wrong one has. Gao et al. measured this overoptimisation: optimising against a proxy reward model first raises the true reward and eventually lowers it, and for best-of- they write the distance moved from the original model as , which grows only like . On this page the best-of- curve has not turned down by ; the four problems are where the proxy and the truth already disagree.

Where it came from

Cobbe et al. (2021) trained verifiers on GSM8K and found that verification scaled better with more training data than fine-tuning the generator. Best-of- with a preference reward model became a standard baseline in learning from human feedback, and with it the question of how far a proxy reward can be pushed. The PRM tab replaces the outcome reward model with one that scores every step of the same 16 answers, and the Tree search tab uses those step scores while the answer is being written.

Papers

  1. Training Verifiers to Solve Math Word Problems Karl Cobbe et al. · arXiv 2021 Introduces GSM8K and choosing the highest-ranked of many sampled solutions with a trained verifier.
  2. Skywork-Reward-V2: Scaling Preference Data Curation via Human-AI Synergy Chris Yuhao Liu et al. · arXiv 2025 The reward model recorded here, one of eight trained on curated preference pairs from SynPref-40M.
  3. Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement An Yang et al. · arXiv 2024 The model whose 16 sampled answers per problem are scored here.
  4. Self-Consistency Improves Chain of Thought Reasoning in Language Models Xuezhi Wang et al. · ICLR 2023 The majority vote the reward model is compared with.
  5. Scaling Laws for Reward Model Overoptimization Leo Gao, John Schulman, Jacob Hilton · ICML 2023 How the true reward changes as best-of-n and reinforcement learning push against a proxy reward model.
  6. Let's Verify Step by Step Hunter Lightman et al. · ICLR 2024 Compares outcome and process reward models for best-of-N on MATH; the PRM tab continues from here.

See also