Bootstrapping
Imagine learning the value of a route home before reaching the destination. After each turn, you use your current guess about the rest of the journey to improve your guess about the route so far. In reinforcement learning, this is the central idea behind bootstrapping.
Learning from a predictionBootstrapping updates a value estimate using another, newer value estimate rather than waiting for the final outcome. In one-step temporal-difference learning, after moving from state s to s′ and receiving reward r, the update is driven by the TD error:
TD error = r + γ V(s′) − V(s)
V(s) ← V(s) + α · TD error
Here, V(s′) stands in for all the future rewards expected after the next state. The learner adjusts its old prediction toward the immediate reward plus this estimated future. The estimate is, in effect, helping to train itself.
Why it changes the learning loopUnlike Monte Carlo methods, which wait until an episode ends and use the actual total return, bootstrapping learns after every transition. A robot navigating a long warehouse can improve its estimate after each move instead of waiting until it reaches a charging station. This enables continual learning in tasks with long, unfinished, or even infinite interactions. It is the foundation of TD(0), SARSA, and Q-learning; DQN uses the same basic idea, with a neural network estimating the next-state action values.
The useful riskBecause the target contains an estimate, bootstrapping trades unbiased but delayed feedback for faster, potentially biased learning. Errors can propagate: an inflated value for a next state makes earlier states look better too. With nonlinear function approximation, off-policy data, and bootstrapped targets—the “deadly triad”—updates can become unstable or diverge. DQN addresses part of this problem with a target network, holding the next-state estimator fixed for a while so the learning target does not shift every update. Done well, bootstrapping is what lets an agent turn small pieces of experience into useful predictions long before it has seen every possible outcome.
Bootstrapping is updating a value estimate using another current estimate rather than waiting for the final observed return. In temporal-difference learning, a state value is adjusted toward the immediate reward plus the estimated value of the next state. This enables online learning from partial experience and improves data efficiency, but inaccurate estimates can propagate errors and destabilize learning.
Imagine estimating how long a walk will take. Halfway there, you do not need to finish the whole route before adjusting your estimate: you combine the time already spent with your best guess about the distance still ahead.
In reinforcement learning, bootstrapping means improving a learner’s current prediction using another prediction it already has. Rather than waiting until an entire game, trip, or task is over, it can learn from what has happened so far and its own estimate of what comes next. This helps it learn sooner, especially when rewards are far away or tasks take a long time to finish.