Proximal Gradient Temporal Difference Learning: Stable Reinforcement Learning with Polynomial Sample Complexity

Bo Liu, Ian Gemp, Mohammad Ghavamzadeh, Ji Liu, Sridhar Mahadevan, Marek Petrik

Abstract

Off-policy reinforcement learning is a powerful paradigm but suffers from inherent instabilities when combined with function approximation. While Gradient Temporal Difference (GTD) methods were developed to address this, their convergence properties remained poorly understood in finite-sample regimes. This work reformulates GTD learning as a primal-dual saddle-point problem, providing a principled optimization framework. This perspective enables the derivation of the first finite-sample convergence bounds for GTD algorithms and the introduction of GTD2-MP, an accelerated variant based on the Stochastic Mirror-Prox algorithm. Empirical results across several benchmarks, including high-dimensional control tasks, demonstrate that GTD2-MP offers superior stability, faster convergence, and reduced sensitivity to hyperparameters compared to standard methods.

Introduction

Reinforcement Learning (RL) agents frequently encounter the challenge of off-policy learning—learning a target policy while following a different behavior policy. While essential for exploration and data efficiency, off-policy learning with function approximation is notoriously unstable, often leading to divergence in classic algorithms like Temporal Difference (TD) learning. Gradient TD (GTD) methods were introduced to mitigate this, yet they lacked a rigorous foundation in stochastic optimization due to the presence of products of expectations in their gradients. Consequently, while asymptotic convergence was known, the finite-sample complexity of these methods remained an open question.

Methodology: The Saddle-Point Formulation

The core contribution of this work is the re-imagining of the Mean-Square Projected Bellman Error (MSPBE) objective as a convex-concave saddle-point problem. By introducing an auxiliary dual variable $y$, the minimization of the MSPBE over parameters $\theta$ is transformed into a min-max game:

$$\min_\theta \max_y L(\theta, y)$$

This primal-dual formulation reveals that the previously "ad-hoc" updates in GTD algorithms are, in fact, principled stochastic gradient steps in a higher-dimensional space. This theoretical shift allows the application of modern convex optimization tools to analyze and improve RL algorithms. The analyzed "Revised GTD" incorporates projections onto bounded sets to ensure parameter stability, providing a mathematical safety net often missing in standard implementations. Unlike Least-Squares TD (LSTD), which has a computational cost that grows quadratically with the number of features ($d^2$), GTD methods maintain linear complexity ($O(d)$), making them highly scalable for high-dimensional tasks.

Accelerated Learning with GTD2-MP

Building on the saddle-point framework, the authors introduce GTD2-MP, which utilizes the Stochastic Mirror-Prox algorithm. Unlike standard gradient descent, Mirror-Prox is an "extra-gradient" method that incorporates a look-ahead step. This step stabilizes the optimization trajectory toward the saddle point, effectively accelerating convergence.

Theoretical analysis proves that these proximal gradient methods achieve polynomial sample complexity. Depending on specific assumptions, they converge at rates of $O(d/n^{1/4})$ or $O(1/\sqrt{n})$, providing the first rigorous guarantees on the number of samples required to reach a desired accuracy level.

Experimental Evaluation

The proposed methods were evaluated across four diverse benchmarks to test stability, robustness, and performance:

  • Baird’s Counterexample: A classic stress test for off-policy stability. GTD2-MP significantly reduced both MSPBE and variance compared to standard GTD2.
  • 50-State Chain: In this MDP, GTD2-MP demonstrated remarkable robustness to the choice of learning rate ($\alpha$), outperforming standard GTD which showed high sensitivity to hyperparameter tuning.
  • Energy Management (Battery) Domain: In a complex energy arbitrage task involving degrading battery capacity, GTD2-MP achieved a Mean Square Bellman Error (MSBE) of 41.028, a substantial improvement over the 111.19 achieved by standard GTD2.
  • Bicycle Balancing and Riding: In this high-dimensional control task, the accelerated variants reached superior steady-state solutions compared to both standard TD and original GTD algorithms.

Conclusion and Future Work

By bridging the gap between reinforcement learning and primal-dual optimization, this work provides both a solid theoretical foundation and a practical, high-performance algorithm for off-policy learning. The linear computational complexity of GTD methods, combined with the stability and speed of the Mirror-Prox approach, makes these algorithms highly suitable for large-scale RL applications.

Future research directions include extending these finite-sample bounds to non-linear function approximations (such as neural networks) and addressing the gap between i.i.d. sampling assumptions and the Markovian nature of real-world RL trajectories. Additionally, analyzing the finite-sample complexity of the popular "TD with Correction" (TDC) algorithm remains an important open challenge.

Summary updated

BibTeX
@article{liu2018proximal,
  author = {Bo Liu and Ian Gemp and Mohammad Ghavamzadeh and Ji Liu and Sridhar Mahadevan and Marek Petrik},
  title = {{Proximal Gradient Temporal Difference Learning: Stable Reinforcement Learning with Polynomial Sample Complexity}},
  journal = {J. Artif. Intell. Res.},
  year = {2018},
  doi = {10.1613/jair.1.11251},
}
Figure