English

Comparing Dynamics: Deep Neural Networks versus Glassy Systems

Machine Learning 2019-12-23 v2 Disordered Systems and Neural Networks Machine Learning

Abstract

We analyze numerically the training dynamics of deep neural networks (DNN) by using methods developed in statistical physics of glassy systems. The two main issues we address are (1) the complexity of the loss landscape and of the dynamics within it, and (2) to what extent DNNs share similarities with glassy systems. Our findings, obtained for different architectures and datasets, suggest that during the training process the dynamics slows down because of an increasingly large number of flat directions. At large times, when the loss is approaching zero, the system diffuses at the bottom of the landscape. Despite some similarities with the dynamics of mean-field glassy systems, in particular, the absence of barrier crossing, we find distinctive dynamical behaviors in the two cases, showing that the statistical properties of the corresponding loss and energy landscapes are different. In contrast, when the network is under-parametrized we observe a typical glassy behavior, thus suggesting the existence of different phases depending on whether the network is under-parametrized or over-parametrized.

Keywords

Cite

@article{arxiv.1803.06969,
  title  = {Comparing Dynamics: Deep Neural Networks versus Glassy Systems},
  author = {M. Baity-Jesi and L. Sagun and M. Geiger and S. Spigler and G. Ben Arous and C. Cammarota and Y. LeCun and M. Wyart and G. Biroli},
  journal= {arXiv preprint arXiv:1803.06969},
  year   = {2019}
}

Comments

10 pages, 5 figures. Version accepted at ICML 2018

R2 v1 2026-06-23T00:57:41.788Z