Stochastic Approximation (SA) forms the mathematical backbone of many modern machine learning algorithms. Whether training a neural network via Stochastic Gradient Descent (SGD) or optimizing a reinforcement learning policy with Q-learning, practitioners are essentially using SA to minimize a function or find the root of an equation.
In practice, these algorithms frequently employ a constant step size ($\eta$) because it is simple to implement and performs well empirically. However, this introduces a significant challenge for statistical inference: rather than converging to a single "ground truth" point, the algorithm converges to a stationary distribution, essentially "hovering" around the true solution. This makes it notoriously difficult to determine the certainty of our estimates by constructing confidence intervals. Previous methods to address this required either decaying step sizes or overly strict mathematical assumptions—such as bounded higher-order moments of noise—that rarely hold in real-world scenarios.
This paper introduces a robust framework for performing statistical inference on constant step size SA algorithms. By treating these procedures as Markov chains, the authors establish a Functional Central Limit Theorem (FCLT) under relaxed conditions and utilize a "random scaling" method to bypass the complex estimation of covariance matrices.
Proposed Methodology
The authors tackle the inference problem through a two-part solution:
1. The Markov Chain Perspective By viewing the constant step size SA procedure as a time-homogeneous Markov chain—where the next state depends only on the current state and a random noise term—the authors leverage established Markov chain theory to prove an FCLT. Crucially, they demonstrate that this holds under much weaker conditions than prior work, requiring only that the noise has a bounded second moment (variance) rather than restrictive $(2+\delta)$-th moments. This reframing provides a significantly simpler proof path compared to the elaborated decompositions used in previous literature.
2. Random Scaling for Inference Traditionally, building a confidence interval requires estimating the "asymptotic covariance matrix" to understand the spread of errors. This estimation is difficult and highly sensitive to hyperparameters like batch sizes. Instead, the authors employ random scaling. This technique uses the entire trajectory of the algorithm's iterates to construct a "pivotal statistic." Because this statistic has a known distribution that does not depend on unknown parameters, practitioners can construct confidence intervals without ever explicitly calculating the covariance matrix.
Experimental Validation and Results
The framework was evaluated using controlled synthetic experiments and classic reinforcement learning benchmarks, including Linear Regression (to test coverage rates), Logistic Regression (for complex optimization landscapes), and Grid World (for Q-learning).
The authors compared their random scaling approach against traditional methods like Spectral Variance and Batch Means, yielding several key findings:
- Coverage Accuracy: In regression tests targeting a 95% confidence level, the random scaling method consistently achieved coverage rates near 95%. In contrast, Batch Means often degraded to 60-80% when the step size was small or the sample size was insufficient.
- Robustness: Traditional methods exhibited wild performance swings depending on the chosen step size $\eta$. The random scaling approach, being largely "plug-and-play," remained highly stable across different step sizes and sample sizes.
- Computational Efficiency: By avoiding the additional estimation step for covariance, random scaling is computationally more direct and less prone to cascading errors from poor variance estimation.
Limitations and Future Directions
While highly effective, the approach has limitations. The primary issue is the inherent systematic bias between the average of the iterates and the true parameter. Although the paper provides a theoretical bound showing this bias is small—on the order of $O(\eta^{1/2})$—and vanishes as $\eta \to 0$, it does not entirely remove it. Future work may explore large deviation theory to mitigate this impact.
Additionally, the current framework assumes a time-homogeneous chain (constant step size). Extending these techniques to algorithms with time-inhomogeneous (changing) step sizes remains an open challenge. Finally, while tested on dimensions up to $d=20$, the behavior of these confidence intervals in the extremely high-dimensional settings typical of modern deep learning requires further exploration.
Summary updated