[Paper Review] Generalisation dynamics of online learning in over-parameterised neural networks
This paper studies the generalization dynamics of over-parameterized two-layer neural networks trained via stochastic gradient descent (SGD) in a teacher-student framework. Using a set of analytically derived ordinary differential equations (ODEs), it shows that generalization error increases linearly with over-parameterization (L), scaling as $\epsilon_g^* \sim \eta\sigma^2L$ for small learning rates, revealing a fundamental trade-off between model capacity and generalization in online learning.
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.
Motivation & Objective
- To understand why over-parameterized neural networks generalize well despite their capacity to memorize training data.
- To model the training dynamics of a student network learning from a teacher network using stochastic gradient descent (SGD).
- To derive a closed-form description of generalization error evolution in terms of network size and learning rate.
- To investigate how over-parameterization (excess hidden units) affects generalization performance in online learning.
Proposed method
- Formulates a teacher-student learning setup where the student learns from data generated by a teacher network with M hidden units.
- Models the student network as a two-layer network with K hidden units, allowing K > M to create controlled over-parameterization (L = K - M).
- Derives a set of ordinary differential equations (ODEs) that describe the time evolution of generalization error and order parameters in the large-N limit.
- Uses statistical physics tools to compute the asymptotic generalization error $\epsilon_g^*$ analytically, assuming i.i.d. Gaussian inputs and finite noise variance $\sigma^2$.
- Solves the ODEs perturbatively in the small learning rate $\eta$ regime to obtain explicit expressions for $\epsilon_g^*$.
- Validates results on MNIST data, showing similar scaling behavior to i.i.d. Gaussian inputs, confirming robustness to input distribution.
Experimental results
Research questions
- RQ1How does the generalization error of an over-parameterized student network evolve during online SGD training?
- RQ2What is the analytical dependence of the final generalization error on the degree of over-parameterization (L)?
- RQ3Does the learning rate and noise level influence the generalization performance in over-parameterized networks?
- RQ4How does the generalization error scale with network size when the training set is finite or large?
- RQ5Does early stopping mitigate the negative impact of over-parameterization on generalization?
Key findings
- The generalization error after convergence, $\epsilon_g^*$, increases linearly with the over-parameterization level L, with $\epsilon_g^* \sim \eta\sigma^2L$ for small learning rates.
- The linear scaling of generalization error with L holds across different activation functions: linear, sigmoidal (erf), and ReLU.
- The model predicts two distinct regimes: when P ≫ K, increasing L degrades generalization; when P ≈ K, generalization is stable or improves.
- The ODE framework accurately predicts generalization error in both synthetic i.i.d. Gaussian data and real-world MNIST data, showing consistent scaling.
- Early stopping reduces overfitting, especially in sigmoidal networks, but does not eliminate the L-dependent generalization error trend.
- The analytical solution is derived using statistical physics methods and is exact in the large-N limit with sufficiently large training sets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.