TL;DR
Lightman and colleagues train two kinds of reward model for solutions to competition maths problems. An outcome-supervised model judges only the final answer, and a process-supervised model judges every step. The process-supervised model is clearly better at picking the correct solution from many samples. It solves 78.2% of problems from a 500-problem subset of the MATH test set, and the paper releases the 800,000 step labels used to train it.
Where you'll see it: in the idea behind process reward models, and in work on training language models to check their own reasoning one step at a time.
The problem
Large language models solve multi-step problems by writing out a chain of reasoning, but they make logical errors and sometimes reach a correct answer through faulty steps. A reward model that sees only the final answer can be fooled by a lucky answer built on a broken argument, and it gives no hint about where a solution went wrong.
There was a fair question at the time about whether this matters. Uesato and colleagues had compared outcome and process supervision on grade-school arithmetic and found similar final performance. This paper asks whether the same is true on harder problems, with a stronger base model and much more human feedback, using the MATH dataset of competition mathematics. The paper states the comparison as its main question (section 1).
Key idea
A reward model is a network that scores a candidate solution. Given many solutions sampled from a generator, the reward model picks the one that looks best, a procedure called best-of-N search.
The difference between the two kinds of supervision is what the labels say:
- Outcome supervision labels a whole solution as correct or incorrect, based on its final answer. The model learns to predict that single label.
- Process supervision labels each step as positive, negative or neutral. The model learns to predict the correctness of each step.
Process supervision is more informative. A correct solution gives the same information under both schemes, namely that every step is right. An incorrect solution tells outcome supervision only that something is wrong, while process supervision says where the first mistake is. The paper supervises only up to the first incorrect step, which keeps the labelling cost comparable for humans, since judging a solution is then equivalent to finding its first error.
The method
The generator and the base models
All large-scale models are finetuned from a base GPT-4 model that has been pretrained only to predict the next token, without reinforcement learning from human feedback (section 2.2). The small-scale models were pretrained with roughly 200 times less compute. Every model is also finetuned on MathMix, a dataset of roughly 1.5 billion math-relevant tokens (Appendix A).
The generator is a single fixed model per scale, used only to produce solutions. The paper does not train it with reinforcement learning. Its focus is the reward model alone (section 2.1). Solutions are written in a newline-delimited step format, so that each step can be parsed. The generator is finetuned for one epoch on correct few-shot solutions to teach the format, not new skills (section 2.3).
The labels: PRM800K
Human labellers mark each step of a solution as positive, negative or neutral (section 2.4). A neutral step is one that is ambiguous, for example subtly misleading or a poor but valid suggestion. The paper keeps neutral as a label so that the decision about how to treat it can be made at test time.
The complete dataset is called PRM800K. Its training set holds 800,000 step-level labels across 75,000 solutions to 12,000 problems. It also includes data from 4,500 MATH test problems, and the paper evaluates only on the remaining 500 test problems, to reduce overfitting to the test set (section 2.4).
Which solutions to show labellers matters. The paper surfaces convincing wrong-answer solutions, meaning those that reach a wrong final answer and are rated highly by the current best reward model. Solutions with obvious errors give little useful feedback, and convincing ones are the ones that could fool the reward model. The reward model is retrained at several points during collection, and each round surfaces only the top few solutions.
Training the reward models
The outcome reward model is trained on 100 uniformly sampled solutions per problem, with labels from checking the final answer (sections 2.5 and 3). Its score for a solution is the prediction at the last token.
The process reward model predicts the correctness of each step by a single token placed after the last token of that step. It is trained by maximising the log-likelihood of those tokens, so it fits into a standard language-model training pipeline with no special architecture (section 2.6). To score a whole solution, the paper multiplies the probabilities that each step is correct. Appendix F.2 compares this product with a minimum over steps, and finds the product best with neutral steps treated as positive, though the differences between the four strategies are minor.
- Generate a solution as a list of steps.
- For each step, read the probability that the step is correct from the reward model.
- Multiply the step probabilities to get one solution score.
- Repeat for all sampled solutions, and return the one with the highest score.
Active learning
Labels are expensive, so the paper tests whether choosing which solutions to label helps. A small selector model, trained on one sample per problem, scores 1,000 samples per problem. Each training set for a larger reward model is then 80% of the most convincing wrong-answer samples, and 20% of the most convincing remaining samples. The selected samples are then scored by the large reward model and used for training (section 4.2). The paper reports that this gives a 2.6 times improvement in data efficiency for process supervision.
Results
Best-of-N on the MATH subset
The headline result is that the process reward model solves 78.2% of problems from the 500-problem subset, using best-of-N search over 1,860 generated solutions per problem (Table 4). The product scoring with neutral steps treated as positive gives 78.2%. The minimum over steps gives 77.6%. The other two combinations give 77.4% and 77.8%.
The paper's Figure 3 shows the best-of-N curves. The outcome reward model is slightly better than majority voting, and the process reward model is clearly better than both. The gap widens as N grows, which the paper reads as evidence that the process reward model searches more effectively across many solutions. The text does not give exact values for every point on that curve, so this lesson does not quote them.
Small-scale comparisons
To separate the effect of the supervision method from the effect of data, the paper uses the large process reward model as a labeller for smaller models. This simulates large-scale data collection cheaply (section 4). In this setup, process supervision beats both forms of outcome supervision at every data-collection scale, measured by best-of-500 selection (Figure 4a). The outcome model trained with labels from the large process reward model beats the one trained with final-answer checking, which the paper attributes to better supervision of solutions that reach the right answer through wrong reasoning.
Out-of-distribution STEM tests
To check generalisation, the paper evaluates on 224 STEM questions from recent AP and AMC exams, which were released after the pretraining data was compiled (section 5). Table 1 reports best-of-100 accuracy in aggregate: 63.8% for the outcome model, 72.9% for the process model, and 61.3% for majority voting.
The paper's text says 224 questions, but the Table 1 aggregate row lists 234 problems; the accuracies above are the table's.
Why it mattered
The paper's central claim is that process supervision gives more reliable reward models than outcome supervision in mathematical reasoning. It argues this from several angles: more precise feedback, easier credit assignment for hard problems where most solutions contain an error, and interpretability, since the model is rewarded for following an endorsed chain of reasoning (section 6.1 and 6.2).
It also argues that process supervision has a negative alignment tax on this task. That is, the safer method did not cost performance here. The authors caution that it is unknown how far these results generalise beyond mathematics (section 6.2).
The paper releases PRM800K so that others can study process supervision with the same labels. Its conclusion says the authors believe process supervision is under-explored and hope the release lowers the barrier to research on it (section 8).
Reading guide
Read the sections in this order, with the prerequisite lessons first.
- Introduction. Needs Reward Model and Reinforcement Learning from Human Feedback (RLHF), so the idea of scoring outputs for training is familiar.
- Section 2.1 (scope) and 2.2 (base models). Needs Fine-Tuning, since the generator and the reward models are finetuned from a pretrained Language Model.
- Section 2.4 (data collection). Needs the idea of step-by-step solutions from Chain-of-Thought Prompting.
- Sections 2.5 and 2.6 (ORM and PRM). Needs Cross-Entropy Loss for the per-step likelihood, and Process Reward Model for the definition of a step-level score.
- Section 3 (large-scale results). Needs Best-of-N Sampling, since all headline numbers are best-of-N.
- Section 4 (small-scale and active learning). Needs the definitions above. Read it for the ablations, not for new concepts.
- Section 5 (out-of-distribution). No new prerequisites.
Check yourself
QuestionWhy does a process-supervised reward model give more information than an outcome-supervised one on an incorrect solution?Show answer
An outcome label says only that the solution is wrong. A process label says which steps are correct and where the first incorrect step is. The paper supervises up to the first mistake, so the labeller's work is locating that mistake, and the model learns the precise location of the error.
QuestionThe paper's process scoring multiplies the probabilities of correctness for each step. Suppose a solution has step probabilities 0.9, 0.8 and 0.95. What is its product score, and what would the minimum over steps be? (These numbers are illustrative, not from the paper.)Show answer
The product is . The minimum is . The product penalises every uncertain step, while the minimum depends only on the weakest step. The paper found the product best on its test set, with neutral steps treated as positive, though the differences between strategies were minor.
QuestionThe paper reports a 2.6 times improvement in data efficiency from active learning. If an uncertain baseline needs 1,000 labels to reach a given performance, roughly how many labels would the active learning version need?Show answer
About labels. This is the paper's own estimate of the improvement, taken from the slopes of its fitted lines, not a direct measurement at this exact point.
QuestionThe paper evaluates on a 500-problem subset of the MATH test set rather than the whole test set. Why, and what does that protect against?Show answer
The PRM800K training set includes data from 4,500 MATH test problems. Evaluating only on the other 500 keeps the reported accuracy on problems the reward model has not been trained on, so the number is not inflated by memorisation.
QuestionA critic says the process-supervised result shows that process supervision is always better. What limits does the paper itself state?Show answer
The paper states that the comparison is in mathematical reasoning and that it is unknown how far the results generalise to other domains. It also notes that final-answer checking has false positives, which the process labels avoid, but that the size of this effect on MATH may be over-emphasised. Its small preliminary attempt at iteratively retraining the active-learning selector was unstable, and the authors say they have no concrete evidence that iterative retraining helps.
Sources
- Lightman et al., Let's Verify Step by Step (2023).
- Hendrycks et al., Measuring Mathematical Problem Solving With the MATH Dataset (2021).