Abstract
As diffusion models scale to tens of billions of parameters, the computational cost of inference becomes a significant bottleneck. We present ShortCutting Flow Matching (SCFM), an ultra-efficient distillation method designed to accelerate pre-trained Flow Matching (FM) models. By operating directly in the velocity space and employing a novel self-distillation objective, SCFM transforms massive models like Flux (12B) into high-quality 3-step samplers. Remarkably, this process requires less than 24 hours on a single A100 GPU and maintains high fidelity to the original teacher model without requiring architectural modifications or specialized embeddings.
1. Introduction
Flow Matching has become the preferred framework for state-of-the-art diffusion models due to its straight trajectories and simplified solvers. However, high-quality generation still typically requires 30–50 inference steps. While "shortcut" models have been proposed to allow flexible step-skipping, they often necessitate training from scratch to incorporate step-size embeddings, which is prohibitively expensive for billion-parameter models. SCFM addresses this by providing a "free lunch" approach to acceleration: a method that is computationally cheap, data-efficient, and highly faithful to the original model's characteristics.
2. Methodology
SCFM focuses on "straightening" the velocity field of the pre-trained model to allow for larger discrete steps without loss of detail.
2.1 Velocity Space Distillation
Unlike traditional distillation methods that operate in the image or sample space (predicting the final clean image), SCFM works directly on the velocity field. This alignment with the underlying ODE foundations of Flow Matching ensures more stable training and faster convergence.
2.2 Dual-Target Objective
The training framework utilizes a combined loss function:
- Teacher Guidance: The student model learns from the original high-step teacher to maintain the correct global direction.
- Self-Distillation: The model enforces consistency between its own predictions at varying step sizes. This "implicit straightening" forces complex, curved ODE paths into nearly linear trajectories that can be traversed in 1–3 steps.
2.3 Efficient Training Strategies
To achieve its high efficiency, SCFM incorporates Low-Rank Adaptation (LoRA), ensuring that only a fraction of the parameters are updated. Additionally, the authors employ a Fast-Slow EMA strategy, maintaining a fast moving average for rapid adaptation and a slow one for long-term stability.
3. Experimental Setup
The model was trained on a filtered subset of LAION-POP (approximately 600k images) with aesthetic scores above 0.5. To test the limits of data efficiency, the authors also conducted a few-shot experiment using only 10 text-image pairs. Quantitative evaluation was performed on the COCO-30k validation set.
4. Key Results
SCFM demonstrates superior performance across both speed and quality metrics:
- Performance on Flux.1-Dev: At just 3 steps, SCFM achieved a CLIP score of 33.10 and an FID of 6.34, outperforming established baselines like HyperSD.
- Inference Speed: A 3-step SCFM sampler on an A100 takes roughly 1.33 seconds per image, compared to over 15 seconds for the 32-step base model.
- Fidelity: SCFM achieved the lowest $\Delta$FID among tested methods, indicating it is the most faithful distillation method available. It preserves the stylistic "soul" and specific characteristics of the teacher model under the same random seed.
- Few-Shot Capability: The method successfully produced a functional high-quality sampler using only 10 training images, a first for models of this scale.
5. Discussion and Limitations
While SCFM provides a significant leap in efficiency, some areas remain for future development. In experiments with SD3.5-Large, the authors did not perform Classifier-Free Guidance (CFG) distillation, meaning the model still requires two forward passes per step. Additionally, while the model preserves teacher fidelity well, the field still lacks robust quantitative metrics for "model creativity."
6. Conclusion
ShortCutting Flow Matching proves that accelerating massive pre-trained models does not require massive retraining. By straightening the velocity field through self-distillation, SCFM enables high-fidelity, few-step generation that is accessible even on consumer-grade hardware. The framework is modality-agnostic, suggesting potential future applications in 3D, video, and audio generation.
Summary updated