Unit 3 of 13 · about 4 hours · explain

Process rewards, step credit and reasoning traces versus observable answers

One final score cannot say which step failed. Step feedback helps only when steps have stable meaning and errors propagate.

You'll be able to

  • Contrast outcome and process rewards by input, data format and training signal, and state when steps are worth the cost.
  • Explain why hidden thinking tokens are not evidence of reasoning, and name the observable check that would support a claim.
  • Describe how PRM scores enter training per step without becoming per-token correctness labels.

Covers

Process rewards and step-level credit assignmentReasoning traces, hidden reasoning and observable answers
1

Read

In this order, only the parts listed

0 of 3 done

  1. Outcome versus process rewardsHands-on Modern RL - Reasoning, Agentic RL and Safety

    Sections 1 to 4: square-root-of-2 nine-step proof with the step-6 missing square scored 1, versus with final-correctness versus step-correctness data, discounted return with giving 0.43, 0.66, 0.73 and 0.90, and the three checks for buying PRM (page read 2026-10-14)

  2. Reasoning research before large RLVR runsRLHF Book - Reasoning, Synthetic Data, Tools and Evaluation

    Reasoning Research Before OpenAI o1 or DeepSeek R1: STaR and TRICE ground-truth loops, VinePPO with binary GSM8K and MATH rewards, Tulu 3 PPO with binary correctness while keeping broad scores; R1-Zero rule-based accuracy plus format rewards (page read 2026-10-14)

  3. Format rewards and think tokensBuild a Reasoning Model (From Scratch) - Chapters 3, 6 and 8

    Chapter 7, Section 7.6, printed pp.256-266: <think> format reward, training a model to emit think tokens, and length and format incentives as separate terms

2

Focus on

  • ORM maps a prompt plus full response to one scalar. PRM adds a step index and scores that step.
  • R1-Zero develops longer self-checking traces from rule-based accuracy plus format rewards alone. Process labels are not required.
  • Thinking tokens are sampled text, not observed cognition. Only the extracted answer and its checks carry the claim.
  • A PRM score attaches per step or per token group. Sharing a score across tokens in a step is convention, not proof.
Common mistakes · 3
  • Calling a longer thinking trace proof of reasoning. Length and self-check phrases can grow while the answer stays wrong.
  • Training on step labels and claiming broad generality. Labels, candidate generator and rerank setup bound the claim.
  • Treating a PRM step score as a token correctness certificate. Tokens in one step share the score by convention.
3

Try it yourself

Closed-book, before checking anything

Closed-book, write and with their data tuples, and retell the square-root-of-2 story: outcome reward 1 for the whole trace despite the step-6 error. Then state the three checks for buying PRM: stable step meaning, propagating errors, and a judge more reliable than the generator.
4

Quiz yourself

Answer first, then mark it. Missed ones go to Review.

0 got · 0 missed

  1. 1.What are the inputs and data rows for ORM versus PRM?Answer

    ORM takes prompt plus full response with final correctness. PRM adds a step index with step correctness.

  2. 2.Why did the square-root-of-2 trace get reward 1 despite the step-6 error?Answer

    The outcome verifier checks only the conclusion, so the whole trace shares the reward.

  3. 3.When is PRM worth its annotation and compute cost?Answer

    Steps have stable meaning, errors propagate and waste budget, and the step judge beats the generator. Short answers with cheap resampling usually fail this test.

  4. 4.Are hidden thinking tokens evidence of how the model reasoned?Answer

    No. They are generated text. Evidence comes from the extracted answer, verifier checks and held-out behavior.

5

Practice

  • Hands-on Modern RL: ORM versus PRM return comparison

    Section 2.1 discounted return with gamma=0.9 and Section 3 ORM and PRM data formats; recompute the 0.43, 0.66, 0.73 and 0.90 weights by hand and map each token group to its step score

    Pin walkinglabs/hands-on-modern-rl at 9231bab. Keep the token counts as scale illustration, not as a selection threshold.

You're done when

You can write both reward signatures from memory, retell the step-6 story, and defend a no-PRM decision for short verifiable answers.

Only when you can do this without notes.

Leads to

Notes

Resources · 3 for this unit, 10 more in the section
  • RLHF Book - Reasoning, Synthetic Data, Tools and EvaluationNathan Lambert · primary

    Study Chapter 7 (reasoning and inference-time scaling), Chapter 12 (synthetic data and on-policy distillation), Chapter 13 (tool use), Chapter 14 (over-optimization) and Chapter 16 (evaluation). Build a claim map separating RLVR learning, inference-time search, on-policy distillation, tool trajectories, reward overoptimization and independent evaluation.

  • Build a Reasoning Model (From Scratch) - Chapters 3, 6 and 8Sebastian Raschka (Manning) · support

    Use Chapter 3 (a math verifier: boxed-answer extraction, normalization and equivalence checks), Chapter 6 (RLVR with GRPO on a MATH subset) and Chapter 8 (distillation from filtered rollouts) as the smallest verifier-to-distillation path on Qwen3 0.6B.

  • Hands-on Modern RL - Reasoning, Agentic RL and SafetyWalking Labs · support

    Use the build-an-agentic-training-system page (a from-scratch trainer exercise), one reasoning or search control and the reward-hacking evaluation chapter selectively. Skip the pages that need API keys or several GPUs and the frontier surveys. Pin commit 9231bab of walkinglabs/hands-on-modern-rl; its code/chapterNN folders do not follow the site chapter numbers.

Also in this section

  • RLHF Book Course - Lectures 5, 7, 11 and 12Nathan Lambert · required

    Use Lecture 5 (the rise of reasoning models), Lecture 7 (synthetic data and modern post-training), Lecture 11 (tool use and the road to agents) and Lecture 12 (frontier model evaluation). Tie every mechanism to a distinct data and compute budget.

  • DeepSeek-R1 Technical ReportDeepSeek AI · required

    Read version 2 of the report (January 2026; the Nature 2025 paper is the peer-reviewed version): the R1-Zero and R1 training pipeline, reward design, observed behaviors and limitations. Reproduce only a reduced verifier-driven question and test whether longer sampling or selection explains the observed gain.

  • Tulu 3: Pushing Frontiers in Open Language Model Post-TrainingLambert et al. (Ai2, 2024) · support

    Read the RLVR section: verifiable rewards for math, instruction following and constraints, and how the RLVR stage sits after SFT and DPO. Compare its recipe with R1-Zero on what is rewarded and what is held out.

  • STaR: Bootstrapping Reasoning With ReasoningZelikman et al. (NeurIPS 2022) · support

    Read the generate, filter by correctness and fine-tune loop and the rationalization step. Use it as the rejection fine-tuning control that an RL method must beat at matched samples.

  • RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement LearningWang et al. (2025) · support

    Read the multi-turn trajectory formulation and the training instabilities it reports for agent RL (collapse into repetitive reasoning). Use it to design the diagnostics for a small multi-turn environment.

  • Stanford CS224R 2026 LLM RL Default Project - ExtensionStanford University · required

    Use the specification sections on SFT, IPO, RLOO, evaluation and one extension such as off-policy sampling, test-time inference, exploration, self-play or tool reasoning. Build independent code on a distinct task and respect all course restrictions.

  • Berkeley CS 185/285 Deep Reinforcement Learning (Spring 2026) - LLM RL Default Final ProjectUC Berkeley · support

    Read the default project for open-ended instruction following: offline DPO, IPO and AOT, online GRPO, Dr. GRPO and GSPO, and judge-based win rates against a frozen base. Use it as a second extension menu; its compute assumes cloud GPUs and a paid judge model.

  • veRLByteDance · support

    Inspect the hybrid-controller architecture, worker roles, supported algorithms and examples at commit 8718ca3 after single-device losses pass. Trace one rollout from generation through reward and update, record policy lag and run only hardware-compatible examples.

  • LLM Post-Training Laboratory - Final IntegrationRoadmap-Final · required

    Finish the bounded rollout and verification queue, reasoning or tool extension, independent clean and adversarial evaluation, reward-hacking postmortem, policy-lag and throughput records, clean reproduction and one prespecified negative or positive result.

  • Reinforcement Learning CheckpointRoadmap-Final · support

    Take the checkpoint closed-note after the integrated project. Pass the estimator and state reconstruction, unseen failure diagnosis, matched-budget comparison, external evaluation and research-readiness clauses.