arXiv:2501.13107cs.CV2025-01被引 2

用反馈模块加速扩散模型,1.8倍提速仍保持高质量

Accelerate High-Quality Diffusion Models with Inner Loop Feedback

  • 在去噪过程中预测未来特征,轻量模块实时反馈
  • 1.7-1.8倍加速下,FID、CLIP分数等指标接近20步原模型
  • 适配DiT、PixArt系列,可插拔且无需重训练主干

我们提出内环反馈(ILF),一种加速扩散模型推理的新方法。ILF通过训练一个轻量模块,利用选定扩散主干块在特定时间步的输出,预测去噪过程中的未来特征。该方法基于两个关键直觉:(1)相邻时间步的块输出具有相似性;(2)部分执行一步计算比完全跳过一步对模型负担更小。该方法高度灵活,反馈模块可直接复用主干块结构,所有设置照搬,其影响可通过可学习缩放因子调节(从零初始化开始)。训练时冻结主干,仅优化反馈模块,采用蒸馏损失。不同于多数工作聚焦于1-4步实现可接受质量,本研究重点在匹配典型20步最优结果的前提下大幅降低运行时间。ILF在扩散变换器(DiT)的类到图像生成及基于DiT的PixArt-alpha和PixArt-sigma的文本到图像生成中均表现优异。1.7-1.8倍加速下的质量经FID、CLIP分数、CLIP图像质量评估、ImageReward及定性对比验证。项目信息见https://mgwillia.github.io/ilf。

原文摘要 · Abstract (English)

We propose Inner Loop Feedback (ILF), a novel approach to accelerate diffusion models' inference. ILF trains a lightweight module to predict future features in the denoising process by leveraging the outputs from a chosen diffusion backbone block at a given time step. This approach exploits two key intuitions; (1) the outputs of a given block at adjacent time steps are similar, and (2) performing partial computations for a step imposes a lower burden on the model than skipping the step entirely. Our method is highly flexible, since we find that the feedback module itself can simply be a block from the diffusion backbone, with all settings copied. Its influence on the diffusion forward can be tempered with a learnable scaling factor from zero initialization. We train this module using distillation losses; however, unlike some prior work where a full diffusion backbone serves as the student, our model freezes the backbone, training only the feedback module. While many efforts to optimize diffusion models focus on achieving acceptable image quality in extremely few steps (1-4 steps), our emphasis is on matching best case results (typically achieved in 20 steps) while significantly reducing runtime. ILF achieves this balance effectively, demonstrating strong performance for both class-to-image generation with diffusion transformer (DiT) and text-to-image generation with DiT-based PixArt-alpha and PixArt-sigma. The quality of ILF's 1.7x-1.8x speedups are confirmed by FID, CLIP score, CLIP Image Quality Assessment, ImageReward, and qualitative comparisons. Project information is available at https://mgwillia.github.io/ilf.

扩散模型加速推理反馈机制

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。