Multi Timescale Stochastic Approximation: Stability and Convergence

Rohan Deb, Swetha Ganesh, Shalabh Bhatnagar

TL;DR

This paper provides the first general theoretical framework establishing sufficient conditions for the stability and almost sure convergence of multi-timescale ($N$-timescale) stochastic approximation algorithms for any $N \geq 1$. By extending the classic ordinary differential equation (ODE) method, the authors eliminate the need for artificial projection steps or ad-hoc bounds in complex, nested reinforcement learning algorithms, proving that momentum-augmented and constrained actor-critic methods are mathematically guaranteed to converge.

What Problem Does This Paper Address?

Stochastic Approximation (SA) is a foundational mathematical framework used to find the roots of an unknown function when we only have access to noisy observations. It underpins much of modern reinforcement learning (RL). Often, optimization problems involve nested loops—for instance, an "actor" updates a policy in an outer loop while a "critic" evaluates that policy in an inner loop.

In stochastic algorithms, these nested loops are elegantly simulated using different step-size schedules (timescales). A faster timescale allows one variable to quickly equilibrate, while a slower timescale treats it as "quasi-static."

While the math for one-timescale and two-timescale systems is well-understood, many modern RL algorithms require three or more timescales. Examples include actor-critic methods that use an additional baseline learner, algorithms accelerated with heavy-ball momentum, or constrained optimization problems using Lagrangian dual variables. Prior to this paper, there were no general verification conditions to guarantee the stability and convergence of algorithms operating across $N > 2$ timescales, forcing researchers to rely on artificial projection steps to keep their algorithms from blowing up.

Methods

The authors generalize the Ordinary Differential Equation (ODE) method—specifically expanding on the Benaïm-Borkar framework—to analyze $N$-timescale stochastic recursions.

Their approach splits the proof into two main parts:

  1. A Recursive Scaling Argument for Stability: To prove that the algorithm's parameters stay bounded (stable) without using artificial projection boundaries, they analyze a rescaled version of the iterates. They show that if the iterates grow too large, the limiting ODE naturally forces them to contract back toward the origin.
  2. Hierarchical Convergence Analysis: Once stability is guaranteed, they cascade down the timescales. They prove that the fastest timescale tracks a moving equilibrium determined by the slower variables, which can be treated as frozen parameters. This induction continues down to the slowest timescale, which ultimately converges to the final desired fixed point.

The authors validate their theory by mapping three distinct, complex RL architectures onto their framework: Gradient Temporal Difference (GTD2/TDC) learning with heavy-ball momentum, off-policy actor-critic with a baseline, and constrained average-reward actor-critic.

Datasets

The paper evaluates the practical performance of the multi-timescale algorithms using two classic reinforcement learning benchmark environments:

  • 5-State Random Walk: A standard Markov Decision Process (MDP) used to evaluate policy evaluation algorithms.
  • 7-State Boyan Chain: A well-known benchmark specifically designed to test the quality of linear function approximation in temporal difference learning.

Key Insights and Ideas

  • The "Quasi-Static" Cascade: The core intuition is that from the perspective of any intermediate timescale $l$, all faster timescales ($< l$) have already reached their equilibrium ("equilibrated"), while all slower timescales ($> l$) move so slowly that they appear completely frozen ("quasi-static").
  • Ditch the Projections: Historically, proving the convergence of complex actor-critic methods required adding a "projection step" to manually bound the actor's parameters. This paper proves that the intrinsic dynamics of properly tuned multi-timescale systems are self-stabilizing, allowing engineers to safely eliminate these restrictive projection steps.
  • Momentum as a Timescale: Adding heavy-ball momentum to an algorithm introduces an auxiliary state that tracks smoothed estimates. The authors show this naturally creates an intermediate timescale, transforming standard 2-timescale RL algorithms into stable 3- or 4-timescale systems.

Key Results

  • Universal Stability & Convergence Theorems: The paper delivers Theorems 1 through 4, providing a complete recipe of verifiable conditions (Lipschitz continuity, step-size hierarchies, and globally asymptotically stable equilibria for the associated ODEs) to guarantee $N$-timescale convergence.
  • Empirical Momentum Acceleration: When tested on the 5-State Random Walk and Boyan Chain, the 3-timescale and 4-timescale momentum-augmented GTD2 and TDC algorithms consistently outperformed their vanilla 2-timescale counterparts, minimizing the Root Mean Square Projected Bellman Error (RMSPBE) significantly faster.

Limitations and Future Work

  • Restrictive Noise Assumptions: The current proofs assume martingale difference noise or i.i.d. sampling. In real-world RL, data is collected sequentially along a trajectory, introducing Markov noise. Extending these multi-timescale stability proofs to general, iterate-dependent Markov noise remains an open challenge.
  • Asymptotic vs. Finite-Time Analysis: The paper proves almost sure convergence (what happens as time goes to infinity). It does not provide finite-time error bounds or sample complexity analysis, which are crucial for understanding exactly how fast these algorithms converge in practice.
  • Step-Size Constraints: The theoretical proofs require square-summable step sizes, which can empirically slow down learning rates. Exploring non-square-summable step sizes within this framework is highlighted as a valuable future direction.

Summary updated

BibTeX
@misc{deb2021multi,
  author = {Rohan Deb and Swetha Ganesh and Shalabh Bhatnagar},
  title = {{Multi Timescale Stochastic Approximation: Stability and Convergence}},
  year = {2021},
  eprint = {2112.03515},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.03515},
}
Figure