Disentangling feature and lazy learning in deep neural networks: an empirical study
By Mario Geiger, Stefano Spigler, Arthur Jacot, Matthieu Wyart. 2019
17 citations recorded by the source corpus.
Two distinct limits for deep learning as the net width $h\to\infty$ have been proposed, depending on how the weights of the last layer scale with $h$. In the "lazy-learning" regime, the dynamics becomes linear in the weights and is described by a Neural Tangent Kernel $\Theta$. By contrast, in the "feature-learning" regime, the dynamics can be expressed in terms of the density distribution of the weights. Understanding which regime describes accurately practical architectures and which one leads to better performance remains a challenge. We answer these questions and produce new characterizations of these regimes for the MNIST data set, by considering deep nets $f$ whose last layer of weights scales as $\frac{\alpha}{\sqrt{h}}$ at initialization, where $\alpha$ is a parameter we vary. We performed systematic experiments on two setups (A) fully-connected Softplus momentum full batch and (B) convolutional ReLU momentum stochastic. We find that (1) $\alpha^*=\frac{1}{\sqrt{h}}$ separates the two regimes. (2) for (A) and (B) feature learning outperforms lazy learning, a difference in performance that decreases with $h$ and becomes hardly detectable asymptotically for (A) but is very significant for (B). (3) In both regimes, the fluctuations $\delta f$ induced by initial conditions on the learned function follow $\delta f\sim1/\sqrt{h}$, leading to a performance that increases with $h$. This improvement can be instead obtained at intermediate $h$ values by ensemble averaging different networks. (4) In the feature regime there exists a time scale $t_1\sim\alpha\sqrt{h}$, such that for $t\ll t_1$ the dynamics is linear. At $t\sim t_1$, the output has grown by a magnitude $\sqrt{h}$ and the changes of the tangent kernel $\|\Delta\Theta\|$ become significant. Ultimately, it follows $\|\Delta\Theta\|\sim(\sqrt{h}\alpha)^{-a}$ for ReLU and Softplus activation, with $a<2$ & $a\to2$ when depth grows.
Subfields: Representation & Self-Supervised Learning, Model Architectures
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Representation & Self-Supervised Learning
- Jason D. Lee
- Suriya Gunasekar
- Daniel Soudry
- Pedro H. P. Savarese
- Andrea Montanari
- Nati Srebro
- Guy Gur-Ari
- Itay Golan
In Model Architectures
- Jason D. Lee
- Andrea Montanari
- Theodor Misiakiewicz
- Song Mei
- Behrooz Ghorbani
- Pedro H. P. Savarese
- Nati Srebro
- Daniel Soudry
Citations in the corpus
- When do neural networks outperform kernel methods? (2020, background): “At least two studies reported a larger gap for convolutional networks and the corresponding kernels [4, 15].”
- Kernel and Rich Regimes in Overparametrized Models (2019, background): “[10] also argue for a transition 4It is not necessary that X be a square matrix; the results and empirical observations extend for non-square matrices”
- Asymptotics of Wide Networks from Feynman Diagrams (2019, background): “A central question in the study of wide networks is whether the infinite width limit is a good model for describing the behavior of realistic deep networks [28–30].”