Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Progressive Distillation for Fast Sampling of Diffusion Models

About

Diffusion models have recently shown great promise for generative modeling, outperforming GANs on perceptual quality and autoregressive models at density estimation. A remaining downside is their slow sampling time: generating high quality samples takes many hundreds or thousands of model evaluations. Here we make two contributions to help eliminate this downside: First, we present new parameterizations of diffusion models that provide increased stability when using few sampling steps. Second, we present a method to distill a trained deterministic diffusion sampler, using many steps, into a new diffusion model that takes half as many sampling steps. We then keep progressively applying this distillation procedure to our model, halving the number of required sampling steps each time. On standard image generation benchmarks like CIFAR-10, ImageNet, and LSUN, we start out with state-of-the-art samplers taking as many as 8192 steps, and are able to distill down to models taking as few as 4 steps without losing much perceptual quality; achieving, for example, a FID of 3.0 on CIFAR-10 in 4 steps. Finally, we show that the full progressive distillation procedure does not take more time than it takes to train the original model, thus representing an efficient solution for generative modeling using diffusion at both train and test time.

Tim Salimans, Jonathan Ho• 2022

Related benchmarks

TaskDatasetResultRank
Image GenerationCIFAR-10 (test)
FID2.57
471
Unconditional Image GenerationCIFAR-10 (test)
FID4.49
216
Unconditional Image GenerationCIFAR-10
FID2.57
171
Unconditional Image GenerationCIFAR-10 unconditional
FID4.51
159
Image GenerationImageNet 64x64 resolution (test)
FID8.95
150
Class-conditional Image GenerationImageNet 64x64
FID1.7
126
Unconditional GenerationCIFAR-10 (test)
FID2.57
102
Image GenerationCIFAR-10
FID8.34
95
Class-conditional Image GenerationImageNet 64x64 (test)
FID5.74
86
Image GenerationCIFAR10 50k samples (test)
FID2.57
81
Showing 10 of 26 rows

Other info

Code

Follow for update