arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.00523cs.CV
收藏

SenseFlow: 为基于流的文本到图像蒸馏扩展分布匹配

SenseFlow: Scaling Distribution Matching for Flow-based Text-to-Image Distillation

The Hong Kong University of Science and Technology(香港科学与技术大学);SenseTime Research(商汤科技研究院);Vivix AI(维维克斯人工智能);Institute for AI Industry Research, Tsinghua University(清华大学人工智能产业研究所)

Xingtong Ge, Xin Zhang, Tongda Xu, Yi Zhang, Xinjie Zhang, Yan Wang, Jun Zhang

AI总结:

SenseFlow通过引入隐式分布对齐和段内指导,解决大规模基于流的文本到图像模型蒸馏中的收敛问题,提升蒸馏效果。

摘要:

分布匹配蒸馏(DMD)已成功应用于文本到图像扩散模型,如Stable Diffusion(SD)1.5。然而,普通的DMD在大规模基于流的文本到图像模型上,如SD 3.5和FLUX上存在收敛困难。在本文中,我们首先分析在大规模模型上应用普通DMD时出现的问题。然后,为克服可扩展性挑战,我们提出了隐式分布对齐(IDA)以约束生成器和假分布之间的分歧。此外,我们提出了段内指导(ISG)以将时间步去噪重要性从教师模型中转移。仅使用IDA,DMD可以收敛于SD 3.5;同时使用IDA和ISG,DMD可以收敛于SD 3.5和FLUX.1 dev。结合扩展的VFM基于判别器,我们的最终模型,称为SenseFlow,实现了在基于扩散的文本到图像模型如SDXL以及基于流匹配的模型如SD 3.5 Large和FLUX.1 dev中的蒸馏优越性能。源代码可在https://github.com/XingtongGe/SenseFlow获取。

英文摘要:

The Distribution Matching Distillation (DMD) has been successfully applied to text-to-image diffusion models such as Stable Diffusion (SD) 1.5. However, vanilla DMD suffers from convergence difficulties on large-scale flow-based text-to-image models, such as SD 3.5 and FLUX. In this paper, we first analyze the issues when applying vanilla DMD on large-scale models. Then, to overcome the scalability challenge, we propose implicit distribution alignment (IDA) to constrain the divergence between the generator and the fake distribution. Furthermore, we propose intra-segment guidance (ISG) to relocate the timestep denoising importance from the teacher model. With IDA alone, DMD converges for SD 3.5; employing both IDA and ISG, DMD converges for SD 3.5 and FLUX.1 dev. Together with a scaled VFM-based discriminator, our final model, dubbed \textbf{SenseFlow}, achieves superior performance in distillation for both diffusion based text-to-image models such as SDXL, and flow-matching models such as SD 3.5 Large and FLUX.1 dev. The source code is available at \href{https://github.com/XingtongGe/SenseFlow}{https://github.com/XingtongGe/SenseFlow}

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

↑