PrimFlow: Few-Step Trajectory Distillation with Adaptive Temporal Function Parameterization
Hongyi Fang, Chuwen Xie, Chenggong Hu, Benjia Zhou, Yu-Xuan Qiu, Rui Mao
原文摘要
How to compress the hundreds of network evaluations required by diffusion and flow models to generate content into only a few steps while maintaining generation quality is an important concern in industry. Trajectory distillation enables a few-step model to fit the ODE trajectory obtained by integrating the teacher's multistep dynamics through a single backbone computation, providing an effective approach to few-step generation. Existing methods typically use temporal function parameterization (TFP), in which the backbone predicts parameters of a predefined temporal trajectory function. These designs generally express only trajectories with particular structures; even fully optimizing their learnable parameters does not guarantee an accurate fit to an arbitrary teacher trajectory. We introduce PrimFlow, which extracts shared latent features with one backbone forward pass and uses a lightweight auxiliary network conditioned on query time to learn an adaptive temporal function, relaxing this restriction. Text-to-image experiments on FLUX.2-Klein-base-9B and Qwen-Image-20B show better overall performance across multiple evaluation metrics, backbones, and 2/4 backbone-evaluation settings.
cs.CV