Selective Underfitting in Diffusion Models

Kiwhan Song, Jaeyeon Kim, Sitan Chen, Yilun Du, Sham Kakade, Vincent Sitzmann

TL;DR

Diffusion models present a fundamental paradox: if they perfectly learned the training data's score function, they would simply replicate the training set instead of generating novel samples. This paper resolves this by showing that diffusion models don't underfit globally; instead, they exhibit selective underfitting—perfectly memorizing training data within narrow "supervision shells" while underfitting and extrapolating creatively in the regions where inference actually occurs.

What Problem Does This Paper Address?

When training a diffusion model via denoising score matching (DSM), the mathematical ideal is to match the empirical score function of the training data. However, doing so perfectly means the model would only ever regenerate the exact training images. Prior literature argued that neural network inductive biases cause the model to "underfit" this empirical score globally, smoothing it out to allow for generalization.

The authors challenge this "global underfitting" view by pointing out a glaring contradiction they call the Classifier-Free Guidance (CFG) Paradox. During training, the empirical conditional and unconditional scores are virtually identical because high-dimensional noise-corrupted data points don't overlap. Yet, during inference, CFG works beautifully because the learned conditional and unconditional scores diverge significantly.

To resolve this, the paper investigates not just how diffusion models underfit, but where. They reveal a stark spatial mismatch between the narrow regions of data space visited during training versus the wide trajectories traversed during inference.

Methods

The authors decompose the data space into two distinct regions:

  1. The Supervision Region: Due to the properties of high-dimensional Gaussians, noise-corrupted training data concentrates on thin, non-overlapping spherical shells around each data point. Here, the model receives strong, direct supervision.
  2. The Extrapolation Region: The regions outside these shells where the model receives no training data but is forced to make predictions during inference.

To study this, they define a metric, $r_\star$, which quantifies how far an inference trajectory deviates from the training shells.

Figure 1: Selective underfitting. (a) Training distribution concentrates in a small region of data space, where the model learns the empirical score function s⋆. At inference, sampling trajectories go beyond this region, where predictions are not directly supervised and must be extrapolated. (b) The plotted distances reflect how far sampling trajectories are from the supervision region.

They also design a clever "Freedom of Extrapolation" experiment on ImageNet. By decoupling the subset of data used to define the empirical score ($D_{score}$) from the subset used to define the noisy training distribution ($D_{region}$), they can artificially broaden the supervision region and observe its direct impact on generalization.

Finally, they introduce Perception-Aligned Training (PAT), a unified framework showing that successful diffusion training recipes (like REPA, latent space training, or convolutional architectures) work precisely because they align the model's extrapolation behavior with human perception.

Datasets

  • ImageNet (256x256): Used for real-world image generation experiments, evaluated within the latent space of a standard SD-VAE.
  • Synthetic 2D Toy Dataset: Used to isolate extrapolation behavior and verify the Perception-Aligned Training (PAT) hypothesis.
  • Synthetic Gaussian Dataset: Used to theoretically verify that selective underfitting persists even when the ground-truth distribution is perfectly simple.

Key Insights and Ideas

  • Empirical Score Collapse: Within the training shells, the complex empirical score function collapses into a trivial vector pointing directly back to the nearest training sample. The model effectively receives a trivial memorization signal during training.
  • Selective, Not Global, Scaling: As diffusion models scale up in capacity (GFLOPs), their behavior diverges based on region. They fit the empirical score better inside the supervision region (meaning they don't underfit there at all), but they deviate more from it in the extrapolation region.
  • Freedom of Extrapolation: Generalization is entirely dependent on the model's freedom to underfit outside the training distribution. If you artificially widen the supervision region, the model loses its freedom to extrapolate and reverts to pure memorization.
  • The Transformer vs. U-Net Tradeoff: Transformers possess excellent supervision efficiency (they scale incredibly well at minimizing training loss), but poor extrapolation efficiency. Convolutions (U-Nets) provide a strong inductive bias that excels at extrapolation but struggles to minimize supervision loss at scale.

Key Results

  • Rapid Inference Escape: During inference, sampling trajectories escape the narrow training shells almost immediately ($r_\star \gg 1$), proving that inference is dominated by extrapolation.
  • The CFG Paradox Solved: The paper demonstrates that the gap between conditional and unconditional scores is nearly zero during training but massive during inference, a phenomenon naturally explained by distinct extrapolation paths from mismatched supervision regions.
Figure 2: Difference between con- ditional and unconditional scores, measured separately during training and inference. The gap is significant at inference but nearly zero during training.
  • Quantifying REPA: Representation Alignment (REPA) drastically improves Frechet Inception Distance (FID). The authors show REPA barely alters the model's behavior in the supervision region but significantly modifies its extrapolation behavior, explaining its success entirely through the lens of selective underfitting.

Limitations and Future Work

  • Theoretical Mechanism of Extrapolation: While the paper clearly demonstrates that favorable extrapolation happens, the exact mathematical mechanism that shapes the score function in the extrapolation region remains an open question.
  • Algorithmic Recipes: The authors provide a framework for analyzing training recipes but do not introduce a novel algorithm that perfectly balances supervision and extrapolation efficiency automatically.
  • Defining Ground-Truth Perception: For complex image datasets, mathematically defining a "perceptually aligned space" remains difficult, meaning parts of the PAT hypothesis must still rely on empirical proxies (like pretrained vision models).

Summary updated

BibTeX
@inproceedings{song2025selective,
  author = {Kiwhan Song and Jaeyeon Kim and Sitan Chen and Yilun Du and Sham Kakade and Vincent Sitzmann},
  title = {{Selective Underfitting in Diffusion Models}},
  booktitle = {SPIGM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=4wajB48oBd},
}
Figure