On the Memorization of Consistency Distillation for Diffusion Models

Bingqing Jiang, Difan Zou

TL;DR

This paper investigates how consistency distillation, a common technique for accelerating diffusion models, affects their tendency to memorize training data. They demonstrate that consistency distillation effectively reduces memorization inherited from a teacher model, often while preserving or even improving generation quality. This is explained through a theoretical framework showing distillation suppresses unstable, memorization-prone features while retaining stable, generalizable ones.

What Problem Does This Paper Address?

Diffusion models are powerful generative tools, but their ability to generalize versus memorize training data is crucial for reliable deployment. While prior work has explored how training dynamics influence this memorization-generalization trade-off, a significant gap exists in understanding the impact of distillation. Many deployed diffusion models undergo further distillation to improve efficiency. This paper asks: how does this additional training phase, specifically consistency distillation, alter the memorization behavior of diffusion models?

Methods

The authors analyze consistency distillation, a method that trains a student model to produce self-consistent predictions across different noise levels, effectively mimicking the teacher's probability flow dynamics. They conduct extensive empirical studies on various datasets and model architectures. To provide a theoretical underpinning, they employ a Random Feature Neural Network (RFNN) model. This theoretical framework allows them to analyze how the optimization objective of consistency distillation reshapes the "curvature" of the learned function, specifically how it interacts with different feature directions associated with memorization and generalization.

Datasets

  • CIFAR-10: Used for unconditional generation experiments, with reduced data settings (3000, 4000, 5000, 6000 training images).
  • ImageNet: Used for class-conditional generation experiments, with reduced data settings (5k, 7k, 10k training images).
  • Stable Diffusion v1.5: Used for text-to-image generation, fine-tuned on a small, memorization-inducing dataset (200 image-prompt pairs repeated 10x) augmented with additional COCO data.

Key Insights and Ideas

  • Distillation as a Memorization Reducer: Consistency distillation isn't just about speed; it actively reshapes memorization. Even when the teacher model is heavily overfitted, the distilled student exhibits significantly less memorization.
  • Quality Preservation/Improvement: Reducing memorization doesn't necessarily come at the cost of generation quality. In many cases, consistency distillation preserves or even enhances sample fidelity, especially when the teacher isn't excessively memorizing.
  • Mechanism: Feature Direction Suppression: The theoretical analysis reveals that consistency distillation suppresses "unstable" feature directions linked to memorization while reinforcing "stable" directions crucial for generalization. This is akin to filtering out noisy, data-specific patterns.
  • Robustness Across Settings: The observed reduction in memorization holds across various datasets, model capacities, and even in more realistic scenarios with localized memorization.

Key Results

  • Reduced Memorization: Consistency distillation consistently reduced memorization metrics (l2 and SSCD) by significant margins compared to teacher models, even in low-data regimes. For instance, on CIFAR-10 with 6000 data points, a distilled student achieved a memorization ratio of 0.56% compared to a teacher's 2.67%.
  • Improved FID: In moderate memorization teacher regimes, distilled students achieved better FID scores than their teachers. For example, with a 10%-memorizing teacher on CIFAR-10, CD achieved FID 21.19 vs. teacher's 24.57.
  • Theoretical Validation: The RFNN model analysis showed that consistency distillation's curvature operator has a spectral structure that favors generalization directions and suppresses memorization directions.

Limitations and Future Work

  • Generalizability: While experiments cover multiple datasets and settings, the authors acknowledge that memorization behavior might still depend on factors like data scale, teacher memorization level, and sampling strategy. Further studies across more architectures and scenarios are needed.
  • Misuse Potential: Reducing memorization does not eliminate the risk of diffusion models being misused to generate harmful content. Responsible deployment still requires careful data governance and release policies.
  • Architectural Mismatch: The paper notes that student-teacher architectural mismatches can lead to late-stage FID degradation despite low memorization, suggesting a trade-off between optimization stability and memorization suppression. Future work could explore this dynamic more deeply.
  • Broader Impacts: The authors emphasize that while their work supports safer model development, diffusion models still pose risks that need to be addressed through broader societal measures.

Summary updated

BibTeX
@inproceedings{jiang2026memorization,
  author = {Bingqing Jiang and Difan Zou},
  title = {{On the Memorization of Consistency Distillation for Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=QhEYPYxSzC},
}
Figure