arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.00512cs.LGcs.AIstat.ML
收藏

扩散模型快速采样的逐步蒸馏法

Progressive Distillation for Fast Sampling of Diffusion Models

Google Research(谷歌研究院)

Tim Salimans, Jonathan Ho

摘要:

扩散模型最近在生成建模方面表现出了很大的希望,在感知质量和密度估计方面优于GANs和自回归模型。剩下的缺点是它们的采样时间很慢:生成高质量的样本需要数百或数千个模型评估。在这里,我们做了两个贡献,以帮助消除这个缺点:首先,我们提出了新的参数化的扩散模型,提供了更高的稳定性时,使用几个采样步骤。其次,我们提出了一种方法来提取一个训练的确定性扩散采样器,使用许多步骤,到一个新的扩散模型,需要一半的采样步骤。然后,我们继续逐步将此蒸馏过程应用于我们的模型,每次所需的采样步骤数量减半。在CIFAR-10、ImageNet和LSUN等标准图像生成基准测试中,我们从最先进的采样器开始,最多可执行8192步,并且能够在不损失太多感知质量的情况下提取到仅需4步的模型;例如,在CIFAR-10上通过4步实现FID 3.0。最后,我们表明,完整的渐进蒸馏过程并不需要更多的时间比它需要训练的原始模型,从而代表了一个有效的解决方案,生成建模使用扩散在训练和测试时间。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑