Reward Models · Chapter 15
PRM variants: what a step score means
1. One name, five meanings
Every PRM outputs a number per step. The variants differ in what that number is trained to mean.
In Chapter 06 we met the PRM as a classifier that reads a reasoning prefix and returns a score \(q_t\). Two papers can both call their model a PRM while one predicts "a careful human would mark this step correct" and the other predicts "if we keep sampling from here, we will probably reach the right answer". Those are different quantities, they are learned from different data, and they fail in different ways.
The five variants in this chapter are:
- Human-supervised PRM: is this step correct?
- Rollout (Monte-Carlo) PRM: can this prefix still succeed?
- Value-style PRM: how promising is this state, and how much did the step help?
- Generative PRM: reason about the step in words, then judge it.
- Search-aware PRM: use the scores to decide which partial solutions to keep.
2. Step labels: the common frame
Write the problem as \(x\) and a solution as steps \(s_1,\ldots,s_T\). The prefix after \(t\) steps is
A step label is a target \(y_t\in[0,1]\) attached to the prefix \(z_t\), together with a mask \(m_t\in\{0,1\}\) that says whether the step is supervised at all. A PRM variant is defined by the quantity that \(y_t\) estimates.
Almost every discriminative variant is then trained with the same masked binary cross-entropy, which accepts both hard (0/1) and soft (fractional) targets:
Because the loss is the same, the architecture is the same, and even the numbers look alike, it is easy to forget that the label is what gives \(q_t\) its meaning. The rest of the chapter is about labels.
3. Variant 1: human step labels
Annotators read a solution step by step and mark each step. In PRM800K the marks were positive, negative or neutral; a neutral step is acceptable but not clearly useful. How neutral maps to a training target is a design choice. The model learns local correctness:
Example. Steps \(s_1\): "\(20\%\) of \(100\) is \(20\)", and \(s_2\): "the discounted price is \(100+20=120\)". Labels \([1,0]\). A trained PRM might predict \([0.97,\,0.08]\), giving a loss of \(\tfrac12\big[-\log 0.97-\log 0.92\big]\), which is \(\tfrac12(0.030+0.083)\approx 0.057\).
The label is the closest to what we mean by "a correct step", and it does not depend on any policy. The price is human time: every label needs someone able to check the mathematics.
4. The first-error convention
What label should a step get if it follows a mistake? "Therefore \(x=7\)" may be valid algebra applied to a wrong equation. Calling it correct rewards building on an error; calling it wrong punishes good algebra. The common way out is to stop labelling at the first error. Let
Under this convention \(q_t\) is read as the chance that step \(t\) is correct given that all earlier steps were. That reading gives the step scores a clean probabilistic meaning.
If \(q_t=P(s_t\text{ correct}\mid x,\ s_1,\ldots,s_{t-1}\text{ all correct})\), then
The first identity justifies the product aggregation of Section 11. The second turns a PRM into an error locator: the most likely first-error step is the \(t\) that maximises \(P(\tau=t)\). Benchmarks such as ProcessBench evaluate PRMs on exactly this task of finding the earliest wrong step.
5. Variant 2: rollout (Monte-Carlo) labels
Human labels do not scale. Math-Shepherd replaced them with simulation: from each prefix \(z_t\), a completer policy \(\pi\) samples \(M\) continuations, and each is checked against the answer key, giving outcomes \(R_1,\ldots,R_M\in\{0,1\}\). Two labels can be made from the outcomes:
The hard label says "at least one continuation reached the right answer". With \(M=5\) and outcomes \([1,1,1,0,0]\), the soft label is \(0.6\) and the hard label is \(1\).
6. What a rollout label actually measures
A soft rollout label is an unbiased estimate of the success probability of the completer from that prefix:
This is the value function of Chapter 07, not step correctness. Three consequences matter.
- Policy dependence. The same prefix gets a high label under a strong completer and a low one under a weak completer. Labels go stale as the policy improves.
- Noise. With \(M=8\), the standard error at \(V=0.5\) is \(\sqrt{0.25/8}\approx 0.18\) (Equation 7 of Chapter 07).
- Hard labels are lenient. A prefix with \(V=0.1\) and \(M=8\) gets \(y^{\text{hard}}=1\) with probability \(1-0.9^{8}\approx 0.57\).
Correct step, low label
The step is valid but opens a hard path, or the completer is too weak to finish from it. Rollouts fail, so the label says "bad" about a correct step.
human 1, rollout 0/8
Wrong step, high label
The step contains a slip that later steps silently fix, or the answer is reached by a lucky guess. Rollouts succeed, so the label says "good" about a wrong step.
human 0, rollout 5/8
A rollout label measures whether this policy can still recover from here. That is useful for search, but it is not what an annotator means by "this step is wrong". Studies that compare the two kinds of labels report that Monte-Carlo labels disagree with careful step judgements often enough to matter.
7. Finding the first error by binary search
Labelling every prefix of a \(T\)-step solution costs \(T\cdot M\) rollouts. If we only want the first-error labels of Equation 4, we can do better. Take a solution whose final answer is wrong, so the full prefix fails, and assume that once a prefix becomes unrecoverable it stays so. Then the first error is the first prefix whose rollouts all fail:
and under the monotonicity assumption \(\hat V(z_t)=0\) holds for every \(t\ge\hat\tau\), so the search can halve the interval at each query. The OmegaPRM method builds on this idea and embeds the binary search in a Monte-Carlo tree search so that rollouts are shared across queries.
For \(T=16\) this needs \(\lceil\log_2 16\rceil=4\) queries instead of up to 16. The savings grow with solution length. The cost is that every weakness of Section 6 remains: a false zero from too few rollouts moves \(\hat\tau\) earlier, and a lucky success moves it later.
8. Variant 3: value-style PRMs and progress
A value-style PRM accepts that rollout labels measure future success and trains for it on purpose:
Chapter 07 developed this model in full. Here we only note how it changes the meaning of a step score. Take \(37\times 19\) with two valid first steps. A: \(37(20-1)=740-37\). B: "add 37 nineteen times". A local correctness PRM gives both about \(0.95\). A value PRM gives \(V_A=0.94\) and \(V_B=0.52\), because B has many more chances to slip.
The step itself is then credited by how much it changed the value, the progress or advantage of the step:
If \(V_0=0.70\) before the first step, A earns \(+0.24\) and B earns \(-0.18\). A restatement of the problem earns about \(0\). Setlur et al. argue that progress should be measured under a separate prover policy rather than the policy being trained, so that it reflects how much a step helps rather than how well the current policy happens to continue from it.
9. Variant 4: generative PRMs
The variants so far map a prefix straight to a number. A generative PRM first writes a verification of the step, then gives a verdict. This is the generative judge of Chapter 09 applied step by step.
Candidate step: \(3(x+2)=3x+2\). A generative PRM writes:
A score is read from the verdict. Either take the probability of the "correct" token after the critique \(c_t\), or sample \(K\) independent verifications and count:
The written check lets the verifier spend more computation on hard steps, and sampling \(K\) verifications trades cost for reliability. The verdict can still be wrong, and a fluent but mistaken check is persuasive to a human reader. Cost is the main drawback: one verification per step per candidate.
10. Variant 5: search-aware PRMs
The last variant is defined by use rather than labels: the PRM decides, during generation, which partial solutions get more compute. Two settings are common.
Best-of-\(N\). Sample \(N\) complete solutions, score each with an aggregate \(S(y_i)\) of its step scores (Section 11), and return the best. A softer version, weighted voting, sums scores over solutions that reach the same final answer \(a\):
Step-level beam search. Keep \(B\) prefixes, expand each, and keep the best. With a local-correctness PRM, a branch's running score is
so one very low step score sinks the branch. With a value PRM, the current \(V_t\) is used directly. Example: three expansions score \(0.91\), \(0.18\) and \(0.77\); with \(B=2\) we keep the first and third.
Snell et al. compared best-of-\(N\), beam search and lookahead search with PRM verifiers and found that the best choice depends on problem difficulty and compute budget. The same step scores can also serve as dense rewards for RL, as in Chapter 06, where every weakness discussed below is amplified by optimisation.
11. Aggregating step scores into a solution score
Best-of-\(N\) and reranking need one number per solution. Five aggregators are common:
Compare a clean solution with \(q=[0.95,\,0.90,\,0.92,\,0.90,\,0.95]\) and the same solution with one bad middle step, \(q_3=0.10\):
| Aggregation | Clean | One bad step | Effect |
|---|---|---|---|
| min | 0.900 | 0.100 | falls to the bad step |
| product | 0.673 | 0.073 | divided by 9.2 |
| mean log (geo) | −0.079 (0.924) | −0.523 (0.593) | moderate drop |
| mean | 0.924 | 0.760 | small drop |
| last step | 0.950 | 0.950 | no change |
For any scores \(q_t\in(0,1]\), \(S_{\text{prod}}\le S_{\min}\le S_{\text{geo}}\le S_{\text{mean}}\). The first inequality holds because every other factor is at most 1; the last is the inequality of arithmetic and geometric means. The last-step score is not ordered with the others: it ignores every step but one.
Which aggregator fits depends on the label. For a local-correctness PRM under the first-error convention, the product is the probability of no error (Proposition 15.1), and the minimum is a robust stand-in. For a value-style PRM, \(q_T\) already estimates the success of the whole solution, so the last step is a natural choice, and taking the product of values would multiply overlapping estimates of the same event. The mean is the weakest detector: an error in one step of five moves it by at most a fifth of the drop.
The product falls with length even when every step is good: \(0.9^{10}\approx 0.349\) against \(0.9^{3}=0.729\). So it prefers short solutions. The mean and geometric mean do not shrink with length, which removes that bias but opens another one, discussed next.
12. Pitfalls
- Rollout labels disagree with step correctness. Section 6 gave both directions: correct steps with low labels and wrong steps with high labels. A PRM trained on such labels inherits the disagreement and is weaker at locating the first error.
- Correct but useless steps are rewarded. A local-correctness PRM gives high scores to restating the problem or checking trivial facts. Append five such steps with \(q=0.99\) to the clean solution of Section 11: the mean rises from \(0.924\) to \(0.957\) and the geometric mean from \(0.924\) to \(0.956\), while the product falls from \(0.673\) to \(0.640\) and the minimum stays at \(0.90\). Under a mean, padding pays. Progress rewards (Equation 10) give such steps about zero.
- Search over-exploits PRM errors. Search selects whatever the PRM scores highest, including its mistakes. If each wrong candidate independently has a small chance \(\varepsilon\) of outscoring every correct one, then with \(N_w\) wrong candidates
With \(\varepsilon=0.02\) this is about \(0.08\) for \(N_w=4\) but about \(0.73\) for \(N_w=64\). More candidates give more chances to find a PRM error, so accuracy can stop improving, or fall, as \(N\) grows.
- Step segmentation. "Step" usually means a line or paragraph. If the PRM was trained on one segmentation and used on another, its scores drift.
- Distribution shift. A PRM trained on one policy's mistakes may miss the different mistakes of a stronger or different policy.
- Outcome leakage. A PRM may learn to guess whether the final answer looks familiar instead of checking the step in front of it.
13. The key map
| Variant | Step score means | Labels from | Main risk |
|---|---|---|---|
| Human PRM | Is this step correct? | Annotators, to the first error | Cost; neutral and post-error steps are ambiguous |
| Rollout PRM | Can this prefix still succeed? | Sampled continuations checked against the key | Policy dependent, noisy, disagrees with correctness |
| Value / progress PRM | How promising is this state; how much did the step help? | Rollouts or outcome labels; differences of values | Same as rollouts; needs a good value baseline |
| Generative PRM | A reasoned verdict on the step | Verification text and verdicts, often from a stronger judge | Inference cost; persuasive wrong checks |
| Search-aware PRM | Which branches get more compute | Any of the above | Search amplifies PRM errors |
The rows split along one line. The first and fourth rows judge a step backward, by local correctness. The second and third look forward, at future success. The last row is about what we do with either kind of score.
14. Laboratory: which aggregations punish one error?
Set five step scores. The panel shows five aggregations of Equation 14 side by side. Turn on "inject a bad step" to overwrite one step with a low score, choose which step, and compare each aggregation with its clean value.
Step-score aggregation
\(S_{\min},\ S_{\text{prod}},\ S_{\log},\ S_{\text{mean}},\ S_{\text{last}}\)Clean vs with the bad step
With the bad step at position 3, the last-step score does not move at all. Move it to position 5 and the last step catches it, while the mean still drops far less than the minimum or the product. Then try "All 0.80": the product is already low with no bad step, which is its length bias.
15. Worked example, step by step
An 8-step solution ends with a wrong answer, so \(\hat V(z_8)=0\). We want first-error labels using \(M=8\) rollouts per query. If we estimated every prefix, we would find \(\hat V(z_1),\ldots,\hat V(z_7)=\tfrac78,\tfrac68,\tfrac68,\tfrac58,\tfrac48,\tfrac08,\tfrac08\). Binary search sees only the ones it asks for.
- Start: the first error lies in steps \(1..8\), so \(\text{lo}=1,\ \text{hi}=8\).
- Query \(\text{mid}=\lfloor 9/2\rfloor=4\): \(\hat V(z_4)=\tfrac58>0\). The error is later: \(\text{lo}=5\).
- Query \(\text{mid}=\lfloor 13/2\rfloor=6\): \(\hat V(z_6)=0\). The error is at 6 or earlier: \(\text{hi}=6\).
- Query \(\text{mid}=\lfloor 11/2\rfloor=5\): \(\hat V(z_5)=\tfrac48>0\). So \(\text{lo}=6=\text{hi}\) and \(\hat\tau=6\).
- Cost: 3 queries, \(3\times 8=24\) rollouts. A linear scan from step 1 stops at step 6 after 6 queries, \(48\) rollouts.
- Hard first-error labels: \(y=[1,1,1,1,1,0]\), steps 7 and 8 masked.
- Soft labels for the same steps would be \([0.875,\,0.75,\,0.75,\,0.625,\,0.5,\,0]\). Step 5 is labelled correct by the hard rule but carries a soft label of only \(0.5\).
- Caution: a zero from 8 rollouts is weak evidence. If the true \(V(z_6)\) were \(0.1\), all 8 rollouts fail with probability \(0.9^{8}\approx 0.43\), and \(\hat\tau\) would be too early.
16. Closing the series
This chapter ends the series. Looking back, the fifteen chapters moved along a few axes. What is judged: a whole answer (scalar RM, ORM), a single step (PRM), or the future of a prefix (value model). What is output: one score, several scores, or text with a verdict (multi-objective, generative and critique-then-score models). How it is trained and used: pointwise, pairwise and listwise losses, implicit rewards inside the policy, conditioning on instructions, uncertainty from ensembles, and rules combined with learned judgement. PRM variants sit where these axes meet: the same step score can mean correctness or future success, be produced by a classifier or by a written check, and be used for training or for search.
A step score means what its label means. Human labels measure local correctness, rollout labels measure recoverability under a policy, value differences measure progress, and generative verdicts are reasoned judgements. Search then spends compute on whatever the score rewards, including its errors.
See also
- Uesato et al., 2022, solving math word problems with process- and outcome-based feedback.
- Lightman et al., 2023, Let's verify step by step: human step labels (PRM800K).
- Wang et al., 2024, Math-Shepherd: rollout-based step labels without human annotation.
- Luo et al., 2024, automated process supervision with binary search for the first error (OmegaPRM).
- Setlur et al., 2024, rewarding progress: scaling automated process verifiers.
- Snell et al., 2024, scaling test-time compute with verifier-guided search.
- Zhang et al., 2024, generative verifiers: reward modelling as next-token prediction.
- Khalifa et al., 2025, process reward models that think (ThinkPRM).
- Zheng et al., 2024, ProcessBench: identifying the earliest error in mathematical reasoning.
- Zhang et al., 2025, lessons from developing process reward models in mathematical reasoning.
- Earlier chapters: process reward model, value model, generative RM.
Previous
← Hybrid rule-based and learned rewards
Series complete
You have reached the end of the reward model series
Return to the overview to revisit any chapter.