TL;DR
Gradient Iterated Temporal-Difference (Gi-TD) learning bridges the gap between stable but slow gradient TD methods and fast but unstable semi-gradient methods. By learning a sequence of value functions in parallel and computing full gradients over moving targets, Gi-TD achieves competitive sample efficiency on complex benchmarks like Atari and MuJoCo while guaranteeing convergence where traditional methods fail.
What Problem Does This Paper Address?
Temporal-Difference (TD) learning is a cornerstone of reinforcement learning, allowing agents to learn from sequential experience without waiting for long-term outcomes. To make it fast, almost all state-of-the-art algorithms use semi-gradient updates, which ignore how changing the value function parameters affects the target. While computationally convenient, this shortcut can cause catastrophic divergence, as famously illustrated by Baird's counterexample.
Gradient TD methods fix this divergence issue by computing true gradients, but they have historically suffered from slow learning speeds. Recently, iterated TD (i-TD) attempted to accelerate learning by training a chain of value functions in parallel, where each function predicts the next Bellman step. However, i-TD still relies on semi-gradients, making it unstable because each function chases a rapidly moving target. This paper addresses the fundamental trade-off between stability and learning speed in TD methods.
Methods
The authors introduce Gradient Iterated Temporal-Difference (Gi-TD) learning. Instead of ignoring target gradients like i-TD, Gi-TD computes full gradients over the entire sequence of parallel value functions ($Q_1, Q_2, \dots, Q_K$).
True gradient methods suffer from the "double sampling problem," where an unbiased gradient estimate requires two independent environment samples from the exact same state. To circumvent this without needing a simulator, Gi-TD incorporates the Temporal-Difference learning with Regularized Corrections (TDRC) framework. It introduces auxiliary networks ($H_2, \dots, H_K$) to approximate the necessary gradient correction terms.
Crucially, by optimizing the sequence as a whole, future functions in the chain influence the learning dynamics of earlier ones. Early value functions are optimized not just to fit their immediate targets, but also to make subsequent targets easier for later functions to learn. To prevent a massive explosion in parameter count, the $Q$ and $H$ functions share a single feature extractor network and use distinct linear heads.
Datasets
The authors evaluated Gi-TD across a variety of environments:
- Controlled MDPs: The Star Markov Process (Baird's counterexample), Hall MP, and Triangle MP were used to analyze exact geometric and convergence behaviors.
- Arcade Learning Environment (ALE): 10 Atari 2600 games (including Breakout, Space Invaders, and Alien) were used to benchmark discrete online control.
- MuJoCo: 6 continuous control tasks (such as HalfCheetah, Ant, and Walker2d) evaluated continuous online control.
- Offline RL Dataset: Replay buffers from DQN agents trained on Atari games (Gulcehre et al., 2020) were used to test performance in offline settings.
Key Insights and Ideas
- Cooperative Optimization: Gi-TD avoids the "greedy" short-sighted updates typical of standard TD. Because future functions influence past ones, the network finds solutions that balance errors across the entire multi-step Bellman chain.
- Synergy with High UTD Regimes: True gradient methods thrive when given more computing power per environment interaction. Gi-TD shows massive performance gains in high Update-to-Data (UTD) regimes—a setting where semi-gradient methods frequently destabilize and diverge.
- Breaking a Historical Barrier: Gi-TD is the first gradient-based TD method to demonstrate competitive learning speeds against state-of-the-art semi-gradient methods on large-scale benchmarks like Atari.
Key Results
- Baird's Counterexample: Gi-TD successfully converges to the true value function (zero error), whereas standard TD and i-TD diverge rapidly.
- Atari (Online Discrete Control): Combined with DQN (Gi-DQN), the algorithm achieves a 20% improvement in Area Under the Curve (AUC) over standard DQN, outperforming both i-DQN and prior gradient methods.
- Offline RL: When paired with Conservative Q-learning (Gi-CQL) in the offline setting, Gi-TD beats standard CQL by a massive margin, doubling its AUC performance.
- MuJoCo (Online Continuous Control): Combined with SAC (Gi-SAC), it remains highly competitive with semi-gradient SAC and significantly outperforms prior gradient-correction baselines like SACRC.
Limitations and Future Work
- Computational Overhead: Computing true gradients and maintaining auxiliary $H$-networks requires more Floating-Point Operations (FLOPs) per step. This translates to slightly longer wall-clock training times, even though the number of required environment interactions remains the same.
- Partial Bound Minimization: While Gi-TD minimizes the value function error propagation bound, it does not account for the mathematical terms related to the agent's exploration strategy.
- Future Directions: Promising extensions include studying weighted coefficients for different Bellman iterations in the sequence, or combining Gi-TD with gradient eligibility traces and distributional reinforcement learning.
Summary updated