Stable Minima Cannot Overfit in Univariate ReLU Networks: Generalization by Large Step Sizes

Dan Qiao, Kaiqi Zhang, Esha Singh, Daniel Soudry, Yu-Xiang Wang · DOI

Abstract

Modern neural networks are often overparameterized, possessing the capacity to perfectly interpolate training data, including random noise. While classical statistical theory suggests this should lead to catastrophic overfitting, deep learning models often generalize remarkably well. This paper investigates this phenomenon in the context of univariate two-layer ReLU networks. The authors demonstrate that gradient descent (GD) with a large learning rate acts as an implicit regularizer. By analyzing the linear stability of local minima, they prove that such optimization processes are mathematically driven toward "stable" minima that represent smooth, sparse linear splines. These solutions achieve minimax optimal generalization rates without any explicit regularization, effectively rejecting label noise that smaller learning rates would otherwise interpolate.

Introduction: The Generalization Paradox

In modern machine learning, we frequently train models with far more parameters than data points. Standard statistical intuition suggests that such models should "memorize" the training set, including noise, leading to poor performance on unseen data. While theories like "benign overfitting" or the "Neural Tangent Kernel" (NTK) explain generalization in certain regimes, they often fail to account for the behavior of simple 1D ReLU networks, where interpolating noisy data typically results in highly oscillatory, "spiky" functions that generalize poorly.

The authors of this paper ask a fundamental question: How does the optimization process itself prevent overfitting? They focus on the role of the learning rate ($\eta$) and the geometric properties of the minima found by gradient descent.

Linear Stability and the Curvature of the Loss Landscape

The core of the paper's analysis lies in the linear stability of local minima. A minimum is considered stable under gradient descent if the optimization process does not "bounce out" of the region. This stability is intrinsically linked to the curvature of the loss landscape, specifically the Hessian matrix of the loss function. For a given learning rate $\eta$, a necessary condition for stability is that the largest eigenvalue of the Hessian ($\lambda_{max}$) must satisfy:

$$\lambda_{max} \le \frac{2}{\eta}$$

This condition implies that as the learning rate increases, the allowed curvature at a stable minimum must decrease. In other words, large learning rates force gradient descent to find "flatter" regions of the loss landscape.

From Optimization to Function Space: The Smoothness Bridge

The paper's primary technical contribution is establishing a bridge between this optimization property (Hessian curvature) and the properties of the function represented by the network. For two-layer ReLU networks, the authors prove that:

  1. Curvature implies Smoothness: A stable minimum corresponds to a function with a bounded weighted first-order total variation ($TV^{(1)}$). This metric measures how much the derivative of the function changes, effectively quantifying its "wiggliness."
  2. Noise Rejection: In the presence of label noise, any solution that perfectly interpolates the noisy data must have very high curvature (a "sharp" minimum). By maintaining a sufficiently large learning rate, GD is physically unable to converge to these sharp regions, instead seeking out flatter, smoother solutions that ignore the noise.

This mechanism acts as an "Edge of Stability" filter, where the optimization dynamics themselves prune away overly complex, overfitted solutions.

Empirical Validation

The authors validate their theory using synthetic datasets for univariate nonparametric regression. They use a piecewise linear ground truth function and add independent Gaussian noise to the labels.

Empirical validation showing that large learning rates prevent overfitting (left), satisfy the Hessian stability bound (center), and achieve lower MSE (right).

As shown in the empirical results, there is a clear "U-shaped" tradeoff regarding the learning rate. When $\eta$ is small (large $1/\eta$), the training loss is low because the model interpolates the noise, but the Mean Squared Error (MSE) relative to the true function is high due to overfitting. Conversely, when $\eta$ is large, the model cannot fit the noise, resulting in a higher training loss but a significantly lower MSE, capturing the underlying trend of the data. Remarkably, the authors prove that these stable solutions achieve an MSE bound of $\tilde{O}(n^{-4/5})$, which is the minimax optimal rate for this class of functions—a first for ReLU networks without explicit regularization.

Discussion and Future Work

This work highlights that the "rich" or "feature learning" regime of neural networks—where weights move significantly from initialization—possesses inherent regularizing properties driven by optimization dynamics. Large learning rates induce sparsity in the "knots" of the ReLU splines, effectively simplifying the model.

However, several challenges remain. The current theory is restricted to univariate (1D) inputs, where the relationship between the Hessian and total variation is mathematically tractable. Extending these results to multivariate data and deeper architectures is a critical next step. Additionally, while the paper characterizes the properties of stable minima, a formal proof of the convergence speed to these minima in a non-convex landscape remains an open question.

Summary updated

BibTeX
@inproceedings{qiao2024stable,
  author = {Dan Qiao and Kaiqi Zhang and Esha Singh and Daniel Soudry and Yu-Xiang Wang},
  title = {{Stable Minima Cannot Overfit in Univariate ReLU Networks: Generalization by Large Step Sizes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=7Swrtm9Qsp},
}
Figure