A Walk with SGD

By Chen Xing, Devansh Arpit, Christos Tsirigotis, Yoshua Bengio. 2018

145 citations recorded by the source corpus.

Exploring why stochastic gradient descent (SGD) based optimization methods train deep neural networks (DNNs) that generalize well has become an active area of research. Towards this end, we empirically study the dynamics of SGD when training over-parametrized DNNs. Specifically we study the DNN loss surface along the trajectory of SGD by interpolating the loss surface between parameters from consecutive \textit{iterations} and tracking various metrics during training. We find that the loss interpolation between parameters before and after a training update is roughly convex with a minimum (\textit{valley floor}) in between for most of the training. Based on this and other metrics, we deduce that during most of the training, SGD explores regions in a valley by bouncing off valley walls at a height above the valley floor. This 'bouncing off walls at a height' mechanism helps SGD traverse larger distance for small batch sizes and large learning rates which we find play qualitatively different roles in the dynamics. While a large learning rate maintains a large height from the valley floor, a small batch size injects noise facilitating exploration. We find this mechanism is crucial for generalization because the valley floor has barriers and this exploration above the valley floor allows SGD to quickly travel far away from the initialization point (without being affected by barriers) and find flatter regions, corresponding to better generalization.

Subfields: Genetics, Molecular Biology, Physiology

How researchers see this paper

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

In Genetics

  1. Michael W. Mahoney
  2. Charles H. Martin
  3. Stanislaw Jastrzebski
  4. Noah A. Smith
  5. Amos J. Storkey
  6. Yoshua Bengio
  7. Tengyu Ma

In Molecular Biology

  1. Leslie N. Smith
  2. Kyunghyun Cho
  3. Yoshua Bengio
  4. Michael W. Mahoney
  5. J. Kolter
  6. Charles H. Martin
  7. Yejin Choi
  8. Stanislaw Jastrzebski

In Physiology

  1. Michael W. Mahoney
  2. Charles H. Martin
  3. Stanislaw Jastrzebski

Citations in the corpus