NeurIPS2024

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

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

摘要

We study the generalization of two-layer ReLU neural networks in a univariate nonparametric regression problem with noisy labels. This is a problem where kernels (e.g. NTK) are provably sub-optimal and benign overfitting does not happen, thus disqualifying existing theory for interpolating (0-loss, global optimal) solutions. We present a new theory of generalization for local minima that gradient descent with a constant learning rate can stably converge to. We show that gradient descent with a fixed learning rate η\eta can only find local minima that represent smooth functions with a certain weighted first order total variation bounded by 1/η1/2+O~(σ+MSE)1/\eta - 1/2 + \widetilde{O}(\sigma + \sqrt{\mathrm{MSE}}) where σ\sigma is the label noise level, MSE\mathrm{MSE} is short for mean squared error against the ground truth, and O~()\widetilde{O}(\cdot) hides a logarithmic factor. Under mild assumptions, we also prove a nearly-optimal MSE bound of O~(n4/5)\widetilde{O}(n^{-4/5}) within the strict interior of the support of the nn data points. Our theoretical results are validated by extensive simulation that demonstrates large learning rate training induces sparse linear spline fits. To the best of our knowledge, we are the first to obtain generalization bound via minima stability in the non-interpolation case and the first to show ReLU NNs without regularization can achieve near-optimal rates in nonparametric regression.