FastFlow: Accelerating The Generative Flow Matching Models with Bandit Inference

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bajpai, Divya Jyoti, Bhardwaj, Dhruv, Roy, Soumya, Duseja, Tejas, Agarwal, Harsh, Sandansing, Aashay, Hanawal, Manjesh Kumar
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914323344916480
author Bajpai, Divya Jyoti
Bhardwaj, Dhruv
Roy, Soumya
Duseja, Tejas
Agarwal, Harsh
Sandansing, Aashay
Hanawal, Manjesh Kumar
author_facet Bajpai, Divya Jyoti
Bhardwaj, Dhruv
Roy, Soumya
Duseja, Tejas
Agarwal, Harsh
Sandansing, Aashay
Hanawal, Manjesh Kumar
contents Flow-matching models deliver state-of-the-art fidelity in image and video generation, but the inherent sequential denoising process renders them slower. Existing acceleration methods like distillation, trajectory truncation, and consistency approaches are static, require retraining, and often fail to generalize across tasks. We propose FastFlow, a plug-and-play adaptive inference framework that accelerates generation in flow matching models. FastFlow identifies denoising steps that produce only minor adjustments to the denoising path and approximates them without using the full neural network models used for velocity predictions. The approximation utilizes finite-difference velocity estimates from prior predictions to efficiently extrapolate future states, enabling faster advancements along the denoising path at zero compute cost. This enables skipping computation at intermediary steps. We model the decision of how many steps to safely skip before requiring a full model computation as a multi-armed bandit problem. The bandit learns the optimal skips to balance speed with performance. FastFlow integrates seamlessly with existing pipelines and generalizes across image generation, video generation, and editing tasks. Experiments demonstrate a speedup of over 2.6x while maintaining high-quality outputs. The source code for this work can be found at https://github.com/Div290/FastFlow.
format Preprint
id arxiv_https___arxiv_org_abs_2602_11105
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle FastFlow: Accelerating The Generative Flow Matching Models with Bandit Inference
Bajpai, Divya Jyoti
Bhardwaj, Dhruv
Roy, Soumya
Duseja, Tejas
Agarwal, Harsh
Sandansing, Aashay
Hanawal, Manjesh Kumar
Computer Vision and Pattern Recognition
Flow-matching models deliver state-of-the-art fidelity in image and video generation, but the inherent sequential denoising process renders them slower. Existing acceleration methods like distillation, trajectory truncation, and consistency approaches are static, require retraining, and often fail to generalize across tasks. We propose FastFlow, a plug-and-play adaptive inference framework that accelerates generation in flow matching models. FastFlow identifies denoising steps that produce only minor adjustments to the denoising path and approximates them without using the full neural network models used for velocity predictions. The approximation utilizes finite-difference velocity estimates from prior predictions to efficiently extrapolate future states, enabling faster advancements along the denoising path at zero compute cost. This enables skipping computation at intermediary steps. We model the decision of how many steps to safely skip before requiring a full model computation as a multi-armed bandit problem. The bandit learns the optimal skips to balance speed with performance. FastFlow integrates seamlessly with existing pipelines and generalizes across image generation, video generation, and editing tasks. Experiments demonstrate a speedup of over 2.6x while maintaining high-quality outputs. The source code for this work can be found at https://github.com/Div290/FastFlow.
title FastFlow: Accelerating The Generative Flow Matching Models with Bandit Inference
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2602.11105