Unit 13 of 13 · about 4 hours · measure

Clean reproduction and a prespecified objective, reward or system extension

A result that needs its own author and machine to appear is not a result. Clean reruns plus one fair extension close the section.

You'll be able to

  • Reproduce a verifiable RL result from a clean checkout within a stated seed tolerance.
  • Prespecify one objective, reward or system extension with its falsification rule before running it.
  • Retain the negative or unstable regime and state which assumption failed.

Covers

Clean reproduction and prespecified objective, reward or system extension
1

Read

In this order, only the parts listed

0 of 3 done

  1. Countdown implementation plus extension menuStanford CS224R 2026 LLM RL Default Project - Extension

    Sections 1.3 to 1.4: SFT with loss on response tokens only, IPO with the SFT model as reference, RLOO with the rule-based verifier, sampling multiple responses per prompt with average score plus pass at K; Section 5 extension menu with off-policy sampling, test-time inference, exploration, self-play and tool reasoning; milestones SFT May 1, IPO plus RLOO May 22, poster June 3, report June 8

  2. Final integration requirementsLLM Post-Training Laboratory - Final Integration

    Milestones C, D and F: fixed-rollout plus group edge-case tests, failure injections including stale log probabilities, ratio direction, verifier loopholes and policy lag, frozen blinded clean plus adversarial plus shift evaluation with clean reproduction and one prespecified extension

  3. RL checkpoint pass clausesReinforcement Learning Checkpoint

    Debug and measure plus Pass condition: matched-budget comparison, external evaluation with reward-hacking controls, strong baselines, negative evidence, and sample, compute and system boundaries

2

Focus on

  • Clean means a fresh checkout, fixed versions and no tuned prompts. State the seed tolerance before running.
  • Prespecify the extension, its baseline and the result that would falsify it. Extensions are graded on method and rigor, not on SOTA.
  • Keep the Qwen2.5-0.5B base fixed across SFT, IPO and RLOO. A model change is a new study.
  • Retain unstable and failed runs with their records. A missing negative regime is a missing result.
Common mistakes · 3
  • Tuning the extension on the test set. Freeze prompts and the harness first.
  • Sweeping checkpoints and reporting the best. Fix the selection rule before evaluation.
  • Dropping the hacked or collapsed run. The postmortem needs its records.
3

Try it yourself

Closed-book, before checking anything

From a clean checkout, reproduce the SFT baseline score inside the handout's 5 percent margin for sampling variation. Then prespecify one extension with its baseline, budget and falsification rule before running it.
4

Quiz yourself

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

0 got · 0 missed

  1. 1.What counts as a clean reproduction?Answer

    Fresh checkout, pinned versions, fixed prompts and decoding, score within the stated sampling margin of the original.

  2. 2.What must a prespecified extension name?Answer

    The change, the baseline it must beat, the matched budget, and the result that would falsify it.

  3. 3.The extension underperforms the baseline. What do you keep?Answer

    Everything: configs, trajectories, metrics and the failed-regime analysis naming which assumption broke.

5

Practice

  • Stanford CS224R Default Project: SFT plus IPO plus RLOO with one extension

    Sections 1.3 to 1.4 with the SFT, IPO and RLOO implementations and evaluation/countdown.py; thresholds 0.25, 0.35 and 0.45 with a 5 percent grading margin for sampling variation, plus average score and pass at K; Section 5 for the one extension

    Use the public starter as study material under the course honor code. Do not publish solutions. Run reduced on your GPU with fewer prompts and smaller groups; full runs need cloud credit.

You're done when

A clean rerun lands inside the 5 percent margin and your prespecified extension reports its verdict with retained negative evidence.

Only when you can do this without notes.

Leads to

Notes

Resources · 3 for this unit, 10 more in the section
  • 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.

  • 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.

Also in this 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.