Reanalysis of Variance Reduced Temporal Difference Learning

Tengyu Xu, Zhe Wang, Yi Zhou, Yingbin Liang

Introduction

Temporal Difference (TD) learning is a cornerstone of reinforcement learning policy evaluation. However, its high variance often necessitates small stepsizes, leading to slow convergence. While Variance Reduced TD (VRTD) was proposed to mitigate this, its original theoretical foundations contained significant errors. This paper provides a rigorous reanalysis, proving that VRTD achieves linear convergence and superior computational complexity, particularly in Markovian environments.

Methodology: The VRTD Framework

The authors analyze two variants of VRTD: one for i.i.d. sampling and another for Markovian sampling from a single trajectory.

VRTD Algorithms for i.i.d. (left) and Markovian (right) sampling.

The core mechanism involves a nested loop structure similar to the SVRG algorithm in traditional optimization:

  • Outer Loop: Periodically computes a stable "batch pseudo-gradient" using $M$ samples to act as a stable anchor.
  • Inner Loop: Executes $M$ rapid updates. Instead of using a noisy new sample alone, it centers the stochastic gradient using the outer loop's anchor to cancel out inherent noise.

Theoretical Insights

The paper corrects previous claims of exact convergence, showing instead that VRTD converges to a neighborhood of the solution due to non-vanishing batch variance. A key "aha moment" in the research is the discovery of bias reduction in Markov chains. In Markovian sampling, samples are correlated, which introduces bias. The authors found that batch averaging in VRTD effectively "breaks" this correlation between different epochs, significantly reducing bias error compared to vanilla TD.

Key Results and Complexity Analysis

Theoretical findings were validated across synthetic MDPs, Frozen Lake, and Mountain Car environments. VRTD consistently demonstrated faster convergence and lower error floors than vanilla TD, even when the latter used decaying stepsizes.

Comparison of computational complexity and error bounds between TD and VRTD.

As shown in the table above, VRTD improves computational complexity by a factor of $\log(1/\epsilon)$ in Markovian settings. This means as the demand for higher accuracy (smaller $\epsilon$) increases, VRTD becomes exponentially more efficient than vanilla TD. VRTD is particularly superior when the problem's condition number is small.

Limitations and Future Work

While VRTD offers significant advantages, its benefits are sensitive to the problem's condition number; ill-conditioned systems may see less dramatic gains. Additionally, the current analysis is restricted to linear function approximation. Extending these rigorous proofs to non-linear architectures, such as Deep Neural Networks, remains a primary challenge for future research. Finally, VRTD introduces the batch size $M$ as a new hyperparameter, which requires tuning based on the system's mixing time.

Summary updated

BibTeX
@inproceedings{xu2020reanalysis,
  author = {Tengyu Xu and Zhe Wang and Yi Zhou and Yingbin Liang},
  title = {{Reanalysis of Variance Reduced Temporal Difference Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=8cUqu2f5Xx},
}
Figure