Abstract
Two-timescale stochastic approximation (TTSA) is a foundational framework for iterative stochastic algorithms, spanning stochastic optimization (SGD variants, bilevel, minimax) and reinforcement learning (GTD algorithms). This paper presents an in-depth asymptotic analysis of TTSA under controlled Markovian noise using the Central Limit Theorem (CLT). We uncover the coupled dynamics of TTSA influenced by underlying Markov chains—a scenario not covered by previous CLT results limited to Martingale difference noise. Our findings extend the application of efficient sampling strategies to the TTSA context and reveal that popular RL algorithms like GTD2 and TDC are asymptotically identical.
Introduction: The Challenge of Markovian Noise
Modern AI often requires solving coupled problems simultaneously at different speeds. This Two-Timescale Stochastic Approximation (TTSA) framework is central to Actor-Critic methods in Reinforcement Learning (RL), GANs, and bilevel optimization. While the behavior of these algorithms under independent (Martingale difference) noise is well-understood, real-world data is frequently Markovian. For instance, an RL agent's states are sequentially dependent, and distributed learning often involves tokens traversing a graph.
Previous research has primarily focused on finite-time bounds, which often fail to capture the precise statistical distribution of errors in the long run. This work addresses this gap by establishing the first CLT for TTSA under controlled Markovian noise, accounting for local Lipschitz continuity and nonlinearities.
Methodology
The analysis employs several advanced mathematical techniques to handle the complexities of coupled timescales and dependent noise:
- Poisson Equation Decomposition: To manage the bias from Markovian noise, the authors use the Poisson equation to split the noise into a Martingale component and a vanishing residual.
- Single-Timescale Reduction: The authors demonstrate that the fast-moving variable eventually "tracks" a function of the slow-moving variable, allowing the system to be analyzed as a single-timescale process.
- Lyapunov Equations: Limiting covariance matrices ($V_x$ and $V_y$) are derived by solving Lyapunov equations, providing a precise description of the error distribution.
- Efficiency Ordering: By applying MCMC theory, the paper proves that superior sampling strategies (e.g., non-backtracking walks) directly translate to lower asymptotic variance in the TTSA framework.
Key Insights
- Asymptotic Independence: A significant finding is that slow and fast iterates become asymptotically independent. Their cross-covariance vanishes, meaning long-term errors in one process do not degrade the other.
- Universality of Sampling Efficiency: The paper establishes that if a sampling strategy is more efficient for a single variable, that advantage persists in the full TTSA system. This justifies the use of advanced sampling in complex optimization tasks.
- Unifying RL Algorithms: The analysis proves that the GTD2 and TDC algorithms in RL are asymptotically identical. Despite being viewed as distinct, they converge to the same Gaussian distribution with identical covariance, suggesting their long-term stability characteristics are equivalent.
Key Results and Empirical Validation
The theoretical CLT proves that $\frac{1}{\sqrt{\beta_n}}(x_n - x^*)$ converges to a normal distribution $N(0, V_x)$. This provides a rigorous framework for calculating asymptotic variance under Markovian noise.
Empirical tests on the a9a dataset, wikiVote graph, and a 5-state random walk benchmark confirmed these findings:
- Distributed Learning: On the wikiVote graph, the Non-Backtracking Random Walk (NBRW) consistently outperformed the Simple Random Walk (SRW) in terms of Mean Squared Error (MSE).
- Shuffling: Data shuffling (sampling without replacement) was confirmed to yield zero limiting covariance, outperforming standard i.i.d. sampling even in complex two-timescale settings.
- RL Verification: Experimental error distributions for GTD2 and TDC perfectly matched the theoretical Gaussian predictions.
Limitations and Future Directions
While this work provides a significant theoretical advancement, some challenges remain:
- State Space Constraints: The current theory assumes a finite state space for Markovian noise. Extending this to continuous spaces is a key area for future research.
- Step Size Dynamics: The results are based on polynomial decay rates. Investigating adaptive or constant step sizes would bridge the gap further with practical implementations.
- Convergence Speed: While the CLT describes the limit, finite-time analysis remains necessary to understand the transient behavior and how quickly the algorithm reaches its asymptotic state.
Summary updated