A Random Matrix Theory Perspective on the Consistency of Diffusion Models

Binxu Wang, Jacob A Zavatone-Veth, Cengiz Pehlevan

TL;DR

Why do diffusion models trained on completely different sets of images produce nearly identical results when given the same starting noise? This paper uses Random Matrix Theory (RMT) to show that this "consistency" isn't magic—it’s a direct result of models learning shared Gaussian statistics, providing a precise mathematical framework to predict how finite training data shapes generative outputs.

What Problem Does This Paper Address?

In the world of generative AI, diffusion models exhibit a peculiar property: consistency. If you take two different neural architectures (like a UNet and a Transformer-based DiT) and train them on two different, non-overlapping halves of the same dataset, they will often map the exact same "noise seed" to a very similar final image.

This is a stark contrast to GANs or VAEs, where the latent space is essentially a "black box" that can be rotated or flipped without changing the distribution, leading to high variability between training runs. The authors want to know why diffusion models are so stable. Is it because they are memorizing the data? Or is there a deeper statistical reason? Understanding this is crucial for reproducibility, copyright discussions (data leakage), and understanding how these models actually generalize.

Methods

The authors tackle this by stripping the problem down to its simplest form: Linear Diffusion. They start with the observation that a simple linear Gaussian model (a Wiener filter) can already predict much of the consistency seen in complex deep networks.

To analyze this mathematically, they employ Random Matrix Theory (RMT), specifically a tool called deterministic equivalence. This allows them to replace complex, random empirical covariance matrices (from finite datasets) with deterministic "surrogates" that are easier to study.

Key technical contributions include:

  • Noise Renormalization: They prove that having limited data acts as a "renormalization" of the noise level ($\sigma^2 \to \kappa(\sigma^2)$).
  • Fractional Matrix Powers: Sampling in diffusion involves matrix square roots. The authors extended standard RMT tools to handle these fractional powers, allowing them to analyze the entire sampling trajectory rather than just a single denoising step.
  • Counterfactual Experiments: They intentionally created "misaligned" data splits (e.g., splitting a face dataset so one half has only high-variance features and the other has low-variance) to prove that when Gaussian statistics differ, consistency vanishes.

Datasets

The authors validated their theory across a wide range of standard image benchmarks:

  • FFHQ & AFHQ: Human and animal faces at 32x32 and 64x64 resolutions.
  • CIFAR-10 & CIFAR-100: Standard small-image classification datasets.
  • LSUN Church & Bedroom: Large-scale scene datasets at multiple resolutions.

They used non-overlapping splits (e.g., 30,000 images per split) to test cross-model agreement.

Key Insights and Ideas

  • The "Linear Origin" of Consistency: The "secret sauce" of diffusion consistency is simply that different subsets of the same data distribution share nearly identical mean and covariance. Because diffusion models prioritize these low-order statistics, they naturally converge to the same mapping.
  • Overshrinkage: When data is limited, the model becomes "timid" in low-variance directions. It treats these directions as noise and pulls the generated image toward the dataset mean. This explains why models trained on small datasets produce "blurry" or "average" looking results.
  • The Three Pillars of Disagreement: The theory identifies exactly why two models might disagree on a sample:
  • Anisotropy: Some "directions" in image space (eigenmodes) are harder to learn than others.
  • Inhomogeneity: Some starting noise seeds are inherently more "unstable" than others based on where they sit relative to the data manifold.
  • Scaling: Disagreement shrinks at a predictable rate of $1/n$ as the dataset size $n$ increases.
  • Phase Transition: They identified a clear transition from a Memorization Phase (where models just recreate training samples) to a Renormalization Phase (where RMT accurately predicts model behavior).

Key Results

  • Predictive Power: The RMT framework "sharply predicts" the behavior of linear models. More impressively, it qualitatively matches the behavior of deep UNet and DiT models in their non-memorization regimes.
  • Seed-wise Correlation: On FFHQ64, the RMT prediction of which noise seeds would be most "inconsistent" achieved a Spearman correlation of 0.33 ($p < 10^{-26}$) with actual deep model deviations.
  • Visual Validation: The authors showed that as dataset size increases, deep model outputs converge toward the "Linear Predictor," proving that Gaussian statistics are the primary anchor for these models.

Limitations and Future Work

  • Non-Linearity: While the linear theory explains the structure of consistency, it underestimates the magnitude of variability in deep networks. Deep models have non-linear "inductive biases" that RMT doesn't yet fully capture.
  • The Memorization Gap: The theory specifically applies to the generalization/renormalization regime. It does not yet explain the "phase transition" where a model stops memorizing individual points and starts learning the distribution.
  • Future Directions: The authors suggest extending the theory to "random-feature models" to better bridge the gap between linear theory and deep neural networks, and exploring how specific "magic" noise seeds might consistently yield better images.

Summary updated

BibTeX
@inproceedings{wang2026random,
  author = {Binxu Wang and Jacob A Zavatone-Veth and Cengiz Pehlevan},
  title = {{A Random Matrix Theory Perspective on the Consistency of Diffusion Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=iPjuUQbkfl},
}
Figure