Learning in deep neural networks (DNNs) is implemented through minimizing a highly non-convex loss function, typically by a stochastic gradient descent (SGD) method. This learning process can effectively find good wide minima without being trapped in poor local ones. We present a novel account of how such effective deep learning emerges through the interactions of the SGD and the geometrical structure of the loss landscape. Rather than being a normal diffusion process (i.e. Brownian motion) as often assumed, we find that the SGD exhibits rich, complex dynamics when navigating through the loss landscape; initially, the SGD exhibits anomalous superdiffusion, which attenuates gradually and changes to subdiffusion at long times when the solution is reached. Such learning dynamics happen ubiquitously in different DNNs such as ResNet and VGG-like networks and are insensitive to batch size and learning rate. The anomalous superdiffusion process during the initial learning phase indicates that the motion of SGD along the loss landscape possesses intermittent, big jumps; this non-equilibrium property enables the SGD to escape from sharp local minima. By adapting the methods developed for studying energy landscapes in complex physical systems, we find that such superdiffusive learning dynamics are due to the interactions of the SGD and the fractal-like structure of the loss landscape. We further develop a simple model to demonstrate the mechanistic role of the fractal loss landscape in enabling the SGD to effectively find global minima. Our results thus reveal the effectiveness of deep learning from a novel perspective and have implications for designing efficient deep neural networks.
[1]
Murat A. Erdogdu,et al.
Hausdorff Dimension, Stochastic Differential Equations, and Generalization in Neural Networks
,
2020,
ArXiv.
[2]
W. Marsden.
I and J
,
2012
.
[3]
O. Bagasra,et al.
Proceedings of the National Academy of Sciences
,
1914,
Science.
[4]
J. Herskowitz,et al.
Proceedings of the National Academy of Sciences, USA
,
1996,
Current Biology.
[5]
M. Mézard,et al.
Journal of Statistical Mechanics: Theory and Experiment
,
2011
.
[6]
J. Klafter,et al.
First Steps in Random Walks: From Tools to Applications
,
2011
.
[7]
J. P. Nolan.
Univariate Stable Distributions
,
2020
.
[8]
Zoubin Ghahramani,et al.
Proceedings of the 24th international conference on Machine learning
,
2007,
ICML 2007.
[9]
Hausdorff Dimension
,
2012,
The Krzyż Conjecture: Theory and Methods.
[10]
Miss A.O. Penney.
(b)
,
1974,
The New Yale Book of Quotations.