Preconditioned Stochastic Gradient Descent

Xi-Lin Li
12/14/2015
133 citations
stat.MLcs.LG

Official code: lixilinx/psgd_torch (209 stars, Python, PyTorch, last commit 2026-04-03).

Abstract

Stochastic gradient descent (SGD) still is the workhorse for many practical problems. However, it converges slow, and can be difficult to tune.

Show full abstract

It is possible to precondition SGD to accelerate its convergence remarkably. But many attempts in this direction either aim at solving specialized problems, or result in significantly more complicated methods than SGD. This paper proposes a new method to estimate a preconditioner such that the amplitudes of perturbations of preconditioned stochastic gradient match that of the perturbations of parameters to be optimized in a way comparable to Newton method for deterministic optimization. Unlike the preconditioners based on secant equation fitting as done in deterministic quasi-Newton methods, which assume positive definite Hessian and approximate its inverse, the new preconditioner works equally well for both convex and non-convex optimizations with exact or noisy gradients. When stochastic gradient is used, it can naturally damp the gradient noise to stabilize SGD. Efficient preconditioner estimation methods are developed, and with reasonable simplifications, they are applicable to large scaled problems. Experimental results demonstrate that equipped with the new preconditioner, without any tuning effort, preconditioned SGD can efficiently solve many challenging problems like the training of a deep neural network or a recurrent neural network requiring extremely long term memories.

View on arXivView PDF

Code Implementations(1)

PyTorch

Pytorch implementation of preconditioned stochastic gradient descent (Kron and affine preconditioner, low-rank approximation preconditioner and more)

20914PythonApr 7, 20188 months ago
affine-groupdeep-learninghessian-vector-productkronecker-factored-approximationlie-groups+7 more

Similar Papers

Cite this paper

@article{li2015preconditioned,
  title  = {Preconditioned Stochastic Gradient Descent},
  author = {Xi-Lin Li},
  year   = {2015},
  eprint = {1512.04202},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1512.04202}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1512.04202.svg)](https://codeofpaper.com/paper/1512.04202)

Discussion