Abstract
The over-parameterized models attract much attention in the era of data science and deep learning. It is empirically observed that although these models, e.g. deep neural networks, over-fit the training data, they can still achieve small testing error, and sometimes even outperform traditional algorithms which are designed to avoid over-fitting. The major goal of this work is to sharply quantify the benefit of data interpolation in the context of nearest neighbors (NN) algorithm. Specifically, we consider a class of interpolated weighting schemes and then carefully characterize their asymptotic performances. Our analysis reveals a U-shaped performance curve with respect to the level of data interpolation, and proves that a mild degree of data interpolation strictly improves the prediction accuracy and statistical stability over those of the (un-interpolated) optimal $k$NN algorithm. This theoretically justifies (predicts) the existence of the second U-shaped curve in the recently discovered double descent phenomenon.
Introduction
In classical statistics, overfitting is traditionally viewed as a failure of model generalization. The conventional wisdom suggests that a model fitting training data too perfectly will perform poorly on unseen data. However, modern deep learning has challenged this paradigm: large-scale neural networks that interpolate (perfectly memorize) training data often exhibit superior generalization.
A recent study, "Benefit of Interpolation in Nearest Neighbor Algorithms" by Yue Xing, Qifan Song, and Guang Cheng, provides a rigorous theoretical foundation for this observation. By analyzing the Nearest Neighbor (NN) algorithm, the authors demonstrate that data interpolation is not merely a byproduct of complex architectures but a mathematically provable advantage in specific regimes.
The Interpolated-NN Framework
The researchers analyze an Interpolated-NN (iNN) algorithm where predictions are made using a weighted average of the $k$ closest neighbors. Unlike standard kNN, which assigns equal weights, iNN uses a distance-based weighting scheme:
$$w_i \propto \|x_{(i)} - x\|^{-\gamma}$$
where $\gamma$ represents the "interpolation level." When $\gamma = 0$, the model reduces to standard kNN. As $\gamma \to \infty$, the model approaches 1-NN, achieving perfect interpolation of the training data.
Theoretical Insights: The Double Descent Phenomenon
The paper addresses the "Double Descent" phenomenon, where error first follows a classical U-shaped curve as complexity increases, but then descends again after the point of interpolation. The authors provide a sharp theoretical characterization of this behavior in the context of NN algorithms.
Their analysis reveals that within the over-fitting regime, there exists a second U-shaped curve. A "mild degree" of interpolation—where $\gamma$ is positive but finite—can strictly outperform the theoretically optimal standard kNN. This provides a clear mathematical justification for why over-parameterized models can achieve high accuracy.
Key Results and Empirical Validation
The study introduces a Performance Ratio (PR) to compare iNN against the best possible kNN. A PR less than one indicates that interpolation provides a performance boost.
Key findings include:
- Dimensionality Effects: The benefit of interpolation is most significant in lower dimensions. As dimensionality ($d$) increases, the relative advantage of interpolation diminishes because high-dimensional geometry naturally leads to a form of interpolation.
- Stability: Contrary to intuition, an optimally tuned iNN model can be more statistically stable than standard kNN, reducing classification instability.
- Bias-Variance Tradeoff: Interpolation effectively reduces bias. While this typically increases variance, the authors show that by appropriately adjusting $k$, one can control variance while retaining the bias-reduction benefits.
Empirical tests on real-world datasets, including Abalone, HTRU2, and MNIST, confirmed these theoretical predictions. In every case, the best-performing interpolated model surpassed the standard kNN baseline.
Conclusion
This work offers a theoretical bridge between classical learning theory and modern observations in deep learning. By proving the benefits of interpolation in a simple, transparent algorithm like Nearest Neighbors, the authors provide a foundational understanding of why "overfitting" can sometimes be a virtue rather than a vice. Future research may extend these insights to more complex models where weighting schemes are learned dynamically.
Summary updated