FlowSteer: Guiding Few-Step Image Synthesis with Authentic Trajectories
Lei Ke, Hubery Yin, Gongye Liu, Zhengyao Lv, Jingcai Guo, Chen Li, Wenhan Luo, Yujiu Yang, Jing Lyu
TL;DR
FlowSteer addresses the sampling efficiency bottleneck in flow-based image synthesis by diagnosing training-inference misalignments in PeRFlow and introducing Online Trajectory Alignment (OTA) to ensure the teacher and student share authentic trajectories during distillation. It further strengthens guidance with adversarial distillation on the ODE trajectory and fixes a flaw in the FlowMatchEulerDiscreteScheduler, substantially boosting few-step performance. The approach demonstrates clear gains on Stable Diffusion 3 (SD3) backbones, outperforming competing methods at 4-step inference and beating several baselines in both quantitative metrics and qualitative image quality. By aligning training with on-policy trajectories and providing perceptual feedback, FlowSteer unlocks strong ReFlow-based distillation performance with practical efficiency benefits.
Abstract
With the success of flow matching in visual generation, sampling efficiency remains a critical bottleneck for its practical application. Among flow models' accelerating methods, ReFlow has been somehow overlooked although it has theoretical consistency with flow matching. This is primarily due to its suboptimal performance in practical scenarios compared to consistency distillation and score distillation. In this work, we investigate this issue within the ReFlow framework and propose FlowSteer, a method unlocks the potential of ReFlow-based distillation by guiding the student along teacher's authentic generation trajectories. We first identify that Piecewised ReFlow's performance is hampered by a critical distribution mismatch during the training and propose Online Trajectory Alignment(OTA) to resolve it. Then, we introduce a adversarial distillation objective applied directly on the ODE trajectory, improving the student's adherence to the teacher's generation trajectory. Furthermore, we find and fix a previously undiscovered flaw in the widely-used FlowMatchEulerDiscreteScheduler that largely degrades few-step inference quality. Our experiment result on SD3 demonstrates our method's efficacy.
