How did a text predictor become a helpful assistant, then a model that checks its own proofs, and now an agent? One tool did most of the work: reinforcement learning, fed by rewards from people, then from verifiers, then from the world. Watch the lecture in ten chapters with English and Chinese subtitles, follow the lecture map below, then try the ideas in Colab.
Four acts, ten chapters. Imitation gives a model the format of an assistant; RL on human preferences aligns it. Opening the RL toolbox shows that PPO, ReMax and GRPO differ mainly in their baseline. With rewards that are checked instead of learned, the same tool produces reasoning models, and next it has to teach models to act. The algorithm barely changes; the source of the reward does. Click a chapter to watch it.
Pre-training gives knowledge, mid-training sharpens what post-training will unlock, and SFT teaches the format of an assistant. But SFT sees only positive examples, copies its demonstrator, and optimizes likelihood rather than what people want.
Helpful, honest and harmless cannot be written as a loss. RLHF learns a reward model from pairwise comparisons with the Bradley–Terry model, then optimizes the policy with PPO and a KL leash. InstructGPT and ChatGPT scaled this recipe up.
DPO turns the RLHF objective into a single classification-style loss on preference pairs. But preference labels are biased (fake references fool every judge), and RL exploits a learned reward: Goodhart's law.
Text generation is an RL problem with heterogeneous rewards and enormous compute. PPO's critic doubles memory; since LLM feedback is fast and deterministic, REINFORCE with a greedy-answer baseline (ReMax) suffices.
GRPO uses the group mean as baseline, and its variants (Dr. GRPO, DAPO, GSPO, …) fix stability at scale. Verifiable rewards replace learned ones (RLVR); the frontier moves to asynchronous systems and to exploring hard prompts.
Long chains of thought outline, plan, backtrack and self-evaluate. o1 improves with both train-time RL and test-time thinking; reasoning tokens make thinking cost real money; o3 thinks with images.
Math, code, GPQA and Humanity's Last Exam are checkable and unsaturated. One path to reasoning: sample many solutions and verify them, guided step by step by a value model (OVM) or a process reward model.
Distilling long chains cannot beat the teacher. DeepSeek-R1-Zero showed that pure RL with rule-based rewards makes long reasoning and reflection emerge; SimpleRL reproduced the core result on a 7B model with 8K examples.
DeepSeekMath-V2 trains a proof verifier, checked by a meta-verifier, and rewards the generator with it, reaching open IMO gold. ARC-AGI asks a different question: can a model learn a new skill, or a new game, from a few tries?
Make medicine and video look like math with verifiable problems and contrastive rewards (HuatuoGPT-o1, Video-R1), or adapt to a domain with RL and a retiring teacher (OnePO). Agentic RL is hard mostly for systems reasons; the reward now comes from the world.
Three short notebooks turn the lecture into experiments. Click Open in Colab, then Runtime → Run all. Each ends with exercises. Notebooks 1 and 2 run on a CPU; notebook 3 is best on a free T4 GPU (Runtime → Change runtime type) and falls back to a smaller setting on a CPU.
Key terms of the lecture. Each link opens the video at the slide where the idea is explained.
The lecture's later chapters track what changed this year. Six trends to watch, each with the slide that covers it:
DeepSeekMath-V2 was the first open model at IMO gold level. NVIDIA's Nemotron-Cascade 2, an open 30B MoE with 3B active parameters, reports gold-level results at IMO 2025, IOI and the ICPC World Finals, with 20× fewer parameters.
From 24% (the Kaggle winner, Nov 2025) to 54% (GPT-5.2 Pro, Feb 2026) to over 90% for frontier models at maximum reasoning effort (Jul 2026), past the 85% bar. Cost per task is now the open question.
135 interactive games with no instructions, scored on action efficiency against humans. Frontier models scored under 1% at launch (Mar 2026) and about 30% verified by July. The harness matters as much as the model.
Some 2026 models spend most of their output on reasoning. Frontier APIs hide raw chains of thought, and leaderboards report cost and tokens per task, so cheap catch-up by copying traces is getting harder.
Rollouts with hundreds of tool calls and long tails push training to asynchronous pipelines, thousands of sandboxes, and fixes for train–inference mismatch. The focus moves from reasoning thinking to agentic thinking.
"When a measure becomes a target, it ceases to be a good measure."
Why a learned reward model gets hacked once RL optimizes against it.
"Our large-scale reinforcement learning algorithm teaches the model how to think productively using its chain of thought in a highly data-efficient training process."
The o1 recipe in one sentence: RL, chain of thought, data efficiency.
"Rather than explicitly teaching the model on how to solve a problem, we simply provide it with the right incentives, and it autonomously develops advanced problem-solving strategies."
“Incentivize, don't teach” (slide 80), in the authors' own words.
"The biggest lesson that can be read from 70 years of AI research is that general methods that leverage computation are ultimately the most effective, and by a large margin."
Why RLVR, whose signal scales with compute rather than labelling, took over.