Abstract
Diffusion models are one of the key architectures of generative AI. Their main drawback, however, is the computational costs. This study indicates that the concept of sparsity, well known especially in statistics, can provide a pathway to more efficient diffusion pipelines. Our mathematical guarantees prove that sparsity can reduce the input dimension's influence on the computational complexity to that of a much smaller intrinsic dimension of the data. Our empirical findings confirm that inducing sparsity can indeed lead to better samples at a lower cost.
Introduction
Diffusion models have revolutionized generative AI, enabling high-fidelity synthesis across various domains. However, their widespread adoption is hindered by significant computational overhead during the sampling process. Generating a single image often requires hundreds of iterative refinement steps, where the convergence rate typically scales with the data dimension ($d$). In high-dimensional spaces, this leads to the "curse of dimensionality," making these models notoriously slow.
This research addresses a fundamental question: Can we decouple the computational cost from the raw pixel count and instead link it to the actual complexity of the data? By borrowing the concept of sparsity from classical statistics, the authors propose a method to break this curse.
Methodology: $\ell_1$-Regularized Score Matching
The authors propose incorporating $\ell_1$-regularization into the training objective of diffusion models. Specifically, they modify the standard denoising score-matching estimator by adding a penalty term that encourages sparsity in both the neural network parameters and the resulting score function.
Key technical components include:
- Scale Regularization: Introducing a scale parameter ($\kappa$) for the score function and regularizing its square.
- $\ell_1$ Constraints: Restricting the parameter space to sparse networks where the $\ell_1$-norm of the weights is bounded.
Theoretical Guarantees
Using empirical process theory, the study proves that if the true data distribution possesses an underlying sparse structure with sparsity level $s$, the convergence rate improves from $O(d^2/\tau)$ to $O(s^2/\tau)$. Since the intrinsic dimension $s$ is typically much smaller than the ambient dimension $d$ for real-world data, this provides a significant theoretical foundation for efficiency gains. Crucially, the authors show that even in the "worst-case" scenario where no sparsity exists, the regularized model performs at least as well as the standard one.
Empirical Results
The researchers validated their approach across several benchmarks, including MNIST, FashionMNIST, CIFAR10, and a Smithsonian butterfly dataset.
- 10x Speedup: On MNIST, the regularized model achieved high-quality generation in just 50 steps, compared to the 500 steps required by standard models. This reduced runtime from 11 seconds to less than 1 second.
- Improved Sample Quality: On CIFAR10, the regularized model achieved a Fréchet Inception Distance (FID) of 28 at 1000 steps, outperforming the standard model's FID of 32. The performance gap widened at lower step counts (65 vs. 78 at 500 steps).
- Better Samples at Lower Steps: A key finding is that the regularized model produces recognizable images at very low step counts (e.g., $T=20$ or $T=50$) where standard models typically fail and produce blurry results.
- Reduced Oversmoothing: The $\ell_1$-regularization helped mitigate mode collapse and oversmoothing, leading to more balanced class representation in datasets like FashionMNIST.
Conclusion
The study demonstrates that sparsity is a natural and effective prior for image data. By focusing on the intrinsic manifold, regularized models can produce recognizable images at significantly lower step counts. While future research could explore structured sparsity in wavelet or Fourier bases, the current findings suggest that regularization is a vital tool for the next generation of generative AI.
Summary updated