Stochastic Approximation with Delayed Updates: Finite-Time Rates under Markovian Sampling

Arman Adibi, Nicolò Dal Fabbro, Luca Schenato, Sanjeev R. Kulkarni, H. Vincent Poor, George J. Pappas, Hamed Hassani, Aritra Mitra

Abstract

Motivated by applications in large-scale and multi-agent reinforcement learning, we study the non-asymptotic performance of stochastic approximation (SA) schemes with delayed updates under Markovian sampling. While the effect of delays has been extensively studied for optimization, the manner in which they interact with the underlying Markov process to shape the finite-time performance of SA remains poorly understood. In this context, our first main contribution is to show that under time-varying bounded delays, the delayed SA update rule guarantees exponentially fast convergence of the last iterate to a ball around the SA operator’s fixed point. Notably, our bound is tight in its dependence on both the maximum delay $\tau_{max}$, and the mixing time $\tau_{mix}$. To achieve this tight bound, we develop a novel inductive proof technique that, unlike various existing delayed-optimization analyses, relies on establishing uniform boundedness of the iterates. Next, to mitigate the impact of the maximum delay on the convergence rate, we provide the first finite-time analysis of a delay-adaptive SA scheme under Markovian sampling. In particular, we show that the exponent of convergence of this scheme gets scaled down by $\tau_{avg}$, as opposed to $\tau_{max}$ for the vanilla delayed SA rule; here, $\tau_{avg}$ denotes the average delay across all iterations. Moreover, the adaptive scheme requires no prior knowledge of the delay sequence for step-size tuning. Our theoretical findings shed light on the finite-time effects of delays for a broad class of algorithms, including TD learning, Q-learning, and stochastic gradient descent under Markovian sampling.

Introduction: The Challenge of Delayed Markovian Data

Stochastic Approximation (SA) is a fundamental framework for finding fixed points of operators, underpinning essential algorithms in Reinforcement Learning (RL) like TD-learning and Q-learning. In modern distributed systems, two significant challenges often arise simultaneously: delays due to communication lags and Markovian sampling, where data is temporally correlated rather than independent.

While delays are well-studied in i.i.d. optimization, their interaction with the mixing time of a Markov process is less understood. This paper bridges this gap by providing a comprehensive finite-time analysis of SA algorithms under both conditions, establishing tight convergence bounds and introducing a robust "delay-adaptive" algorithm.

Methodology

The authors analyze two primary schemes:

  1. Vanilla Delayed SA: A standard update rule where the operator is evaluated at a previous iterate $\theta_{t-\tau_t}$. The authors prove exponential convergence to a "noise ball" around the true solution.
  2. Delay-Adaptive SA: A novel scheme that performs updates selectively. It only updates if the "staleness" (the distance between current and delayed iterates) is below a threshold $\epsilon$.

A key contribution is a novel inductive proof technique used to establish the uniform boundedness of iterates. Unlike standard analyses that rely on projection steps or error-feedback frameworks, this approach treats delays and Markovian noise as bounded perturbations, simplifying the analysis while maintaining tight bounds.

Key Insights

  • The "Slow Mixing" Buffer: If a Markov chain mixes slowly ($\tau_{mix} > \tau_{max}$), the impact of delays is effectively absorbed by the natural noise of the process, making the algorithm naturally robust.
  • Average vs. Maximum Delay: Standard algorithms are limited by the maximum delay ($\tau_{max}$), requiring conservative step sizes. The proposed Delay-Adaptive SA scales with the average delay ($\tau_{avg}$), enabling faster convergence when delays are typically small but occasionally spike.
  • Tightness: The bounds match the best theoretical rates for both non-delayed Markovian cases and delayed i.i.d. cases.

Key Results

The theoretical analysis demonstrates that both vanilla and adaptive schemes guarantee exponential error reduction until reaching a noise floor determined by sample variance.

Comparison of convergence bounds for different delayed SA algorithms.

As shown in the table above, for constant delays $\tau$, the convergence rate scales inversely with $\max\{\tau, \tau_{mix}\}$. The Delay-Adaptive scheme offers a significant advantage by scaling with $\tau_{avg}$ and requiring no prior knowledge of the delay sequence for step-size tuning. Simulations on a TD(0) learning task (20 states, 10 features) confirm these findings, showing that the adaptive approach achieves a tighter noise ball than the vanilla approach under the same step size.

Limitations and Future Work

While providing a strong theoretical foundation, the work currently focuses on strongly monotonic operators, which covers linear SA (like TD learning) but not the non-convex landscapes of Deep RL. Additionally, the analysis is restricted to the single-agent case. Future research aims to extend these results to asynchronous multi-agent RL and to exploit specific delay distributions (e.g., Poisson) to further sharpen convergence bounds.

Summary updated

BibTeX
@inproceedings{adibi2024stochastic,
  author = {Arman Adibi and Nicolò Dal Fabbro and Luca Schenato and Sanjeev R. Kulkarni and H. Vincent Poor and George J. Pappas and Hamed Hassani and Aritra Mitra},
  title = {{Stochastic Approximation with Delayed Updates: Finite-Time Rates under Markovian Sampling}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=s5g7QztAGf},
}
Figure