Benign Overfitting Does Not Occur in Diffusion Models

Tyler Farghly, Benjamin Dupuis, Alain Oliviero Durmus, Umut Simsekli

TL;DR

Contrary to the "double descent" phenomenon seen in standard deep learning, this paper proves that diffusion models follow a classical U-shaped generalization curve. Overfitting in diffusion models is inherently harmful—leading to memorization rather than better generalization—unless the training set size grows exponentially with the data's dimension.

What Problem Does This Paper Address?

In recent years, the deep learning community has embraced a counter-intuitive idea: benign overfitting. In tasks like image classification or regression, we often see "double descent," where increasing model complexity beyond the point of perfectly fitting the training data actually improves test performance. We’ve come to believe that bigger is almost always better and that "memorizing" the training set isn't necessarily a death sentence for generalization.

Because diffusion models (like Stable Diffusion or Midjourney) use the same neural network architectures and optimization tricks as these other models, researchers assumed they followed the same rules. This paper tackles a fundamental question: Do diffusion models also exhibit benign overfitting? If they don't, our current theoretical understanding of why these models work—and how we should train them—might be built on a shaky foundation.

Methods

The authors approach the problem through three distinct lenses:

  1. Fundamental Impossibility Results: Using tools from information theory (Fisher information and Girsanov’s theorem), they derive lower bounds on the sum of training and test losses. They show that for a diffusion model to have both low training error and low test error, the sample size must be massive.
  2. Linear Random Feature Networks (RFNNs): They analyze a simplified, mathematically tractable model (2-layer linear networks) to compare standard regression against score matching (the objective used to train diffusion models). This allows them to isolate exactly why the two settings behave differently.
  3. High-Dimensional Experiments: They move from theory to practice by training DDPM U-Nets on a subset of the CIFAR-10 dataset. By varying the number of channels (the "width") of the U-Net, they empirically track the transition from underfitting to generalization to pure memorization.

Datasets

  • CIFAR-10: The authors used a subset of 1,000 images for training to make overfitting easier to observe, while evaluating on the full 10,000-image test set.
  • Synthetic Data: Used for the Random Feature Network experiments to validate the mathematical proofs in a controlled environment.

Key Insights and Ideas

  • The "Alignment" Gap: In standard regression, a model can "ignore" noise by aligning itself with the empirical covariance of the data. In diffusion models, the goal is score matching—estimating the gradient of the log-density. The authors find that score matching admits no such "alignment" trick. In this setting, fitting the noise in the training data is "irreparably harmful."
  • U-Shape vs. Double Descent: While regression models show a second drop in error as they get very large (double descent), diffusion models show a classical U-shape. As you add more parameters, the test error eventually explodes as the model begins to memorize specific training points.
  • The Role of Time-Smoothness: If overfitting is so bad, why do diffusion models work so well in the real world? The authors identify time-smoothness as a savior. Because the model is trained to predict scores across a continuum of noise levels (from $t=0$ to $T$), the requirement to be "smooth" across time acts as a powerful implicit regularizer, similar to Ridge regression.
  • Early Stopping is Mandatory: The paper suggests that generalization in diffusion is often a "transient" state. If you train a large enough model for too long, it will eventually move past a good generative state and settle into a state of pure memorization.

Key Results

  • Theoretical Bound: The authors prove that the sample size $n$ must scale with $(1/\epsilon)^{d'/2}$ (where $d'$ is the data dimension) to achieve an error $\epsilon$ while overfitting. For high-dimensional images, this is an impossibly large number of samples.
  • Empirical Confirmation: In Figure 2, the authors show that as U-Net features increase, the "Negative Log-Likelihood" follows a clear U-shape.
  • Qualitative Memorization: At low complexity, the model generates blurry blobs. At optimal complexity, it generates novel images. At high complexity (overfitting), the generated samples become pixel-perfect copies of the training images.

Limitations and Future Work

The fine-grained analysis of why the error explodes relies heavily on linear models (RFNNs). While the authors validate this with U-Nets, a full theoretical treatment of non-linear, deep architectures in the context of time-integrated losses remains an open challenge.

Additionally, the authors note that while they've identified time-smoothness and early stopping as key mechanisms, more work is needed to develop a "new theory of generalization" specifically tailored for the unique dynamics of diffusion, rather than trying to force-fit existing regression-based theories.

Summary updated

BibTeX
@inproceedings{farghly2026benign,
  author = {Tyler Farghly and Benjamin Dupuis and Alain Oliviero Durmus and Umut Simsekli},
  title = {{Benign Overfitting Does Not Occur in Diffusion Models}},
  booktitle = {FoGen @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=QwP5eaXJTj},
}
Figure