On the Relation Between the Sharpest Directions of DNN Loss and the SGD Step Length

By Stanislaw Jastrzebski, Zachary Kenton, Nicolas Ballas, Asja Fischer, Yoshua Bengio, Amos J. Storkey. 2018

145 citations recorded by the source corpus.

Stochastic Gradient Descent (SGD) based training of neural networks with a large learning rate or a small batch-size typically ends in well-generalizing, flat regions of the weight space, as indicated by small eigenvalues of the Hessian of the training loss. However, the curvature along the SGD trajectory is poorly understood. An empirical investigation shows that initially SGD visits increasingly sharp regions, reaching a maximum sharpness determined by both the learning rate and the batch-size of SGD. When studying the SGD dynamics in relation to the sharpest directions in this initial phase, we find that the SGD step is large compared to the curvature and commonly fails to minimize the loss along the sharpest directions. Furthermore, using a reduced learning rate along these directions can improve training speed while leading to both sharper and better generalizing solutions compared to vanilla SGD. In summary, our analysis of the dynamics of SGD in the subspace of the sharpest directions shows that they influence the regions that SGD steers to (where larger learning rate or smaller batch size result in wider regions visited), the overall training speed, and the generalization ability of the final model.

Subfields: Artificial Intelligence, Radiology, Nuclear Medicine and Imaging

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. Yoshua Bengio
  2. Sergey Levine
  3. Percy Liang
  4. Michael I. Jordan
  5. Quoc V. Le
  6. Tengyu Ma
  7. Ruslan Salakhutdinov
  8. Mohit Bansal

In Radiology, Nuclear Medicine and Imaging

  1. Michael I. Jordan
  2. Frederik Benzing
  3. Sham M. Kakade
  4. J. Kolter
  5. Tengyu Ma
  6. Justin Gilmer
  7. Surya Ganguli
  8. Colin Wei

Citations in the corpus