Abstract
We consider networks trained via stochastic gradient descent (SGD) to minimize $\ell_2$ loss, with training labels perturbed by independent noise at each iteration. We characterize the training dynamics near any parameter vector that achieves zero training error as an implicit regularization process. This regularization corresponds to the sum over data points of the squared $\ell_2$ norm of the model's gradient with respect to its parameters. We show that this general effect drives networks toward "simpler" models in settings such as matrix sensing and two-layer ReLU networks.
The Mystery of Generalization
A central question in deep learning is why massive, over-parameterized networks—capable of memorizing random noise—instead learn meaningful patterns that generalize to unseen data. Standard optimization theory suggests that once a network reaches zero training error, the parameters should stop evolving. However, empirical evidence shows that "implicit regularization" continues to improve generalization even after the training loss has flatlined.
This research rigorously defines the "force" driving this simplification. By investigating how label noise (perturbing target values during training) alters the optimization landscape, the authors demonstrate how the network is pushed away from complex, oscillatory solutions toward smoother, simpler ones.
Methods: Noise as a Stability Probe
The study analyzes a training regime using SGD with independent label noise. In this setup, random, zero-mean noise is added to training labels at every iteration. The researchers show that near the "zero-error manifold" (the set of parameters perfectly fitting the original data), the dynamics behave like a multi-dimensional Ornstein-Uhlenbeck (OU) process.
Using a third-order Taylor expansion of the SGD update rule, they derive an explicit formula for the implicit regularizer ($reg(\theta)$) that noise-driven SGD effectively minimizes: $$reg(\theta) = \frac{1}{n} \sum_{i=1}^{n} \|\nabla_\theta h(x_i, \theta)\|_2^2$$
This formula implies that noise forces the network to find parameters where the model's prediction $h(x, \theta)$ is stable relative to small parameter jitters. Regions of high sensitivity (high gradients) are unstable under noise; the network eventually settles in regions where the model is insensitive to parameter fluctuations, which mathematically corresponds to "simpler" functions.
The Two-Phase Training Process
Training under these conditions occurs in two distinct stages. First, the network rapidly finds a solution that fits the data, minimizing the standard $L_2$ loss. Second, on a much longer timescale, the implicit regularization takes over. The parameters "slide" along the zero-error manifold to find the simplest possible version of the solution.
As shown in the error plots, the simplification phase is significantly slower than the initial fitting phase. The researchers found that the speed of this phase is inversely proportional to the square of the learning rate ($\eta^2$), explaining why these effects require extremely long training times to observe in practice.
Simplicity is Stability
To visualize this "simplification," the authors looked at the "curve length" of models in 1D interpolation tasks. In ReLU networks, this regularizer effectively minimizes the number of "kinks" or changes in convexity, leading to piecewise linear interpolations rather than complex oscillations.
Key Insights and Implications
- Matrix Sensing: In matrix recovery tasks, this implicit regularizer is equivalent to minimizing the nuclear norm, the standard proxy for finding the lowest-rank (simplest) matrix.
- ReLU Networks: Noisy SGD consistently converges to the same simple piecewise linear model regardless of initialization, whereas standard SGD produces wildly different, often overly complex models.
- Future Directions: Because the simplification phase is so slow, the authors suggest that this implicit regularizer could be turned into an explicit penalty term in the loss function to accelerate the discovery of simple, high-generalization models.
While the proof relies on explicitly added label noise, the authors hypothesize that the inherent stochasticity of standard minibatch SGD may mimic this effect on larger, more complex datasets, providing a theoretical foundation for the observed generalization of deep learning.
Summary updated