On the Relation Between Linear Diffusion and Power Iteration

Dana Weitzner, Mauricio Delbracio, Peyman Milanfar, Raja Giryes · DOI

Introduction

Diffusion models have revolutionized generative AI, yet the mathematical intuition behind their success often remains obscured by the complexity of deep neural networks. Recent research from Tel Aviv University and Google simplifies this problem by analyzing a linear diffusion case. Their findings reveal that the generative process acts as a "correlation machine," sharing a deep mathematical lineage with Power Iteration, a foundational algorithm in numerical linear algebra.

The Linear Diffusion Framework

To provide a rigorous analytical explanation for diffusion mechanics, the authors propose a Linear Diffusion Model. In this simplified setting, the optimal denoiser (minimizing Mean Squared Error) is a projection onto the Principal Components (PCA) of the data. By employing the Spiked Covariance Model, the researchers analyzed how noisy eigenvectors relate to clean ones, allowing them to bound the alignment between the denoiser’s basis and the true data distribution.

Initial noisy state of an MNIST digit during the diffusion process.

Diffusion as a Correlation Machine

The core insight of the paper is that generation is not merely "removing noise" but a process of repeatedly enhancing the correlation between a random starting point and the implicit data distribution. The authors demonstrate that a linear diffusion model (without added noise in reverse steps) converges in mean to the leading eigenvector of the data. This effectively performs a version of the Power Iteration algorithm, which finds dominant eigenvectors through repeated matrix multiplication.

Frequency Emergence and Eigenvalues

A well-known phenomenon in diffusion is that "coarse" features (low frequencies) emerge before "fine" details (high frequencies). The authors explain this through eigenvalues: large eigenvalues correspond to global structures. Because these have a higher signal-to-noise ratio in the covariance matrix, the denoiser aligns with them much earlier in the process than with low-eigenvalue, high-frequency details.

The reconstructed digit '5' after the iterative denoising process aligns with the data's principal components.

Empirical Validation and the Deep Learning Bridge

The theory was validated using MNIST for numerical simulations and CelebA/CIFAR-10 for deep learning experiments. To bridge the gap between linear theory and non-linear reality, the authors analyzed the Jacobians of a standard UNet denoiser. They found that the leading eigenvectors of these Jacobians aligned with the data basis early in the generation process, confirming that linear theory provides a valid lens for understanding complex, non-linear generative models.

Conclusion

By connecting diffusion theory to classical linear algebra, this work provides a formal explanation for the scheduling of feature emergence. These insights suggest that future diffusion models could be optimized by designing sampling schedules that explicitly account for the convergence rates of different frequency bands.

Summary updated

BibTeX
@misc{weitzner2024relation,
  author = {Dana Weitzner and Mauricio Delbracio and Peyman Milanfar and Raja Giryes},
  title = {{On the Relation Between Linear Diffusion and Power Iteration}},
  year = {2024},
  eprint = {2410.14730},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.14730},
}
Figure