Statistical inference for Linear Stochastic Approximation with Markovian Noise

Sergey Samsonov, Marina Sheshukova, Eric Moulines, Alexey Naumov

NeurIPS 2025 · OpenReview

Versions

Introduction

Stochastic Approximation (SA) serves as the foundational mathematical framework for many Reinforcement Learning (RL) algorithms, including Q-learning and Temporal Difference (TD) learning. While the asymptotic convergence of these algorithms is well-established, a critical challenge remains for practitioners: quantifying the uncertainty of the results. Constructing reliable confidence intervals is essential for understanding the precision of learned policies. However, traditional statistical inference often relies on the assumption of Independent and Identically Distributed (i.i.d.) noise. In real-world RL scenarios, the noise is inherently dependent, typically following a Markovian structure. This paper addresses this gap by providing the first non-asymptotic guarantees for constructing confidence intervals in Linear Stochastic Approximation (LSA) under Markovian noise.

The Challenge of Dependent Noise

In standard SA theory, the "noise" or innovation term is often treated as a sequence of independent random variables. In RL, the data is generated by an agent interacting with an environment, meaning the current state and subsequent noise depend on previous states. This Markovian dependency complicates the application of the Central Limit Theorem (CLT), which is the basis for Gaussian-based confidence intervals.

The authors identify two primary hurdles:

  1. Convergence Rates: Determining how quickly the distribution of the algorithm's error approaches a Normal distribution in the presence of dependency.
  2. Reliable Inference: Developing resampling techniques, such as the bootstrap, that can accurately estimate uncertainty without requiring explicit knowledge of the underlying Markovian transition structure.

Methodology: Averaging and Decomposition

The study focuses on Linear Stochastic Approximation (LSA) combined with Polyak–Ruppert (PR) averaging. PR averaging involves taking the mean of the iterates produced by the SA algorithm, a technique known to improve stability and accelerate convergence.

To analyze the impact of Markovian noise, the researchers utilize several advanced mathematical frameworks:

  • Poisson Decomposition: This technique allows the decomposition of Markovian noise into a martingale difference sequence and a negligible remainder term, facilitating the application of martingale theory.
  • Berry–Esseen Bounds: The authors derive non-asymptotic Berry–Esseen-type bounds to measure the distance between the distribution of the averaged iterates and a Gaussian distribution at any finite sample size $n$.
  • Multiplier Subsample Bootstrap (MSB): To perform inference, the paper introduces a block-based bootstrap method. By resampling blocks of data rather than individual points, the MSB preserves the local temporal correlations inherent in Markovian processes.

Key Theoretical Insights

The paper provides several landmark results for the RL community:

Gaussian Convergence Rate

The authors prove that the error distribution of LSA with PR averaging converges to a Gaussian distribution at a rate of $O(n^{-1/4})$, up to logarithmic factors. This result is significant as it matches the best-known rates for specific algorithms like TD learning while providing a generalized framework for the broader class of LSA problems.

Validity of the Bootstrap

A major contribution of this work is the first non-asymptotic proof of the validity of bootstrap-based confidence intervals for SA under Markovian noise. The analysis shows that the coverage probability error—the difference between the intended confidence level and the actual probability that the interval contains the true value—scales as $O(n^{-1/10})$.

Optimization of Hyperparameters

The analysis highlights a trade-off in selecting the algorithm's step size ($\gamma$). While certain step sizes might minimize the mean-squared error, the researchers found that a specific choice ($\gamma = 3/4$) is optimal for ensuring the distribution converges quickly to a Normal distribution, which is crucial for accurate inference.

Empirical Validation

The theoretical findings were validated using the Garnet (Generalized Adaptive Retrieval Network) problem, a standard synthetic benchmark for RL. By simulating abstract Markov Decision Processes (MDPs), the authors tested the "coverage probability" of their confidence intervals. In these experiments, the proposed bootstrap method achieved a coverage of approximately 94.2% for a target 95% confidence interval at large $n$, demonstrating the practical reliability of the theoretical bounds.

Conclusion and Future Work

This research provides a rigorous foundation for uncertainty quantification in RL. By establishing non-asymptotic bounds for LSA with Markovian noise, it moves the field closer to providing "safety guarantees" for learned agents.

However, several avenues for future research remain. The current analysis is limited to one-dimensional projections of the error and focuses strictly on linear approximation. Extending these results to high-dimensional vectors and non-linear function approximators, such as deep neural networks, represents a significant open challenge. Additionally, while the $O(n^{-1/10})$ rate for bootstrap validity is a breakthrough, further refinements may yield even tighter bounds.