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

相位DMD:通过在子区间内进行分数匹配实现少步分布匹配蒸馏

Phased DMD: Few-step Distribution Matching Distillation via Score Matching within Subintervals

SenseTime Research(商汤科技研究院);Beihang University(北航大学)

Xiangyu Fan, Zesong Qiu, Zhuguanyu Wu, Fanzhou Wang, Zhiqian Lin, Tianxiang Ren, Dahua Lin, Ruihao Gong, Lei Yang

AI总结:

本文提出Phased DMD,一种多步蒸馏框架,结合分步蒸馏与专家混合(MoE),提升模型容量并减少学习难度,通过分步分布匹配和子区间内分数匹配改进生成多样性与视觉保真度。

摘要:

分布匹配蒸馏(DMD)将基于分数的生成模型蒸馏为高效的一步生成器,无需与教师模型的采样轨迹一一对应。然而,一步蒸馏模型的有限容量会降低生成多样性并影响复杂生成任务的性能,例如文本到视频任务中的复杂物体运动生成。直接扩展DMD到多步蒸馏会增加内存使用和计算深度,导致不稳定和效率降低。尽管先前工作提出随机梯度截断作为潜在解决方案,但我们发现这会显著降低文本到图像生成的多样性并减缓视频生成中的运动动态,使性能降至一步模型水平。为解决这些限制,我们提出Phased DMD,一种多步蒸馏框架,结合分步蒸馏与专家混合(MoE),减少学习难度并增强模型容量。Phased DMD包含两个关键思想:渐进分布匹配和子区间内的分数匹配。首先,我们的模型将SNR范围划分为子区间,逐步细化模型到更高的SNR水平,以更好地捕捉复杂分布。其次,为了确保每个子区间内准确的训练,我们推导了严格的数学公式来定义目标。我们通过蒸馏最先进的图像和视频生成模型(包括Qwen-Image-20B和Wan2.2-28B)验证了Phased DMD。实验表明,Phased DMD增强了运动动态,改进了视频生成的视觉保真度,并增加了图像生成的输出多样性。我们的代码和模型可在https://x-niper.github.io/projects/Phased-DMD/上获得。

英文摘要:

Distribution Matching Distillation (DMD) distills score-based generative models into efficient one-step generators, without requiring a one-to-one correspondence with the sampling trajectories of their teachers. Yet, the limited capacity of one-step distilled models compromises generative diversity and degrades performance in complex generative tasks, e.g., generating intricate object motions in text-to-video task. Directly extending DMD to multi-step distillation increases memory usage and computational depth, leading to instability and reduced efficiency. While prior works propose stochastic gradient truncation as a potential solution, we observe that it substantially reduces the generative diversity in text-to-image generation and slows motion dynamics in video generation, reducing performance to the level of one-step models. To address these limitations, we propose Phased DMD, a multi-step distillation framework that bridges the idea of phase-wise distillation with Mixture-of-Experts (MoE), reducing learning difficulty while enhancing model capacity. Phased DMD incorporates two key ideas: progressive distribution matching and score matching within subintervals. First, our model divides the SNR range into subintervals, progressively refining the model to higher SNR levels, to better capture complex distributions. Next, to ensure accurate training within each subinterval, we derive rigorous mathematical formulations for the objective. We validate Phased DMD by distilling state-of-the-art image and video generation models, including Qwen-Image-20B and Wan2.2-28B. Experiments demonstrate that Phased DMD enhances motion dynamics, improves visual fidelity in video generation, and increases output diversity in image generation. Our code and models are available at https://x-niper.github.io/projects/Phased-DMD/.

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

↑