Introduction
Diffusion models, such as Denoising Diffusion Probabilistic Models (DDPM) and Stable Diffusion, have established themselves as the state-of-the-art in generative artificial intelligence. However, their practical utility is often hampered by extreme computational requirements. These models typically involve massive parameter counts and require thousands of iterative passes through a U-Net architecture during inference.
This research explores whether the Lottery Ticket Hypothesis (LTH)—the observation that dense neural networks contain sparse "winning ticket" subnetworks capable of matching the original model's performance—can be applied to diffusion models. This paper presents the first successful demonstration of LTH in this domain, identifying subnetworks at 90% to 99% sparsity that maintain or even improve upon the image quality of dense baselines.
Methodology: Varying Sparsity Pruning
The researchers utilized Iterative Magnitude Pruning (IMP) to search for winning tickets. The standard IMP process involves training a model, pruning the smallest magnitude weights, and rewinding the remaining weights to their initial values.
A key innovation in this work is the move away from uniform pruning. By employing Centered Kernel Alignment (CKA) to analyze the internal representations of different winning tickets, the authors discovered a structural disparity: "upstream" layers (those processing initial noisy inputs) exhibited significantly higher similarity across different tickets than "downstream" layers.
Based on this insight, the authors proposed a varying sparsity strategy. In this approach, sparsity increases as data moves deeper into the model. By retaining more parameters in the upstream layers, the model better preserves the ability to learn meaningful hidden states from high-noise data, while more aggressive pruning in downstream layers reduces redundancy during the refinement stages.
Experimental Results
The method was rigorously evaluated on standard benchmarks, including MNIST, CIFAR-10, and CIFAR-100. Performance was measured using the Fréchet Inception Distance (FID) score, the standard metric for generative quality.
Performance and Efficiency
The results demonstrate that diffusion models are significantly over-parameterized. The researchers successfully identified winning tickets at extreme sparsity levels (up to 99%). Notably, the varying sparsity strategy consistently outperformed unified sparsity approaches at high compression levels.
Key quantitative achievements include:
- 90% Reduction in FLOPs: The pruned models drastically cut the computational cost of the reverse diffusion process.
- Performance Parity: On CIFAR datasets, sparse models remained competitive with dense baselines. In some instances, the winning tickets achieved better FID scores than the original models, suggesting that pruning may act as a regularizer against overfitting.
- Memory Optimization: The significant reduction in parameters facilitates the deployment of these generative models on resource-constrained edge devices.
Discussion and Future Work
The discovery of "upstream stability" suggests that the initial stages of denoising require a more rigid, stable set of features, whereas later refinement stages can be handled by a variety of sparse configurations. This insight could inform the design of future, more efficient diffusion architectures from the ground up.
While this work proves the existence of winning tickets, the search process (IMP) remains computationally expensive. Future research will focus on dynamic sparsity, where different subnetworks are activated at different stages of the denoising process, and scaling these techniques to billion-parameter models like Stable Diffusion.
Summary updated