A Diffusion Theory for Deep Learning Dynamics: Stochastic Gradient Descent Escapes From Sharp Minima Exponentially Fast
By Zeke Xie, Issei Sato, Masashi Sugiyama. 2020
18 citations recorded by the source corpus.
Stochastic optimization algorithms, such as Stochastic Gradient Descent (SGD) and its variants, are mainstream methods for training deep networks in practice. However, the theoretical mechanism behind gradient noise still remains to be further investigated. Deep learning is known to find flat minima with a large neighboring region in parameter space from which each weight vector has similar small error. In this paper, we focus on a fundamental problem in deep learning,"How can deep learning usually find flat minima among so many minima?"To answer the question, we develop a density diffusion theory (DDT) for revealing the fundamental dynamical mechanism of SGD and deep learning. More specifically, we study how escape time from loss valleys to the outside of valleys depends on minima sharpness, gradient noise and hyperparameters. One of the most interesting findings is that stochastic gradient noise from SGD can help escape from sharp minima exponentially faster than flat minima, while white noise can only help escape from sharp minima polynomially faster than flat minima. We also find large-batch training requires exponentially many iterations to pass through sharp minima and find flat minima. We present direct empirical evidence supporting the proposed theoretical results.
Subfields: Artificial Intelligence, Statistics and Probability, Optimization & Training, Scaling & Learning Theory
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
- Stefano Soatto
- Mehrdad Farajtabar
- Alessandro Achille
- Razvan Pascanu
- Seyed Iman Mirzadeh
- Yoshua Bengio
- Sergey Levine
- Jascha Narain Sohl-Dickstein
In Statistics and Probability
- Alessandro Achille
- Yasaman Bahri
- Jascha Narain Sohl-Dickstein
- Ethan Dyer
- Giovanni Paolini
- Mehrdad Farajtabar
- Stefano Soatto
- Razvan Pascanu
In Optimization & Training
- Alessandro Achille
- Stefano Soatto
- Razvan Pascanu
- Seyed Iman Mirzadeh
- Jascha Narain Sohl-Dickstein
- Hassan Ghasemzadeh
- Mehrdad Farajtabar
- Giovanni Paolini
In Scaling & Learning Theory
- Stefano Soatto
- Jascha Narain Sohl-Dickstein
- Yasaman Bahri
- Ethan Dyer
- Alessandro Achille
- Guy Gur-Ari
- Hassan Ghasemzadeh
- Seyed Iman Mirzadeh
Citations in the corpus
- The large learning rate phase of deep learning: the catapult mechanism (2020, background): “SGD training with large initial learning rates often leads to improved performance over training with small initial learning rates (see Li et al. (2019); Leclerc & Madry (2020); Xie et al. (2020); Frankle et al. (2020); Jastrzebski et al. (2020) for recent discussions).”
- Understanding the Role of Training Regimes in Continual Learning (2020, background): “The learning rate and batch size influence both the endpoint curvature and the whole trajectory [77, 17, 45].”
- Where is the Information in a Deep Neural Network? (2019, background): “However, recent work extends this result to anisotropic noise (Xie et al., 2020; Cheng et al., 2019).”