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

面向一步扩散模型的 EM 蒸馏

EM Distillation for One-step Diffusion Models

Google DeepMind(谷歌DeepMind);Google Research(谷歌研究院);UCLA(加利福尼亚大学洛杉矶分校)

Sirui Xie, Zhisheng Xiao, Diederik P Kingma, Tingbo Hou, Ying Nian Wu, Kevin Patrick Murphy, Tim Salimans, Ben Poole, Ruiqi Gao

AI总结:

提出基于最大似然和 EM 框架的 EMD 蒸馏方法,将扩散模型压缩为一步生成器,并在 ImageNet 与文本到图像任务上取得更优 FID。

摘要:

尽管扩散模型能够学习复杂分布,但采样需要计算成本高昂的迭代过程。现有蒸馏方法可实现高效采样,却存在明显局限,例如在极少采样步数时性能下降、依赖访问训练数据,或采用寻模优化而可能无法捕获完整分布。我们提出 EM Distillation(EMD),这是一种基于最大似然的方法,可将扩散模型蒸馏为一步生成器模型,同时使感知质量损失最小。该方法通过期望最大化(EM)视角推导得出,其中生成器参数利用来自扩散教师先验与推断出的生成器潜变量的联合分布的样本进行更新。我们开发了一种重参数化采样方案和一项噪声消除技术,二者共同稳定蒸馏过程。我们进一步揭示了本方法与那些最小化寻模 KL 的现有方法之间的有趣联系。在 ImageNet-64 和 ImageNet-128 上,EMD 的 FID 分数优于现有一步生成方法,并且在蒸馏文本到图像扩散模型方面与先前工作相比具有优势。

英文摘要:

While diffusion models can learn complex distributions, sampling requires a computationally expensive iterative process. Existing distillation methods enable efficient sampling, but have notable limitations, such as performance degradation with very few sampling steps, reliance on training data access, or mode-seeking optimization that may fail to capture the full distribution. We propose EM Distillation (EMD), a maximum likelihood-based approach that distills a diffusion model to a one-step generator model with minimal loss of perceptual quality. Our approach is derived through the lens of Expectation-Maximization (EM), where the generator parameters are updated using samples from the joint distribution of the diffusion teacher prior and inferred generator latents. We develop a reparametrized sampling scheme and a noise cancellation technique that together stabilizes the distillation process. We further reveal an interesting connection of our method with existing methods that minimize mode-seeking KL. EMD outperforms existing one-step generative methods in terms of FID scores on ImageNet-64 and ImageNet-128, and compares favorably with prior work on distilling text-to-image diffusion models.

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

↑