Interpolation can hurt robust generalization even when there is no noise

Konstantin Donhauser, Alexandru Tifrea, Michael Aerni, Reinhard Heckel, Fanny Yang

In the era of massive neural networks, "interpolation"—achieving zero training error—is often seen as a harmless byproduct of overparameterization. This paper reveals a striking, counter-intuitive reality: for robust generalization (staying accurate under adversarial attacks), interpolation is actively harmful, even when your training data is perfectly clean and noise-free.

Rethinking "Harmless Interpolation"

Modern machine learning has embraced a "bigger is better" philosophy. Recent theory on the "double descent" phenomenon suggests that as models get larger, they can interpolate (perfectly fit) the training data while still generalizing well to new, similar data. This has led to a prevailing narrative that explicit regularization, like weight decay, might be unnecessary in high-dimensional settings.

However, this narrative focuses almost exclusively on standard risk—performance on data drawn from the exact same distribution as the training set. The authors of this paper ask a critical question: Does this "harmless interpolation" hold up when we care about robustness? If an adversary can slightly perturb the test data, or if there is a slight distribution shift, does fitting every training point perfectly still lead to the best model?

Methodology and Datasets

The authors tackle this question using a mix of rigorous mathematical proofs and empirical simulations, focusing on two fundamental settings:

  1. Linear Ridge Regression: They derive precise asymptotic expressions for "robust risk" (risk under $\ell_2$ perturbations) as the number of features ($d$) and samples ($n$) both go to infinity.
  2. Robust Logistic Regression: They analyze binary classification under $\ell_\infty$ adversarial attacks, using the Convex Gaussian Minimax Theorem (CGMT) to predict how models behave in high dimensions.

Crucially, they compare interpolators (models where the regularization parameter $\lambda \to 0$) against regularized estimators ($\lambda > 0$). They also investigate "implicit regularization" via early stopping in gradient descent.

To validate their theories, the authors use both synthetic isotropic Gaussian covariates and a sanitized, "pruned" version of the MNIST dataset (specifically 1s and 3s). By manually removing ambiguous or "noisy" images, they ensured the real-world training set was as close to perfectly separable and noiseless as possible.

Key Insights: Why Interpolation Hurts Robustness

  • Robust Overfitting is Real: The paper provides the first theoretical proof that "robust overfitting" occurs even in the absence of label noise. Usually, we blame noisy data for overfitting; here, the authors show that the geometry of high-dimensional interpolation itself is the culprit.
  • The Sparsity Trade-off: In classification, interpolation forces the model to maximize the minimum margin across all training points. In high dimensions, this often results in a "dense" weight vector that tries too hard to accommodate every outlier's position.
  • Regularization Aligns with Truth: Ridge regularization (an $\ell_2$ penalty) encourages the model to focus on the "average" margin. This leads to sparser solutions that align much more closely with the true underlying signal, making the model significantly less sensitive to small adversarial "nudges."
  • Early Stopping as a Shield: The authors show that stopping gradient descent early—before it reaches zero training loss—acts as a form of implicit regularization that significantly boosts robustness, mirroring the effects of explicit ridge penalties.
Population risk curves demonstrating the gap between interpolating and optimally regularized models, even in noiseless scenarios.

Key Results

The theoretical and empirical findings consistently point to the benefits of regularization for robust generalization:

  • Regression: For linear models, the robust risk of an interpolator is strictly higher than that of an optimally regularized model, even when the noise variance is zero ($\sigma^2 = 0$). There is a persistent "gap" in population risk that remains even as the model becomes extremely overparameterized ($d/n \gg 1$).
  • Classification: In logistic regression, the robust max-margin interpolator consistently performs worse than its regularized counterparts.
  • The Label Noise Paradox: Interestingly, the authors found that adding a small amount of label noise (randomly flipping labels) can actually improve robust generalization for unregularized models. The noise prevents the model from easily finding a simple interpolating solution, forcing a better implicit bias.
The benefit of regularization across different models and noise settings.

Limitations and Future Work

While groundbreaking, the theoretical proofs in this paper are currently limited to linear and logistic regression. Although the authors provide compelling empirical evidence using shallow neural networks, a formal proof for deep, non-linear architectures remains an open challenge. Additionally, the proofs assume isotropic Gaussian features; real-world data often has more complex manifold structures that might affect these dynamics.

Future work will likely focus on proving the benefits of early stopping in non-linear regimes and exploring how different types of adversarial training interact with these high-dimensional interpolation effects.

Summary updated

BibTeX
@inproceedings{donhauser2021interpolation,
  author = {Konstantin Donhauser and Alexandru Tifrea and Michael Aerni and Reinhard Heckel and Fanny Yang},
  title = {{Interpolation can hurt robust generalization even when there is no noise}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=nNfj0pVn4Q},
}
Figure