Painless Stochastic Gradient: Interpolation, Line-Search, and Convergence Rates

Sharan Vaswani, Aaron Mishkin, Issam Laradji, Mark Schmidt, Gauthier Gidel +1 more
5/24/2019
cs.LGmath.OCstat.ML

Official code: IssamLaradji/sls (117 stars, Python, last commit 2023-03-14).

Abstract

Recent works have shown that stochastic gradient descent (SGD) achieves the fast convergence rates of full-batch gradient descent for over-parameterized models satisfying certain interpolation conditions. However, the step-size used in these works depends on unknown quantities and SGD's practical performance heavily relies on the choice of this step-size.

Show full abstract

We propose to use line-search techniques to automatically set the step-size when training models that can interpolate the data. In the interpolation setting, we prove that SGD with a stochastic variant of the classic Armijo line-search attains the deterministic convergence rates for both convex and strongly-convex functions. Under additional assumptions, SGD with Armijo line-search is shown to achieve fast convergence for non-convex functions. Furthermore, we show that stochastic extra-gradient with a Lipschitz line-search attains linear convergence for an important class of non-convex functions and saddle-point problems satisfying interpolation. To improve the proposed methods' practical performance, we give heuristics to use larger step-sizes and acceleration. We compare the proposed algorithms against numerous optimization methods on standard classification tasks using both kernel methods and deep networks. The proposed methods result in competitive performance across all models and datasets, while being robust to the precise choices of hyper-parameters. For multi-class classification using deep networks, SGD with Armijo line-search results in both faster convergence and better generalization.

View on arXivView PDF

Code Implementations(1)

IssamLaradji/slsOfficial100%

Implements stochastic line search

11725PythonJun 24, 20193 years ago

Similar Papers

Cite this paper

@article{vaswani2019painless,
  title  = {Painless Stochastic Gradient: Interpolation, Line-Search, and Convergence Rates},
  author = {Sharan Vaswani and Aaron Mishkin and Issam Laradji and Mark Schmidt and Gauthier Gidel and Simon Lacoste-Julien},
  year   = {2019},
  eprint = {1905.09997},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.09997}
}

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

Discussion