Benign Overfitting for Regression with Trained Two-Layer ReLU Networks

Junhyung Park, Patrick Blöbaum, Shiva Prasad KasiviswanathanarXiv 2024 · DOI

Introduction

In classical statistical learning theory, the "bias-variance tradeoff" suggests that a model with enough capacity to perfectly fit noisy training data will inevitably suffer from high variance, leading to poor generalization. This phenomenon, known as overfitting, has long been considered a fundamental limit of machine learning. However, modern deep learning practice frequently contradicts this wisdom: overparameterized neural networks often achieve zero training error while maintaining excellent performance on unseen data. This phenomenon is termed benign overfitting.

While recent theoretical breakthroughs have established the existence of benign overfitting in linear models and kernel regression, extending these proofs to neural networks has proven difficult. Many existing analyses rely on "uniform convergence"—a framework that often fails for overparameterized models—or require the target function to reside within a specific, restrictive Reproducing Kernel Hilbert Space (RKHS). This paper addresses these gaps by providing the first theoretical proof that finite-width, two-layer ReLU networks can achieve benign overfitting for any arbitrary bounded regression function.

Theoretical Framework

Model and Training

The authors analyze a standard two-layer fully-connected neural network with ReLU activation functions. The model is trained using gradient flow—the continuous-time limit of gradient descent—to minimize the square loss over a finite set of noisy samples.

The analysis operates within the Neural Tangent Kernel (NTK) regime, often referred to as "lazy training." In this regime, the network's width $m$ is sufficiently large such that the hidden layer weights do not deviate significantly from their random initialization. This allows the researchers to treat the training dynamics as a linear evolution in a high-dimensional feature space, though the features themselves are derived from the non-linear ReLU architecture.

Approximation-Estimation Decomposition

To bypass the limitations of uniform convergence, the paper introduces a novel decomposition of the excess risk (the difference between the model's expected risk and the Bayes optimal risk):

  1. Approximation Error: This measures how well a network trained on the true underlying data distribution (the population) can fit the target function $f^*$.
  2. Estimation Error: This measures the deviation caused by training on a finite, noisy sample set rather than the full distribution.

By utilizing integral operator techniques from kernel literature, the authors demonstrate that gradient flow acts as an implicit regularizer, controlling the growth of the estimation error even as the training error vanishes.

Data Model and Assumptions

As a theoretical study, the paper utilizes a controlled mathematical environment rather than empirical datasets:

  • Inputs ($x$): Samples are drawn from a uniform distribution on a unit sphere $S^{d-1}$.
  • Labels ($y$): Generated by an arbitrary bounded regression function $f^*(x)$ plus bounded noise.
  • Scaling: The input dimension $d$, network width $m$, and sample size $n$ are all considered large but finite, with specific quantitative relationships required to guarantee convergence.

Key Insights

1. Universality without Smoothness

Unlike previous research that required the target function $f^*$ to be "smooth" or belong to the NTK's specific Hilbert space, this work proves that two-layer ReLU networks can approximate any bounded function. This significantly broadens the applicability of the benign overfitting theory.

2. The Role of Spectral Bias

The proof leverages the spectral bias of gradient descent. In the NTK regime, the model learns the components of the signal associated with large eigenvalues of the kernel matrix very quickly. The noise, which is typically associated with the "tail" of the eigenvalue spectrum, is incorporated much more slowly. This temporal separation allows the network to capture the underlying signal before the noise can significantly degrade generalization.

3. Implicit Regularization through Time

The authors show that training time $T$ serves as a critical hyperparameter. By carefully managing the duration of gradient flow, the network reaches a "sweet spot" where it has perfectly interpolated the training data (achieving zero empirical risk) but has not yet been led astray by the specific noise patterns in the training samples.

Main Results: Theorem 10

The paper’s primary contribution is summarized in Theorem 10 (Benign Overfitting). The theorem establishes that for any desired accuracy $\epsilon$, there exist conditions on the width $m$ and sample size $n$ such that:

  • Overfitting occurs: The training error decays exponentially, specifically at a rate of approximately $\exp(-t/4d)$, eventually falling below $\epsilon$.
  • Generalization is maintained: Simultaneously, the excess risk also falls below $\epsilon$.

This result formally confirms that for two-layer ReLU networks, perfect interpolation of noisy data is not only possible but can be statistically optimal.

Limitations and Future Work

While a landmark result, the paper identifies several avenues for further research:

  • Beyond Lazy Training: The NTK regime assumes weights stay near initialization, which does not account for the "feature learning" observed in practical deep learning where representations change significantly.
  • Architectural Depth: The current proof is limited to two-layer architectures. Extending these guarantees to deep, multi-layer networks remains a major theoretical challenge.
  • Data Geometry: The assumption of spherical data distribution is a simplification. Real-world data often lies on complex, low-dimensional manifolds, and future theory must account for these structures to fully explain the success of deep learning in practice.

Summary updated

BibTeX
@misc{park2024benign,
  author = {Junhyung Park and Patrick Blöbaum and Shiva Prasad Kasiviswanathan},
  title = {{Benign Overfitting for Regression with Trained Two-Layer ReLU Networks}},
  year = {2024},
  eprint = {2410.06191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.06191},
}
Figure