A Classical View on Benign Overfitting: The Role of Sample Size
Junhyung Park, Patrick Bloebaum, Shiva Prasad Kasiviswanathan
TL;DR
This work challenges the traditional view that overfitting necessarily harms generalization by showing that benign overfitting can occur within the classical risk–capacity regime when sample size is properly scaled with model complexity. It establishes non-asymptotic, high-probability guarantees for two foundational settings: kernel ridge regression and two-layer ReLU networks trained in the neural tangent kernel (NTK) regime. Central to the results is a decomposition of excess risk into approximation and estimation errors and the interpretation of gradient flow as an implicit regularizer, which helps avoid uniform convergence traps. The findings suggest that larger models can simultaneously achieve small training and test errors without strong assumptions on the regression function or noise, though the bounds are upper bounds and the analysis is currently limited to these settings. The work provides a framework and techniques that may inform future analyses of benign overfitting beyond NTK and kernel methods, with potential implications for understanding overparameterized neural networks in practice.
Abstract
Benign overfitting is a phenomenon in machine learning where a model perfectly fits (interpolates) the training data, including noisy examples, yet still generalizes well to unseen data. Understanding this phenomenon has attracted considerable attention in recent years. In this work, we introduce a conceptual shift, by focusing on almost benign overfitting, where models simultaneously achieve both arbitrarily small training and test errors. This behavior is characteristic of neural networks, which often achieve low (but non-zero) training error while still generalizing well. We hypothesize that this almost benign overfitting can emerge even in classical regimes, by analyzing how the interaction between sample size and model complexity enables larger models to achieve both good training fit but still approach Bayes-optimal generalization. We substantiate this hypothesis with theoretical evidence from two case studies: (i) kernel ridge regression, and (ii) least-squares regression using a two-layer fully connected ReLU neural network trained via gradient flow. In both cases, we overcome the strong assumptions often required in prior work on benign overfitting. Our results on neural networks also provide the first generalization result in this setting that does not rely on any assumptions about the underlying regression function or noise, beyond boundedness. Our analysis introduces a novel proof technique based on decomposing the excess risk into estimation and approximation errors, interpreting gradient flow as an implicit regularizer, that helps avoid uniform convergence traps. This analysis idea could be of independent interest.
