Foundations to Frontier
Tests
F. NLP and Large Language Models › F12 Reasoning Models

Process vs outcome reward models

To pick or train good reasoning, a model needs feedback. An outcome reward model (ORM) judges only the final answer. A process reward model (PRM) judges every step, so it can locate the first mistake and guide search step by step. Process supervision gives denser, more interpretable feedback but needs step labels. These come from humans (PRM800K) or are estimated automatically by rolling out completions from each prefix (Math-Shepherd). In the exercises you aggregate step scores, compute Monte Carlo step labels and locate the first error. You then simulate best-of-16 selection over chains of 4 to 16 steps, where a chain with an invalid step still reaches the right answer 15% of the time. With equal noise per judgement, the ORM selected right answers most often on long chains (0.85 at 16 steps), but only 36% of its picks had valid reasoning. The noisy human-style PRM degraded with length because step noise compounds under min aggregation. The rollout-labelled PRM picked valid chains far more often at 8 steps (0.90 vs 0.67) at the cost of 64 rollouts per chain.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Marking the working, not just the answer

A maths teacher who checks only the final answer gives full marks to a student who made two mistakes that cancelled out, and no hint to one who slipped on the last line. Marking each line of working finds where things went wrong and rewards sound reasoning. Reward models for AI face the same choice: judge the outcome, or judge every step. The demo shows why step-level checking matters more as reasoning chains get longer.

Reasoning lab
8 steps at 0.9 each: an outcome-supervised chain is fully right 43% of the time (red); checking and redoing wrong steps raises this to 86% (green). Step-level feedback matters more as chains get longer.
Why engineers care

Process supervision is used to train and guide reasoning in maths, code and planning, where a single wrong step invalidates everything after it.

📝 Quick check (Level 0)
0/3 answered
  1. 1. An outcome reward model judges…
  2. 2. A process reward model judges…
  3. 3. A right answer with wrong reasoning is…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

By hand

  • ORM: a classifier trained on (problem, solution, final-answer-correct) labels; cheap labels from answer checking; used for best-of-n and as an RL reward.
  • PRM: predicts whether each step is correct; chain score by minimum, product or last step; used for reranking, beam and tree search (F12-3), and dense RL rewards.
  • Labels: human step labels (Lightman et al., PRM800K, 800k step labels); automatic Monte Carlo labels, the share of rollouts from a prefix that reach the right answer (Math-Shepherd); LLM-as-judge step critiques.
  • Findings: process supervision beat outcome supervision for best-of-n on MATH (Lightman et al., 2023); MC labels are noisy and confound step quality with the policy’s ability to finish.
  • Generative verifiers: models that write a critique and then a verdict (GenRM); can use test-time compute themselves.
  • Risks: reward hacking of the PRM in RL; PRMs trained on one policy’s mistakes transfer imperfectly.
📝 Quick check (Level 1)
0/3 answered
  1. 1. PRM800K contains…
  2. 2. Math-Shepherd labels steps by…
  3. 3. A common PRM chain aggregate:

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.

Using reward models for reasoning

Exercise 1.

  • Aggregate step probabilities (min, product, last).
  • Monte Carlo step labels from rollouts.
  • Locate the first error.

Practice.

  • Open PRMs: Qwen2.5-Math-PRM, Math-Shepherd, Skywork-PRM; evaluate on ProcessBench or PRMBench.
  • Split solutions into steps consistently (new lines or explicit step markers) for training and scoring.
  • Combine a PRM with voting (weighted vote) rather than trusting the top score alone.
  • For RL, prefer verifiable outcome rewards where possible and use PRMs cautiously (hacking).
  • Check that selected answers’ reasoning is valid, not only the final answer.
steps = solution.split("\n\n")
probs = []
for i in range(1, len(steps) + 1):
    prefix = "\n\n".join(steps[:i])
    probs.append(prm.score(problem, prefix))     # P(step i is correct)
score = chain_score(probs, "min"); err = first_error(probs)
🐍 Exercise 1: step scores and labels
Aggregate PRM step scores, compute Monte Carlo step labels and find the first error.
📝 Quick check (Level 2)
0/3 answered
  1. 1. A PRM benchmark:
  2. 2. For RL, prefer where possible…
  3. 3. Split solutions into steps…

Level 3: Advanced

★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.

Theory

Lucky answers. If each of L steps is valid with probability s and an invalid chain still reaches the right answer with probability ℓ, the share of right answers with invalid reasoning is ℓ(1 − s^L)/(s^L + ℓ(1 − s^L)). It grows with L; outcome labels reward these chains as if they were sound.

Noise accumulation. A PRM scores L steps; if each step score carries independent noise, the minimum over L noisy scores becomes dominated by noise as L grows, so a valid chain can be rejected because of one unlucky step score. An ORM makes one judgement, but of a harder question. Which wins depends on per-judgement accuracy: step judgements must be enough easier to compensate for having L of them.

MC labels. The value of a valid prefix with m steps left is s^m + (1 − s^m)ℓ; after an invalid step it is ℓ. Estimating these with k rollouts separates valid from invalid prefixes when the gap is large compared with sampling noise √(v(1 − v)/k), at a cost of L·k rollouts per chain.

📝 Quick check (Level 3)
0/3 answered
  1. 1. Lucky right answers become more common with…
  2. 2. Min over many noisy step scores…
  3. 3. MC labels cost per chain…

Level 4: Expert

★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.

When selecting among sampled reasoning chains, do outcome or process reward models pick right answers, and valid reasoning, more often?

History.

  • J. Uesato et al., “Solving math word problems with process- and outcome-based feedback” (2022).
  • H. Lightman et al., “Let’s verify step by step” (2023): PRM800K.
  • P. Wang et al., “Math-Shepherd” (2024): automatic process labels; Z. Zheng et al., “ProcessBench” (2024).

Exercise 2. 600 problems with per-problem step validity s ~ U(0.75, 0.97); 16 candidate chains each; an invalid chain still ends right 15% of the time.

  • ORM: final-answer correctness plus Gaussian noise (σ = 0.6).
  • PRM: each step’s validity plus noise (σ = 0.6), minimum over steps.
  • MC-PRM: each prefix scored by 8 simulated rollouts; minimum over prefixes.
method accuracy L = 4 valid reasoning L = 4 accuracy L = 8 valid L = 8 accuracy L = 16 valid L = 16
random pick 0.653 0.600 0.432 0.335 0.278 0.147
ORM 0.983 0.858 0.935 0.667 0.850 0.357
PRM (noisy steps) 0.940 0.932 0.712 0.678 0.458 0.358
MC-PRM (8 rollouts) 1.000 1.000 0.915 0.903 0.573 0.483
  • The ORM found right answers but, on long chains, mostly lucky ones: 36% of its picks at 16 steps had valid reasoning.
  • The noisy PRM degraded fastest: with 16 independently noisy step scores, the minimum is driven by noise. With equal per-judgement noise, outcome judging won on accuracy.
  • Rollout labels separated valid from invalid prefixes best at moderate lengths; at 16 steps 8 rollouts were too few to tell a valid prefix with many steps left from a lucky one.
  • Seeds 1 and 2: same ordering; ORM at 16 steps 0.793 and 0.817 with valid reasoning 0.348 and 0.357.
  • Caveat: equal noise for a whole-chain and a single-step judgement is an assumption that favours the ORM; Lightman et al. found PRMs better in practice because step judgements are easier.
🐍 Exercise 2 (research): when selecting among sampled reasoning chains, do outcome or process reward models pick right answers, and valid reasoning, more often?
Select among sampled reasoning chains with an outcome model, a noisy process model and a rollout-labelled process model; measure accuracy and validity of reasoning.

Process supervision in AI, robotics and aerospace

  • Plan verification: checking each step of a robot or mission plan against preconditions is process supervision with an exact verifier.
  • Engineering calculations: step-level checks (units, conservation, bounds) catch compensating errors that a final-number check misses.
  • Safety cases: argument validity matters, not only the conclusion; process-level review mirrors how safety cases are assessed.

References

  1. J. Uesato et al. (2022). “Solving math word problems with process- and outcome-based feedback.” arXiv:2211.14275.
  2. H. Lightman et al. (2024). “Let’s verify step by step.” ICLR.
  3. P. Wang et al. (2024). “Math-Shepherd: verify and reinforce LLMs step-by-step without human annotations.” ACL.
  4. C. Zheng et al. (2024). “ProcessBench: identifying process errors in mathematical reasoning.” arXiv:2412.06559.