Contextual Flow Matching: Adaptive Step Selection in Flow Models for Efficient Visual Generation
Divya Jyoti Bajpai, Arun Verma, Manjesh Kumar Hanawal
Key points
From the paper's conclusion- We further provide a theoretical analysis establishing an O(1/K) forward-Euler discretization error bound under standard regularity conditions.
Abstract
Flow Matching enables high-quality visual generation via continuous-time dynamics, but inference remains costly due to multiple sequential function evaluations. Existing acceleration methods reduce the number of function evaluations but often introduce additional training overhead, degrade quality, or fail to account for input-dependent variability. We propose COFLOW, an inference-time method that adaptively selects the step counts each generation based on the prompt features. Our context-aware COFLOW is trained online with an unsupervised reward that balances inference efficiency and generation fidelity. Our method is plug-and-play, requiring no retraining of the underlying generative model. It generalizes to image and video generation, achieving over 2.5x speedup while preserving perceptual and semantic quality. We further provide a theoretical analysis establishing an O(1/K) forward-Euler discretization error bound under standard regularity conditions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FlowBudget: Training-Free Sampling-Budget Estimation for Flow Matching ModelsarXiv · 2026
- Magnitude-Direction Decoupling for Fast Video Generation with Flow Matching ModelsarXiv · 2026
- Smoother Flow Matching via Contrastive Trajectory RepulsionarXiv · 2026
- TrajCal: Trajectory-Calibrated Time Schedules for Few-Step Flow SamplingarXiv · 2026
- Decompose the Distillation: Interpretable Single-Pass Guidance for Diffusion ModelsarXiv · 2026
- Few-Step Generation via Data-Space IterationarXiv · 2026