Gaussian Approximation and Multiplier Bootstrap for Polyak-Ruppert Averaged Linear Stochastic Approximation with Applications to TD Learning

Sergey Samsonov, Eric Moulines, Qi-Man Shao, Zhuo-Song Zhang, Alexey Naumov

Introduction

Stochastic Approximation (SA) serves as the mathematical foundation for many modern machine learning algorithms, including Stochastic Gradient Descent (SGD) and various Reinforcement Learning (RL) methods. While the asymptotic normality of these algorithms—the tendency for their errors to eventually follow a Gaussian distribution—has been established for decades, practical applications require a more granular understanding. Specifically, practitioners need to know the rate at which this convergence occurs and how to construct reliable confidence intervals in real-time without prior knowledge of noise statistics.

This paper, presented at NeurIPS 2024, addresses these needs by providing the first non-asymptotic Berry-Esseen bounds for Polyak-Ruppert (PR) averaged linear stochastic approximation (LSA). Furthermore, it validates the use of the "multiplier bootstrap," an online resampling method that enables uncertainty quantification in streaming data environments.

Linear Stochastic Approximation and PR Averaging

The study focuses on Linear Stochastic Approximation (LSA), where the goal is to find a parameter vector $\theta^*$ that solves a linear system of equations based on noisy observations. To improve the stability and efficiency of the estimates, the authors employ Polyak-Ruppert (PR) averaging. Instead of relying solely on the most recent iterate, PR averaging takes the mean of all previous estimates, effectively smoothing out stochastic noise and accelerating convergence toward the optimal solution.

Non-Asymptotic Berry-Esseen Bounds

A primary contribution of this work is the derivation of a "speed limit" for how quickly LSA iterates approach a normal distribution. Using a sophisticated randomized multivariate concentration inequality, the authors establish a Berry-Esseen bound of $n^{-1/4}$ for the distance between the distribution of the LSA iterates and a multivariate normal distribution.

This finding is particularly notable because it differs from the standard $n^{-1/2}$ rate typically seen in sums of independent and identically distributed (i.i.d.) variables. The slower $n^{-1/4}$ rate highlights a fundamental characteristic of SA algorithms: the iterative nature of the updates introduces dependencies that slow the approach to normality. Interestingly, the research suggests that more aggressive step sizes (e.g., $\alpha_k \propto 1/\sqrt{k}$) are actually beneficial for reaching this Gaussian regime faster, even if they might not be optimal for minimizing mean squared error in the long run.

The Multiplier Bootstrap for Online Uncertainty

Beyond theoretical rates, the paper provides a practical tool for uncertainty quantification: the multiplier bootstrap. Traditional bootstrapping requires re-sampling from a stored dataset, which is computationally prohibitive in online or streaming settings.

The multiplier bootstrap avoids this by running $M$ parallel "shadow" versions of the LSA estimate. Each shadow version is updated using the same incoming data but is scaled by a random weight (a multiplier). This allows the algorithm to simulate the error distribution on the fly. The authors prove that this method provides a valid approximation of the true error distribution, allowing for the construction of accurate confidence intervals without needing to estimate complex noise covariance matrices explicitly.

Applications to TD Learning and Empirical Results

The theoretical framework is applied to Temporal Difference (TD) learning with linear function approximation, a staple of reinforcement learning. To validate their findings, the authors conducted experiments using the "Garnet" problem—a class of abstract Markov Decision Processes (MDPs) that allow for controlled testing of RL algorithms.

Key empirical findings include:

  • Tightness of the Bound: Experiments on Garnet MDPs confirmed that the $n^{-1/4}$ rate is not merely a theoretical upper bound but is empirically tight. As the number of samples $n$ increased, the maximum difference between the algorithm's distribution and the normal distribution scaled as predicted.
  • Confidence Interval Accuracy: The multiplier bootstrap successfully generated quantiles that accurately covered the true parameters, demonstrating its utility for real-time risk assessment and decision-making in RL.

Discussion and Future Directions

While this work marks a significant step forward in non-asymptotic analysis for SA, several avenues for future research remain. Currently, the proofs rely on the assumption of i.i.d. noise. In many RL scenarios, data is Markovian, meaning observations are temporally correlated. Extending these Berry-Esseen bounds to Markovian noise is a logical next step.

Additionally, the current analysis is restricted to linear stochastic approximation. Extending these results to non-linear settings, such as deep reinforcement learning, would require more complex perturbation-expansion techniques. Finally, while the multiplier bootstrap is memory-efficient, the computational cost scales with the number of shadow estimates $M$. Optimizing this trade-off remains an important practical consideration for deploying these methods in resource-constrained environments.

Summary updated

BibTeX
@inproceedings{samsonov2024gaussian,
  author = {Sergey Samsonov and Eric Moulines and Qi-Man Shao and Zhuo-Song Zhang and Alexey Naumov},
  title = {{Gaussian Approximation and Multiplier Bootstrap for Polyak-Ruppert Averaged Linear Stochastic Approximation with Applications to TD Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=S0Ci1AsJL5},
}
Figure