1. Key takeaways
One per chapter of the book:
- Ch. 1, the setting: RL is harder than supervised learning. An agent must learn from its own noisy trial and error, and “RL experiments can be very high variance”, so the book recommends reporting the interquartile mean over several runs with a confidence interval, and building on tested libraries.
- Ch. 2, value-based RL: learning “how good is each move” is unstable with neural networks. The deadly triad can make learning diverge; it took a stack of fixes to make DQN work, with diminishing returns, and one agent (Agent57) needed 80 billion frames to beat humans on all 57 Atari games.
- Ch. 3, policy-based RL: learning “what to do” directly is stable but noisy. Policy gradients converge to a local optimum and handle any action space; baselines, critics and trust regions tame the noise, which is why PPO-style methods are “often preferred”.
- Ch. 4, model-based RL: a learned world model is the main route to sample efficiency. Model-free agents need days of Atari play where humans need minutes; but models have errors that a policy will exploit, so the book’s systems keep imagined rollouts short and stay close to real data.
- Ch. 5, multi-agent RL: with several learners, “optimal” is no longer well defined. Equilibria can be bad for everyone, finding one is computationally hard, and self-play can cycle. Yet a recent study suggests well-tuned single-agent methods like PPO may be enough for two-player games.
- Ch. 6, LLMs and RL: single-turn LLM training is a one-step problem. A prompt goes in, an answer comes out, a score comes back: a contextual bandit. GRPO and its variants are policy gradients with cheap baselines; RL mostly amplifies reasoning the base model already has.
- Ch. 7, other topics: learning from recorded data has hard limits. Copying an expert compounds small errors, and offline RL cannot test what it never tried; the book calls it “fundamentally more limited” than online RL. For exploration, simple Thompson sampling is near-optimal and “widely used in practice”.
2. The story
And. Reinforcement learning, learning to act from trial, error and a score, is behind AlphaGo, robot control, poker bots and now the way LLMs are aligned and taught to reason. Its foundations are old (the Bellman equation, dynamic programming, Q-learning), but deep learning since 2015 and LLMs since 2022 have changed what it is used for.
But. The field is huge and fragmented across communities: control theory, operations research, game theory, Bayesian statistics, neuroscience and now LLM engineering. The standard textbook (Sutton and Barto) predates RL for LLMs, and the LLM literature uses PPO, GRPO and DPO as recipes, often without the background that explains why they work or fail. There was no single, current map connecting all of it.
Therefore. Kevin Murphy, author of the Probabilistic Machine Learning textbooks and a research director at Google DeepMind, wrote one continuously revised overview (five versions from December 2024 to December 2025, about 200 pages of text plus references). It replaces two chapters of his textbook. It surveys rather than proves, uses one consistent notation, gives each method’s derivation and trade-offs, and ends the LLM chapter with runnable code that trains a small LLM agent. It runs no new experiments apart from that example.
3. What they found
How to read this section. This is a book-length overview, so the claims below are the positions the book takes on each part of the field, one or two per chapter, not results of a new method. Each card says where in the book the claim comes from. Verdict grades how well the evidence the book presents (proofs, cited systems, cited experiments) supports the claim: Strong = proven or repeatedly demonstrated; Partial = supported but narrow, contested or not compared head to head; Weak = mostly the author’s opinion.
Claim 1RL is harder to get right than supervised learning, so results need careful reporting
Chapter 1, pp. 13–29.
Evidence:
- “RL is more complicated than supervised learning”, because the agent’s own choices decide what data it sees, rewards can be delayed, and it must balance trying new things against using what it knows (the exploration-exploitation trade-off).
- Implementing RL “is much trickier” than supervised learning or language modelling, whose losses are stable; “even with good code, RL experiments can be very high variance, making it hard to draw valid conclusions”.
- Both value-based and policy-search methods “can be very sample inefficient”, which is costly when real interaction is expensive.
- The book’s remedy: build on existing libraries (it lists a dozen, in JAX and PyTorch), and report the interquartile mean across runs with a bootstrap or Gaussian confidence interval, following Agarwal et al. (2021).
How to read it: The interquartile mean drops the best and worst quarter of runs and averages the rest, so one lucky seed cannot carry a result.
So what: A single RL run, or a mean without a spread, says little; comparisons need several runs and an uncertainty estimate.
Verdict: Strong. The variance problem is widely documented, and the reporting practice comes from a well-known methodology paper the book cites.
Claim 2Designing the reward is the hard part, and an optimized reward gets gamed
Chapter 1 (pp. 26–28) and Chapter 6 (p. 160).
Evidence:
- The reward hypothesis says all goals can be written as maximizing a scalar reward; the book notes that whether this is true “depends on what one means by ‘goals and purposes’”, and that in general the reward “will need to be non-Markovian” (depend on history).
- Reward hacking: the paperclip maximizer, the Sorcerer’s Apprentice and the cobra effect (a bounty on cobra heads led people to breed cobras) all illustrate Goodhart’s law: “when a measure becomes a target, it ceases to be a good measure”.
- Sparse rewards make learning slow; reward shaping helps, but a soccer agent rewarded for touching the ball may learn to touch it endlessly instead of winning. Only “potential-based” shaping is proven to leave the best policy unchanged (Ng et al., 1999).
- A proposed way out: Stuart Russell’s “assistance game”, where the agent treats the human’s goal as uncertain and asks when unsure, instead of optimizing a fixed reward.
How to read it: The shaping guarantee is a theorem; the hacking examples are illustrations; the assistance game is a proposal the book does not evaluate.
So what: Whatever you optimize, a capable optimizer will find the gaps in it; the safeguards around the reward matter as much as the algorithm.
Verdict: Strong for the problem and for the shaping theorem; the assistance-game fix is untested in the book.
Claim 3Value learning with neural networks is unstable by construction, and works only with a stack of fixes
Chapter 2, pp. 41–49.
Evidence:
- The diagnosis: “the root cause of these divergence phenomena is that bootstrapping methods typically are not minimizing a fixed objective function”. In Baird’s classic example (7 states, a linear model, ), the parameters diverge even though the true values are exactly representable.
- The fixes that made DQN work: a replay buffer, a target network (which the book calls a “heuristic”), and double Q-learning against maximization bias. A 2024 result proves convergence if the network uses LayerNorm and bounded weights.
- Stacking fixes:
| System | What it combined | Result reported in the book |
|---|---|---|
| Rainbow (2018) | 6 improvements to DQN | State of the art on Atari-200M at the time; “each improvement gives diminishing returns” |
| Agent57 | Learned exploration and discount settings | Super-human on all 57 Atari games, but “required 80 billion frames”; a later method (MEME) needed 200 million |
| BBF (2023) | 10 tricks, led by a bigger network | State of the art on the 100k-step Atari benchmark as of 2024 |
So what: each fix adds a little, and the most sample-efficient agent got there mostly by scale and engineering, not a new idea.
How to read it: Atari-100k allows only 100,000 agent steps per game (about two hours of play, on 26 games), so it measures sample efficiency; Atari-200M allows 200 million frames, roughly 500 times more.
So what: Value-based deep RL works, but its stability comes from engineering rather than from a guarantee, which is one reason LLM training uses policy-gradient methods instead.
Verdict: Strong. The instability is proven by counterexample, and the fixes are standard and widely reproduced.
Claim 4Learning the policy directly is more robust, and trust-region methods like PPO are the preferred default
Chapter 3, pp. 51–82.
Evidence:
- Why learn the policy: value-based methods struggle with continuous actions, “may diverge if function approximation is used”, train on a loss not tied to the return, and give only deterministic policies, whereas in partially observed settings “stochastic policies are provably better”. Policy gradients “provably converge to a local optimum for many common policy classes”.
- The cost is noise: the basic estimator has very high variance. The cures are, in order: using only future rewards, subtracting a baseline, learning a critic (actor-critic, with the critic learning faster than the actor), and blending horizons with GAE.
- Trust regions: limiting how far each update moves the policy “bounds the worst-case performance decline”; the book states that “policy improvement methods, such as PPO, are often preferred to AC methods, since they monotonically improve the objective”.
- Off-policy variants “can be much more sample efficient”, but “are more complicated”: importance sampling corrections blow up when policies differ, and V-trace needs fresh data mixed with replayed data. IMPALA, using these corrections, “outperformed the A3C method”.
- Limits: gradient methods “can get stuck in poor local optima”; gradient-free methods (evolution strategies) are the alternative for non-differentiable policies.
How to read it: “Monotonic improvement” is a guarantee of the idealized method (TRPO); PPO approximates it with clipping, so it is a strong tendency in practice, not a proof.
So what: For most problems, start from a well-tuned PPO-style method; reach for off-policy methods when interaction is expensive and you can afford the extra complexity.
Verdict: Strong. These are textbook results with derivations; the PPO preference is the book’s judgement, consistent with common practice.
Claim 5A learned world model can make RL much more data-efficient, but only if the agent guards against the model's errors
Chapter 4, pp. 83–111.
Evidence:
- The gap: model-free Atari agents use “millions of frames, equivalent to many days of playing”, while “humans can achieve the same performance in minutes”; OpenAI’s robot hand “needs 100 years of simulated data” for a Rubik’s cube. “The sample complexity of learning the dynamics is less than the sample complexity of learning the policy.”
- Landmark systems: AlphaZero plays expert-level Go, chess and shogi with no human data; MuZero learns its own model; DreamerV2 was “the first imagination-based agent to outperform humans in Atari games”; DreamerV3 was the first to collect diamonds in Minecraft without human demonstrations, though this “took 17 days of training”; DreamerV4 learns its world model offline from 2,500 hours of Minecraft videos labelled with actions but not rewards.
- The caveats: a policy trained in a model will exploit its errors; “any MBRL method may be dominated by a MFRL method that directly optimizes the true expected reward”. The book’s remedies: keep imagined rollouts short and start them from real states, gradually increase the share of real data, and “use a model-based policy only when the agent is confident it is better”.
- Planning costs time: MCTS “is inherently serial”; decision-time planning “is much slower”; and even “super-human” Go agents are “susceptible to adversarial attacks” that human players can exploit.
How to read it: The successes are individual systems on different benchmarks; the book gives no matched comparison of model-based against model-free methods on the same budget.
So what: Models pay off when real interaction is costly, but they add a new failure mode, so they are used with safety rails rather than trusted blindly.
Verdict: Partial. The landmark results are real and well known, but the efficiency gain is shown system by system, not measured head to head, and the book itself warns that model-free methods can win.
Claim 6A world model doesn't need to predict pixels: predicting what matters for decisions is enough
Chapter 4, pp. 101–119.
Evidence:
- The objective mismatch problem: a model trained to reproduce observations spends its capacity on irrelevant details such as background pixels; “it is very hard to predict future observations… Fortunately, such prediction is not necessary for optimal behavior”.
- Value equivalence: a representation only needs to predict rewards and values correctly to support optimal decisions. MuZero predicts reward, value and policy only; EfficientZero adds a self-prediction loss, and “the biggest gain is from the self-prediction loss”.
- The catch, collapse: self-prediction can learn a constant embedding that predicts itself perfectly. The fix, a frozen or slowly updated target, is shared with BYOL, DINOv2 and JEPA; it is proven sound only for linear encoders, and “proving convergence in the general nonlinear case is an open problem”.
- Pretrained representations are not a free win: with DinoWM, “the performance is highly dependent on the similarity” between pretraining data and the agent’s data.
- Beyond one-step models: the successor representation and successor features predict long-run consequences and give the value of any new reward instantly, but are limited to discrete states or a fixed policy.
How to read it: “Value equivalence” is a theoretical sufficiency result; the systems show it works in practice on games and continuous control.
So what: For planning, a compact model of decision-relevant features beats a faithful simulator of everything; the same idea underlies JEPA-style self-supervised learning.
Verdict: Partial. The principle is well argued and backed by strong systems, but key questions (convergence, when pretraining helps) are open by the book’s own account.
Claim 7With several learning agents, "optimal" is no longer well defined, and naive self-play can cycle or be exploited
Chapter 5, pp. 121–142.
Evidence:
- Optimality splits into several concepts: “the definition of ‘optimality’ is much more complex than in the single agent setting”: Nash equilibrium, correlated equilibrium, Pareto optimality, welfare, fairness, no-regret.
- Equilibria can be bad or hard:
| Example (book’s numbers) | What it shows |
|---|---|
| Prisoner’s Dilemma | The only Nash equilibrium (both defect, −3 each) is worse for both than cooperating (−1 each) |
| Game of Chicken | A correlated equilibrium gives each player 5, more than the mixed Nash equilibrium (4.66) |
| A 2×2 game with payoffs 100 and 1 | An approximate equilibrium can pay 1 where the true one pays 100 |
So what: an equilibrium is a stable outcome, not necessarily a good one, and “approximately stable” can mean very different payoffs.
- Computation: finding a Nash equilibrium is PPAD-complete, suggesting “no efficient, universal algorithm”.
- Learning dynamics: “applying policy gradient methods to multiple agents in parallel may not result in convergence”; self-play “can lead to oscillating strategies or cyclical behavior… Thus self-play can result in policies that are easily exploited”. Training against a population of past versions (as in AlphaStar’s league) is the standard remedy.
- What works in games: CFR-based systems were among the first to beat professional poker players (DeepStack, Libratus), and Pluribus beat humans at six-player Texas hold’em; AlphaStar reached grandmaster level in StarCraft II; Cicero reached human-level play in seven-player Diplomacy.
How to read it: The equilibrium facts are mathematical; the game results are individual landmark systems.
So what: In multi-agent settings, you must first decide what “good” means (stable, fair, high total reward), and you cannot assume independent learners will settle anywhere.
Verdict: Strong. The game-theory results are proven, and the failure of naive self-play is well documented.
Claim 8Well-tuned single-agent policy gradient may be enough for two-player games (the "Policy Gradient Hypothesis")
Chapter 5, pp. 142–143.
Evidence:
- A 2025 study (Rudolph et al.) compared PPO and magnetic mirror descent (MMD, a regularized policy gradient) with game-specific methods (CFR, PSRO, NFSP) on hidden-information versions of Tic-Tac-Toe and 3×3 Hex. “Properly tuned policy gradient methods (including both PPO and MMD) performed the best”, with the lowest exploitability.
- Earlier poor results for PPO were attributed to tuning: two-player zero-sum games needed an entropy bonus of 0.05–2.0, where single-agent PPO usually uses 0–0.01.
- The authors therefore proposed that tuned policy gradient methods are “competitive with or superior to” fictitious play, double oracle and CFR in two-player zero-sum imperfect-information games. The book: “If true, this hypothesis would be very useful”.
How to read it: Exploitability is how much a perfect opponent could win against the learned strategy; 0 is unbeatable.
So what: If the hypothesis holds, the same PPO used for LLMs and robots would also be the go-to tool for competitive games.
Verdict: Partial. One study on small games, and the book itself presents it as a hypothesis.
Claim 9RL for LLMs is policy gradient with cheap baselines, and each shortcut has a known cost
Chapter 6, pp. 147–157 and 165–172.
Evidence: The book frames single-turn LLM training as a contextual bandit and walks through the algorithms and their trade-offs:
| Method | What it changes | Known cost or fix |
|---|---|---|
| PPO | Actor plus a learned critic | The critic “takes twice as much time and memory” overall |
| GRPO | Replaces the critic with the average over a group of answers (often about 8) | Needs to regenerate from the same prompt, gives no credit to intermediate steps, and dividing by the group’s spread biases it by difficulty |
| Dr. GRPO, RLOO | Drop the division by the spread | Shown to be the same estimator up to a factor |
| REINFORCE++ | Normalizes over the whole batch, not per prompt | Less overfitting to easy prompts |
| DAPO | Looser upper clip (0.28 instead of 0.2) | Keeps rare tokens learning, against entropy collapse |
| GSPO | Importance ratio over the whole answer | More stable, since the reward is for the whole answer |
| DPO | Learns from preference pairs, no RL loop | Can only use preference data, not arbitrary or verifiable rewards |
| Best-of-N | No training: sample N, keep the best | Optimal reward-for-drift trade-off in theory, but quality can fall as N grows |
So what: the popular LLM methods are small variations on one policy-gradient update, and each removes a cost by accepting a specific weakness.
The implementation section adds concrete practice: average the loss over episodes rather than tokens (which “avoids a bias towards longer thinking traces”); do not fold the KL penalty into the advantage, since “it is not correct”; log the KL divergence between the sampling and training models (“if the KL exceeds 0.01… results might be unstable”) and the policy’s entropy; and a LoRA adapter of very low rank “often suffices”.
How to read it: The worked example fine-tunes Qwen3-4B with LoRA rank 8 on a number-guessing game (20 steps, 32 episodes per step): average reward rose from 0.8 to 1.0 and answers shrank from about 900 to about 500 tokens, in about 20 minutes on a laptop with a cloud training service (Tinker).
So what: For single-turn tasks, critic-free methods are the sensible default; for long multi-step agents, the book expects learned critics to be needed again.
Verdict: Strong as a technical account: each trade-off is derived or cited from the original papers. Which variant wins in practice is not tested here.
Claim 10RL amplifies reasoning that pretraining put there; it does not create it from nothing
Chapter 6, pp. 147–150.
Evidence:
- RL can beat supervised fine-tuning because “verification is easier than generation”, because it can learn “thinking actions”, and because it can go beyond human examples.
- DeepSeek-R1-Zero attracted attention because longer reasoning and self-reflection seemed to emerge “spontaneously” during RL with verifiable rewards (RLVR).
- The book reports that this has been disputed: “the general concensus is that the base model itself was already trained on datasets that contained some COT-style reasoning patterns”, and RL on a base model without such patterns did not produce them. RL “can ‘expose’ or ‘amplify’ such abilities”.
- The full DeepSeek-R1 still needed supervised training on generated chain-of-thought traces, because R1-Zero was strong on maths and code but weaker on general reasoning.
How to read it: This is a summary of a debate, not a measurement.
So what: RL fine-tuning is best seen as sharpening an existing model, not teaching it skills it has never shown.
Verdict: Partial. The book calls it the consensus and cites several studies, but the debate is recent and the evidence is mostly on maths and code.
Claim 11Today's "agentic AI" is mostly one agent made of prompted modules; real multi-turn RL for agents is still early
Chapter 6 (pp. 150, 157–159) and Chapter 5 (p. 145).
Evidence:
- The book describes agentic systems as sets of LLM “agents” that are “essentially different prompts, reflecting different roles”, wired by a hand-designed workflow. Unlike true multi-agent RL, “these ‘agents’ do not maximize their own reward functions, and are really just a set of modules inside a single larger agent”.
- Training an LLM that calls tools or holds a dialogue is a true RL problem: actions change a stateful environment, rewards are delayed, and the context grows each turn. “There are currently only a few papers on using LLMs for this multi-turn setting.”
- Proposed fixes: truncate or summarize the history, learn a critic (because group baselines need resettable environments), and handle invalid actions by truncating, restarting or replacing them.
- MARL for LLM agents communicating over protocols such as A2A is “a recently growing trend”, with no results reported yet.
How to read it: This is the author’s characterization of the field, supported by citations but not by measurements.
So what: A multi-agent LLM workflow should be designed and judged as one system; RL-training it end to end is a research problem, not yet a standard tool.
Verdict: Partial. A well-argued reading of a young literature; little evidence exists either way.
Claim 12Optimal exploration is intractable, but simple approximations come close
Chapter 7, pp. 173–183.
Evidence:
- The ideal is out of reach: the Bayes-optimal agent plans over its own belief state; this works for simple bandits (Gittins indices) but is “provably intractable” for contextual bandits and computationally intractable for MDPs.
- Cheap approximations work: Thompson sampling “can be shown to achieve optimal regret” and “is very easy to implement, and hence is widely used in practice”; UCB “has been shown to achieve near-optimal regret” in many bandit variants.
- Deep RL needs heuristics: intrinsic motivation rewards novelty or surprise, but “such methods can suffer from the noisy TV problem” (an agent glued to unpredictable noise); measures that target what the agent doesn’t know yet, rather than randomness, help.
- LLMs as explorers: prompting an LLM to approximate posterior sampling worked on a 3-state toy problem but “failed on larger problems (e.g., 4 state)”.
How to read it: Regret is the reward lost compared with always choosing the best option; “optimal regret” means it grows as slowly as theoretically possible.
So what: For choosing among a few options under uncertainty, Thompson sampling is the practical default; for large problems, exploration is still heuristic.
Verdict: Strong for the bandit results (proven bounds); the deep-RL heuristics are covered more briefly.
Claim 13Learning only from recorded data is fundamentally limited; more diverse data is the reliable lever
Chapter 7, pp. 190–197.
Evidence:
- Copying an expert (behavior cloning) is supervised learning, but its loss “does not consider the sequential nature” of the task, so small mistakes lead to unfamiliar states and errors compound. DAgger fixes this by having the expert label the states the learner actually visits.
- Offline RL cannot test actions that were never taken, and the policy must generalize to new states, “the main bottleneck for current offline RL methods”. Remedies stay close to the data: constrain the policy to the logged behaviour, penalize uncertain values, or make Q-values pessimistic (CQL).
- The book’s bottom line: “despite the progress in offline RL, it is fundamentally more limited in what it can learn compared to online RL”; “another reliable way to get better offline RL performance is to train on larger, more diverse datasets”; and “most offline RL algorithms suffer from performance drops when they are finetuned online”.
- Conditioning on a desired return (Decision Transformer) “can fail dramatically in stochastic environments”.
How to read it: “Offline” means no new interaction at all; the limit is about what the data can reveal, not about the algorithm.
So what: Logged data only tells you about actions that were taken; to learn about the others you need diverse data or fresh interaction.
Verdict: Strong. The limit follows from what logged data can contain, and the practical findings are consistent across the methods the book reviews.
4. How it works
The cards follow the book’s chapters. Read the ones you need; each says which claims it supports.
| Chapter | Pages | Topic | Cards | Claims |
|---|---|---|---|---|
| 1 | 13–29 | Setting, models, exploration and rewards | 1–2 | 1, 2 |
| 2 | 31–49 | Value-based RL | 3–4 | 3 |
| 3 | 51–82 | Policy-based RL | 5–7 | 4 |
| 4 | 83–119 | Model-based RL | 8–10 | 5, 6 |
| 5 | 121–145 | Multi-agent RL | 11–12 | 7, 8 |
| 6 | 147–172 | LLMs and RL | 13–14 | 9, 10, 11 |
| 7 | 173–198 | Exploration, offline RL and more | 15–17 | 12, 13 |
So what: every chapter maps to at least one card and one claim, so any part of the book can be looked up here.
1 · Ch. 1 · The setting: agents, MDPs, POMDPs and bandits
Supports Claim 1: the vocabulary every method shares.
Intuition
An agent repeatedly sees a situation, acts, and gets a score. It wants the most total score over time, not just now.
Mechanism
- The goal: maximize the expected return , where the discount factor makes later rewards count less (with , a reward in 15 steps is worth 0.86, in 17 steps 0.84).
- Canonical models: an MDP when the agent sees the full state; a POMDP when it sees only an observation and must keep a belief over the hidden state (“wildly intractable” to do exactly, so agents use frame stacking or recurrent networks instead); goal-conditioned and contextual MDPs; and the multi-armed bandit, a one-step problem.
- Three axes of methods: what is learned (a value function, a policy or a model), how it is represented (tables or neural networks, “deep RL”), and whether learning is on-policy or off-policy.
- Even optimization is a decision problem: Bayesian optimization, active learning and SGD (choosing a step size) are framed as sequential decisions.
Why it works
Framing everything as states, actions and returns lets one set of algorithms cover games, robots, ads, clinical trials and LLMs; the environment is whatever responds to the agent.
2 · Ch. 1 · Exploration heuristics and reward design
Supports Claim 2: how rewards and exploration are handled before the advanced methods.
Intuition
An agent that always picks what looks best never learns about the alternatives; an agent rewarded for the wrong thing learns the wrong thing.
Mechanism
- Simple exploration: ε-greedy (act randomly a small share of the time; suboptimal unless ε is annealed), z-greedy (repeat a random action for several steps, to avoid dithering), and Boltzmann exploration (sample in proportion to estimated value, which reacts more smoothly to changes).
- Reward design: non-Markovian rewards learned from data (MineCLIP scores Minecraft video clips against a text goal), exploration bonuses for rarely visited states, and potential-based shaping , which adds guidance without changing the best policy.
Why it works
Exploration heuristics are cheap and often good enough; the advanced versions are in card 15. Potential-based shaping works because its bonuses cancel out over any complete path.
3 · Ch. 2 · Value-based RL: Bellman, dynamic programming and TD learning
Supports Claim 3: how values are computed and learned.
Intuition
Learn a score for every situation (or situation-action pair), then pick the highest-scoring action.
Mechanism
- With a known model: dynamic programming. Value iteration repeats the Bellman backup until values stop changing; policy iteration alternates evaluating a policy and improving it greedily. Exact, but intractable for large state spaces.
- From samples: a Monte Carlo estimate averages complete returns (unbiased, noisy, episodic only); temporal-difference learning updates towards one reward plus the next estimate (lower variance, but biased and can diverge); TD(λ) and eligibility traces blend the two.
- Control: SARSA learns the Q-function of the policy it follows; Q-learning learns the optimal one off-policy:
Why it works
The Bellman equation breaks a long-horizon problem into one-step problems. Tabular Q-learning converges if every state-action pair is visited infinitely often; with neural networks, that guarantee is lost (card 4).
4 · Ch. 2 · Deep Q-learning and its fixes
Supports Claim 3: what made DQN work, and at what cost.
Intuition
Replace the table of Q-values with a neural network, then patch every way that makes learning unstable.
Mechanism
- DQN: a network trained on Q-learning targets, from a replay buffer (optionally prioritized by surprise), with a frozen target network.
- The deadly triad and its patches: target networks or a slowly moving average of the weights; LayerNorm plus bounded weights, which a 2024 result proves restores convergence.
- Overestimation: double DQN lets one network pick the action and another score it; REDQ takes the minimum over a random subset of an ensemble.
- Extensions: dueling heads (value plus advantage), noisy networks for exploration, n-step targets, distributional value heads; Rainbow combines six of them; BBF’s ten tricks are listed “in order of decreasing importance”, starting with a bigger residual network and more updates per environment step.
- Hindsight relabeling (HER) turns failures into successes for the goal that was actually reached.
Why it works
Each patch removes a specific instability or bias. The book’s diagnosis explains why patches are needed at all: bootstrapped targets are not a fixed objective.
5 · Ch. 3 · Policy gradients and actor-critic
Supports Claim 4: learning the policy directly.
Intuition
Skip the scores and adjust the policy itself: make actions that led to high return more likely, compared with what was expected.
Mechanism
The policy gradient (REINFORCE with a baseline):
- The baseline (usually ) does not change the expected gradient but cuts its noise; estimates the advantage.
- Actor-critic methods (A2C) learn with TD and use the TD error as the advantage; GAE blends horizons; the critic should learn faster than the actor; natural gradients measure step size by how much the policy’s behaviour changes, not by parameter distance.
- Deterministic policies for continuous control (DPG, DDPG, TD3) follow the gradient of Q with respect to the action, which carries more information than a scalar reward.
Why it works
It works with any reward and any action space, including continuous controls and whole sentences, and converges to a local optimum. The price is variance, which every refinement above reduces.
6 · Ch. 3 · Trust regions, PPO and off-policy policy learning
Supports Claim 4: making policy updates safe and data-efficient.
Intuition
A step that is too big can ruin a policy; limit each update, and reuse old data carefully.
Mechanism
- Policy improvement bound: the gain from an update is at least a surrogate objective minus a penalty for how far the policy moved. TRPO enforces a KL limit with natural gradients and a line search; PPO approximates it by clipping the probability ratio :
and reuses each batch for several updates. VMPO does the same in an EM style.
- Off-policy learning: importance sampling reweights old data; V-trace truncates the weights to control variance (IMPALA); “generalized PPO” uses a mixture of past policies as the reference.
- Gradient-free search (cross-entropy method, evolution strategies) handles non-differentiable policies and avoids some local optima.
Why it works
Bounding each step turns a noisy gradient into steady improvement; off-policy corrections let each sample count more, at the cost of variance when policies drift apart.
7 · Ch. 3 · RL as inference: maximum entropy, MPO and SAC
Supports Claim 4, and explains the objective behind RLHF and DPO in Claim 9.
Intuition
Treat “acting optimally” as an observation and ask: given that the outcome was good, which actions were likely? Probabilistic inference tools then become RL algorithms.
Mechanism
- Add “optimality” variables with likelihood proportional to . Planning becomes finding the most likely action sequence; policy learning becomes variational inference.
- EM control: an E-step reweights actions by ; an M-step fits the policy to the reweighted actions. MPO, AWR and AWAC are instances.
- Maximum-entropy RL: with a uniform prior, the objective becomes reward plus policy entropy. SAC is its off-policy actor-critic form, with twin critics and automatic temperature tuning.
- With a reference policy as prior, the optimum is : exactly the target of KL-regularized RLHF and DPO.
- Active inference, a neuroscience framing, chooses actions without an explicit reward.
Why it works
Its main advantage, per the book, is learning “using off-policy data, while avoiding the need to use (potentially high variance) importance sampling corrections”, and the entropy term “makes the objective easier to optimize, and encourages exploration”.
8 · Ch. 4 · Decision-time planning: tree search and MPC
Supports Claim 5: planning with a model at every step.
Intuition
Before each move, imagine several futures with a model, then take the first step of the best plan.
Mechanism
- Tree search: exhaustive forward search costs ; branch and bound and sparse sampling cut that; MCTS samples the most promising branches with a UCB-style rule.
- AlphaGo → AlphaZero: MCTS with self-play and a policy-value network; AlphaZero uses no human data or domain knowledge beyond the network design. MuZero learns a latent model trained to predict reward, value and the search policy; EfficientZero adds self-prediction and reuses old data (Reanalyse).
- MPC plans a whole action sequence and executes only the first action: LQR and DDP for smooth dynamics, random shooting, the cross-entropy method, MPPI.
- Open-loop plans can be wrong in stochastic worlds: the book’s 9-state example shows the best fixed plan scores 20, while a plan that reacts to what happens scores 30.
Why it works
Planning tailors each action to the current state and can use a model trained without rewards. The price is computation at every step.
9 · Ch. 4 · Background planning and generative world models
Supports Claim 5: learning from imagined experience.
Intuition
Instead of planning at every step, practise in the model offline and train a fast reactive policy on the imagined experience.
Mechanism
- Dyna: train the policy on real plus imagined transitions; MBPO does this with SAC and an ensemble of models. The book also frames model learning and policy learning as a two-player game between a “policy player” and a “model player”.
- Generative world models predict observations: Dreamer (a recurrent latent model; the policy trains on imagined latent trajectories), DreamerV2–V4, and IRIS (discrete tokens plus a transformer). Model-based RL can also use LLM-written code as the world model.
- Handling model errors: start short rollouts from real states, increase the share of real data over time, keep track of model uncertainty, and fall back to the model-free policy when the model is unsure.
Why it works
Imagined data is cheap, so the agent needs far fewer real interactions. Generative models are slow to sample and can be distracted by irrelevant detail, which motivates card 10.
10 · Ch. 4 · What a world model should predict
Supports Claim 6: decision-relevant models and predictive representations.
Intuition
A model only needs to get right what affects decisions: future rewards and values, not every pixel.
Mechanism
- Prediction targets: observations, rewards, values, the search policy, or the model’s own future embedding (self-prediction). Value equivalence: matching rewards and values is enough for optimal planning.
- Avoiding collapse: a frozen or slowly updated target encoder (as in BYOL, DINOv2, JEPA) or information-theoretic regularizers (Barlow Twins, VICReg). TD-MPC2 combines value and self-prediction losses with MPPI planning.
- Multi-step representations: general value functions predict any signal; the successor representation predicts discounted future state visits, so the value of any reward is one matrix product; successor features generalize this to features, and generalized policy improvement combines old policies for a new task.
Why it works
Lossy, task-focused models spend capacity where it matters and are cheaper to roll out. Their guarantees are partial (Claim 6), and the successor representation trades flexibility for being tied to one policy.
11 · Ch. 5 · Games and solution concepts
Supports Claim 7: how multi-agent problems are described.
Intuition
When several agents learn at once, each one’s environment keeps changing, and there are several reasonable meanings of “best”.
Mechanism
- Game types: normal-form (one round, a payoff matrix), stochastic games (multi-agent MDPs), partially observed stochastic games, and extensive-form game trees with hidden information (Kuhn poker as the worked example). Rewards can be zero-sum, shared (cooperative) or general-sum.
- Solution concepts: minimax, Nash and approximate Nash equilibria, quantal response (noisy, human-like play), correlated equilibria (a mediator recommends joint actions), Pareto optimality, welfare and fairness, no-regret, Shapley values (credit assignment), and Stackelberg equilibria (a leader commits first).
- Exploitability measures distance from equilibrium in two-player zero-sum games.
Why it works
Naming the solution concept forces a choice about what the system should achieve: stability, total reward or fairness. Different choices lead to different algorithms.
12 · Ch. 5 · Multi-agent algorithms: from independent learners to CFR
Supports Claims 7 and 8: what is used to learn in games.
Intuition
Either pretend the others are part of the environment, or reason explicitly about them.
Mechanism
- Independent learning: one DQN or PPO per agent; simple, but may not converge (WoLF slows learning while winning to help).
- Centralized training, decentralized execution: critics see everything during training, actors only their own observations (MAPPO); for shared rewards, value decomposition (VDN, QMIX).
- Self-play and populations: symmetric self-play (AlphaZero), fictitious play and NFSP (best-respond to the average opponent), PSRO and AlphaStar’s league (best-respond to a mixture of past policies).
- CFR for imperfect-information games, behind DeepStack, Libratus, Pluribus and Student of Games; regularized policy gradient (MMD), the basis of the Policy Gradient Hypothesis; decision-time search in games (MMDS).
- Cicero for Diplomacy combines an LLM for dialogue with self-play, imitation and regret-minimization planning.
Why it works
Training against many past versions prevents overfitting to one opponent; regret-based methods come with convergence guarantees in two-player zero-sum games.
13 · Ch. 6 · RL for LLMs: rewards, thinking and the GRPO family
Supports Claims 9 and 10: how the classic ideas map onto LLM training.
Intuition
An LLM is a policy whose actions are tokens. Fine-tuning it with RL needs a reward for an answer and a cheap way to tell whether an answer was better than expected.
Mechanism
- Where rewards come from: verifiable checks (RLVR); RLHF, where a reward model is fitted to human choices with the Bradley–Terry model ; an LLM as judge (RLAIF, constitutional AI); and generative reward models that also explain their score. Rewards can be for the final answer only or for each step (process rewards, harder to learn).
- Thinking models: RL lets the model write a variable number of reasoning tokens before answering; only the final answer is scored. The book frames this as maximizing the probability of the right answer averaged over possible thoughts.
- The update: GRPO samples answers per prompt and uses
as every token’s advantage, inside a PPO-style clipped objective; Claim 9 lists the variants. DPO skips RL by fitting preference pairs directly.
- Without training: best-of-N or guided sampling (twisted SMC) target the same distribution at inference time; RL fine-tuning “amortizes” that search into the weights.
Why it works
Language environments can be reset to any prompt or partial answer, which makes group baselines possible; checkable rewards are hard to game. The weak points are the reward (Claim 2) and the base model’s limits (Claim 10).
14 · Ch. 6 · Multi-turn agents, LLMs for RL and a worked example
Supports Claims 9 and 11: beyond single-turn training.
Intuition
Once an LLM acts over several turns, it faces the full RL problem; and in the other direction, LLMs can help ordinary RL agents.
Mechanism
- Multi-turn RL: RAGEN alternates thinking and action tokens and estimates advantages from several rollouts; turn-level training truncates or summarizes history and learns a critic for long tasks; self-play trains attacker and defender LLMs for safety (red-teaming) or teaches reasoning through games.
- LLMs for RL: as input encoders, as reward designers (Motif ranks game states; Eureka writes reward code for a robot hand), as world models (including code world models), and as policies (ReAct, Reflexion, retrieval-augmented memory, Voyager’s skill library, CodeAct).
- Speed: transformer policies need time per step as context grows; modern recurrent models (Mamba, xLSTM, hybrids) aim for constant time.
- The worked example: Python code with the Tinker service and the GEM environments trains Qwen3-4B on a guessing game in about 20 minutes (Claim 9).
Why it works
LLMs bring prior knowledge and code generation to RL; RL brings learning from feedback to LLMs. The book’s caution is that the multi-turn combination is still young (Claim 11).
15 · Ch. 7 · Exploration, regret and intrinsic motivation
Supports Claim 12: how to explore well.
Intuition
Try what might be better, in proportion to how likely it is to be better, and stop trying once you’re sure.
Mechanism
- Two views: minimize regret against the best policy in hindsight (no prior needed, but exploration must be designed by hand), or maximize expected reward under a prior (exploration is automatic, but you need a prior).
- Bayes-optimal exploration: Gittins indices for bandits; Bayes-adaptive MDPs, intractable in general.
- Practical methods: Thompson sampling and posterior-sampling RL (sample a model, act optimally for it); UCB and UCRL2 (act on optimistic estimates).
- Intrinsic motivation: count bonuses, random network distillation (RND), curiosity (ICM), information gain, empowerment, self-chosen goals of intermediate difficulty (possibly proposed by an LLM), and Go-Explore (return to promising states, then explore).
Why it works
Sampling from beliefs naturally explores more where uncertainty is high and less where it is low; intrinsic rewards fill the gap when external rewards are rare.
16 · Ch. 7 · Imitation learning and offline RL
Supports Claim 13: learning from fixed data.
Intuition
When you can’t interact, either copy an expert or squeeze a better policy out of a log, staying close to what the log shows.
Mechanism
- Imitation learning: behavior cloning (supervised; errors compound), inverse RL (infer the reward the expert seems to maximize, then do RL), and divergence minimization (GAIL, AIRL match the expert’s state-action distribution with an adversarial critic). DAgger asks the expert to label the learner’s own states.
- Offline RL: policy constraints (stay close to the behaviour policy; AWR-style weighted regression), behaviour-regularized policy gradients, uncertainty penalties, conservative Q-learning (CQL), model-based methods that penalize model uncertainty (MOReL, MOPO), and sequence models conditioned on a target return (Decision Transformer, Diffuser).
- Offline to online: pretrain on logs, then fine-tune online; calibrated Q-learning reduces CQL’s excess pessimism to avoid the usual performance drop.
Why it works
Pessimism about unseen actions prevents the policy from exploiting errors in its own value estimates, the offline version of the model-error problem in Claim 5.
17 · Ch. 7 · Distributional RL, hierarchical RL and AIXI
Background: the remaining topics of Chapter 7, which the book covers without a central claim.
Intuition
Three further ideas: learn the whole spread of outcomes, act at several time scales, and the theoretical ideal agent.
Mechanism
- Distributional RL: learn the distribution of returns (quantile regression, C51’s 51-bin histogram). Turning value regression into classification helps more generally: the book reports that HL-Gauss “works much better than MSE, two-hot and C51 across a variety of problems”.
- Hierarchical RL: options are temporally extended actions (“go to the airport”), learned by option-critic, MAXQ, skill chaining and others; feudal RL has managers set subgoals for workers (HIRO and HAC relabel subgoals in hindsight). Options can match the best flat policy, while feudal hierarchies may be suboptimal; both can learn to switch sub-policies at almost every step.
- AIXI: the “most intelligent general-purpose agent possible” in theory, combining Solomonoff induction with planning. It is “not very practical” and intractable; approximations use MCTS or meta-learned transformers.
Why it works
Distributional heads give richer training signals; hierarchy shortens long-horizon problems; AIXI defines the target that practical agents approximate.
5. Limitations
Not claims from the paper: an outside view of where it may fall short. The first group repeats limits the author states himself.
Acknowledged by the author
- RL for LLMs moves too fast to cover fully: the chapter “only briefly mention[s] a few highlights”, and multi-turn LLM training has “only a few papers”.
- Many open problems are named: exact POMDP solutions are intractable; convergence of self-predictive world models in the nonlinear case is open; the successor representation is limited to discrete states and a fixed policy; decision-time search with learned models in games is untested; offline RL is “fundamentally more limited”; AIXI is impractical.
- Implementation details are mostly out of scope (“we do not discuss these details in this manuscript”), apart from the LLM training example.
- Exploration is set aside in the RL-as-inference chapter: “we do not tackle the problem of epistemic uncertainty”.
- RL experiments are high-variance, so the book recommends robust reporting rather than trusting single results.
Outside view
- A map, not a referee. It runs no new experiments, rarely compares methods on equal terms, and reports systems by their headline results (“first to”, “state of the art”). The reader learns what exists and why, less often what wins.
- Breadth limits depth. Many methods get a paragraph or a citation; some sections (multi-agent LLMs, active inference, AIXI) are a page or less.
- Some results are already dated. BBF is “state of the art… as of 2024”, and 2026 work on RL scaling and newer GRPO variants is not covered.
- One author’s lens. It favours a probabilistic, “RL as inference” view and gives games, robotics and Atari far more space than recommender systems, operations or enterprise applications.
- Uneven guidance. Some sections give concrete settings (BBF’s ordered tricks, the LLM training checks); most give none.
- Demanding to read. It assumes comfort with probability and optimization; chapter 1’s summary is the only gentle entry point.
6. In practice
What to do with this paper. Paper rows are the book’s own recommendations; Adaptation rows apply them outside its setting, so their strength is capped at Partial. Treat every row as a hypothesis to test on your own system.
| Do this | Evidence | Strength | Source | How to check it on your system |
|---|---|---|---|---|
| Report comparisons over several runs with the interquartile mean and a bootstrap confidence interval, not a single run | Claim 1 | Strong | Paper | Rerun each evaluation configuration 5 times; treat differences that fall inside the confidence interval as noise |
| Build on a tested library instead of implementing RL from scratch | Claim 1 | Strong | Paper | Before writing a training loop, check whether an existing library already implements the method and reproduces its published numbers |
| If you RL-fine-tune an LLM: average the loss over episodes, put the KL penalty in the reward, log sampler–trainer KL (warn above 0.01) and entropy, and start with a low LoRA rank | Claim 9 | Strong | Paper | Add the KL and entropy curves to the training dashboard; stop and investigate when KL crosses 0.01 or entropy collapses |
| Before any fine-tuning, try best-of-N: generate several answers and keep the one your judge or checker scores highest | Claim 9 | Partial | Adaptation | On your evaluation set, compare N = 1, 4 and 8 with judge selection; stop increasing N when quality flattens or drops |
| Treat every optimized metric as gameable: keep a second measure that tuning never sees | Claim 2 | Partial | Adaptation | When a prompt or retrieval change raises the main score, confirm it on the held-out measure or a human spot-check before shipping |
| Sample the base model several times before deciding to fine-tune for a skill | Claim 10 | Partial | Adaptation | For a target task, sample 8–16 answers per question; if it is never right, improve retrieval or the prompt first |
| Design and evaluate an ADK multi-agent system as one agent with modules: judge it end to end, then per module | Claim 11 | Partial | Adaptation | For the Knowledge Assistant, log which module (router, retriever, answerer) caused each failed evaluation case and fix the most frequent first |
| For live choices among a few options (which ranker or prompt to serve), use Thompson sampling instead of a fixed A/B split | Claim 12 | Partial | Adaptation | Simulate it on past click or feedback logs: compare the reward lost during the test against a 50/50 split |
| When learning from logs (e.g. ranking from past user clicks), expect the model to know nothing about options that were never shown; collect diverse data | Claim 13 | Partial | Adaptation | Check what share of candidates in your logs were ever shown; reserve a small share of traffic for exploring others |
So what: three rows are the book’s own advice, about reporting and LLM fine-tuning hygiene; the rest are adaptations to your systems, most usefully cheap inference-time selection, gameable metrics, and the limits of logged data.
7. Verdict
What to remember. Reinforcement learning is one framework: an agent, a reward, and a choice of what to learn (values, a policy or a model) and from which data. Value learning is efficient but unstable; policy learning is robust but noisy; models save data but add errors to guard against; several learners turn optimality into a choice; recorded data limits what can be learned. LLM fine-tuning is the simplest case of all, a one-step problem solved with policy gradients, and what makes it hard is the reward, not the update rule.
What it changed. It gives one current, consistent reference that connects classic RL to its modern uses: Bellman and Q-learning to DQN, policy gradients to PPO and GRPO, planning to AlphaZero and Dreamer, game theory to poker bots and Cicero, and all of it to LLM training, with code. It is the place to look when a paper assumes RL background.
How confident to be.
- High for the foundations and the hard limits (Claims 1–4, 7, 12, 13): textbook results, proofs and widely reproduced systems.
- High for the LLM method trade-offs (Claim 9), with the caveat that they are not compared experimentally.
- Medium for model-based efficiency and decision-focused world models (Claims 5, 6): strong systems, but no head-to-head comparisons and open theory.
- Medium for the claims about LLM reasoning and agents (Claims 10, 11) and for the Policy Gradient Hypothesis (Claim 8): reported consensus or early evidence.
What comes next, according to the book. Multi-turn RL for tool-using LLM agents; learned critics for long tasks; agents that decide when to think, call a model or act; world models that are fast, decision-focused and provably stable; better use of foundation models for rewards, models and exploration; and alignment approaches such as assistance games.
Related notes. For the LLM methods in much more detail, see my summary of Reinforcement Learning for LLM Post-Training. For when multi-agent LLM workflows help or hurt, see Towards a Science of Scaling Agent Systems. For JEPA-style self-prediction from Claim 6 in a different setting, see the Platonic representation note.