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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chen, Hansheng, Zhang, Kai, Tan, Hao, Guibas, Leonidas, Wetzstein, Gordon, Bi, Sai
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915807668207616
author Chen, Hansheng
Zhang, Kai
Tan, Hao
Guibas, Leonidas
Wetzstein, Gordon
Bi, Sai
author_facet Chen, Hansheng
Zhang, Kai
Tan, Hao
Guibas, Leonidas
Wetzstein, Gordon
Bi, Sai
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_14974
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation
Chen, Hansheng
Zhang, Kai
Tan, Hao
Guibas, Leonidas
Wetzstein, Gordon
Bi, Sai
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
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.
title pi-Flow: Policy-Based Few-Step Generation via Imitation Distillation
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2510.14974