Skip to main content
QUICK REVIEW

[论文解读] Adversarial Diffusion Distillation

Axel Sauer, Dominik Lorenz|arXiv (Cornell University)|Nov 28, 2023
Model Reduction and Neural NetworksPhysics and Astronomy被引用 12
一句话总结

ADD 通过将对抗训练与分数蒸馏相结合,在1–4步内训练扩散模型以生成高质量图像,实现单步实时合成和强大的多步性能。它在超快 regime 超越许多基线,在四步时可媲美或超越 SDXL。

ABSTRACT

We introduce Adversarial Diffusion Distillation (ADD), a novel training approach that efficiently samples large-scale foundational image diffusion models in just 1-4 steps while maintaining high image quality. We use score distillation to leverage large-scale off-the-shelf image diffusion models as a teacher signal in combination with an adversarial loss to ensure high image fidelity even in the low-step regime of one or two sampling steps. Our analyses show that our model clearly outperforms existing few-step methods (GANs, Latent Consistency Models) in a single step and reaches the performance of state-of-the-art diffusion models (SDXL) in only four steps. ADD is the first method to unlock single-step, real-time image synthesis with foundation models. Code and weights available under https://github.com/Stability-AI/generative-models and https://huggingface.co/stabilityai/ .

研究动机与目标

  • 通过将扩散模型推理压缩到1–4步来推动快速高质量的图像合成。
  • 将对抗训练与分数蒸馏结合,以保持图像保真度和对齐。
  • 利用预训练的扩散教师来引导蒸馏,无需分类器自由引导。
  • 实现超快速的单步生成,同时实现迭代式细化。

提出的方法

  • 从预训练的 UNet-diffusion 模型初始化 ADD-student。
  • 以混合目标进行训练:对抗损失加蒸馏损失。
  • 蒸馏使用冻结的教师,通过分数蒸馏采样提供去噪目标。
  • 判别器使用冻结的特征提取器和轻量级头部,可能包含图像和文本条件。
  • 蒸馏损失在通过教师扩散后匹配去噪器输出,从而实现单步精度。
  • 可以在没有 classifier-free 指导的情况下运行,并且若使用更多步时仍可实现迭代细化。
Figure 2 : Adversarial Diffusion Distillation. The ADD-student is trained as a denoiser that receives diffused input images $x_{s}$ and outputs samples $\hat{x}_{\theta}(x_{s},s)$ and optimizes two objectives: a) adversarial loss: the model aims to fool a discriminator which is trained to distinguis
Figure 2 : Adversarial Diffusion Distillation. The ADD-student is trained as a denoiser that receives diffused input images $x_{s}$ and outputs samples $\hat{x}_{\theta}(x_{s},s)$ and optimizes two objectives: a) adversarial loss: the model aims to fool a discriminator which is trained to distinguis

实验结果

研究问题

  • RQ1在利用预训练教师的同时,对抗扩散蒸馏是否能在1–4步采样内产生高保真图像?
  • RQ2将对抗损失与分数蒸馏结合,是否优于现有的少步方法(如 LCM、GANs),并在四步达到接近 SDXL 水平的质量?
  • RQ3哪些设计选项(判别特征、条件、初始化、权重等)对单步和少步性能影响最大?

主要发现

  • ADD-XL(4步)在若干比较中能够在512^2分辨率下超过SDXL-Base。
  • 在单步生成时,ADD-XL 超过若干基线,在许多情况下接近或达到教师性能。
  • 对抗与蒸馏损失的结合在消融中产生了最佳的FID/CLIP结果。
  • 判别器条件化(图像/文本)以及使用预训练的判别器特征网络(特别是 DINOv2)可提升结果。
  • 使用四步时,ADD-XL 在质量指标上可超过教师模型 SDXL-Base,同时保留一定的多样性权衡。
  • 表格结果显示 1-step FID 20.6 和 CLIP 0.319;2-step FID 20.8 和 CLIP 0.321;4-step FID 20.3 和 CLIP 0.317,在消融研究中。
Figure 3: Qualitative comparison to state-of-the-art fast samplers. Single step samples from our ADD-XL (top) and LCM-XL [ 40 ] , our custom StyleGAN-T [ 59 ] baseline, InstaFlow [ 36 ] and MUSE. For MUSE, we use the OpenMUSE implementation and default inference settings with 16 sampling steps. For
Figure 3: Qualitative comparison to state-of-the-art fast samplers. Single step samples from our ADD-XL (top) and LCM-XL [ 40 ] , our custom StyleGAN-T [ 59 ] baseline, InstaFlow [ 36 ] and MUSE. For MUSE, we use the OpenMUSE implementation and default inference settings with 16 sampling steps. For

阅读本论文

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

在 Nubint 中阅读本论文

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