Black Box Lie Group Preconditioners for SGD

Xilin Li
11/8/2022
11 citations
stat.MLcs.LG

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

Abstract

A matrix free and a low rank approximation preconditioner are proposed to accelerate the convergence of stochastic gradient descent (SGD) by exploiting curvature information sampled from Hessian-vector products or finite differences of parameters and gradients similar to the BFGS algorithm. Both preconditioners are fitted with an online updating manner minimizing a criterion that is free of line search and robust to stochastic gradient noise, and further constrained to be on certain connected Lie groups to preserve their corresponding symmetry or invariance, e.g., orientation of coordinates by the connected general linear group with positive determinants.

Show full abstract

The Lie group's equivariance property facilitates preconditioner fitting, and its invariance property saves any need of damping, which is common in second-order optimizers, but difficult to tune. The learning rate for parameter updating and step size for preconditioner fitting are naturally normalized, and their default values work well in most situations.

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{li2022black,
  title  = {Black Box Lie Group Preconditioners for SGD},
  author = {Xilin Li},
  year   = {2022},
  eprint = {2211.04422},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.04422}
}

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/2211.04422.svg)](https://codeofpaper.com/paper/2211.04422)

Discussion