Mitigating deep double descent by concatenating inputs

John Chen, Qihan Wang, Anastasios Kyrillidis

Abstract

The double descent phenomenon, where test error spikes at the interpolation threshold before decreasing in the overparameterized regime, challenges classical statistical intuition. This work investigates a novel "concatenated inputs" construction that artificially inflates dataset size by pairing inputs and averaging labels. We demonstrate that while this method fails to mitigate double descent in linear regression, it successfully smooths the performance curves in deep neural networks across various architectures and datasets, effectively bypassing the interpolation peak.

Introduction: The Double Descent Challenge

In classical learning theory, increasing model complexity beyond a certain point is expected to lead to overfitting, creating a U-shaped test error curve. However, modern deep learning often exhibits double descent: as model size or training time increases, the test error first follows the classical curve, peaks when the number of parameters matches the number of samples (the interpolation threshold), and then descends again in the overparameterized regime.

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

Methodology: Concatenating Inputs

The researchers propose a simple data augmentation strategy called the concatenated inputs construction:

  1. Construction: For a dataset of size $n$, a new dataset of size $O(n^2)$ is generated by concatenating every possible pair of inputs $(x_i, x_j)$ (e.g., stacking images).
  2. Labeling: The target label for the pair is the average of the original labels: $(y_i + y_j) / 2$.
  3. Inference: At test time, a single input $x$ is concatenated with itself $[x, x]$ to maintain the input dimension, and the model predicts the label.

This combinatorial expansion increases the number of training instances without introducing new semantic information, testing if the model's perception of the interpolation threshold can be shifted.

Linear vs. Non-Linear Divergence

A striking finding of the study is the difference in behavior between linear models and deep neural networks. In linear regression, the concatenated input trick fails to remove the interpolation peak.

Persistent double descent peak in linear regression as a function of sample size.

As shown in Figure 1, the Test MSE exhibits a sharp spike at the point where the number of samples nears the interpolation threshold. The concatenation method does not shift this fundamental geometric bottleneck in the linear setting, suggesting that the benefits of the construction are unique to the non-linear dynamics of deep networks.

Mitigation in Deep Neural Networks

In contrast, the method proves highly effective for deep architectures like ResNets on CIFAR-10 and CIFAR-100. By forcing the network to learn features robust to arbitrary pairings, the construction acts as a form of implicit regularization that specifically targets the variance spike at the interpolation threshold.

Comparison of standard (orange) vs. concatenated (blue) training across loss and error metrics.

Figure 5 illustrates this mitigation across various metrics and model scales. While standard training (orange) shows a clear "bump" in loss and error as the number of parameters increases, the concatenated approach (blue) results in a much smoother transition. In the critical interpolation region, this leads to substantial performance gains, such as a >5% reduction in test error for ResNet-18 on CIFAR-10. Control experiments where images were only paired with themselves ($[x_i, x_i]$) still showed double descent, proving that the combinatorial variety of the pairs is the key driver of this smoothing effect.

Conclusion

The success of input concatenation in deep networks—and its failure in linear models—suggests that the concept of a "sample" in deep learning is more fluid than previously thought. By leveraging combinatorial variety, we can bypass the deleterious effects of the interpolation threshold, providing a practical tool for stabilizing the training of large-scale models. Future work remains to theoretically bridge the gap between these linear and non-linear observations.

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},
}
Figure