Gradient-only line searches to automatically determine learning rates for a variety of stochastic training algorithms

Dominic Kafka, Daniel Nicolas Wilke
6/29/2020
stat.MLcs.LGmath.OC

Official code: gorglab/GOLS (1 star, Python, last commit 2019-11-28).

Abstract

Gradient-only and probabilistic line searches have recently reintroduced the ability to adaptively determine learning rates in dynamic mini-batch sub-sampled neural network training. However, stochastic line searches are still in their infancy and thus call for an ongoing investigation.

Show full abstract

We study the application of the Gradient-Only Line Search that is Inexact (GOLS-I) to automatically determine the learning rate schedule for a selection of popular neural network training algorithms, including NAG, Adagrad, Adadelta, Adam and LBFGS, with numerous shallow, deep and convolutional neural network architectures trained on different datasets with various loss functions. We find that GOLS-I's learning rate schedules are competitive with manually tuned learning rates, over seven optimization algorithms, three types of neural network architecture, 23 datasets and two loss functions. We demonstrate that algorithms, which include dominant momentum characteristics, are not well suited to be used with GOLS-I. However, we find GOLS-I to be effective in automatically determining learning rate schedules over 15 orders of magnitude, for most popular neural network training algorithms, effectively removing the need to tune the sensitive hyperparameters of learning rate schedules in neural network training.

View on arXivView PDF

Code Implementations(1)

gorglab/GOLSOfficial100%

Gradient-Only Line Searches to determine step sizes for neural networks using dynamic mini-batch sub-sampling

10Python, MATLABNov 26, 20197 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kafka2020gradientonly,
  title  = {Gradient-only line searches to automatically determine learning rates for a variety of stochastic training algorithms},
  author = {Dominic Kafka and Daniel Nicolas Wilke},
  year   = {2020},
  eprint = {2007.01054},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.01054}
}

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

Discussion