A disciplined approach to neural network hyper-parameters: Part 1 - learning rate, batch size, momentum, and weight decay

By Leslie N. Smith. 2018

1,200 citations recorded by the source corpus.

Although deep learning has produced dazzling successes for applications of image, speech, and video processing in the past few years, most trainings are with suboptimal hyper-parameters, requiring unnecessarily long training times. Setting the hyper-parameters remains a black art that requires years of experience to acquire. This report proposes several efficient ways to set the hyper-parameters that significantly reduce training time and improves performance. Specifically, this report shows how to examine the training validation/test loss function for subtle clues of underfitting and overfitting and suggests guidelines for moving toward the optimal balance point. Then it discusses how to increase/decrease the learning rate/momentum to speed up training. Our experiments show that it is crucial to balance every manner of regularization for each dataset and architecture. Weight decay is used as a sample regularizer to show how its optimal value is tightly coupled with the learning rates and momentums. Files to help replicate the results reported here are available.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Graham Neubig
  2. Philipp Koehn
  3. Ondrej Bojar
  4. Mohit Bansal
  5. Jianfeng Gao
  6. Luke S. Zettlemoyer
  7. Yonatan Belinkov
  8. Kyunghyun Cho

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Xiaogang Wang
  3. Dacheng Tao
  4. Ming-Hsuan Yang
  5. Bernt Schiele
  6. Jitendra Malik
  7. Trevor Darrell
  8. Andrew Zisserman

In Optimization & Training

  1. Philipp Koehn
  2. Diganta Misra
  3. Christopher J. Shallue
  4. Chongjian Ge
  5. Sylvain Gugger
  6. Botty Dimanov
  7. Markus A. Wenzel
  8. S. Udrescu

Citations in the corpus