RL course map: which lecture or chapter to use at each stage
TL;DR. You do not need to finish four courses before reading RL-for-LLM papers. This page gives one route in eight stages. For each stage it lists the site pages to read and the specific lecture or chapter from each external source that prepares you for them. Every lecture title, link and timestamp below was checked against the official course page, playlist or book in this wave. YouTube timestamps appear only where the uploader published chapters or the course page lists them.
Why it matters now. Most 2025–26 RL papers you will meet as an IR researcher (GRPO variants, search-agent RL, LLM judges as rewards) assume stages 1–3 without saying so. The five sources split the work cleanly. Silver and Sutton & Barto teach the problem. Spinning Up and CS285 teach the deep-RL machinery. Lambert’s course and book teach how that machinery is used for post-training.
The recurring toy: a two-state search agent
Section titled “The recurring toy: a two-state search agent”Every course page in this section reuses one tiny MDP, so you can check each new idea by hand before mapping it to tokens.
| State | Action | Next state | Reward |
|---|---|---|---|
| s₀ “no evidence yet” | search | s₁ | −0.1 (search cost) |
| s₀ | answer | terminal | +1 with probability 0.2, else 0 |
| s₁ “evidence in context” | answer | terminal | +1 with probability 0.9, else 0 |
| s₁ | search | s₁ | −0.1 |
Solved with the Bellman optimality equation: . With , and , so the optimal agent searches once, then answers. With , .
Translation to LLMs. For a search agent, “search” is a tool call and the state is the context window. For plain token generation, every token is an action, the state is the prefix, and a reward model or verifier gives one reward at the end of the completion.
Stage-by-stage map
Section titled “Stage-by-stage map”Abbreviations: Silver = UCL 2015 lectures; S&B = Sutton & Barto, 2nd ed.; SU = Spinning Up; CS285 = Spring 2026 slide numbers; Lambert = post-training course and RLHF book chapters.
| Stage | Site pages | Silver | S&B | SU | CS285 (Sp 2026) | Lambert course · book | Exit check |
|---|---|---|---|---|---|---|---|
| 1. The problem | MDPs and returns, Value functions and Bellman | L1–L3 | Ch 3–4 | Part 1 | L4 | L0 (RL framing chapter), L1 · Ch 1–3, App. A | Solve the toy by hand |
| 2. Learning from samples | MC, TD, Q-learning, REINFORCE, Actor-critic, GAE; branch: DQN | L4–L7 (L6 for DQN) | Ch 5–6, 13; 12.1 and 11.3 | Part 3, VPG page | L5–L8 | L3 · Ch 6 (REINFORCE, RLOO, GAE) | Derive one PG sample; explain baseline vs critic |
| 3. Stable updates | TRPO, PPO | L7 (natural PG, briefly) | 5.5 (importance sampling) | TRPO and PPO pages | L9–L10 | L3–L4, Q&A 1 · Ch 6 | All advantage-sign cases of the clip |
| 4. Preferences | Reward modeling, Christiano et al., InstructGPT, DPO, DPO family, RLOO | — | 17.4 (reward design) | — | L14 part 4 | L1, L2, L6, L8 · Ch 4–5, 8–11 | Derive the Bradley–Terry and DPO losses |
| 5. Verifiable rewards | STaR, GRPO, Tülu 3, R1, DAPO, Dr. GRPO | — | — | — | L14 part 3, HW4 | L3 (GRPO), L4, L5 · Ch 6–7 | Compute group advantages; diff each recipe |
| 6. Evaluate and debug | Evaluating reasoning RL, Entropy mechanism, VAPO, Outcome vs process, Rubrics as rewards | L9 (exploration) | Ch 2 (bandits) | “Doing rigorous research” | L19 | L7 (rubrics), L12 · Ch 5 (PRMs), 16, App. C | Design a controlled comparison |
| 7. Proxy failures | Reward hacking overview, Specification gaming, RM over-optimization, Length correlations | — | 17.4 | — | — | L9, L10, Q&A 3 · Ch 14–15, App. B | Separate proxy gains from measured task gains |
| 8. Specialise | Async RLHF, Missing old logits, Long-horizon tool agents, ScaleRL, On-policy distillation | L8 (planning, MCTS) | Ch 8 | — | L15–L18 | L4 (infra), L7 (distillation), L11 · Ch 6 (async), 12–13 | Reproduce one small result |
Stages 4 and 5 are not a chain. GRPO comes from stages 2–3 (REINFORCE with a group baseline inside a PPO-style ratio), and DPO is the comparison branch for preference data. Both branches require a clear reward definition; learned preference reward models are needed for the relevant RLHF route, not for rule-verifier GRPO.
How much time each source costs
Section titled “How much time each source costs”| Source | Full length (checked) | Shortest useful slice |
|---|---|---|
| Silver 2015 | 10 lectures, about 16.4 h of video | L1–L7, about 11.2 h |
| Sutton & Barto | 17 chapters, 500+ pages | Ch 3, 4, 5, 6, 13 (plus 12.1, 11.3) |
| Spinning Up | Docs site with Parts 1–3 and 6 algorithm pages | Parts 1 and 3, VPG, TRPO and PPO pages |
| CS285 Spring 2026 | 25 lectures, 5 homeworks | L4–L10, L14, HW2 and HW4 |
| Lambert course | 14 lectures (L0–L13), about 9.4 h, plus 3 Q&As | L2–L6, L9–L10, L12 |
| RLHF book | 17 chapters + 3 appendices | Ch 5, 6, 7, 8, 14, 15, 16 |
Worked example: the toy through all eight stages
Section titled “Worked example: the toy through all eight stages”- Problem. Values as above: search once, then answer.
- Learning. Parameterise the s₀ choice as with . One episode (search, then a correct answer) has return with . The score is , so the REINFORCE sample is . With the baseline (assuming the agent always answers from s₁), the sample becomes . The expected direction is unchanged and the variance is lower.
- Stable updates. If the update moves from 0.5 to 0.6, the ratio is 1.2. With PPO’s this token is exactly at the clip edge, so further gains from this sample stop counting.
- Preferences. No reward is given; a rater prefers “search then answer” to “answer immediately”. A Bradley–Terry reward model with a reward gap of 1 predicts that preference with probability .
- Verifiers. Sample four answers from s₀ and score each with an exact-match checker: rewards 1, 0, 0, 1. Group mean 0.5 and standard deviation 0.5 give advantages +1, −1, −1, +1. If all four were correct, every advantage would be 0 and the prompt would teach nothing.
- Evaluate. Report pass@1 and pass@k with their budgets. RL that only sharpens what the base model could already sample raises pass@1 but may not raise pass@k at large k.
- Proxy failure. If the checker only looks for a citation string, the agent can learn to emit a citation without searching. The proxy reward rises while true accuracy does not.
- Specialise. Make “search” a real retriever call, make episodes many turns long, and the questions become asynchronous rollouts, credit assignment over tool calls and distillation from a stronger agent.
Limitations and notes
Section titled “Limitations and notes”- Timestamps for Silver’s lectures and the CS285 Fall 2023 videos are YouTube auto-generated chapters, so this section does not reproduce them. Lambert’s lecture chapters are in the video descriptions and are used.
- On the current CS285 page, the “recorded” link points to an older playlist. The course page itself points to the Fall 2023 recordings, which is what this section uses.
- Spinning Up is in maintenance mode (its own statement). It is still the clearest code-first bridge, but it predates LLM RL.
- Course pages change. Lecture numbers and URLs were checked for this wave. Re-check them before assigning them to students.
Connections
Section titled “Connections”- Start: MDPs and returns with Silver L1–L2 or S&B Ch 3.
- Bridge into LLMs: PPO, then the Lambert course L3–L4.
- Rewards: Rewards map before stage 6; Reward hacking overview after stage 5.
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.
- Derive / compute
Use the search toy from this page (s0 = no evidence, s1 = evidence in context). With γ = 0.9, compute Q*(s0, search), Q*(s0, answer) and V*(s0). Then find the per-search cost c above which the optimal policy answers immediately from s0, for γ = 1 and for γ = 0.9.
What a strong answer covers
- V*(s1) = max(0.9, −c + γ·V*(s1)) = 0.9, because searching again only adds cost.
- Q*(s0, search) = −0.1 + 0.9·0.9 = 0.71, Q*(s0, answer) = 0.2, so V*(s0) = 0.71 and searching is optimal.
- Indifference: −c + γ·0.9 = 0.2. With γ = 1, c = 0.7. With γ = 0.9, c = 0.61.
- Discounting acts like an extra per-step cost: it shrinks the value of delayed evidence even when the explicit search cost is unchanged.
- Design
You have 6 weeks at about 6 hours a week and want to read the 2025–26 RLVR and search-agent papers critically. Using the stage table, choose exactly which lectures and chapters you would do, which you would skip, and the exit check that ends each week.
What a strong answer covers
- Weeks 1–2: stages 1–2 with Silver L1–L7 (about 11 hours of video) or the matching S&B chapters, not both in full. Exit: compute values for the toy and derive a policy-gradient sample by hand.
- Week 3: stage 3 with Spinning Up Part 3 and the PPO page, or CS285 Spring 2026 L9–L10. Exit: work all advantage-sign cases of the clipped objective.
- Weeks 4–5: stages 4–5 with Lambert L2–L6 and book Ch 5–8, plus CS285 L14 and HW4 if GPU time is available. Exit: compute group advantages and derive the DPO loss.
- Week 6: stages 6–7 with Lambert L9, L10, L12 and the reward-hacking route. Exit: design a controlled comparison that separates algorithm, reward, data and compute.
- Skip: Silver L8 and L10, S&B Part III apart from 17.4, CS285 variational inference, model-based and offline lectures (return to them in stage 8).
- Critique
A colleague says: "Just do CS285 end to end; it covers everything from MDPs to LLM RL." Critique this as a plan for an IR researcher entering RL for LLMs, using what this page says each source covers.
What a strong answer covers
- CS285 is a full-semester robotics-flavoured deep RL course. The Spring 2026 edition spends one lecture (L14) and one homework (HW4) on LLMs.
- Preference data, reward-model failure, DPO-style methods, evaluation and over-optimization are covered much more directly by Lambert's course and book.
- Imitation learning, variational inference, model-based and offline RL are useful later but not on the shortest path to GRPO-style papers.
- Edition matters: the current slides are Spring 2026, the recordings are Fall 2023, and lecture numbers differ between them.
- A better plan interleaves: CS285 L4–L10 and L14 for depth, with Lambert for the post-training stages.
- Connect
Stage 5 follows stage 4 on this route, but GRPO does not mathematically descend from DPO. Trace which earlier stages GRPO actually depends on, and explain why DPO still belongs in the route.
What a strong answer covers
- GRPO is a policy-gradient method: REINFORCE with a group-mean baseline (stage 2) inside a PPO-style clipped ratio (stage 3), plus a KL term to a reference model.
- DPO is offline preference optimization derived from the same KL-regularized reward objective as RLHF, solved in closed form for the policy. It is not "no RL" in objective, only in procedure.
- DPO belongs in stage 4 as the comparison branch for preference data, not as a prerequisite for GRPO.
- Reward modelling must come before both, because RLHF optimizes a learned reward and DPO implicitly defines one.