A Non-asymptotic Analysis of Non-parametric Temporal-Difference Learning

Eloïse Berthier, Ziad Kobeissi, Francis R. BachNeurIPS 2022

Temporal-difference (TD) learning is a foundational algorithm for policy evaluation in reinforcement learning (RL). However, its theoretical properties—particularly when combined with complex function approximators—have historically been difficult to pin down. This paper provides a rigorous theoretical foundation for non-parametric TD learning, offering the first non-asymptotic convergence analysis using Reproducing Kernel Hilbert Spaces (RKHS). The authors prove that with proper regularization and averaging, the algorithm converges to the optimal value function at explicit rates, even when that function lies outside the chosen kernel space.

The Challenge of the "Deadly Triad"

In RL, policy evaluation involves estimating the expected cumulative reward a given strategy will generate. TD learning is the standard approach for this task, but it is notoriously difficult to analyze mathematically due to the "deadly triad":

  1. Bootstrapping: The algorithm updates its estimates based on its own previous, potentially inaccurate, estimates.
  2. Function Approximation: Using models (like neural networks or kernels) to represent the value function instead of a simple tabular lookup.
  3. Off-policy Sampling: Learning from data not generated by the current policy.

When these three elements are combined, TD learning can diverge or become highly unstable. While "tabular" TD and "linear" TD are well-understood, non-parametric methods—which adapt their complexity to the data—have lacked clear convergence rates, especially when observations are correlated (Markovian). Although this paper focuses on the on-policy setting (bypassing the third element of the triad), it tackles the complex intersection of bootstrapping, non-parametric function approximation, and correlated data.

Regularized Non-parametric TD(0) in RKHS

To analyze this setting, the authors study regularized non-parametric TD(0). Instead of relying on a fixed set of parameters, they represent the value function as an element of an RKHS. This allows for non-linear approximation while preserving the tractable mathematical properties of linear systems.

Key components of their theoretical framework include:

  • Regularization ($\lambda$): A small penalty term is added to the update rule to prevent the model from becoming overly complex too quickly. This is crucial for stabilizing the bootstrapping process.
  • Averaging: The authors employ Polyak-Ruppert averaging (averaging all past estimates) or exponential averaging to smooth out the noise inherent in stochastic updates.
  • Source Condition ($\theta$): A mathematical assumption that quantifies the "smoothness" of the true value function relative to the chosen kernel. This condition is the linchpin for proving convergence even when the true function cannot be perfectly represented within the RKHS.
  • Sampling Settings: The algorithm is analyzed under both independent (i.i.d.) sampling and Markovian sampling (where each state depends on the previous one), the latter being the realistic setting for RL.

Key Findings and Theoretical Results

The paper bridges the gap between simple linear models and complex neural networks. By proving convergence in the RKHS setting, the authors provide theoretical justification for using kernels as "universal approximators" in RL.

Explicit Convergence Rates

The authors derive explicit, non-asymptotic rates of convergence. For i.i.d. samples, the error decays at a rate of $O(n^{-\frac{1+\theta}{2+\theta}})$. For instance, if the target function is perfectly contained within the RKHS ($\theta=0$), the error drops at a rate of roughly $n^{-1/2}$. Crucially, the convergence rate is explicitly tied to the smoothness of the target function: smoother targets relative to the kernel yield faster convergence.

Stability Under Markovian Sampling

In the correlated (Markovian) setting, the authors prove that the algorithm achieves similar convergence rates. This demonstrates that the correlation inherent in RL data does not break the algorithm; it merely slows it down by a logarithmic factor related to the environment's "mixing time." This proves that the bootstrapping and function approximation elements of the deadly triad can be tamed in the non-parametric case through regularization and projection.

Empirical Validation

As a theoretical paper, the authors evaluate their findings on a synthetic continuous-state Markov Reward Process (MRP) defined on a circle (torus). They use Sobolev kernels (splines) of varying orders ($s=1$ and $s=2$) to test how kernel regularity interacts with the reward function. The numerical experiments confirmed that the empirically observed rate of error decay closely matched the theoretical slopes predicted by their theorems (e.g., an observed rate of -0.72 versus a predicted rate of -0.6).

Limitations and Future Directions

While this paper marks a significant step forward, several open questions remain:

  • Off-Policy Learning: The analysis is restricted to on-policy learning. Addressing the full "deadly triad" by incorporating off-policy sampling remains a major theoretical challenge in the non-parametric setting.
  • Projection Step Necessity: The proof for Markovian samples relies on a "projection step" to keep the function within a bounded radius. The authors suspect this may be an artifact of the proof technique rather than a strict practical requirement.
  • Minimax Optimality: Although explicit rates are provided, it is not yet proven whether these are the fastest possible (minimax optimal) rates for this specific problem.
  • Extension to TD($\lambda$): The current work focuses on TD(0). Extending this analysis to TD($\lambda$), which incorporates multi-step returns, is a natural and valuable next step for future research.

Summary updated

BibTeX
@inproceedings{berthier2022non,
  author = {Eloïse Berthier and Ziad Kobeissi and Francis R. Bach},
  title = {{A Non-asymptotic Analysis of Non-parametric Temporal-Difference Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=pk3VKmDQiX},
}
Figure