Skip to main content
QUICK REVIEW

[论文解读] Accelerating Diffusion Models via Early Stop of the Diffusion Process

Zhaoyang Lyu, Xudong XU|arXiv (Cornell University)|May 25, 2022
Generative Adversarial Networks and Image SynthesisComputer Science被引用 37
一句话总结

论文引入 ES-DDPM,一种从非高斯中间阶段开始去噪的提前停止扩散模型,且可选使用预训练生成器(GAN/ VAE)以加速采样,同时提高质量。

ABSTRACT

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.

研究动机与目标

  • 推动在不破坏其概率基础的情况下加速 DDPM。
  • 提出一个从非高斯中间状态开始的有原理的提前停止扩散策略。
  • 展示将 ES-DDPM 与预训练生成器结合以提升样本质量和效率。
  • 证明与现有加速方法正交并兼容可控生成。
  • 探索训练阶段的收益与在全局语义和局部像素级控制方面的潜力。

提出的方法

  • 定义在达到高斯噪声之前在时间点 T′ 处停止的部分扩散过程。
  • 通过编码器 q_ψ(z|x^0) 将 x^{T′} 编码成潜在变量 z,使得采样可以从 p(z) 开始,且解码器 p_φ(x^{T′}|z) 进行解码。
  • 形式化一个联结变分目标:L_VAE(编码器/解码器)和 L_DDPM(t≤T′ 的反向过程其余部分)。
  • 证明 q(x^{T′}|x^0) 近似均值为 √ᾱ_t x^0 的高斯,方差为 (1−ᾱ_t) I,指引 VAE 项的选择。
  • 将 ES-DDPM 与预训练生成器(GAN/VAE)结合:用 f_φ(z) 生成 x^{T′},再用 ES-DDPM 进行 T′ 步去噪。
  • 证明与其他加速方法(DDIM、TR)以及通过 GAN/StyleGAN2 实现的可控生成兼容。

实验结果

研究问题

  • RQ1提前停止的扩散过程是否在降低去噪步骤数量的同时保持或提高样本质量?
  • RQ2如何将预训练生成器(GAN/VAE)整合,以为反向扩散提供非高斯起点?
  • RQ3ES-DDPM 是否与现有加速策略互补,并在与 GANs/VAEs 结合时实现可控生成?
  • RQ4相比完整长度的 DDPM,使用 ES-DDPM 时在训练时间和采样时间上的权衡是什么?
  • RQ5在标准基准(CIFAR-10、CelebA、ImageNet、LSUN)上,ES-DDPM 在 FID/IS/sFID 和 Recall 方面的表现如何?
  • RQ6在与强生成器搭配时,ES-DDPM 在实现全球语义控制和局部像素级精炼方面的潜力有多大?

主要发现

  • ES-DDPM 能在显著减少去噪步数(最佳情况下从 1000 减至最少 100 步)同时提升或等同样本质量。
  • 将 ES-DDPM 与强生成器(如 StyleGAN2)结合,在多个设定下获得比原生 DDPM 更好的 FID,例如在 CelebA 和 LSUN,且步数更少。
  • 该方法与现有加速方法正交,结合 DDIM 或 Timestep-Respacing 等方法时可进一步提升采样速度。
  • 该方法既能实现全局语义控制(通过生成器),也能实现局部像素级细化(通过扩散去噪)。
  • 在训练阶段观察到的收益:当与预训练生成器配对时,ES-DDPM 的收敛速度比全长度 DDPM 更快,即使考虑了辅助模型训练时间(如 StyleGAN2)。
  • 在多类别数据集上,增加 T′ 可以提升 Recall,但可能需要更多步数以超越全长度 DDPM,而在单类别数据集上则在质量和效率上都有强劲提升。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。