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

The Emergence of Reproducibility and Consistency in Diffusion Models

Huijie Zhang, Jinfan Zhou, Yifu Lu, Minzhe Guo, Peng Wang, Liyue Shen, Qing Qu

In the world of deep generative models, we often expect different "recipes"—such as varying neural network architectures or training tricks—to produce wildly different results. For instance, training two different Generative Adversarial Networks (GANs) on the same data and providing them with the same random seed rarely results in the same generated image.

However, an intriguing and prevalent phenomenon exists within diffusion models: they exhibit remarkable consistency. Despite differences in architecture, training, or sampling, different diffusion models tend to produce nearly identical images when started from the same noise seed. This "consistent model reproducibility" suggests that diffusion models are fundamentally converging toward the same underlying mathematical score functions. This paper seeks to quantify this phenomenon, explain why it happens, and explore its implications for how these models learn and represent data.

Measuring Consistency and Generalization

To formally investigate this behavior, the authors introduce a framework based on two primary metrics:

  • Reproducibility (RP) Score: This metric utilizes a "Self-Supervised Copy Detection" (SSCD) similarity measure. If two generated images from different models share an SSCD similarity greater than 0.6, they are considered successfully "reproduced."
  • Generalization (GL) Score: This measures how different a generated image is from the closest image in the training set, indicating whether the model is synthesizing novel content or merely copying.

The researchers validated their findings across several standard benchmarks, including CIFAR-10, CIFAR-100, ImageNet, and the massive LAION-5B dataset (using the Stable Diffusion v1-1 to v1-4 series). They compared a vast array of models—standard DDPMs, Consistency Models, and Transformer-based architectures like U-ViT and DiT—using both discrete and continuous training settings. Furthermore, they employed Tweedie’s formula to derive an "ideal" score function, comparing actual trained models against this theoretical baseline to see how closely they approximate the true data distribution.

The Two-Regime Transition

A central discovery of this work is that reproducibility is not a static property; rather, it follows a distinct U-shaped curve relative to the size of the training dataset. This reveals two distinct learning phases:

Reproducibility and Generalizability across dataset sizes
  1. The Memorization Regime (Small Data): When trained on small datasets, models have enough capacity to simply memorize the training samples. In this regime, different models all converge to the same "multi-delta" distribution of the training set, resulting in high reproducibility but low generalization.
  2. The Generalization Regime (Large Data): As the dataset grows, models stop memorizing individual pixels and begin learning the underlying "ground-truth" distribution. Because there is only one true distribution for a given dataset, different models eventually converge to the same score function. Here, reproducibility rises again, but this time accompanied by high generalization.

This property is uniquely stable in diffusion models because they essentially solve a regression problem toward a specific score function. In contrast, GANs and Variational Autoencoders (VAEs) are caught in non-convex optimization games that are highly sensitive to initial conditions, leading to almost zero reproducibility.

Key Results and Implications

The empirical results strongly support this structural consistency. Even highly dissimilar models, such as a U-Net compared to a Transformer, demonstrated RP scores of 0.7 or higher, meaning they produce the same image 70% of the time given identical starting noise. This consistency scales to massive models as well; Stable Diffusion versions v1-3 and v1-4, which share the same training subset, achieved an RP score of 0.63 despite being entirely different model checkpoints. Even when models do not produce the exact same object, they often share low-level structural attributes like color palettes and composition, suggesting the mapping from noise space to image space is deeply tied to the data's geometry.

While this property holds for solving inverse problems (like inpainting), it is notably more fragile. Consistency remains high within the same architecture family but drops significantly when crossing between U-Nets and Transformers. The authors note that for inverse problems, the gradient of the score must also be reproducible, which is a much stricter requirement than reproducing the score itself.

Finally, the high reproducibility observed in the memorization regime highlights a critical privacy risk. If multiple models all reliably converge to the exact same training samples when data is limited, it becomes significantly easier for an attacker to extract sensitive training data. Understanding this phenomenon is therefore not just a theoretical curiosity, but a crucial step for future policy and technical research in generative AI.

Summary updated

BibTeX
@inproceedings{zhang2024emergence,
  author = {Huijie Zhang and Jinfan Zhou and Yifu Lu and Minzhe Guo and Peng Wang and Liyue Shen and Qing Qu},
  title = {{The Emergence of Reproducibility and Consistency in Diffusion Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=HsliOqZkc0},
}
Figure