Mitigating Deep Double Descent by Concatenating Inputs

John Chen, Qihan Wang, Anastasios Kyrillidis

TL;DR

Researchers have discovered a surprisingly simple way to smooth out the "double descent" phenomenon—where test error spikes before decreasing again as models get larger. By artificially inflating the dataset size through a "concatenating inputs" construction (stacking pairs of images and averaging their labels), they successfully mitigated the performance dip in deep neural networks, though the trick notably fails to help simple linear regression.

What Problem Does This Paper Address?

In classical statistics, we are taught the bias-variance tradeoff: as a model becomes more complex, training error goes down, but test error eventually goes up (overfitting), creating a U-shaped curve.

Modern deep learning has shattered this intuition with Double Descent. As you increase model size (or training time), the error follows the U-shaped curve, hits a "peak" at the interpolation threshold (where the number of parameters roughly equals the number of samples), and then—counter-intuitively—starts decreasing again in the "overparameterized" regime.

This paper investigates the fundamental definition of a "sample." If double descent is driven by the ratio of parameters to samples, can we "trick" the model into bypassing the performance peak by artificially increasing the number of samples without actually adding new information to the dataset?

Methods

The authors introduce the concatenated inputs construction.

  1. The Construction: Given a dataset of size $n$, they create a new dataset of size $O(n^2)$ by taking every possible pair of inputs $(x_i, x_j)$ and stacking them (e.g., placing one image on top of another).
  2. The Labels: The new target label is the average of the original labels: $(y_i + y_j) / 2$.
  3. Testing: During inference, a single test input $x$ is simply concatenated with itself $[x, x]$, and the model predicts the original label.

The goal is to see if this combinatorial explosion of "samples"—which contains no more semantic information than the original $n$ images—changes how the model perceives the interpolation threshold.

Datasets

The authors evaluated their method across several standard benchmarks:

  • Synthetic Data: Used for the linear regression baseline.
  • MNIST: Used for a one-hidden-layer feedforward neural network.
  • CIFAR-10 & CIFAR-100: Used for deep ResNet-18 and ResNet-34 architectures.

Key Insights and Ideas

  • Linear vs. Non-Linear Divergence: The most striking finding is that this trick does not work for linear regression. In the linear case, the double descent peak remains in the exact same spot. However, for neural networks, the peak is significantly mitigated or disappears entirely.
  • It’s Not Just About Input Size: To prove the benefit wasn't just coming from having larger input vectors (more parameters in the first layer), the authors ran a control where they stacked the same image twice ($[x_i, x_i]$). This version still showed double descent, proving that the combinatorial variety of the concatenated pairs is what drives the mitigation.
  • Implicit Regularization: The authors hypothesize that for deep networks, this construction acts as a form of implicit regularization. It forces the network to learn features that are robust to being paired with any other sample in the dataset, smoothing the variance curve that usually spikes at the interpolation threshold.
  • Redefining "Sample": The results suggest that in deep learning, the "number of samples" is a fluid concept. By changing the input pipeline, we can shift the model's behavior from underparameterized to overparameterized without collecting new data.

Key Results

  • ResNet-18 on CIFAR-10: In the "interpolation region" (where the model is just large enough to fit the data), the concatenated construction achieved a >5% lower test error compared to standard training.
  • Epoch-wise Double Descent: When training for a long time, standard models often show an error peak mid-training. The proposed method showed a "flat U-shape," significantly mitigating this peak.
  • Bias-Variance Decomposition: The authors showed that their method specifically targets the variance component of the error. While standard training sees a sharp unimodal spike in variance at the threshold, the concatenated construction results in a much lower, delayed, and smoother variance increase.

Limitations and Future Work

  • Computational Cost: Creating an $O(n^2)$ dataset is computationally expensive. While the authors used a subset for practical training, the overhead of processing larger input dimensions and more samples is non-trivial.
  • Theoretical Gap: The paper observes that it works for NNs but not linear models, but a rigorous mathematical proof explaining why this gap exists remains an open question.
  • Scaling to Complex Tasks: While it works for classification on CIFAR, it is unclear how this "averaging labels" approach would scale to more complex tasks like object detection or generative modeling where simple concatenation might destroy necessary spatial or semantic structures.

Summary updated

BibTeX
@inproceedings{chen2021mitigating,
  author = {John Chen and Qihan Wang and Anastasios Kyrillidis},
  title = {{Mitigating Deep Double Descent by Concatenating Inputs}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  url = {https://openreview.net/forum?id=O3SVxmL3MX},
}

Loading related content...

Figure