Skip to main content
QUICK REVIEW

[Paper Review] Sample Complexity Bounds for Two Timescale Value-based Reinforcement Learning Algorithms

Tengyu Xu, Yingbin Liang|arXiv (Cornell University)|Nov 10, 2020
Reinforcement Learning in RoboticsComputer Science6 citations
TL;DR

This paper provides the first non-asymptotic convergence analysis for two timescale value-based reinforcement learning algorithms—linear and nonlinear TDC, and Greedy-GQ—under Markovian sampling with constant stepsizes. It establishes optimal sample complexity of $\mathcal{O}(\epsilon^{-1}\log(1/\epsilon))$ for linear TDC and $\mathcal{O}(\epsilon^{-2})$ for nonlinear TDC and Greedy-GQ, significantly improving prior results and offering practical finite-sample guarantees for widely used RL algorithms.

ABSTRACT

Two timescale stochastic approximation (SA) has been widely used in value-based reinforcement learning algorithms. In the policy evaluation setting, it can model the linear and nonlinear temporal difference learning with gradient correction (TDC) algorithms as linear SA and nonlinear SA, respectively. In the policy optimization setting, two timescale nonlinear SA can also model the greedy gradient-Q (Greedy-GQ) algorithm. In previous studies, the non-asymptotic analysis of linear TDC and Greedy-GQ has been studied in the Markovian setting, with diminishing or accuracy-dependent stepsize. For the nonlinear TDC algorithm, only the asymptotic convergence has been established. In this paper, we study the non-asymptotic convergence rate of two timescale linear and nonlinear TDC and Greedy-GQ under Markovian sampling and with accuracy-independent constant stepsize. For linear TDC, we provide a novel non-asymptotic analysis and show that it attains an $\\epsilon$-accurate solution with the optimal sample complexity of $\\mathcal{O}(\\epsilon^{-1}\\log(1/\\epsilon))$ under a constant stepsize. For nonlinear TDC and Greedy-GQ, we show that both algorithms attain $\\epsilon$-accurate stationary solution with sample complexity $\\mathcal{O}(\\epsilon^{-2})$. It is the first non-asymptotic convergence result established for nonlinear TDC under Markovian sampling and our result for Greedy-GQ outperforms the previous result orderwisely by a factor of $\\mathcal{O}(\\epsilon^{-1}\\log(1/\\epsilon))$.

Motivation & Objective

  • To close the gap in non-asymptotic convergence analysis for two timescale value-based RL under constant stepsizes, which are standard in practice but lack finite-sample guarantees.
  • To provide the first non-asymptotic convergence rate for nonlinear TDC under Markovian sampling, a setting where only asymptotic convergence was previously known.
  • To improve the sample complexity of Greedy-GQ beyond prior results, achieving $\mathcal{O}(\epsilon^{-2})$ under constant stepsizes.
  • To unify the analysis of linear and nonlinear two timescale stochastic approximation (SA) for policy evaluation and optimization problems in RL.

Proposed method

  • Develops a novel non-asymptotic analysis framework for two timescale stochastic approximation (SA) under Markovian sampling with constant stepsizes.
  • Uses Lyapunov function techniques and recursive inequalities to bound the expected squared error of the iterates from the optimal solution.
  • Establishes convergence rates by carefully analyzing the interplay between the fast and slow timescales, particularly the error propagation from the fast variable to the slow variable.
  • Introduces a key inequality (eq. 59) that bounds the cumulative error in the slow variable using the fast variable's tracking error and gradient norms.
  • Imposes minimal assumptions—no global stability or local linearization conditions—enabling broader applicability to nonlinear function approximation.
  • Derives sample complexity bounds by relating the number of iterations $T$ to the desired accuracy $\epsilon$, using the average gradient norm as a convergence metric.

Experimental results

Research questions

  • RQ1What is the non-asymptotic sample complexity of linear TDC with a constant stepsize under Markovian sampling?
  • RQ2Can a non-asymptotic convergence rate be established for nonlinear TDC under Markovian sampling with constant stepsizes, given the absence of prior finite-sample analysis?
  • RQ3How does the sample complexity of Greedy-GQ with constant stepsizes compare to previous results under diminishing or $\epsilon$-dependent stepsizes?
  • RQ4Can the analysis be extended to nonlinear two timescale SA without restrictive assumptions such as local linearization or global stability?
  • RQ5What is the optimal trade-off between stepsize choice and convergence rate in two timescale RL algorithms under practical sampling conditions?

Key findings

  • The linear TDC algorithm achieves an $\epsilon$-accurate solution with sample complexity $\mathcal{O}(\epsilon^{-1}\log(1/\epsilon))$ under constant stepsizes, which is optimal.
  • For nonlinear TDC, the first non-asymptotic convergence result under Markovian sampling is established, with sample complexity $\mathcal{O}(\epsilon^{-2})$.
  • The Greedy-GQ algorithm achieves a sample complexity of $\mathcal{O}(\epsilon^{-2})$ under constant stepsizes, outperforming previous results by a factor of $\mathcal{O}(\epsilon^{-1}\log(1/\epsilon))$.
  • The analysis holds without restrictive assumptions such as local linearization or global stability, making it applicable to general nonlinear function approximation.
  • The convergence rate is derived using a constant stepsize, which is practical and commonly used in real-world RL applications.
  • The derived bounds are tight and match the theoretical lower bounds for non-convex stochastic optimization under Markovian sampling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.