Structural Pruning for Diffusion Models
arXiv:2305.10924
Abstract
Generative modeling has recently undergone remarkable advancements, primarily propelled by the transformative implications of Diffusion Probabilistic Models (DPMs). The impressive capability of these models, however, often entails significant computational overhead during both training and inference. To tackle this challenge, we present Diff-Pruning, an efficient compression method tailored for learning lightweight diffusion models from pre-existing ones, without the need for extensive re-training. The essence of Diff-Pruning is encapsulated in a Taylor expansion over pruned timesteps, a process that disregards non-contributory diffusion steps and ensembles informative gradients to identify important weights. Our empirical assessment, undertaken across several datasets highlights two primary benefits of our proposed method: 1) Efficiency: it enables approximately a 50\% reduction in FLOPs at a mere 10\% to 20\% of the original training expenditure; 2) Consistency: the pruned diffusion models inherently preserve generative behavior congruent with their pre-trained models. Code is available at \url{https://github.com/VainF/Diff-Pruning}.
arXiv commentPreprint version
Cited by in corpus (5)
- PointDifformer: Robust Point Cloud Registration With Neural Diffusion and Transformer
- Computer Vision Model Compression Techniques for Embedded Systems: A Survey
- RobustMat: Neural Diffusion for Street Landmark Patch Matching under Challenging Environments
- F3-Pruning: A Training-Free and Generalized Pruning Strategy towards Faster and Finer Text-to-Video Synthesis
- AniFaceDiff: Animating Stylized Avatars via Parametric Conditioned Diffusion Models