FlowCast: Trajectory Forecasting for Scalable Zero-Cost Speculative Flow Matching
Divya Jyoti Bajpai, Shubham Agarwal, Apoorv Saxena, Kuldeep Kulkarni, Subrata Mitra, Manjesh Kumar Hanawal
TL;DR
FlowCast tackles the slow inference bottleneck of Flow Matching by introducing a training-free speculative decoding framework that leverages FM's constant-velocity tendency. It reuses the model’s own velocity predictions as zero-cost drafts to extrapolate future states and validates them via a mean-squared error threshold, enabling adaptive skipping of redundant steps. The authors provide a formal error bound showing how speculative updates affect trajectory fidelity and demonstrate over 2.5× speedups across image generation, editing, and video tasks without measurable quality loss. The approach is plug-and-play for existing FM models and comes with theoretical guarantees, broad applicability, and compatibility with other acceleration methods. Practically, FlowCast enables real-time or interactive use of Flow Matching in diverse modalities while preserving high-fidelity trajectories.
Abstract
Flow Matching (FM) has recently emerged as a powerful approach for high-quality visual generation. However, their prohibitively slow inference due to a large number of denoising steps limits their potential use in real-time or interactive applications. Existing acceleration methods, like distillation, truncation, or consistency training, either degrade quality, incur costly retraining, or lack generalization. We propose FlowCast, a training-free speculative generation framework that accelerates inference by exploiting the fact that FM models are trained to preserve constant velocity. FlowCast speculates future velocity by extrapolating current velocity without incurring additional time cost, and accepts it if it is within a mean-squared error threshold. This constant-velocity forecasting allows redundant steps in stable regions to be aggressively skipped while retaining precision in complex ones. FlowCast is a plug-and-play framework that integrates seamlessly with any FM model and requires no auxiliary networks. We also present a theoretical analysis and bound the worst-case deviation between speculative and full FM trajectories. Empirical evaluations demonstrate that FlowCast achieves $>2.5\times$ speedup in image generation, video generation, and editing tasks, outperforming existing baselines with no quality loss as compared to standard full generation.
