// Stage 5 · Post-training, Alignment & Reasoning Models
Reasoning Models: RLVR, GRPO & Test-Time Compute
Chain-of-thought and zero-shot CoT, self-consistency, Tree of Thoughts and self-refinement; outcome vs process supervision (PRM800K) and STaR; RL with verifiable rewards (RLVR); GRPO group-relative advantages and DAPO's four techniques; the DeepSeek-R1-Zero / R1 recipe and distillation; compute-optimal test-time scaling and budget forcing (s1); chain-of-thought faithfulness and monitoring.
about 12 hours12 algorithms18 paperslesson text ready
01Goals
- Distinguish chain-of-thought, zero-shot CoT, self-consistency, Tree of Thoughts and self-refinement, and explain what kind of inference-time compute each adds
- Compare outcome and process supervision, explain how PRM800K and process reward models are used to select solutions, and describe the bootstrapping idea of STaR
- Write down GRPO's group-relative advantage (normalized by group mean and standard deviation), explain why it needs no critic, and list DAPO's four techniques
- Recount the DeepSeek-R1-Zero and DeepSeek-R1 training pipelines (rule-based rewards, cold start, multi-stage RL, distillation) and the paper's conclusions on distillation versus direct RL
- Understand compute-optimal test-time scaling and budget forcing, and explain why chains of thought may not faithfully reflect a model's reasoning and why strong optimization pressure on CoT monitors should be avoided
Do these first: Alignment: RLHF, DPO & Constitutional AI
02Read on this site
03Algorithms to master
Each card has the original paper, prerequisites and resources.
04Must-read papers
- Chain-of-Thought Prompting Elicits Reasoning in Large Language Models ↗2022 ✓ verified in Essentials
- Let's Verify Step by Step ↗2023 ✓ verified in Essentials
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models ↗2024 ✓ verified in Essentials
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning ↗2025 ✓ verified in Essentials
- Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameters ↗2024 ✓ verified in Essentials
- Large Language Models are Zero-Shot Reasoners ↗2022 ✓ verified
- Self-Consistency Improves Chain of Thought Reasoning in Language Models ↗2022 ✓ verified
- Tree of Thoughts: Deliberate Problem Solving with Large Language Models ↗2023 ✓ verified
- Self-Refine: Iterative Refinement with Self-Feedback ↗2023 ✓ verified
- Solving math word problems with process- and outcome-based feedback ↗2022 ✓ verified
- STaR: Bootstrapping Reasoning With Reasoning ↗2022 ✓ verified
- Tulu 3: Pushing Frontiers in Open Language Model Post-Training ↗2024 ✓ verified
- DAPO: An Open-Source LLM Reinforcement Learning System at Scale ↗2025 ✓ verified
- s1: Simple test-time scaling ↗2025 ✓ verified
- Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting ↗2023 ✓ verified
- Measuring Faithfulness in Chain-of-Thought Reasoning ↗2023 ✓ verified
- Reasoning Models Don't Always Say What They Think ↗2025 ✓ verified
- Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscation ↗2025 ✓ verified
05Courses & videos
- Lilian Weng:Why We Think ↗ExplainersEN
- huggingface/open-r1 ↗Reference codeEN
- github.com ↗Reference codeEN
- TRL:GRPO Trainer ↗Official docsEN
- OpenAI:Learning to reason with LLMs ↗ExplainersEN
- OpenAI:Learning to reason with LLMs(o1;train/test-time compute) ↗ExplainersEN
- doi.org ↗PapersEN
- github.com ↗Reference codeEN
06Hands-on: project, code & exercises
Free, official or author-published pages. Most run in the browser or on a free Colab GPU.
PROJECT
Train a 0.5B–1.5B model on GSM8K with GRPO and a rule-based reward, and track how response length and accuracy change over training steps.
- 1github.com ↗Reference code
Reproduce R1-Zero-style “aha” reasoning on an arithmetic game with RL (needs a rented GPU).
- 2TRL:GRPO Trainer ↗Official docs
Train a small maths model with TRL’s GRPOTrainer and a verifiable reward.
- 3huggingface/open-r1 ↗Reference code
Follow Open-R1’s reproduction steps to see what distillation and RL each contribute.
07Self-test
Answer in your head, then open to check.
Where does the reward in RLVR come from?
From programmatically checkable outcomes, such as a maths answer matching the reference or code passing unit tests. Tulu 3 coined the name; DeepSeek-R1-Zero likewise uses rule-based accuracy and format rewards rather than a neural reward model, which the paper notes can suffer reward hacking in large-scale RL.
Which PPO component does GRPO drop, and how is the advantage computed?
It drops the value network (critic). For each question it samples a group of responses and uses each reward minus the group mean, divided by the group standard deviation, as the advantage. If every response in a group is right (or wrong), all advantages are 0 and there is no learning signal — which is why DAPO’s dynamic sampling filters such groups.
Is self-consistency voting a training or an inference method?
Inference (test-time compute). It samples several reasoning paths for the same question and takes a majority vote over the final answers, without updating model parameters.
How do process and outcome supervision differ, and what did Lightman et al. conclude?
Outcome supervision rewards only the final answer; process supervision scores each reasoning step. Lightman et al. (2023) released PRM800K (about 800,000 step-level human labels) and found that selecting solutions with a process reward model clearly outperforms an outcome reward model on MATH.
Why can a chain of thought not be taken as a faithful record of the model’s reasoning?
Turpin et al. (2023) found models are swayed by biasing features in prompts but systematically fail to mention them in their CoT; Chen et al. (2025) found reasoning models often do not verbalize hints they use. Baker et al. (2025) also found that too much optimization pressure on the CoT leads models to hide their intent.
On these routes: Algorithm Researchers · Product Managers & Leaders