On the Rate of Convergence and Error Bounds for LSTD(\(\lambda\))

Manel Tagorti, Bruno ScherrerICML 2015

Introduction

In Reinforcement Learning (RL), the Least-Squares Temporal-Difference (LSTD) algorithm is a foundational method for policy evaluation—estimating the expected return of a specific strategy. LSTD utilizes "eligibility traces," governed by the parameter $\lambda \in [0, 1]$, to bridge the gap between one-step temporal difference learning ($\lambda=0$) and Monte Carlo methods ($\lambda=1$).

While the asymptotic convergence of LSTD($\lambda$) has been well-established, a significant theoretical gap remained: the absence of finite-sample bounds for $\lambda > 0$. Prior to this work, finite-sample guarantees—which quantify how close an estimate is to the true value function given exactly $n$ samples from a Markov chain—existed only for the $\lambda=0$ case. This paper provides the first finite-sample analysis for LSTD($\lambda$) when $\lambda > 0$, mathematically proving that the algorithm converges at a rate of $\tilde{O}(1/\sqrt{n})$ and explicitly characterizing the bias-variance trade-off inherent in the choice of $\lambda$.

Theoretical Framework and Methodology

As a purely theoretical contribution, this work relies on sophisticated mathematical tools to derive its bounds, moving beyond standard independent and identically distributed (i.i.d.) assumptions.

  • $\beta$-mixing Assumption: The analysis assumes data is generated by a Markov chain. The $\beta$-mixing property ensures that states separated by sufficient time steps become approximately independent, a crucial requirement for analyzing RL trajectories.
  • Novel Concentration Inequality: A primary technical contribution is the development of a new vector concentration inequality tailored for infinitely-long trace-based estimates. Because eligibility traces endow the algorithm with a "memory" of all past states, bounding the deviation of these cumulative sums required novel mathematical machinery.
  • Blocking Technique: To manage the statistical dependence between consecutive samples in the Markov chain, the authors employ a blocking method, grouping samples into nearly independent chunks.
  • Deterministic Sensitivity Analysis: The authors analyze the sensitivity of the LSTD solution to small estimation errors in its underlying matrices ($A$ and $b$).

Key Insights: The $\lambda$ Trade-off

The paper formally demonstrates that the eligibility trace parameter $\lambda$ acts as a dial balancing two sources of error:

  1. Approximation Error (Bias): Increasing $\lambda$ toward 1 reduces the bias introduced by using a linear function approximator.
  2. Estimation Error (Variance): Conversely, higher values of $\lambda$ increase the variance caused by looking further into the future, amplifying the noise inherent in finite samples.

Crucially, the analysis reveals that the optimal $\lambda$ is dynamic. As the sample size $n$ approaches infinity, the optimal $\lambda$ shifts toward 1. With abundant data, the algorithm can afford the higher variance of a long-term lookahead to achieve a more accurate projection. Furthermore, even for the previously studied $\lambda=0$ case, this analysis improves upon prior bounds (e.g., Lazaric et al., 2012) by a factor of $4\sqrt{2}$ in the approximation error term. The authors also provide guarantees for a regularized (penalized) version of LSTD($\lambda$), which offers greater stability when the sample size is small relative to the feature dimension.

Main Results

The theoretical derivations culminate in several key guarantees for LSTD($\lambda$):

  • Convergence Rate: The distance between the estimated value function and the true LSTD solution shrinks at a rate of $\tilde{O}(1/\sqrt{n})$.
  • Global Error Bound: The paper establishes a comprehensive formula that bounds the total error by combining the approximation error (how well the linear space captures the true value function) and the estimation error (finite-sample noise).
  • Invertibility Guarantee: The authors define a minimum sample threshold, $n_0$, required to ensure that the empirical LSTD matrix is invertible with high probability—a necessary condition for the algorithm to yield a unique solution.

Limitations and Future Directions

While this paper significantly advances the theoretical understanding of LSTD($\lambda$), several open challenges remain:

  • On-Policy Restriction: The current analysis is limited to the on-policy setting, where the data-generating behavior policy matches the policy being evaluated. Extending these finite-sample bounds to off-policy learning remains a complex hurdle.
  • The Eigenvalue Problem: The derived bounds depend inversely on the smallest eigenvalue of the Gram matrix, $\nu$. If the chosen features are nearly redundant, $\nu$ becomes very small, rendering the bound loose. Developing "$\nu$-free" bounds is an important area for future research.
  • Non-Stationary Policies: The authors suggest that extending this framework to Policy Iteration—where the policy updates and changes over time—would require even more advanced concentration inequalities to handle the non-stationarity.

Summary updated

BibTeX
@inproceedings{tagorti2015rate,
  author = {Manel Tagorti and Bruno Scherrer},
  title = {{On the Rate of Convergence and Error Bounds for LSTD(\textbackslash\{\}(\textbackslash\{\}lambda\textbackslash\{\}))}},
  booktitle = {International Conference on Machine Learning},
  year = {2015},
  url = {https://openreview.net/forum?id=rJEdpqbuWr},
}
Figure