Generalisation dynamics of online learning in over-parameterised neural networks
Sebastian Goldt, Madhu S. Advani, Andrew M. Saxe, Florent Krzakala, Lenka Zdeborová
TL;DR
This work analyzes why over-parameterised two-layer neural networks can generalise well by studying a teacher–student setup and deriving an ODE description of online SGD dynamics via order parameters. It shows that the asymptotic generalisation error scales linearly with the excess number of hidden units $L=K-M$, e.g. $\epsilon_g^* \sim \eta \sigma^2 L$ for small $\eta$, and that this scaling persists across sigmoidal, linear, and ReLU activations, though via different mechanisms (specialisation versus redundancy). The results imply that SGD alone does not regularise over-parameterised models and that regularisation depends on the interplay between the optimization algorithm, learning rate, model architecture, and data, including finite-data effects and mini-batch settings. Overall, the paper provides a principled, quantitative framework for predicting generalisation dynamics in over-parameterised two-layer networks and highlights directions for improving generalisation beyond plain SGD.
Abstract
Deep neural networks achieve stellar generalisation on a variety of problems, despite often being large enough to easily fit all their training data. Here we study the generalisation dynamics of two-layer neural networks in a teacher-student setup, where one network, the student, is trained using stochastic gradient descent (SGD) on data generated by another network, called the teacher. We show how for this problem, the dynamics of SGD are captured by a set of differential equations. In particular, we demonstrate analytically that the generalisation error of the student increases linearly with the network size, with other relevant parameters held constant. Our results indicate that achieving good generalisation in neural networks depends on the interplay of at least the algorithm, its learning rate, the model architecture, and the data set.
