eDMD:面向少步扩散蒸馏的端点分布匹配

·

研究论文 · 2026/11/16

分布匹配蒸馏(DMD)是将扩散模型蒸馏为少步学生模型的领先范式,其中辅助假分数模型跟踪学生分布,教师与假预测之间的差异驱动学生逼近教师。在多步蒸馏中,尽管只输出学生最终结果,现有方法却在中间状态或所有去噪步骤上训练假模型,导致学生更新信号与中间分布纠缠,可能扭曲匹配方向,甚至在学生最终输出已匹配教师分布后仍非零。为解决此不匹配,我们提出端点分布匹配蒸馏(eDMD),仅在学生最终输出上训练单个共享假模型,并用其校正每个去噪步骤。理论分析证明,该端点参考保证分布匹配项当且仅当学生最终输出分布匹配教师时消失,与中间分布无关。除假参考外,我们通过精确教师(PT)加强教师监督,在最终噪声区间用短多步轨迹替代单步引导预测,并为中间步骤配备校准的查询密度。在SD3-Medium、FLUX.2-klein(4B和9B)和Qwen-Image-2.1上的实验表明,eDMD在4步生成中始终优于现有的分布匹配方法。

该论文针对DMD中假模型训练与最终输出不匹配的核心问题,提出简洁有效的端点分布匹配方案,并给出理论保证,在多个主流模型上验证了其优越性,对少步扩散蒸馏研究有重要参考价值。

Distribution matching distillation (DMD) has emerged as a leading paradigm for distilling diffusion models into few-step students, where an auxiliary fake score model tracks the student's distribution and the discrepancy between the teacher and fake predictions drives the student toward the teacher. In multi-step distillation, although only the student's final output is delivered, existing methods train the fake model on intermediate states or across all denoising steps. Consequently, the student's update signal becomes entangled with intermediate distributions, which can distort the matching direction and remain nonzero even after the student's final outputs already match the teacher distribution. To resolve this mismatch, we propose Endpoint Distribution Matching Distillation (eDMD), which trains a single shared fake model exclusively on the student's final outputs and uses it to correct every denoising step. Our theoretical analysis proves that this endpoint reference guarantees that the distribution matching term vanishes if and only if the student's final output distribution matches the teacher's, regardless of intermediate distributions. Beyond the fake reference, we further strengthen teacher supervision through a precise teacher (PT) that replaces single-step guided predictions with short multi-step trajectories on the final noise interval, paired with a calibrated query density for intermediate steps. Experiments on SD3-Medium, FLUX.2-klein (4B and 9B), and Qwen-Image-2.1 demonstrate that eDMD consistently outperforms existing distribution matching methods for 4-step generation.

阅读原文

参与讨论