Unraveling the Enigma of Double Descent: An In-depth Analysis through the Lens of Learned Feature Space

Yufei Gu, Xiaoqing Zheng, Tomaso Aste · DOI

Abstract

The "Double Descent" phenomenon challenges the classical bias-variance trade-off by showing that test error can decrease again after an initial peak at the interpolation threshold. This study explores the underlying mechanisms of this behavior by examining how neural networks organize data in their internal feature spaces. Using a $k$-Nearest Neighbor analysis of the penultimate layer, we show that over-parameterized models learn to "isolate" noisy samples from clean ones. This allows the network to memorize noise in localized regions while maintaining a globally coherent representation of the true data distribution, leading to improved generalization in the over-parameterized regime.

Introduction

In classical statistical learning theory, the bias-variance trade-off suggests a "U-shaped" test error curve: as model complexity increases, bias decreases but variance eventually dominates, leading to overfitting. However, modern deep learning practices often involve models with far more parameters than training samples, yet these models generalize remarkably well. This discrepancy is characterized by the "Double Descent" phenomenon, where test error peaks at the "interpolation threshold"—the point where the model is just large enough to fit the training set perfectly—and then declines as the model becomes even larger.

While well-documented, the mechanical cause of double descent in deep neural networks remains debated. This paper investigates how the presence of label noise and the structural evolution of the learned feature space contribute to this non-monotonic behavior.

Methodology: Probing the Feature Space

To understand how models handle noise as they scale, the authors analyze the internal representations in the penultimate layer. The core of their analysis is a $k$-Nearest Neighbor ($k$-NN) interpretation strategy.

  1. Noise Injection: Controlled levels of label noise (randomly flipped labels) are introduced to the training sets.
  2. Feature Space Analysis: For each noisy training sample, the $k$ nearest neighbors are identified within the feature space, restricted only to clean training samples.
  3. The $P$ Metric (Prediction Accuracy): A metric $P$ is calculated, representing the proportion of noisy samples whose true (original) class matches the majority label of their clean neighbors in the feature space. A high $P$ value indicates that the model has "isolated" the noisy sample, placing it near clean samples of its true class despite the incorrect training label.

Experimental Results on MNIST

Experiments on the MNIST dataset using Fully Connected Neural Networks (FCNNs) reveal a strong correlation between label noise and the severity of the double descent peak.

Figure 1: Experiment results on MNIST with varying noise levels (p=0%, 10%, 20%). The top row shows accuracy metrics, where 'Prediction Accuracy' (the P metric) tracks the model's internal ability to identify the true class of noisy samples. The bottom row displays the corresponding cross-entropy loss curves.

As shown in Figure 1, when noise is absent ($p=0\%$), the double descent peak in test loss is minimal. However, as noise increases to 10% and 20%, a distinct peak emerges at the interpolation threshold. Crucially, the "Prediction Accuracy" ($P$) begins to rise significantly once the model enters the over-parameterized regime. This suggests that as the number of hidden neurons increases beyond the threshold, the model doesn't just memorize noise; it learns to separate it from the underlying signal.

Scaling to Complex Datasets: CIFAR-10

The phenomenon is not limited to simple datasets like MNIST. The authors extended their study to CIFAR-10, a more complex benchmark.

Figure 6: Double descent observed on CIFAR-10 with 20% label noise using a convolutional architecture. The test loss (blue) peaks sharply at the interpolation threshold (around a convolutional layer width of 15) before descending as the model becomes wider.

In Figure 6, the CIFAR-10 results demonstrate a classic double descent curve in test loss. The "Prediction Accuracy" remains relatively stable or improves slightly, confirming that the model maintains a coherent feature space for clean data even while fitting 20% label noise.

Key Insights: The Isolation Hypothesis

The primary finding of this work is the Isolation Hypothesis. In smaller models near the interpolation threshold, noisy samples exert a strong influence on the decision boundary, pulling it away from the clean data distribution and causing high test error.

In contrast, over-parameterized models possess enough degrees of freedom to fit noisy samples in tiny, isolated "pockets" of the feature space. This high-dimensional "isolation" prevents the noise from distorting the global structure of the clean data. Consequently, the model can perfectly memorize the training set (including noise) while still generalizing effectively to unseen test data.

Discussion and Limitations

While the empirical evidence for noise isolation is compelling, several questions remain. The authors note a "ResNet Exception": unlike standard CNNs, ResNets showed a drop in the $P$ metric to zero at the interpolation threshold, suggesting they separate noisy samples so perfectly that they have no clean neighbors of the same true class. Despite this, they still exhibit double descent.

Future work is needed to provide a rigorous mathematical framework for why high-dimensional spaces naturally facilitate this type of separation. Additionally, investigating "implicit sparsity" in feature representations may offer further clues into how deep networks manage the signal-to-noise ratio in over-parameterized regimes.

Summary updated

BibTeX
@inproceedings{gu2024unraveling,
  author = {Yufei Gu and Xiaoqing Zheng and Tomaso Aste},
  title = {{Unraveling the Enigma of Double Descent: An In-depth Analysis through the Lens of Learned Feature Space}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=CEkIyshNbC},
}
Figure