Skip to content

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.

StateActionNext stateReward
s₀ “no evidence yet”searchs₁−0.1 (search cost)
s₀answerterminal+1 with probability 0.2, else 0
s₁ “evidence in context”answerterminal+1 with probability 0.9, else 0
s₁searchs₁−0.1

Solved with the Bellman optimality equation: V∗(s1)=0.9V^*(s_1) = 0.9. With γ=1\gamma = 1, Q∗(s0,search)=−0.1+0.9=0.8Q^*(s_0,\text{search}) = -0.1 + 0.9 = 0.8 and Q∗(s0,answer)=0.2Q^*(s_0,\text{answer}) = 0.2, so the optimal agent searches once, then answers. With γ=0.9\gamma = 0.9, Q∗(s0,search)=−0.1+0.9⋅0.9=0.71Q^*(s_0,\text{search}) = -0.1 + 0.9 \cdot 0.9 = 0.71.

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.

Eight-stage RL course map with the matching lectures and chapters Eight boxes in two rows. Stages 1 to 3 (fundamentals): the problem, learning from samples, stable updates. Stages 4 to 6 (post-training core): preferences, verifiers, evaluate and debug. Stages 7 and 8: proxy failures and specialise. Each box lists the topic and the shortest matching Silver, Sutton and Barto, Spinning Up, CS285, Lambert course or RLHF book material. 1 The problem MDP, return, V, Q Silver L1–L3 S&B Ch 3–4 CS285 L4 2 From samples MC/TD → PG → A2C Silver L4–L7 S&B Ch 5–6, 13 CS285 L5–L8 3 Stable updates ratio, TRPO, PPO Spinning Up PPO CS285 L9–L10 Lambert L3–L4 4 Preferences RM, RLHF, DPO Lambert L2, L6, L8 Book Ch 4–5, 8–11 CS285 L14 pt 4 5 Verifiers GRPO, R1, DAPO Lambert L3–L5 Book Ch 6–7 CS285 L14 + HW4 6 Evaluate, debug pass@k, entropy, PRM Lambert L7, L12 Book Ch 5, 16, App C Silver L9 7 Proxy failures Goodhart, hacking Lambert L9–L10 Book Ch 14–15, App B S&B 17.4 8 Specialise async, agents, KD Lambert L4, L7, L11 Book Ch 6, 12–13 CS285 L15–L18 fundamentals (1–3) post-training core (4–6) failure modes, specialisation (7–8)
Original sketch. The eight-stage route; each box names the shortest matching lectures or chapters. Colours: fundamentals (stages 1–3), post-training core (4–6), failure modes and specialisation (7–8).

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.

StageSite pagesSilverS&BSUCS285 (Sp 2026)Lambert course · bookExit check
1. The problemMDPs and returns, Value functions and BellmanL1–L3Ch 3–4Part 1L4L0 (RL framing chapter), L1 · Ch 1–3, App. ASolve the toy by hand
2. Learning from samplesMC, TD, Q-learning, REINFORCE, Actor-critic, GAE; branch: DQNL4–L7 (L6 for DQN)Ch 5–6, 13; 12.1 and 11.3Part 3, VPG pageL5–L8L3 · Ch 6 (REINFORCE, RLOO, GAE)Derive one PG sample; explain baseline vs critic
3. Stable updatesTRPO, PPOL7 (natural PG, briefly)5.5 (importance sampling)TRPO and PPO pagesL9–L10L3–L4, Q&A 1 · Ch 6All advantage-sign cases of the clip
4. PreferencesReward modeling, Christiano et al., InstructGPT, DPO, DPO family, RLOO—17.4 (reward design)—L14 part 4L1, L2, L6, L8 · Ch 4–5, 8–11Derive the Bradley–Terry and DPO losses
5. Verifiable rewardsSTaR, GRPO, Tülu 3, R1, DAPO, Dr. GRPO———L14 part 3, HW4L3 (GRPO), L4, L5 · Ch 6–7Compute group advantages; diff each recipe
6. Evaluate and debugEvaluating reasoning RL, Entropy mechanism, VAPO, Outcome vs process, Rubrics as rewardsL9 (exploration)Ch 2 (bandits)“Doing rigorous research”L19L7 (rubrics), L12 · Ch 5 (PRMs), 16, App. CDesign a controlled comparison
7. Proxy failuresReward hacking overview, Specification gaming, RM over-optimization, Length correlations—17.4——L9, L10, Q&A 3 · Ch 14–15, App. BSeparate proxy gains from measured task gains
8. SpecialiseAsync RLHF, Missing old logits, Long-horizon tool agents, ScaleRL, On-policy distillationL8 (planning, MCTS)Ch 8—L15–L18L4 (infra), L7 (distillation), L11 · Ch 6 (async), 12–13Reproduce 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.

SourceFull length (checked)Shortest useful slice
Silver 201510 lectures, about 16.4 h of videoL1–L7, about 11.2 h
Sutton & Barto17 chapters, 500+ pagesCh 3, 4, 5, 6, 13 (plus 12.1, 11.3)
Spinning UpDocs site with Parts 1–3 and 6 algorithm pagesParts 1 and 3, VPG, TRPO and PPO pages
CS285 Spring 202625 lectures, 5 homeworksL4–L10, L14, HW2 and HW4
Lambert course14 lectures (L0–L13), about 9.4 h, plus 3 Q&AsL2–L6, L9–L10, L12
RLHF book17 chapters + 3 appendicesCh 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”
  1. Problem. Values as above: search once, then answer.
  2. Learning. Parameterise the s₀ choice as πθ(search∣s0)=σ(θ)\pi_\theta(\text{search}\mid s_0) = \sigma(\theta) with θ=0\theta = 0. One episode (search, then a correct answer) has return G=0.9G = 0.9 with γ=1\gamma = 1. The score is ∇θlog⁡σ(θ)=1−σ(θ)=0.5\nabla_\theta \log \sigma(\theta) = 1 - \sigma(\theta) = 0.5, so the REINFORCE sample is 0.9×0.5=0.450.9 \times 0.5 = 0.45. With the baseline V(s0)=0.5⋅0.8+0.5⋅0.2=0.5V(s_0) = 0.5 \cdot 0.8 + 0.5 \cdot 0.2 = 0.5 (assuming the agent always answers from s₁), the sample becomes (0.9−0.5)×0.5=0.2(0.9 - 0.5) \times 0.5 = 0.2. The expected direction is unchanged and the variance is lower.
  3. Stable updates. If the update moves π(search∣s0)\pi(\text{search}\mid s_0) from 0.5 to 0.6, the ratio is 1.2. With PPO’s ϵ=0.2\epsilon = 0.2 this token is exactly at the clip edge, so further gains from this sample stop counting.
  4. 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 σ(1)≈0.73\sigma(1) \approx 0.73.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  • 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.

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.

  1. 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.
  2. 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).
  3. 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.
  4. 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.