Temporal Difference Learning
Definition
Temporal difference learning is a reinforcement-learning family that updates value estimates by bootstrapping from later value estimates rather than waiting for a complete return.
Why It Matters
TD methods are the backbone of value-based RL and many actor-critic algorithms. In deep RL, the same bootstrapping that makes TD sample-efficient can also make it unstable when samples are off-policy, targets move during training, or nonlinear value functions amplify update errors.
Formalism / Key Objects
- A one-step TD target for an action-value function is
or, for Q-learning-style control,
- A neural TD update can be written schematically as
- Stabilization devices include target networks, replay buffers, normalization, conservative step sizes, regularization, and on-policy or near-on-policy sampling.
- Q-Learning is the classic off-policy tabular control case, with convergence under finite Markov, repeated-visitation, tabular-representation, and learning-rate assumptions.
- Q-Learning Convergence records Watkins and Dayan’s action-replay-process proof schema.
- Regularized TD Stability and PQN records Gallici et al.’s claim that LayerNorm plus small
l2regularization can make deep TD stable without target networks or large replay buffers under their assumptions.
Connections
- Q-Learning supplies the classic tabular off-policy control result that later neural and multi-agent Q-methods generalize or relax.
- Value Decomposition Networks apply TD-style value learning to cooperative MARL by decomposing a shared team value into per-agent utilities.
- Cooperative Multi-Agent Reinforcement Learning stresses TD because replay data can become stale when teammates’ policies change during training.
- Safe Reinforcement Learning often wraps or constrains TD learners, so stability assumptions matter when safety mechanisms alter exploration.
- Deep Learning Fundamentals supplies the normalization, regularization, and optimization background needed to interpret modern neural TD results.
Common Confusions
- TD learning is not the same as Q-learning: Q-learning is one control algorithm that uses TD targets.
- The tabular Q-learning convergence theorem does not automatically carry over to nonlinear function approximation.
- Bootstrapping is not automatically unstable; the difficulty comes from the interaction among bootstrapping, function approximation, off-policy sampling, and changing data distributions.
- A replay buffer can improve sample reuse while also making data less current in highly non-stationary multi-agent settings.