Linear Stochastic Approximation: Constant Step-Size and Iterate Averaging

Chandrashekar Lakshminarayanan, Csaba SzepesváriarXiv 2017

Stochastic Approximation (SA) serves as the mathematical foundation for a wide array of machine learning algorithms, most notably in Reinforcement Learning (RL). Traditionally, these algorithms rely on diminishing step-sizes—where the learning rate $\alpha_t$ gradually reduces toward zero. While theoretically sound, diminishing step-sizes are notoriously difficult to tune in practice: a rate that decreases too quickly can cause the algorithm to stall, while one that decreases too slowly leaves the process plagued by noise.

In this work, researchers from the University of Alberta explore an alternative: Constant Step-Size with Polyak-Ruppert (PR) averaging. This approach maintains a fixed learning rate to quickly "forget" poor initial estimates while outputting the average of all previous iterates to suppress statistical noise. While well-understood for symmetric systems like Stochastic Gradient Descent (SGD), the authors extend this analysis to the non-symmetric linear recursions common in RL, such as Temporal Difference (TD) learning.

The Challenge of Non-Symmetry

General Linear Stochastic Approximations (LSAs) lack the specific symmetric structure of SGD. In RL, the underlying matrices are often "Hurwitz" (where eigenvalues have positive real parts) but not necessarily symmetric or positive definite. This makes stability analysis significantly more complex.

The authors address this using Jordan decomposition and similarity transformations to derive finite-time Mean Squared Error (MSE) bounds. Their analysis reveals a fundamental difference between SGD and general LSA: in SGD, one can often determine a "safe" step-size based solely on the data range. In general LSA, the authors prove that no such universal safe step-size exists; for any proposed step-size, a data distribution can be constructed that causes the algorithm to diverge.

Theoretical Breakthroughs and $O(1/t)$ Convergence

The paper's most significant theoretical contribution is proving that constant step-size LSA with PR averaging achieves an optimal $O(1/t)$ convergence rate, even without symmetry. This represents a substantial improvement for several algorithm classes.

Comparison of standard update rules and their previously known convergence rates. This work improves the rates for algorithms like GTD to $O(1/t)$.

As shown in the table above, previous results for Gradient Temporal Difference (GTD) methods often only guaranteed $O(1/\sqrt{t})$ convergence. By applying constant step-sizes and iterate averaging, the authors improve this to $O(1/t)$ without requiring complex projections or mirror maps. Their derived bound decomposes the error into a rapidly decaying bias term ($O(1/t^2)$) and a dominant variance term ($O(1/t)$).

Empirical Validation and Automatic Tuning

To bridge the gap between theory and practice, the authors propose "Algorithm 1," an automatic tuning heuristic. Since a universal safe step-size is impossible, Algorithm 1 monitors iterate stability and halves the step-size if it detects potential divergence.

Left: Comparison of automatically tuned step-sizes (Algorithm 1) vs. hand-computed values across different noise levels ($\sigma_A$). Right: MSE convergence over time for various noise levels using the tuned step-size.

Numerical experiments on synthetic 2D problems validate these findings. As seen in the figures above, the automatic tuning algorithm successfully identifies stable, smaller step-sizes where fixed "hand-tuned" values might lead to instability. The resulting MSE plots confirm the predicted convergence behavior across varying levels of problem sensitivity (represented by $\sigma_A$).

Conclusion and Future Directions

This research provides a rigorous theoretical justification for using constant step-sizes in RL, a practice already favored by many practitioners for its simplicity. While the $O(1/t)$ guarantee is a major step forward, the authors note that their current analysis assumes independent and identically distributed (i.i.d.) data. Future work will focus on extending these bounds to Markovian data—where samples are correlated along a trajectory—and exploring the implications for non-linear function approximation in deep reinforcement learning.

Summary updated

BibTeX
@misc{lakshminarayanan2017linear,
  author = {Chandrashekar Lakshminarayanan and Csaba Szepesvári},
  title = {{Linear Stochastic Approximation: Constant Step-Size and Iterate Averaging}},
  year = {2017},
  eprint = {1709.04073},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.04073},
}
Figure