通过扩散过程的提前停止加速扩散模型
Accelerating Diffusion Models via Early Stop of the Diffusion Process
摘要:
去噪扩散概率模型(DDPMs)在各种发电任务上取得了令人印象深刻的性能。通过对逐渐将数据分布扩散到高斯分布的反向过程进行建模,在DDPM中生成样本可以被视为对随机采样的高斯噪声进行迭代去噪。然而,在实践中,DDPM通常需要数百甚至数千个去噪步骤才能从高斯噪声中获得高质量的样本,导致推理效率极低。在这项工作中,我们提出了一个原则性的加速策略,被称为早期停止DDPM(ES-DDPM),DDPM。关键思想是提前停止扩散过程,其中仅考虑几个初始扩散步骤,并且反向去噪过程从非高斯分布开始。通过在ES-DDPM中进一步采用强大的预训练生成模型,例如GAN和VAE,可以通过扩散从预训练生成模型获得的样本来有效地实现从目标非高斯分布的采样。通过这种方式,所需的去噪步骤的数量显著减少。与此同时,ES-DDPM的样本质量也得到了大幅提高,优于vanilla DDPM和所采用的预训练生成模型。在CIFAR-10,CelebA,ImageNet,LSUN-Bedroom和LSUN-Cat的广泛实验中,ES-DDPM获得了有前途的加速效果和性能改进。此外,ES-DDPM还展示了几个有吸引力的属性,包括与现有的加速方法正交,以及在图像生成中同时实现全局语义和局部像素级控制。
英文摘要:
Denoising Diffusion Probabilistic Models (DDPMs) have achieved impressive performance on various generation tasks. By modeling the reverse process of gradually diffusing the data distribution into a Gaussian distribution, generating a sample in DDPMs can be regarded as iteratively denoising a randomly sampled Gaussian noise. However, in practice DDPMs often need hundreds even thousands of denoising steps to obtain a high-quality sample from the Gaussian noise, leading to extremely low inference efficiency. In this work, we propose a principled acceleration strategy, referred to as Early-Stopped DDPM (ES-DDPM), for DDPMs. The key idea is to stop the diffusion process early where only the few initial diffusing steps are considered and the reverse denoising process starts from a non-Gaussian distribution. By further adopting a powerful pre-trained generative model, such as GAN and VAE, in ES-DDPM, sampling from the target non-Gaussian distribution can be efficiently achieved by diffusing samples obtained from the pre-trained generative model. In this way, the number of required denoising steps is significantly reduced. In the meantime, the sample quality of ES-DDPM also improves substantially, outperforming both the vanilla DDPM and the adopted pre-trained generative model. On extensive experiments across CIFAR-10, CelebA, ImageNet, LSUN-Bedroom and LSUN-Cat, ES-DDPM obtains promising acceleration effect and performance improvement over representative baseline methods. Moreover, ES-DDPM also demonstrates several attractive properties, including being orthogonal to existing acceleration methods, as well as simultaneously enabling both global semantic and local pixel-level control in image generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。