Let's Verify Step by Step

Hunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, Karl Cobbe

Introduction

Large Language Models (LLMs) have become remarkably adept at complex, multi-step reasoning. However, they remain prone to "hallucinations"—logical errors or invented facts that occur mid-thought. In rigorous domains like mathematics, a single error in an intermediate step renders the entire solution worthless, even if the final answer happens to be correct by chance.

The standard method for training reward models to evaluate these outputs is Outcome Supervision (ORM), which only checks if the final answer is correct. Unfortunately, this provides a sparse learning signal and can inadvertently reward flawed logic that happens to reach the right conclusion. This paper investigates whether Process Supervision (PRM)—providing feedback on every single line of reasoning—can produce more reliable, interpretable, and performant models.

The Process Supervision Approach

To determine the most effective training strategy, the researchers compared two primary reward modeling techniques:

  1. Outcome-Supervised Reward Models (ORMs): Trained to predict the correctness of the final solution based solely on the end result.
  2. Process-Supervised Reward Models (PRMs): Trained to predict the correctness of every individual step in a solution.
Example of process supervision with step-by-step feedback

Process supervision solves the "needle in a haystack" problem of credit assignment. In outcome supervision, if a solution is wrong, the model has to guess which of its many steps was the point of failure. In process supervision, the exact error is explicitly pointed out, providing a much richer and more actionable learning signal.

To evaluate these models, the authors utilized a Best-of-N Search. A generator model (GPT-4) produced many candidate solutions ($N$) for a given problem, and the reward model was tasked with selecting the best one.

The PRM800K Dataset

To train the PRM, the researchers created and released PRM800K, a massive dataset consisting of 800,000 step-level human feedback labels across 75,000 solutions to 12,000 problems from the challenging MATH dataset.

To make the creation of this dataset more efficient, the team employed Active Learning. Rather than having humans label random solutions, they iteratively surfaced "convincing wrong-answer solutions"—outputs the reward model currently rated highly but actually contained subtle errors. This targeted approach made human labeling 2.6x more data-efficient.

Key Results and Insights

The shift from outcome to process supervision yielded significant performance gains. The best PRM solved a state-of-the-art 78.2% of problems in a representative subset of the MATH test set, consistently outperforming ORMs across all problem difficulties and data scales.

Performance comparison of PRM, ORM, and Majority Voting

Beyond raw accuracy, process supervision demonstrated several key advantages:

  • Robustness to Adversaries: As the number of generated solutions ($N$) increases, ORMs eventually plateau or degrade because they get "fooled" by incorrect reasoning chains that accidentally reach the right answer. PRMs remain robust even when searching through thousands of samples.
  • Alignment and Safety: Process supervision is inherently more aligned with human values. It rewards the model for following a human-endorsed, logical process rather than just finding a shortcut. This makes the model's internal "thought process" much easier for humans to audit and trust.
  • Out-of-Distribution Generalization: To ensure the model wasn't simply memorizing the MATH dataset, it was tested on recent STEM exams (AP Physics, Calculus, Chemistry) and AMC math competitions. The PRM successfully outperformed both the ORM and majority voting on these fresh, unseen problems.

Limitations and Future Work

While process supervision is highly effective, it comes with a significant human cost. Labeling every step of a solution is far more expensive and time-consuming than checking a final answer. Even with active learning, this "alignment tax" remains high.

Furthermore, this study focused exclusively on mathematics, a domain where "correctness" is strictly objective. It remains an open question how well process supervision will scale to more subjective or open-ended domains like creative writing or complex software engineering. Finally, while this paper used reward models primarily for search (picking the best of many samples), the authors note that integrating these process rewards directly into a Reinforcement Learning (RL) pipeline to improve the generator model itself is a promising next step.

Summary updated

BibTeX
@inproceedings{lightman2024let,
  author = {Hunter Lightman and Vineet Kosaraju and Yuri Burda and Harrison Edwards and Bowen Baker and Teddy Lee and Jan Leike and John Schulman and Ilya Sutskever and Karl Cobbe},
  title = {{Let's Verify Step by Step}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=v8L0pN6EOi},
}
Figure