Skip to main content
QUICK REVIEW

[Paper Review] Iterate averaging as regularization for stochastic gradient descent

Gergely Neu, Lorenzo Rosasco|arXiv (Cornell University)|Feb 22, 2018
Stochastic Gradient Optimization TechniquesComputer Science16 citations
TL;DR

This paper proposes geometric Polyak–Ruppert averaging, a weighted average of stochastic gradient descent (SGD) iterates with geometrically decaying weights, as a regularization technique for linear least-squares regression. It shows that this method is asymptotically equivalent to ridge regression and achieves finite-sample prediction error bounds matching the best-known results for regularized SGD, providing a principled way to control bias-variance trade-offs via the decay rate.

ABSTRACT

We propose and analyze a variant of the classic Polyak-Ruppert averaging scheme, broadly used in stochastic gradient methods. Rather than a uniform average of the iterates, we consider a weighted average, with weights decaying in a geometric fashion. In the context of linear least squares regression, we show that this averaging scheme has a the same regularizing effect, and indeed is asymptotically equivalent, to ridge regression. In particular, we derive finite-sample bounds for the proposed approach that match the best known results for regularized stochastic gradient methods.

Motivation & Objective

  • To develop a new averaging scheme for stochastic gradient descent that provides regularization through geometrically decaying weights on iterates.
  • To establish theoretical equivalence between geometric averaging and Tikhonov (ridge) regularization in the asymptotic limit.
  • To derive finite-sample prediction error bounds for the proposed method that match the best-known results for regularized SGD.
  • To provide practical guidance on when geometric averaging outperforms other averaging strategies like tail averaging.
  • To enable efficient model selection by computing a full regularization path from a single SGD pass with stored iterates.

Proposed method

  • Proposes a weighted average of SGD iterates with geometrically decaying weights: $ \widetilde{w}_n = c_n \sum_{t=0}^n (1 - \gamma\lambda)^t w_t $, where $ c_n $ is a normalization constant.
  • Analyzes the method in the context of linear least-squares regression using a Hilbert space framework, modeling the data distribution via a covariance operator $ \Sigma $.
  • Derives the excess risk $ \mathbb{E}[\Delta(\widetilde{w}_n)] = \mathbb{E}[\|\Sigma^{1/2}(\widetilde{w}_n - w^*)\|^2] $ and bounds it using Minkowski and trace inequalities.
  • Decomposes the error into a 'noiseless' component (bias) and a 'pure noise' component (variance), bounding each separately via operator norms and trace terms.
  • Uses the key identity $ w_t - w^* = M_{0,t}(w_0 - w^*) + \eta \sum_{j=1}^t M_{j,t} \varepsilon_j x_j $, where $ M_{j,t} $ are product matrices of update operators.
  • Establishes that the geometric averaging scheme is asymptotically equivalent to solving the Tikhonov-regularized least-squares problem with regularization parameter $ \lambda $.

Experimental results

Research questions

  • RQ1Does geometric averaging of SGD iterates produce a regularization effect equivalent to ridge regression?
  • RQ2Can finite-sample prediction error bounds for geometric averaging match the best-known bounds for regularized SGD?
  • RQ3How does the decay rate of the geometric weights influence the bias-variance trade-off in the estimator?
  • RQ4In what data regimes (e.g., small or ill-conditioned) does geometric averaging outperform tail averaging?
  • RQ5Can a single SGD pass with stored iterates efficiently generate a full regularization path for model selection?

Key findings

  • Geometric Polyak–Ruppert averaging is asymptotically equivalent to solving the Tikhonov-regularized least-squares problem, with the regularization parameter $ \lambda $ determined by the decay rate $ \gamma $.
  • The finite-sample prediction error bound for the method matches the best-known results for regularized SGD, achieving optimal rates as defined by Tsybakov (2008).
  • The excess risk is bounded by a term involving the trace of $ \Sigma(\Sigma + \lambda I)^{-1}(\Sigma + \frac{\lambda}{2}I)^{-1}E_0 $, where $ E_0 = \mathbb{E}[\|w_0 - w^*\|^2] $, capturing the initial bias.
  • The variance component is bounded by $ \frac{\eta \sigma^2}{2 - \eta R^2} \cdot \mbox{tr}[\Sigma^2(\Sigma + \lambda I)^{-2}] $, which controls the noise sensitivity.
  • The normalization constant $ c_n $ satisfies $ c_n^2 \leq \frac{1}{\gamma^2} \cdot \frac{1}{(1 - (1 - \gamma\lambda)^n)^2} $, ensuring convergence under appropriate decay.
  • The method enables efficient off-line computation of multiple regularization levels from a single SGD run, supporting parallel and scalable model selection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.