Abstract
Recently, diffusion models have gained popularity due to their impressive generative abilities. These models learn the implicit distribution given by a training dataset, and sample new data by transforming random noise through the reverse process, which can be thought of as gradual denoising. In this work, to shed more light on the evolution of denoisers in the reverse process, we examine the generation process as a "correlation machine", where random noise is repeatedly enhanced in correlation with the implicit given distribution. To this end, we explore the linear case, where the optimal denoiser in the MSE sense is known to be the PCA projection. This enables us to connect the theory of diffusion models to the spiked covariance model, where the dependence of the denoiser on the noise level and the amount of training data can be expressed analytically, in the rank-1 case. In a series of numerical experiments, we extend this result to general low rank data, and show that low frequencies emerge earlier in the generation process, where the denoising basis vectors are more aligned to the true data with a rate depending on their eigenvalues. This model allows us to show that the linear reverse process is a generalization of the prevalent power iteration method, where the generated distribution is composed of several estimations of the given covariance, in varying stages of convergence. Finally, we empirically demonstrate the applicability of our findings beyond the linear case, in the Jacobians of a deep, non-linear denoiser, used in general image generation tasks.
Introduction
While diffusion models like Stable Diffusion and DALL-E have achieved remarkable empirical success, the theoretical mechanics of how they transform Gaussian noise into structured images remain partially obscured. A consistent observation across these models is the "coarse-to-fine" generation order: global structures (low-frequency components) appear early in the reverse process, while fine details (high-frequency components) emerge only at the final stages. This paper provides a rigorous mathematical framework for this phenomenon by analyzing the diffusion process through the lens of linear denoising and Principal Component Analysis (PCA).
The Linear Denoising Framework
To simplify the complex dynamics of deep neural networks, the researchers first consider a linear diffusion setting. In this regime, the optimal denoiser—minimizing Mean Squared Error (MSE)—is a projection onto the Principal Components of the training data. By modeling the data using the "spiked covariance model" from statistics, the researchers can analytically track how the correlation between noisy eigenvectors and the true data eigenvectors evolves.
The core finding is that the "alignment" (the degree of correlation) between the denoising basis and the true data is governed by the noise level ($\sigma$), the number of training samples ($n$), and the eigenvalues ($\lambda$) of the data covariance. The authors derived a closed-form approximation for this alignment: $E \sin \theta_{PCA} \approx \frac{\bar{\sigma}_t}{\lambda} \sqrt{\frac{d}{n}}$. This confirms that alignment improves as noise decreases, eigenvalues increase, or training samples increase.
Diffusion as a Correlation Machine
The paper conceptualizes the reverse process as a "correlation machine." Each step of the reverse diffusion process acts to enhance the correlation between the current sample and the underlying data distribution.
A key theoretical contribution is the proof that the linear reverse process is a generalization of Power Iteration, a classic numerical algorithm used to find the dominant eigenvector of a matrix. In diffusion, this process is multi-staged: the model converges toward the most prominent features (those with the largest eigenvalues) first. Because low-frequency components in natural images typically correspond to these large eigenvalues, they "win the race" and manifest at higher noise levels.
Empirical Validation and Jacobian Analysis
To ensure these linear insights translate to modern deep learning architectures (such as UNets used in DDPM++), the authors analyze the Jacobians of non-linear denoisers. By treating the Jacobian as a local linear approximation, they observed that the eigenvectors associated with the largest eigenvalues align with the final image significantly earlier in the process than those associated with fine details. Experiments on MNIST, CelebA, and CIFAR-10 datasets confirmed that the behavior predicted by the linear theory holds true for complex, non-linear models.
Conclusion
This work demystifies the coarse-to-fine nature of diffusion models by showing that the timing of feature emergence is dictated by the eigenvalues of the data's covariance. By viewing diffusion as a generalized power iteration, the researchers provide a bridge between classical numerical methods and state-of-the-art generative AI. While the current analysis focuses on local linearity, it opens doors for optimizing sampling schedules and improving the data efficiency of future generative models.
Summary updated