An agent only sees the reward of the action it takes, so it must spend some reward finding out; random exploration pays the same price every step forever (linear regret), while exploring where its estimates are uncertain makes the price shrink, growing only like the logarithm of time, which is the proven floor.
The same evidence, three choices; the same arms, four very different bills
You need: the vocabulary of Topic: rl (reward, action value Q, policy). Section 6 assumes states and the Bellman equation, taught on Dynamic programming.
| Strategy | How it explores | Knob | Regret as time T grows | Where it shows up |
|---|---|---|---|---|
| Greedy | Never on purpose | none | Linear: it can lock onto a worse arm forever | The baseline that fails |
| ε-greedy | A random action a fraction ε of the time | ε (or a decay schedule) | Linear for fixed ε; logarithmic with a tuned decay (εn-greedy) | DQN and most deep value methods |
| Optimistic initial values | Start every estimate high; disappointment drives trying | Q₀ | Not a general guarantee (only explores at the start) | Tabular tricks; R-MAX in full RL |
| UCB | Bonus for uncertainty: Q + c √(ln t / N) | c | Logarithmic (UCB1, proved for rewards in [0, 1]) | Agent57's policy chooser; MCTS (UCT) |
| Gradient bandit | Samples from a softmax over learned preferences | step α | Depends on α; no log guarantee here | The bandit version of policy gradients |
| Thompson sampling | Acts on one draw from its posterior belief | the prior | Logarithmic, matching the lower bound for Bernoulli arms | Ads, recommendation, adaptive trials |
| A/B test (explore, then commit) | Splits traffic evenly for a fixed time, then ships the winner | test length m | Pays m·Δ while the test runs; with m tuned to the gap, of order √T in the worst case | Product experiments |
| LinUCB (contextual) | UCB on a linear model of reward given features | α | Sublinear under its linear model | News recommendation (Yahoo!), Decision Service |
| Count bonuses, RND, Go-Explore | Reward novelty, or return to promising states | bonus scale | Theory only in the tabular case | Hard-exploration Atari (Montezuma's Revenge) |
Each row is derived and sourced in the section that covers it. Exploration is also one of the axes of the Taxonomy tab on Topic: rl.
Exploitation takes the action believed best, maximising reward now; exploration takes one that looks worse, to buy information that may pay later (Silver's examples: your favourite restaurant or a new one, the best-known advert or a different one; Silver, Lecture 9). Pure exploitation gets stuck on the first decent option, because it never collects the evidence that something else is better; pure exploration never cashes in.
What makes this special to reinforcement learning: in supervised learning the labels arrive whatever the model predicts, but here the agent's own choices decide which data it sees, so a wrong belief about an action is never corrected if the agent stops taking it. A multi-armed bandit isolates exactly this: one situation repeated, k actions with unknown mean payoffs, no state and no delay, so nothing is left but exploration (Sutton and Barto, chapter 2).
With a prior over the arms and a known horizon, the best possible policy is the Bayes-optimal one, computed by planning over all future beliefs. It is almost never computed, because the tree of possible futures explodes: Sutton and Barto note that for 1,000 steps of a two-armed bandit with two possible rewards the tree would have 22000 leaves (§2.10). For the discounted, infinite-horizon case, Gittins (1979) showed that the Bayes-optimal policy reduces to an index computed per arm. Everything else on this page is a cheaper rule that gets close.
At each step t the agent picks an action At from k options and receives a reward Rt from that action's distribution. An action's value is its expected reward, q*(a) = E[Rt | At = a]; the agent keeps an estimate Qt(a), usually the sample average, updated without storing past rewards:
Predict: at α = 0.1, how much weight does the oldest of 20 rewards get, against 0.05 for the sample average? Then drag the α slider.
A schedule αn converges to the true value when Σ αn = ∞ (steps large enough to overcome any start) and Σ αn2 < ∞ (small enough to settle). The sample average's 1/n meets both; a constant α fails the second, which is exactly what lets it keep tracking a moving target (§2.5, eq. 2.7). The initial estimate Q1 is a bias: with sample averages it disappears the first time an arm is pulled; with a constant α it is permanent, though decreasing.
Blue: sample average, every reward 1/20 = 0.05 and the initial guess erased. Orange: constant α, weight α(1 − α)20−i on reward i and (1 − α)20 on the initial guess Q₁. At α = 0.1 the oldest reward gets 0.014 and Q₁ still 0.12: the constant step tracks an arm whose mean drifts (a nonstationary problem) but keeps a shrinking bias from its start, which is the lever behind optimistic initial values (§2.6). The testbed tab's Nonstationary preset runs both on drifting arms: 10-armed testbed.
Five ways to choose, run on the same five arms with the same pre-drawn rewards, so they differ only in the choices they make. Predict before the stage plays: which strategy ends with the least regret after 300 pulls, and which one's regret line never bends?
Five strategies on the same five arms, the same reward for the same arm at the same step (seed 3)
Greedy always takes argmaxa Qt(a) and locks onto whichever arm looked good first. ε-greedy takes the greedy action with probability 1 − ε and otherwise picks uniformly among all m actions, so the greedy action has probability 1 − ε + ε/m: with ε = 0.1 and m = 4 that is 0.9 + 0.025 = 0.925, and each other action 0.025 (Silver, Lecture 5). Every estimate converges, but ε-greedy keeps picking bad arms at the same rate forever, so its regret grows linearly. Decaying ε towards 0 while still trying every action infinitely often is GLIE (greedy in the limit with infinite exploration), the condition under which SARSA and Monte Carlo control converge; it is used on Model-free prediction and control.
Start every estimate far above any plausible reward (Sutton and Barto use +5 when true values are drawn from N(0, 1)). Whatever greedy tries disappoints it, so it moves on, and every arm is tried several times before the estimates settle (§2.6). It needs a constant step size (a sample average erases the optimism on the first pull), and the book calls it "a simple trick that can be quite effective on stationary problems, but it is far from being a generally useful approach": its drive is spent at the start. Made principled, it is R-MAX in full RL (section 6).
ε-greedy explores indiscriminately; UCB prefers arms that could plausibly be the best, given how uncertain their estimates are (§2.7, eq. 2.10):
This is optimism in the face of uncertainty: act as if each arm is as good as it plausibly could be; either the optimism was right and you collect, or the pull shrinks the bonus. The book's caution: UCB "is more difficult than ε-greedy to extend beyond bandits", to nonstationary problems and to large state spaces where counting visits is not practical; section 6 is about how deep RL works around that.
Keep a posterior distribution over each arm's mean; at every step draw one sample from each and pull the arm whose sample is highest, then update that arm's posterior. An arm is pulled with exactly the probability that it is the best under the current belief ("probability matching"). For 0/1 rewards with a uniform prior the posterior is Beta(1 + successes, 1 + failures), so the algorithm is two counters per arm and one Beta draw. Uncertain arms have wide posteriors and sometimes draw high; a bad arm's posterior narrows below the best arm's and it stops being chosen. It is the oldest method here: Thompson (1933) proposed it "for allocating experimental effort in two-armed bandit problems arising in clinical trials" (Russo et al., tutorial), and Sutton and Barto note that it "often performs similarly to the best of the distribution-free methods" (§2.10).
Instead of estimating values, learn a preference Ht(a) per action and act by softmax, πt(a) = eHt(a) / Σb eHt(b). After each reward (§2.8, eq. 2.12):
The box in §2.8 proves that the expected update equals the gradient of expected reward, so this is stochastic gradient ascent: the one-state case of the policy gradient (REINFORCE with a baseline). The baseline does not change the expected update, only its variance; Figure 2.5 shows what happens without it when all rewards are shifted by +4 (10-armed testbed, Fig. 2.5). The general case lives on Policy gradients and actor-critic (section 2 for the theorem, section 4 for baselines).
Across 2,000 tasks. The 10-armed testbed tab reruns Sutton and Barto's Figures 2.2 to 2.6 live, with Thompson sampling added and the nonstationary exercise. Its defaults reproduce the book's printed numbers independently: the best possible average reward is the expected maximum of ten standard normals, 1.539 by integration (book: "about 1.54"); greedy settles near 1.0 per step and finds the best arm in about 35% of tasks (book: "only about 1" and "approximately one-third"); ε = 0.1 stays below its 91% ceiling (src/recompute.py, 2,000 tasks).
Left: each arm's estimate (bar) against its true mean (the tick across each arm: 0.2, 1.0, −0.4, 1.5, 0.6; illustrative); the arm about to be pulled is orange. UCB adds its upper bound (green whisker). Thompson shows its belief about each mean, a normal posterior drawn sideways (prior N(0, 1), noise variance 1 assumed known), and the circle is this step's draw from it. Right: total regret of all five on this stream. Estimates are sample averages, except the optimistic agent's constant step 0.1 (Figure 2.3's setting). Seeds differ: greedy is sometimes lucky, never reliable; ε-greedy's regret line never bends.
Testbed curves average over a family of tasks; theory asks how much a strategy loses on any task against an oracle that always pulls the best arm. That loss is the regret, and it splits into pulls wasted on each bad arm times its gap:
A strategy that pulls a bad arm a fixed fraction of the time (greedy stuck on it, ε-greedy with fixed ε) has regret growing linearly in T. How slowly can it grow? The Lai and Robbins lower bound (Lai and Robbins 1985): any strategy that is good on every instance (regret o(Ta) for every a > 0) must pull each suboptimal arm at least about ln T / KL(pa, p*) times, so
To be sure an arm is worse you must pull it until the evidence rules it out, which takes more pulls the surer you need to be (ln T) and fewer the more distinguishable the arms (KL). The bound is asymptotic: it fixes the slope against ln T, not the regret at any finite T. (The original is paywalled; the statement follows Auer et al. 2002, p. 236: "IE[Tj(n)] ≥ (ln n)/D(pj||p*) asymptotically".)
Predict: on far arms the bound's constant drops from 12.28 to 4.00. Does every method's regret fall with it? Switch presets to check.
Who reaches the floor. UCB1 is logarithmic after any number of plays for rewards in [0, 1], but the authors note its leading constant "8/Δi2 is worse than the corresponding constant 1/D(pj||p*) in Lai and Robbins' result" (Auer et al. 2002, Theorem 1). Thompson sampling had no regret analysis for almost eighty years; Kaufmann, Korda and Munos (2012) gave "the first finite-time analysis that matches the asymptotic rate given in the Lai and Robbins lower bound" for 0/1 rewards, so it is asymptotically optimal there. KL-UCB builds its confidence bound from the KL divergence itself and is the UCB-family method that closes the gap (Lattimore and Szepesvári, §10.2).
Where UCB went next. The same index applied at every node of a search tree is UCT (Kocsis and Szepesvári 2006), the selection rule of Monte Carlo tree search and, with a learned prior, of AlphaGo's search: see Model-based RL and planning. Agent57 chooses among its exploration policies with "a simplified sliding-window UCB with εUCB-greedy exploration" over the last 160 episodes (Badia et al. 2020), because a plain UCB "will not be able to adapt to the changes of the reward through time".
At 10,000 pulls, 200 runs, close arms: greedy 607, ε-greedy 193, UCB1 261, Thompson 55; far arms: 650, 213, 170 and 20 (src/make_data.mjs, the page's engine). The Lai and Robbins constant is 12.28 per unit of ln T on close arms and 4.00 on far ones, from the formula above. On close arms UCB1 trails ε-greedy at this horizon: its constant is large when gaps are small.
A contextual bandit sees a context first (a user's features, the page being viewed), picks an action, and sees the reward of that action only; the goal is a policy from contexts to actions. Sutton and Barto call it associative search and place it exactly between the bandit and full RL (§2.9). It is the most deployed form of RL, because many products face exactly this loop: show something, see a click or not, never see what the other options would have earned.
One situation, repeated. Only exploration is left.
The next context arrives whatever the agent did. Learn which action suits which context.
Actions have delayed consequences: credit assignment and planning (Dynamic programming).
Li, Chu, Langford and Schapire (2010) model each article's click probability as linear in a feature vector xt,a of user and article, fit by ridge regression, and add an upper-confidence width (their eq. 5):
On the Yahoo! Front Page Today Module, with "over 33 million events", LinUCB gave "a 12.5% click lift compared to a standard context-free bandit algorithm, and the advantage becomes even greater when data gets more scarce". Their second contribution is still the standard way to test a policy without shipping it: replay logged traffic in which articles were chosen uniformly at random, keep only the events where the logged article matches the one the new policy would choose, and average their clicks; because the logging was random, this "can provide provably unbiased evaluations" (Li, Chu, Langford and Wang 2011).
| # | Context | Logged article (uniform) | Click | New policy picks | Kept? |
|---|---|---|---|---|---|
| 1 | sport, mobile | B | 0 | A | no |
| 2 | news, desktop | A | 1 | A | yes |
| 3 | sport, desktop | B | 1 | C | no |
| 4 | news, mobile | A | 0 | B | no |
| 5 | sport, mobile | A | 1 | A | yes |
| 6 | news, desktop | C | 1 | A | no |
| 7 | sport, desktop | C | 0 | C | yes |
| 8 | news, mobile | C | 0 | B | no |
| 9 | sport, mobile | B | 1 | A | no |
Nine logged events with three articles shown uniformly at random (illustrative). The new policy agrees with the log on 3 events (one in k = 3), with 2 clicks: its estimated click rate is 2/3. Clicks on events it would not have shown (event 6) say nothing about it, and with a non-random logging policy you would need its propensities (inverse propensity weighting) instead.
The classic product experiment splits users into two groups (Lattimore and Szepesvári's example: two groups of 10,000), shows each a version, and ships the winner. In bandit terms that is explore-then-commit (ETC): pull each arm m times, then commit to the one that looked best. Its regret has exactly two parts, the test's cost and the risk of shipping the wrong version (Lattimore and Szepesvári, Theorem 6.1 and eq. 6.4):
Predict: conversion rates 10% and 12%, the test runs 2,000 visitors per version. Which design loses fewer conversions, and which knows the difference more precisely when the test ends?
Lattimore and Szepesvári put the difference in purpose plainly: "In traditional A/B testing, the objective of the statistician is to decide which website is better. When using a bandit algorithm, there is no need to end the trial" (§1.2). The same tension is sharpest in clinical trials, below.
Rates 10% and 12% and the test length are illustrative; 1,000 runs, each A/B run and Thompson run seeing the same visitors (visitor t converts on a version when one shared uniform draw falls below its rate). The A/B test loses 45 conversions, 40 of them (2,000 × 0.02) during the test, and ships the worse version with probability 2.15% (exact, from two binomials; simulated 1.7%; the formula above then gives 46.9). Thompson sampling with Beta(1, 1) priors loses 29, because it shifts traffic as soon as the evidence leans. The price: at 4,000 visitors it has shown the worse version 828 times instead of 2,000, so its 95% interval on the difference is ±2.3 points against ±1.9. A bandit maximises reward during the experiment; an A/B test maximises what you learn at its end (src/make_data.mjs).
With states, an exploratory action's payoff may only show up many steps later, after a specific sequence of further actions. Three things get harder:
The stage puts all three in one small world: a 14 × 7 grid, a 0.1 reward four steps from the start, a +1 reward thirteen steps away, 60 steps per episode, tabular Q-learning, run three ways. Predict: which of the three reaches the +1 in all 20 seeds?
One sparse-reward world, three ways to explore, 500 episodes each (seed 1)
Bar height: how often each cell has been entered so far (log scale); orange dots: that episode's path, walked from the start. Q-learning with step 0.5, γ = 0.95, ties broken at random; ε = 0.1 in the first two modes. All settings illustrative, chosen so the small reward is a real trap. Over 20 seeds, 2 of 20 ε-greedy runs reach +1, against 20 of 20 with the count bonus and 20 of 20 with optimistic starts (table above; the page's Python reference src/recompute.py agrees). Optimism is faster than the bonus because the bonus agent's Q starts at 0, so the bonus has to be collected before it can pull the agent onwards.
The answers since then form families. Every one either adds a bonus where knowledge is thin, starts optimistic and lets evidence correct it, or acts on a plausible guess drawn from its uncertainty:
| Family | The rule | What it needs, or where it fails | A result |
|---|---|---|---|
| Optimism with counts: E3, R-MAX, MBIE-EB, UCRL2 | Unknown state-actions assumed maximally rewarding, or a bonus β/√N(s, a) in the Bellman equation (UCB for MDPs) | A count per state, impossible when states are images | First polynomial-time guarantees; UCRL2 regret Õ(DS√(AT)) |
| Pseudo-counts and hashing | A count derived from a density model, bonus β (N̂ + 0.01)−1/2; or counts of hashed states | A density model or a hash of the observation | Montezuma's Revenge 3,439 at 100M frames; 15 of 24 rooms |
| Curiosity (ICM) | Reward the error in predicting the next state's features | The noisy TV: unpredictable noise stays surprising forever | Studied with curiosity alone, no task reward, on 54 environments |
| Random Network Distillation | Reward the error in predicting a fixed random network's output | Familiar observations stop paying; noise does not keep paying | Montezuma's Revenge 8,152, above the average human's 4,753 |
| Remember and return: NGU, Agent57, Go-Explore | Per-episode plus lifelong novelty; or an archive of states to return to, then explore from | Go-Explore's first version resets the emulator | Agent57 above the human benchmark on all 57 Atari games; Go-Explore 43,763 |
| Posterior sampling: Bootstrapped DQN, NoisyNet | Act greedily on one plausible value function for a whole episode; or learned weight noise | Several heads, or noisy layers | NoisyNet is one of Rainbow's six extensions |
| Entropy bonuses: A3C, SAC | Add the policy's entropy to the objective (weight β = 0.01 in A3C) | Local: keeps the policy from collapsing, sends it nowhere new | SAC's maximum-entropy objective |
Randomness alone (ε-greedy, entropy) is the cheap fallback that works when rewards are dense. The deep methods' mechanics are on Value-based deep RL (NoisyNet in Rainbow) and Policy gradients and actor-critic (entropy, SAC).
Optimism with counts. E3 (Kearns and Singh 2002) and R-MAX (Brafman and Tennenholtz 2002) gave the first polynomial-time guarantees for exploring an MDP. R-MAX's model "is initialized in an optimistic fashion: all actions in all states return the maximal possible reward (hence the name)"; once a state-action pair has been tried enough times its true model replaces the optimistic one. MBIE-EB (Strehl and Littman 2008) turns this into a bonus β/√N(s, a) added to the reward in the Bellman equation (as restated by Bellemare et al. 2016). UCRL2 (Jaksch, Ortner and Auer 2010) plans optimistically within confidence sets on the transition model and proves regret Õ(DS√(AT)) against a lower bound Ω(√(DSAT)) (D the MDP's diameter, S states, A actions).
Pseudo-counts and hashing. Bellemare et al. (2016) derive a pseudo-count N̂(x) from a density model of observations: how much the model's probability of x rises after one more look at x says how familiar x is. The bonus is β (N̂ + 0.01)−1/2 with β = 0.05. On Montezuma's Revenge their agent "consistently navigates through 15 rooms" of the first level's 24 within 50 million frames, where the agent without the bonus saw two, and scored 3,439 on average by 100 million frames. Tang et al. (2017) count hashed states instead (SimHash of pixels or of learned features), bonus β/√n(φ(s)).
Curiosity. The Intrinsic Curiosity Module uses "the error in an agent's ability to predict the consequence of its own actions in a visual feature space learned by a self-supervised inverse dynamics model" (Pathak et al. 2017); learning features through an inverse model is meant to ignore what the agent cannot affect. A large-scale study trained agents with curiosity alone, no extrinsic reward, on 54 environments, and documented the noisy TV: add a TV with a channel-changing action to a maze and "the presence of the TV drastically slows down learning". Prediction error mixes up "new" with "random".
RND. Burda et al. (2018) fix the target: a randomly initialised network that is never trained maps each observation to a feature vector, and a second network is trained to predict those features; because the target is a deterministic function of the observation, noise does not keep the error high. RND was the "first method that achieves better than average human performance on this game without using demonstrations or having access to the underlying state": a mean of 8,152 on Montezuma's Revenge against an average human 4,753 (Table 1), the best agent often finding "22 out of the 24 rooms on the first level".
Remember and return. Never Give Up combines a per-episode novelty bonus with RND's lifelong one and was the "first algorithm to achieve non-zero rewards (with a mean score of 8,400) in the game of Pitfall! without using demonstrations" (Badia et al. 2020a); Agent57 adds the bandit meta-controller of section 4 and is "the first deep RL agent that outperforms the standard human benchmark on all 57 Atari games" (Badia et al. 2020b; the Milestones and benchmarks tab of Topic: rl has its scores, including two mistyped MuZero entries found there). Go-Explore (Ecoffet et al. 2019) keeps an archive of distinct states ("cells") reached so far, picks a promising one, returns to it (by restoring the emulator's state), explores from there, then trains a robust policy from the best trajectories. Without domain knowledge its policies averaged 43,763 on Montezuma's Revenge, "higher than the human expert mean of 34,900", and solved level 1 in 99.8% of attempts. The journal version, "First return, then explore", adds a policy that learns to return without resets and reports that it "solves all heretofore unsolved Atari games"; with easy-to-provide domain knowledge it reaches 102,571 on Pitfall and 1,731,645 on Montezuma's Revenge (figures from the preprint).
Posterior sampling. Thompson sampling's deep-RL form keeps several plausible value functions and acts greedily on one of them for a whole episode, the temporally extended exploration per-step noise lacks: Bootstrapped DQN trains several Q heads on bootstrapped data (Osband et al. 2016), developed in Osband, Van Roy, Russo and Wen (2019). NoisyNet learns noise in the network's weights, replacing ε-greedy and entropy bonuses, with initial noise scale σ0 = 0.5 (Fortunato et al. 2017); it is one of the six extensions Rainbow combines (Method atlas tab of Topic: rl).
Entropy. A3C adds the policy's entropy to the objective, "with a weight β = 0.01 for all Atari and TORCS experiments" (Mnih et al. 2016); SAC makes it the objective itself, J(π) = Σt E[r(st, at) + α H(π(·|st))], "to succeed at the task while acting as randomly as possible", with the temperature α weighing entropy against reward (Haarnoja et al. 2018).
| Montezuma's Revenge | Score | Conditions |
|---|---|---|
| DQN (2015) | 0 | Human 4,367 in the same table (Mnih et al. 2015, Extended Data Table 2) |
| #Exploration, BASS-SimHash (2017) | 238 | 50M steps (Tang et al., Table 1) |
| Pseudo-counts (2016) | 3,439 | average at 100M frames (Bellemare et al., appendix) |
| RND (2018) | 8,152 | mean; average human 4,753 in that paper's table |
| Go-Explore (2019) | 43,763 | no domain knowledge; resets the emulator to return; "human expert" 34,900 |
| Go-Explore (2021) | 1,731,645 | with domain knowledge (room, discretised position, keys held, level, read from pixels by hand-written classifiers) |
The human reference changes from paper to paper (4,367, 4,753, 34,900), and so do frame budgets, whether the emulator may be reset, and whether domain knowledge is used. The rows are not a leaderboard; each is a result under its own conditions.
RL on a pretrained language model starts from a policy that already produces sensible answers, so exploration is inherited from pretraining and controlled through sampling: several responses per prompt at a temperature around 1, so that some are right and some wrong and the advantage has something to compare (GRPO's group). In bandit terms, RL concentrates probability on arms the base model already pulls sometimes; it rarely finds arms the base model never pulls. Three results frame this, each taught on RL for LLMs: base models overtake their RL-trained versions on pass@k at large k (Yue et al. 2025); performance follows R = −a eH + b in the policy's entropy H, capped at −a + b when entropy runs out (Cui et al. 2025, with Clip-Cov and KL-Cov to slow the collapse); and DAPO's Clip-Higher (εlow = 0.2, εhigh = 0.28) lets rare tokens grow to keep exploring. The pipeline around them is on Alignment: SFT, RLHF, DPO Family, RLVR; DeepSeekMath (GRPO) and DeepSeek-R1 (RL from a base model without supervised warm-up) show what this exploration produced at scale.
Sutton and Barto's testbed (§2.3): each task is a 10-armed bandit whose true values q*(a) are drawn from a standard normal; pulling arm a pays q*(a) plus standard normal noise. One run is 1,000 pulls on one task; a curve is the average over 2,000 tasks. Everything below is computed in your browser when you open a figure, in slices so the page stays responsive, with seeded random numbers: task i is the same task for every method, and the reward noise is drawn from its own stream, so methods differ only in the arms they choose. The engine is checked against an independent Python implementation (every value equal on 40 tasks of every setting).
Reproduction notes: ties between equal estimates are broken at random (as in the book); UCB treats an unpulled arm as maximising (eq. 2.10); the gradient baseline is the average of all rewards including the current one (the book's footnote on p. 37); "best possible" is the mean, over the tasks run, of each task's largest true value. Figure 2.6's parameter ranges (ε from 1/128 to 1/4, α from 1/32 to 2, c from 1/16 to 4, Q₀ from 1/4 to 4) follow Shangtong Zhang's reproduction, since the book's figure gives only the shared axis (1/128 to 4).
The Reading tab (27 minutes, plus 9 in closed details) goes from the trade-off through bandit algorithms, regret, contextual bandits and A/B tests, and exploration in full RL to LLM training. Links open in a new tab, with reading times (estimated for external resources).
Sutton and Barto's Figures 2.2 to 2.6 rerun live over 2,000 tasks, plus Thompson sampling and the nonstationary exercise, with the book's printed numbers checked.
The short intuitive overview of RL: one target (the Bellman equation), many estimators. Its Taxonomy tab classifies methods on 18 axes, exploration among them; its Method atlas tab puts 47 methods on one grid (DQN, Rainbow, PPO, SAC, GRPO...); its Milestones and benchmarks tab has the Atari results this page's Montezuma's Revenge table sits among (Agent57, MuZero). (17 min, plus 2 in closed details)
This page: the first of the eight.
Planning with a known model: policy evaluation, policy and value iteration. No exploration needed, because the model is given.
Monte Carlo, TD, SARSA and Q-learning, where ε-greedy and GLIE do their work; cliff walking shows on-policy exploration's cost.
DQN and its fixes, including NoisyNet inside Rainbow.
The general case of the gradient bandit; entropy bonuses, SAC's maximum-entropy objective.
UCT and Monte Carlo tree search, where the UCB index chooses moves.
When the agent may not explore at all: learning from a fixed dataset.
GRPO, RLVR, DAPO: sampling temperature, group size and clipping as the exploration controls of language-model RL.
The post-training pipeline around the RL step. (33 min, plus 4 in closed details)
Introduces GRPO, whose group of samples per prompt is its exploration. (25 min read)
RL from a base model with no supervised warm-up (R1-Zero): what inherited exploration can reach. (34 min read)
The source of the testbed, every strategy in sections 2 and 3, and the exercises. (about 1h 30m)
Slides: regret, optimism, probability matching, information state search, contextual bandits, and the MDP extensions. (about 45 min)
A compact walk through ε-greedy, UCB and Thompson sampling with code. (about 20 min)
A map of count-based, prediction-based and memory-based exploration (section 6's families, with many more). (about 50 min)
When and why probability matching works, with examples beyond Bernoulli arms. (about 2h)
The reference text: regret decomposition, UCB and KL-UCB, lower bounds, linear and contextual bandits. Chapters 4 to 10 and 15 cover this page's section 4; chapter 6 (explore-then-commit) and §1.2 the A/B test. (about 6h for those chapters)
A shorter book-length survey, good on contextual bandits. (about 4h)
The contextual bandit paper behind section 5, with its offline replay evaluation. (about 40 min)
A short, clear paper on the novelty bonus most used in deep RL. (about 40 min)
Go-Explore's full version: detachment, derailment, and the archive. (about 1h)
Built from the repository's source (src/). The simulations run on a seeded engine checked value for value against an independent Python implementation (src/recompute.py, src/check_engine.mjs). Read 4 October 2026; rebuilt 24 October 2026.