Skip to content

Solving math word problems with process- and outcome-based feedback

optionalcorefundamentalpaperrubric 10/122022 · ~45 min

Jonathan Uesato, Nate Kushman, Ramana Kumar, …, Irina Higgins

Status

TL;DR. On GSM8K with a 70B language model, Uesato et al. compare two ways of supervising reasoning. Outcome-based feedback checks only whether the final answer is right. Process-based feedback uses human labels of the first wrong step. Final-answer error ends up about the same either way (12.7% with an outcome reward model in the RL loop, 12.9% with a process one). Getting the reasoning right as well (low “trace error”) needs a learned reward model, and a reward model trained only on outcomes turns out to imitate process labels.

Why it matters now. RLVR, as in DeepSeek-R1 and most search-agent RL, is outcome-only: exact match, unit tests, a judge on the final answer. This paper is the earliest controlled evidence of what that costs. Final answers improve, but correct reasoning is not guaranteed. A search agent rewarded on exact match can hit the right answer while citing passages that do not support it. That is the same failure under another name.

A solution y=(y1,…,yT)y = (y_1,\dots,y_T) to problem xx ends in a final answer a(y)a(y). The paper tracks two metrics:

  • Final-answer error: P(a(y)≠a∗)P\big(a(y) \neq a^*\big).
  • Trace error: among samples whose final answer is correct, the fraction with at least one wrong step. Humans rate this on 200 problems per model.

There are two reward models. They differ only in their labels:

  • ORM (following Cobbe et al.): a classifier applied after every step tt. Its training label is the whole sample’s outcome, 1[a(y)=a∗]\mathbb{1}[a(y) = a^*], copied onto every step. In effect it learns P(final answer correct∣x,y1:t)P(\text{final answer correct} \mid x, y_{1:t}) under the sampling policy, which is a value function.
  • PRM: the label at step tt is 1 only if steps 1..t1..t are all correct. Humans mark the first major mistake in 1,560 sampled solutions (3 per problem, drawn from problems where the SFT model’s majority vote was wrong). The PRM is initialised from the ORM.

Reward models are used in two places:

  • Reranking. Sample K=96K = 96 solutions. Majority voting returns the most common answer. RM-weighted voting returns a^=arg⁡max⁡a∑i: a(yi)=ar(yi)\hat a = \arg\max_a \sum_{i:\,a(y_i) = a} r(y_i), and then the highest-scoring sample with that answer.
  • RL by expert iteration (sample → select → fine-tune → repeat; not PPO):
    • Final-answer RL keeps samples with the correct answer. This is STaR.
    • ORM-RL keeps the best of KK samples by ORM score.
    • PRM-RL builds a solution step by step, picking the best of 96 candidate next steps under the PRM, for up to 15 steps.
One reasoning trace labelled by outcome and process schemes A table. Rows are the four steps of a policy answer to an average-speed problem: total distance 200 km; leg speeds 80 and 160 km/h; a wrong step that averages the two speeds to 120 km/h; and a final step dividing 200 km by 2 h to get the correct 100 km/h. Columns give the Uesato outcome reward model label (1 on every step, because the final answer is correct), the Uesato process label (1, 1, 0, 0, because steps so far are correct only up to step 2), the Lightman PRM800K label (positive, positive, negative, then unlabelled because labelling stops at the first error), and illustrative process reward model step probabilities 0.97, 0.95, 0.10 and 0.90. A summary row shows that the rule verifier gives 1, the outcome labels are all 1, the first error is at step 3, and the process score is 0.083 with the product or 0.10 with the minimum. One trace, four labelling schemes Step of the policy output ORM label(Uesato) PRM label(Uesato) PRM800K(Lightman) PRM scoreP(step ok) 1 total distance 120 + 80 = 200 km 2 leg speeds 80 km/h and 160 km/h 3 mean of the speeds = 120 km/h ✗ 4 200 km / 2 h = 100 km/h (final) 11+0.97 11+0.95 10−0.10 10unlabelled0.90 Final answer 100 km/h is correct rule verifier reward = 1 every stepgets 1 first errorat step 3 labels stopafter step 3 × ≈ 0.083min = 0.10 ORM label: final-answer correctness, copied to every step. PRM label: are all steps so far correct? PRM scores are illustrative.
Original sketch, using the rewards-map worked example rather than a GSM8K item. The outcome label copies the final-answer verdict to every step, so a trace error is invisible to it. The process label switches to 0 at the first wrong step. PRM800K-style labelling (next page) stops there.

From Table 1 (final-answer error / trace error, %, GSM8K test):

TrainingDecodingFinal-answer err.Trace err.
SFTmajority vote22.311.4
SFT + final-answer RLmajority vote20.212.1
Few-shot + final-answer RLmajority vote23.519.8
SFTORM rerank14.84.4
SFTPRM rerank14.13.5
SFT + ORM-RLORM rerank12.73.4
SFT + PRM-RLPRM rerank12.93.8
  • ORM-RL and PRM-RL get final-answer error below 13%, against 16.8% for the previous GSM8K state of the art. Their trace errors (3.4% and 3.8%) compare with about 14% reported by the best prior work.
  • If the model may abstain on 30% of questions, final-answer error falls to 2.7%.
  • Selecting step by step with the PRM at decode time was 1–2 points worse than reranking whole samples.
  • Table 2 shows a worked example of a correct answer reached through incorrect reasoning, which is the kind of sample trace error counts.
  • One domain. GSM8K has unique numeric answers and few lucky routes to them. The authors say the ORM-approximates-PRM result may not transfer.
  • Small, noisy measurements. Trace error is human-rated on 200 problems per model. Table 1 gives min–max ranges across raters, for example 3.4 (0.0–6.8) for SFT+ORM-RL, so differences of a point or two are not meaningful. The PRM is trained on only 1,560 annotated solutions.
  • Expert iteration, not policy gradient. The RL here is filtered fine-tuning. Whether the conclusions hold under PPO or GRPO with dense step rewards is what later work (Lightman, uPRM, PURE) probes.
  • Not independent. The PRM starts from the ORM, so their similar results are partly by construction.
  • Open: in domains where outcomes are cheap but spurious success is common (retrieval QA, agents with tools), how much process signal is needed, and can a learned ORM supply it?

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Five samples for one problem have final answers 42, 42, 42, 38, 38 and ORM scores 0.30, 0.25, 0.20, 0.90, 0.05. (a) Which answer and sample do majority voting and RM-weighted voting return? (b) Using Table 1, what fraction of all SFT+ORM-RL samples are both final-answer-correct and trace-clean, compared with SFT+FA-RL under majority voting? Be careful about what trace error is conditioned on.

    What a strong answer covers
    • (a) Majority vote: 42 (3 votes against 2). RM-weighted voting sums the scores per answer: 42 gets 0.30 + 0.25 + 0.20 = 0.75 and 38 gets 0.90 + 0.05 = 0.95. It returns 38, and within that answer the highest-scoring sample (0.90).
    • RM weighting lets one confident sample beat a plurality. That helps if the ORM is calibrated and hurts if 0.90 is a convincing wrong answer.
    • (b) Trace error is measured only among samples whose final answer is correct, so P(correct and clean) = (1 − final-answer error) × (1 − trace error).
    • SFT+ORM-RL: 0.873 × 0.966 ≈ 0.843. SFT+FA-RL with majority vote: 0.798 × 0.879 ≈ 0.701. That is about a 14-point gap in fully correct solutions, larger than the 7.5-point gap in final-answer error alone.
  2. Mechanism

    The ORM is trained only with outcome labels (was the final answer right?) copied onto every step, yet its per-step predictions agree with human process labels more often (85%) than with its own outcome labels (77%). Explain why, in terms of what the ORM is actually estimating, and say when the explanation would break.

    What a strong answer covers
    • At step t the ORM is trained to predict whether this policy's full sample ends with the right answer, given the prefix. That is an estimate of P(correct final answer | prefix), a value function for the sampling policy.
    • On GSM8K, once a step is wrong the chance of still reaching the right answer drops sharply. The value estimate therefore falls at the first error, which is exactly what the process label marks.
    • Outcome labels on early steps of a later-failing sample say "0" even when those steps are fine. The ORM cannot predict this noise from the prefix, so it predicts the value instead and disagrees with its own labels.
    • It breaks when wrong steps often still reach the right answer (guessable answers, multiple choice, compensating errors) or when correct prefixes often fail for unrelated reasons. Then the value no longer tracks step correctness. The paper itself flags the result as possibly specific to the domain.
  3. What if…

    Compare these Table 1 rows (final-answer error / trace error): SFT majority vote 22.3/11.4, SFT+FA-RL majority vote 20.2/12.1, Few-shot+FA-RL majority vote 23.5/19.8, SFT+ORM-RL 12.7/3.4, SFT+PRM-RL 12.9/3.8. What does each comparison isolate, and what is the main lesson about outcome vs process?

    What a strong answer covers
    • SFT → SFT+FA-RL: final-answer-only RL improves accuracy slightly (22.3 → 20.2) but trace error does not fall (11.4 → 12.1). Rewarding the answer does not clean up reasoning.
    • Few-shot+FA-RL has trace error 19.8. Without SFT on human-written reasoning, outcome-only RL finds many right-answer-wrong-reasoning solutions.
    • Adding a learned reward model (in RL or in reranking) cuts both errors. ORM-RL and PRM-RL are within noise of each other (12.7/3.4 vs 12.9/3.8).
    • Lesson: the big split is "final-answer label only" against "a learned reward model". It is not ORM against PRM, because on this data the outcome-trained ORM already emulates process feedback.
  4. Critique

    The paper concludes that outcome-supervised reward models can be enough for low trace error on GSM8K. Why might this not transfer to other domains, and what experiment would falsify the claim that "an ORM approximates a PRM"?

    What a strong answer covers
    • GSM8K has unique numeric answers and few routes to the right answer through wrong steps. The authors themselves note that math may have few spurious solutions.
    • Trace error is human-rated on 200 problems per model, so small differences (3.4 vs 3.8) are within sampling noise.
    • The PRM was initialised from the ORM and trained on only 1,560 annotated solutions, so the two are not independent models.
    • Falsifier: pick a domain where wrong reasoning often lands on the right answer (multiple choice, or retrieval QA where the answer can be guessed from one passage). Measure the ORM's agreement with human process labels and the trace error of ORM-RL vs PRM-RL. Agreement near the outcome-label rate, plus higher trace error for ORM-RL, falsifies the claim.
  5. Design

    You train a multi-hop QA search agent with RL, rewarded by exact match on the final answer. Define the analogue of trace error for this agent, explain why exact-match reward cannot reduce it, and design a process-level signal within an academic labelling budget.

    What a strong answer covers
    • Analogue: among exact-match-correct answers, the fraction whose trajectory contains a wrong step. Examples are citing a passage that does not support the claim, an irrelevant hop, or an answer recalled from parametric memory without supporting evidence.
    • Exact match gives the same reward to grounded and ungrounded correct answers, just as FA-RL left trace error unchanged. The policy has no gradient towards grounding.
    • Process signal: label the first wrong step in about 1–2K trajectories (Uesato used 1,560 solutions) for hop relevance and claim support. Train a step classifier, or use an UMBRELA-style relevance judge per retrieved passage as a step label after checking it against the human labels.
    • Use it as Uesato did: rerank or select trajectories (expert iteration) with the step model, or add a support reward. Report final accuracy and the analogue of trace error separately, on a human-checked sample.
  6. Connect

    Connect this paper's methods to the RL vocabulary on the fundamentals pages. Which object is the ORM in actor-critic terms? What kind of policy improvement is PRM-RL's step-by-step best-of-96 selection? Why does the paper use expert iteration rather than PPO?

    What a strong answer covers
    • The ORM's per-step prediction is a learned value V(prefix) for the sampling policy, the same object a critic estimates. Training it on final-answer labels is Monte Carlo regression on terminal reward.
    • The PRM scores a candidate next step given the prefix, which is like a Q(prefix, step) estimate. Choosing the best of 96 candidates at each step is greedy one-step lookahead policy improvement, and fine-tuning on the resulting traces distils it into the policy.
    • Expert iteration (sample, select, SFT) avoids the instability and memory cost of PPO on a 70B model and turns any scorer into a filter. STaR is the final-answer version.
    • The cost: selection only uses the top samples and ignores how bad the others were. Policy-gradient methods with advantages (PPO, GRPO) also push probability away from low-reward samples.

Done with this page?

Status