NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Understanding Generalization in Diffusion Distillation via Probability Flow Distance

Huijie Zhang, Zijian Huang, Siyi Chen, Jinfan Zhou, Zekai Zhang, Peng Wang, Qing Qu

TL;DR

Researchers have introduced Probability Flow Distance (PFD), a new metric that finally allows us to rigorously measure whether a distilled diffusion model is truly generalizing or just memorizing its training data. By comparing the deterministic paths from noise to images, PFD reveals that diffusion generalization follows a universal scaling law governed by the ratio of data size to the square root of model parameters ($N/\sqrt{|\theta|}$).

What Problem Does This Paper Address?

Diffusion models are the powerhouses behind modern AI art, but they are computationally expensive. To make them practical for real-world use, we use knowledge distillation, where a small "student" model learns to mimic a large "teacher" model.

However, we have a major blind spot: we don't really know if these distilled models are generalizing (learning the underlying patterns of the data) or simply memorizing (copying the teacher's training samples). Standard metrics like Fréchet Inception Distance (FID) measure image quality, but they can't tell the difference between a high-quality original image and a high-quality copy. Theoretical metrics like Wasserstein distance or KL divergence are mathematically sound but computationally "heavy" and often fail in the high-dimensional world of images. This paper fills that gap with a metric that is both theoretically grounded and practically efficient.

Methods

The authors introduce Probability Flow Distance (PFD). To understand PFD, you have to look at the Probability Flow ODE (PF-ODE). In diffusion models, the PF-ODE provides a deterministic mapping from a point in "noise space" to a point in "image space."

PFD works by taking the same starting noise and passing it through two different models (e.g., the teacher and the student). It then measures the distance between the resulting images (or their feature representations).

  • The "Aha!" Idea: If two models have learned the same underlying distribution, the same noise should lead them to the same "place" in image space.
  • Perceptual Mapping: To make the metric align with human vision, they often pass the results through an image descriptor (like DINOv2 or SSCD) before calculating the distance.
  • Efficiency: Unlike sample-based distances that scale quadratically ($O(M^2)$), PFD scales linearly ($O(M)$), making it much faster to compute for large datasets.

Datasets

The researchers validated their findings using two standard benchmarks:

  • CIFAR-10: Used for extensive ablation studies and to test various U-Net architectures (ranging from 0.9M to 55.7M parameters).
  • ImageNet: Used to confirm that their scaling laws hold true for larger, more complex datasets (using models up to 295.9M parameters).

Key Insights and Ideas

  • The Universal Scaling Law: The transition from memorization to generalization isn't just about having "more data." It is governed by the ratio $N/\sqrt{|\theta|}$ (where $N$ is the number of training samples and $|\theta|$ is the number of parameters). This provides a "predictable trend" for engineers looking to optimize model size vs. dataset size.
  • Epoch-wise Double Descent: In the generalization regime, the error doesn't just go down. It follows a "double descent" pattern: it decreases, then increases during intermediate epochs, and finally decreases again toward convergence. This suggests that "training longer" can actually help generalization, even if it looks like the model is starting to diverge mid-way.
  • Early Learning vs. Memorization: In low-data regimes, models often show "early generalization" where they briefly learn the distribution before eventually collapsing into pure memorization as training continues.
  • Bias-Variance Trade-off: The authors provide the first formal bias-variance decomposition for diffusion generalization. They found that increasing model capacity reduces bias but increases variance, creating a classic U-shaped error curve.

Key Results

  • Accuracy & Efficiency: PFD is significantly more sample-efficient than FID or Wasserstein distance ($W_2$). For example, with 4,096 samples, PFD achieves a relative error of $4 \times 10^{-3}$, while $W_2$ is still stuck at $2 \times 10^{-2}$.
  • Tracking the Transition: In experiments where the number of training samples ($N$) was varied, PFD was the only metric that consistently tracked the transition from memorization to generalization. Metrics like FID and Precision/Recall showed erratic behavior or failed to capture the trend entirely.
  • Theoretical Validity: The authors proved that PFD satisfies the mathematical axioms of a metric (positivity, identity, symmetry, and triangle inequality).

Limitations and Future Work

While PFD is a major step forward, the authors note a few areas for further exploration:

  • ODE Dependency: The metric relies on the properties of the Probability Flow ODE. While this is standard for diffusion models, it might not directly apply to other generative architectures like GANs without modification.
  • Descriptor Sensitivity: While they tested several image descriptors (DINOv2, SSCD, etc.), the choice of descriptor does influence the "perceptual" part of the metric.
  • Beyond Distillation: The paper focuses on distillation (teacher-student), but the authors suggest that since modern "training from scratch" often uses synthetic data from other models, PFD could be used as a general tool for analyzing large-scale foundation models.

Summary updated

BibTeX
@inproceedings{zhang2026understanding,
  author = {Huijie Zhang and Zijian Huang and Siyi Chen and Jinfan Zhou and Zekai Zhang and Peng Wang and Qing Qu},
  title = {{Understanding Generalization in Diffusion Distillation via Probability Flow Distance}},
  booktitle = {FoGen @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=KlU2TOz1DF},
}
Figure