2025-10-17 · 专家 · 计算机视觉 · 自然语言处理 · 机器学习

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

该论文提出了一种基于策略的流模型(π-Flow),通过预测网络无关的策略来减少推理成本,同时保持图像质量和多样性。

更新于 2025-10-17。作者:Hansheng Chen、Kai Zhang、Hao Tan、Leonidas Guibas、Gordon Wetzstein、Sai Bi。

中文摘要

几步扩散或基于流的生成模型通常将预测速度的教师模型提炼成学生模型,预测通向去噪数据的捷径。这种格式不匹配导致复杂的提炼过程,往往面临质量与多样性的权衡。为了解决这个问题,我们提出了基于策略的流模型(pi-Flow)。pi-Flow修改了学生流模型的输出层,使其在一个时间步预测一个无网络的策略。该策略随后在未来的子步骤中产生动态的流速度,开销可忽略不计,使得在这些子步骤上能够快速准确地执行常微分方程(ODE)积分,无需额外的网络评估。为了使策略的ODE轨迹与教师模型匹配,我们引入了一种新颖的模仿提炼方法,该方法使用标准的ell_2流匹配损失,将策略的速度与教师模型沿策略轨迹匹配。通过简单地模仿教师的行为,pi-Flow实现了稳定和可扩展的训练,避免了质量与多样性的权衡。在ImageNet 256^2上,它达到了1-NFE FID 2.85,优于相同DiT架构的MeanFlow。在FLUX.1-12B和Qwen-Image-20B上,pi-Flow在4 NFEs时实现了比最先进的几步方法显著更好的多样性,同时保持了教师级别的质量。

英文摘要

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 (pi-Flow). pi-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, pi-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 MeanFlow of the same DiT architecture. On FLUX.1-12B and Qwen-Image-20B at 4 NFEs, pi-Flow achieves substantially better diversity than state-of-the-art few-step methods, while maintaining teacher-level quality.

解读

一句话总结

该论文提出了一种基于策略的流模型(π-Flow),通过预测网络无关的策略来减少推理成本,同时保持图像质量和多样性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt