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

pi-Flow:基于策略的少步生成通过模仿蒸馏

pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation

Hansheng Chen, Kai Zhang, Hao Tan, Leonidas Guibas, Gordon Wetzstein, Sai Bi

AI总结:

pi-Flow通过模仿蒸馏策略,实现少步生成模型的稳定训练和高质量输出。

摘要:

少步扩散或基于流的生成模型通常通过蒸馏一个预测速度的教师模型来训练一个学生模型,该学生模型预测向去噪数据的快捷方式。这种格式不匹配导致了复杂的蒸馏过程,通常在质量和多样性之间存在权衡。为了解决这个问题,我们提出了基于策略的流模型(π-Flow)。π-Flow修改学生流模型的输出层,使其在一步时间内预测一个无网络的策略。该策略随后在未来的子步骤中以几乎不增加开销的方式生成动态流速度,从而在这些子步骤上实现快速且准确的ODE积分,而无需额外的网络评估。为了使策略的ODE轨迹与教师的轨迹相匹配,我们引入了一种新的模仿蒸馏方法,该方法使用标准的ℓ2流匹配损失,在策略的轨迹上匹配策略的速度与教师的速度。通过简单地模仿教师的行为,π-Flow实现了稳定且可扩展的训练,并避免了质量和多样性的权衡。在ImageNet 256²上,它实现了1-NFE FID为2.85,优于相同DiT架构的先前1-NFE模型。在FLUX.1-12B和Qwen-Image-20B上,使用4 NFEs时,π-Flow实现了比最先进的DMD模型显著更高的多样性,同时保持教师级别的质量。

英文摘要:

Few-step diffusion or flow-based generative models typically distill a velocity-predicting teacher into a student that predicts a shortcut towards denoised data. This format mismatch has led to complex distillation procedures that often suffer from a quality-diversity trade-off. To address this, we propose policy-based flow models ($π$-Flow). $π$-Flow modifies the output layer of a student flow model to predict a network-free policy at one timestep. The policy then produces dynamic flow velocities at future substeps with negligible overhead, enabling fast and accurate ODE integration on these substeps without extra network evaluations. To match the policy's ODE trajectory to the teacher's, we introduce a novel imitation distillation approach, which matches the policy's velocity to the teacher's along the policy's trajectory using a standard $\ell_2$ flow matching loss. By simply mimicking the teacher's behavior, $π$-Flow enables stable and scalable training and avoids the quality-diversity trade-off. On ImageNet 256$^2$, it attains a 1-NFE FID of 2.85, outperforming previous 1-NFE models of the same DiT architecture. On FLUX.1-12B and Qwen-Image-20B at 4 NFEs, $π$-Flow achieves substantially better diversity than state-of-the-art DMD models, while maintaining teacher-level quality.

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

↑