# Let's Verify Step by Step

Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee and 4 more · arXiv · 2023-5-31

- **Problem** Reward models that rank candidate solutions to hard math problems can be trained on final answers alone or on feedback for every step, and the comparison of these two supervision forms was unsettled on the harder MATH dataset.
- **Method** Trains outcome-supervised and process-supervised reward models at large and small scale, using human step labels for process supervision and a large PRM as a labelling oracle for smaller models, then compares them by best-of-N selection.

## Why the form of supervision matters

A search that picks the top-ranked candidate can only be as reliable as the scorer that ranks the candidates. Multi-step solutions are especially fragile, because one faulty step can invalidate an otherwise long and sensible chain of thought. Chain-of-thought generation makes these long solutions possible, so the open question is how to judge them well.

Outcome supervision labels a whole solution by its final result, whereas process supervision attaches feedback to each step of the chain of thought. Step-level feedback locates the exact place where an error occurs, and the authors argue that step labels are easier for people to inspect and more directly reward a human-endorsed reasoning path.

Outcome-supervised models can reach a correct answer through faulty reasoning, and process supervision has been reported to reduce that behaviour.

Uesato et al. found similar final performance for the two forms of supervision on grade school math. This study changes three things relative to that work: a more capable base model, substantially more human feedback, and the harder MATH dataset.

## Holding the generator fixed

At each model scale a single fixed model writes all the candidate solutions, and this model is called the generator. The generator is not improved with reinforcement learning, and the study does not examine how a reward model would steer the generator under RL. Reward models are evaluated by best-of-N search: for each test problem the highest-ranked solution is kept, graded on its final answer, and the fraction of correct answers is reported.

Large-scale models are finetuned from the GPT-4 base model, which has been pretrained only to predict the next token and has not received RLHF. Small-scale base models resemble GPT-4 in design but were pretrained with roughly 200 times less compute. All base models receive an extra pretraining pass on roughly 1.5B math-relevant tokens called MathMix, which the authors find improves mathematical reasoning.

To make steps easy to parse, the generator is trained to write newline-delimited step solutions. This is done by few-shot generating solutions to MATH training problems, keeping those that reach the correct final answer, and finetuning on them for a single epoch. The authors state that this step serves to set the output format rather than to teach new skills.

## Collecting and selecting step labels

Human labellers mark each step as positive, negative or neutral, and the figure shows the interface used for this. A neutral label marks ambiguity, for example a step that is subtly misleading or a weak suggestion that is still valid, and it lets the decision about neutral steps be made at test time.

The full set of step labels, called PRM800K, has 800K step-level labels across 75K solutions to 12K problems. Because 4.5K MATH test problems were added to the PRM800K training set to avoid overfitting, evaluation uses the remaining 500 test problems.

Rather than showing labellers a uniform draw of solutions, the study surfaces convincing wrong-answer solutions. Convincing means rated highly by the current best PRM, while wrong-answer means the final answer is incorrect, and the authors note that correctness is judged only by the final answer. A wrong-answer solution rated highly by the PRM must contain at least one mistake that the PRM has missed, which is why it is informative to label.

The PRM is retrained at several points during collection, and at each round the top K convincing wrong-answer solutions out of N generated per problem are surfaced. The top-K filter is applied either per problem or across the whole dataset, and the authors could not run large-scale ablations of this choice.

## How the two reward models are trained and scored

The ORM is trained on uniformly sampled solutions to predict whether each one is correct, following a method similar to Cobbe et al. Correctness targets usually come from checking the final answer automatically, so solutions that reach the right answer by flawed reasoning are labelled correct. At test time the ORM's prediction at the final token serves as the score of the whole solution.

The PRM predicts the correctness of each step at the token that closes that step, as a single-token prediction trained by maximizing the log-likelihood of the targets. Because of this format, the PRM fits a standard language-model training pipeline without special changes. Figure 2 shows two solutions to the same problem with PRM scores, where the incorrect one is flagged at its mistake.

Step-level predictions for a whole solution come from a single forward pass of the PRM.

Process supervision in this study is provided only up to the first incorrect step. For correct solutions both forms of supervision convey the same information, that every step is correct, while for incorrect solutions both reveal that a mistake exists and only process supervision reveals where. Because no easy final answer exists in every domain, judging a solution is then equivalent to finding its first mistake.

## Large-scale results

The large-scale ORM was trained on 100 uniform samples per problem, a training set with no overlap with PRM800K and roughly an order of magnitude larger. The large-scale PRM was trained on the step labels in PRM800K.

The 78.2% figure applies to the evaluation subset of the MATH test set.

Across values of N, the ORM does slightly better than majority voting, while the PRM is clearly ahead of both. The gap between the PRM and the other two methods widens as N increases, which the authors read as the PRM searching a large pool of solutions more effectively.

Training the ORM only on PRM800K solutions would be problematic, because active learning has pushed that dataset toward wrong-answer solutions. Mixing uniformly sampled solutions into the ORM data did not improve it, and RM-weighted voting did not noticeably improve the PRM over its own selection.

## Matched small-scale comparison of supervision forms

Small-scale generators produce between 1 and 200 solutions per problem, and three series of reward models use three supervision forms: process supervision from PRMlarge, outcome supervision from PRMlarge, and outcome supervision from final-answer checking. Only the supervision differs between the three series, which otherwise train on identical datasets.

At best-of-500, reward models trained with process supervision from PRMlarge score higher than both outcome-supervised series at every data collection scale tested. The Figure 4 results are means with standard deviations across three seeds.

When each series is judged by best-of-N across N, outcome supervision from PRMlarge beats final-answer checking. The authors explain this by PRMlarge giving better supervision for solutions that reach the correct final answer through incorrect reasoning. The authors consider outcome supervision from PRMlarge the more relevant outcome baseline, because final-answer false positives are arguably over-weighted in MATH, although they leave the choice to the reader.

## Active learning and labelling efficiency

A small PRM selector is trained on one sample per problem and scores 1000 samples per problem. For each larger reward model, N samples per problem are selected so that 80% are the most convincing wrong-answer samples and 20% are the most convincing of those remaining, and PRMlarge then scores the selected samples.

By comparing the slopes of the fitted lines with and without active learning, the authors estimate that active learning is about 2.6x more data efficient than uniform labelling. The model trained on 200 samples per problem falls slightly below the expected trend, which the authors attribute to 200 samples being a large share of the 1000-sample pool, limiting diversity.

Iterative retraining of the PRM selector during collection was tried, but the authors observed instability they could not diagnose. The resulting reward models performed no better than the non-iterative ones, and the authors say they have no concrete evidence yet that iterative retraining would help.

## Out-of-distribution check on recent STEM tests

The large-scale ORM and PRM were evaluated on 224 STEM questions taken from recent AP and AMC exams. The authors argue the model has probably not seen these questions, because the exams were released after the pretraining data was compiled, and the report uses best-of-100.

The table's aggregate row lists 234 problems, while the text describes 224 questions, and both counts are given here as the paper reports them.

## Limitations

The large-scale ORM and PRM are trained on datasets that are not directly comparable, so their gap cannot isolate the form of supervision alone. The PRM training set is also biased toward wrong-answer solutions and is roughly an order of magnitude smaller than the ORM set.

Final-answer grading can give positive labels to solutions that reach the right answer through faulty reasoning, which can misgrade ORM targets.

The small-scale ablations replace human labels with PRMlarge labels, so they test the supervision forms only as far as PRMlarge is a reliable labeller. The outcome baseline is also contested, since the authors do not claim that PRMlarge or final-answer checking is the appropriate baseline.

The authors cannot fully rule out memorization of MATH test problems from pretraining data, and they say any inflation of test scores would probably affect all methods similarly.

The authors note that whether these results carry over beyond mathematics is unknown. The out-of-distribution check uses only 224 questions.

## Why process supervision may help

Outcome supervision leaves the reward model with a hard credit-assignment problem, since it must work out where a wrong solution went wrong. On hard problems most generated solutions contain an error, so a negative outcome label carries little information. Process supervision instead tells the model how many early steps were correct and where the first wrong step appears.

The authors believe this richer signal explains the stronger performance of process supervision.

The authors argue that process supervision is more likely to yield interpretable reasoning and rewards a chain of thought people can endorse rather than only a correct outcome. In the authors' math results, process supervision did not cost performance, which they describe as a negative alignment tax. They expect this could encourage adoption of process supervision, and they consider its effects in other domains an open question.

The PRM800K step labels are released to support related research.

## Paper info

- **Authors**: Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, Karl Cobbe
- **Venue**: arXiv · Preprint
- **First published**: 2023-5-31
- **Added**: 2026-10-20
- **Updated**: 2023-5-31
- **Version**: v1
- **arXiv**: 2305.20050
- **Category**: cs.LG · cs.AI · cs.CL
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2305.20050v1) · [PDF ↗](https://arxiv.org/pdf/2305.20050v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, Karl Cobbe (2023). Let's Verify Step by Step. arXiv:2305.20050v1. https://arxiv.org/abs/2305.20050v1

**BibTeX**

```
@misc{lightman2023verify,
  title = {{Let's Verify Step by Step}},
  author = {Hunter Lightman and Vineet Kosaraju and Yura Burda and Harri Edwards and Bowen Baker and Teddy Lee and Jan Leike and John Schulman and Ilya Sutskever and Karl Cobbe},
  year = {2023},
  eprint = {2305.20050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.20050v1}
}
```

## Other paper commentary

- [STaR: Bootstrapping Reasoning With Reasoning](https://refivu.com/en/papers/2942117a-1b64-4434-bef7-4f70b61ab603-star-bootstrapping-reasoning-with-reasoning.md)
- [DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning](https://refivu.com/en/papers/2227da56-269c-4116-84dc-2bc76bf3e6c7-deepseek-r1-incentivizing-reasoning-capability-in-llms-via.md)
- [Self-Consistency Improves Chain of Thought Reasoning in Language Models](https://refivu.com/en/papers/be407503-de73-4a1d-9790-4b944a0560a9-self-consistency-improves-chain-of-thought-reasoning-in.md)
- [Chain-of-Thought Hidden States Reveal Task-Solving Directions for Direct Answers](https://refivu.com/en/papers/8a23f0af-7204-4d01-8549-f9ad8f063856-chain-of-thought-hidden-states-reveal-task-solving.md)
- [Optimal Autoregressive Chain-of-Thought Learning via Bagging](https://refivu.com/en/papers/2ad4fbbf-a4a8-48c8-ab66-b5be2af3e669-optimal-autoregressive-chain-of-thought-learning-via-bagging.md)
- [Reasoning in the loop: antibody lead optimization by probing mechanism and measurement](https://refivu.com/en/papers/ba413fe7-f8ea-4c82-bd3e-43f168752ec8-reasoning-in-the-loop-antibody-lead-optimization-by.md)
- [Consistency Models](https://refivu.com/en/papers/f97e5129-1522-4b93-9b60-0a1f3af22d42-consistency-models.md)
- [wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations](https://refivu.com/en/papers/084e48fc-2ff1-4e6f-a703-2575f966a7bc-wav2vec-2-0-a-framework-for-self-supervised.md)
- [3D Gaussian Splatting for Real-Time Radiance Field Rendering](https://refivu.com/en/papers/d283b4d8-b4d8-4fce-b08f-da8a9a94eaf5-3d-gaussian-splatting-for-real-time-radiance-field.md)
- [Adding Conditional Control to Text-to-Image Diffusion Models](https://refivu.com/en/papers/071adc96-6d0d-4210-ac05-74ff8d4cb5aa-adding-conditional-control-to-text-to-image-diffusion.md)
- [Flow Matching for Generative Modeling](https://refivu.com/en/papers/7c239b51-40c6-4227-afa0-fb98cb12b475-flow-matching-for-generative-modeling.md)
- [Large Language Models are Zero-Shot Reasoners](https://refivu.com/en/papers/6b8a675c-a686-4e78-8256-301472d5cac2-large-language-models-are-zero-shot-reasoners.md)

## Terms in this paper

- [GPT-4](https://refivu.com/en/terms/1e2d0d2cdc44-gpt-4)
- [generator](https://refivu.com/en/terms/2935313c9c21-generator)
- [Reward model](https://refivu.com/en/terms/76346da527c5-reward-model)
- [chain-of-thought](https://refivu.com/en/terms/f224ebaf1832-chain-of-thought)
- [active learning](https://refivu.com/en/terms/0e0dd6f76a6c-active-learning)
- [MATH dataset](https://refivu.com/en/terms/94ac35e21337-math-dataset)
- [alignment tax](https://refivu.com/en/terms/2d1e21881a89-alignment-tax)
- [credit assignment](https://refivu.com/en/terms/4ea15ccf4724-credit-assignment)
- [outcome supervision](https://refivu.com/en/terms/fce87f753e49-outcome-supervision)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/389050a4-3045-4cce-994c-b4c5da04031a-let-s-verify-step-by-step)
