A Multistep Lyapunov Approach for Finite-Time Analysis of Biased Stochastic Approximation

Gang Wang, Bingcong Li, Georgios B. GiannakisarXiv 2019

Introduction

Stochastic Approximation (SA) serves as the foundational mathematical engine for Reinforcement Learning (RL). While traditional analysis has largely focused on asymptotic convergence—guaranteeing that an algorithm will eventually succeed given infinite time—practical applications demand a non-asymptotic, finite-time understanding. We need to know how many samples are required to reach a specific accuracy threshold.

This paper addresses the inherent difficulty of analyzing RL algorithms like TD-learning and Q-learning, where data is typically "biased." Unlike supervised learning, where data points are often independent and identically distributed (i.i.d.), RL agents generate data through interactions with an environment, forming a Markov chain. This dependency introduces a gradient bias that complicates standard convergence proofs, often forcing researchers to rely on artificial constraints like "projection steps" to ensure stability in theoretical models.

The Multistep Lyapunov Framework

The authors introduce a novel Multistep Lyapunov Approach to overcome these hurdles. In classical control theory, a Lyapunov function acts as a measure of "potential energy" within a system; if this energy decreases at every step, the system is stable. However, in the context of biased RL updates, the energy may not decrease monotonically in a single step due to noise and Markovian bias.

The "Multistep" innovation involves constructing a Lyapunov function that aggregates expected future energies over a look-ahead window of $T$ steps. By analyzing the system over this window, the short-term bias inherent in the Markovian process averages out. This framework provides three primary advantages:

  1. Bias Mitigation: It effectively controls the gradient bias arising from the underlying stochastic process.
  2. Algorithmic Integrity: It proves convergence for "vanilla" versions of algorithms, removing the need for artificial projection steps often used in prior proofs.
  3. Noise Robustness: It utilizes a mild "ergodic-like" assumption that encompasses i.i.d. sequences, Markov chains with general mixing rates, and even Ornstein-Uhlenbeck processes.

Key Insights

The Look-Ahead Advantage

The central insight is that while an individual update might be biased, the cumulative effect of a sequence of updates under an ergodic process will eventually align with the correct descent direction. The multistep Lyapunov function mathematically formalizes this averaging effect, allowing for a cleaner analysis of the parameter trajectory.

Two-Phase Convergence

The analysis reveals that biased SA schemes exhibit a distinct two-phase convergence behavior. Initially, the algorithm converges linearly toward a neighborhood of the optimal solution. Once the parameters reach a certain proximity—determined by the stepsize and the noise level—the convergence behavior shifts as the bias becomes the dominant factor, eventually hitting a "steady-state" floor.

Immediate Applicability

Unlike previous theoretical frameworks that required a "warm-up" period for the Markov chain to reach a steady state (mixing), this analysis is valid from the very first iteration ($k=0$). This makes the bounds more practical for real-world scenarios where the initial distribution of the state space is unknown or non-stationary.

Results and Implications

The primary theoretical contribution is Theorem 2, which provides a non-asymptotic bound on the mean-square error (MSE). The results show that the error decreases at a linear rate until it reaches a floor proportional to the constant stepsize $\epsilon$.

Crucially, this bound improves upon the state-of-the-art for linear SA with Markovian noise by a constant factor related to the mixing time $\tau$. In this framework, the steady-state error term vanishes as the stepsize $\epsilon \to 0$, a significant improvement over previous bounds where the error often remained tied to the mixing time regardless of how small the stepsize was.

The authors successfully apply this framework to TD(0) and Q-learning with linear function approximation. Furthermore, they demonstrate that the theorem holds for certain nonlinear function approximators, provided they satisfy specific global Lipschitz conditions.

Limitations and Future Directions

While the paper provides a robust framework for constant stepsizes—which are common for tracking in non-stationary environments—future work is needed to extend these results to diminishing stepsizes (e.g., $1/k$). Additionally, while the current focus is on TD and Q-learning, the multistep Lyapunov approach is potentially applicable to a wider array of RL algorithms, including SARSA and distributed RL settings. Finally, extending the analysis to cover broader classes of deep neural networks—beyond those satisfying global Lipschitz conditions—remains an open challenge.

Summary updated

BibTeX
@misc{wang2019multistep,
  author = {Gang Wang and Bingcong Li and Georgios B. Giannakis},
  title = {{A Multistep Lyapunov Approach for Finite-Time Analysis of Biased Stochastic Approximation}},
  year = {2019},
  eprint = {1909.04299},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.04299},
}
Figure