TL;DR
This paper introduces a novel, training-free "flow-solver" that drastically accelerates image generation in Flow Diffusion Models (FDMs). By caching and reusing velocity evaluations from previous steps to approximate high-order derivatives, it cuts down the required Number of Function Evaluations (NFE) while significantly improving image quality compared to standard solvers like Euler and Heun.
What Problem Does This Paper Address?
Flow Diffusion Models (FDMs) are powerful generative models that smooth the path between noise and data distributions using Ordinary Differential Equations (ODEs). However, their sampling process is notoriously slow. Standard ODE solvers, like the classical Euler method, require a high number of sequential network evaluations (high NFE) to generate crisp, high-quality images.
While several training-free acceleration methods have been successfully developed for Diffusion Probabilistic Models (DPMs), FDMs have been largely left behind. Current acceleration options for FDMs either rely on computationally expensive training-based distillation or suffer from the high computational overhead of multi-evaluation solvers (like the Heun solver). The authors address this gap by designing a fast, training-free ODE solver tailored specifically for the unique mathematical structure of FDMs.
Methods
The core innovation is the flow-solver, a high-order ODE solver that avoids the extra neural network evaluations typically required to compute higher-order derivatives. Instead of looking forward in time (which requires additional, costly model evaluations), the flow-solver looks backward. It maintains a simple cache of the model's velocity function evaluations ($v_\theta$) from previous steps.
To utilize these past steps effectively, the authors use a Taylor expansion to approximate the continuous ODE integral. They map the cached historical steps to the high-order derivatives of the Taylor series. Because the sampling time steps are typically unevenly spaced, this introduces a coefficient mismatch. The authors elegantly resolve this mismatch by formulating it as a polynomial interpolation problem, solving it analytically using a Vandermonde matrix.
This yields a closed-form solution that achieves a high-order approximation error bound of $O(h_n^p)$ while requiring only 1 NFE per step. Additionally, they incorporate a predictor-corrector trick from DPM literature to further push the error bound to $O(h_n^{p+1})$.
Datasets
The method was comprehensively evaluated across several standard image synthesis benchmarks:
- CIFAR-10 ($32 \times 32$)
- CelebA-HQ ($256 \times 256$)
- LSUN-Bedroom & LSUN-Church ($256 \times 256$)
- ImageNet ($256 \times 256$, class-conditional)
- PartiPrompts ($512 \times 512$, text-to-image generation evaluated via Stable Diffusion 3.0)
Key Insights and Ideas
- History is a Free Lunch: Traditional high-order solvers (like Heun or Runge-Kutta) evaluate the model at intermediate or future points to reduce step error, doubling or tripling the computational cost per step. The flow-solver leverages the realization that past evaluations are already computed and sitting in memory—reusing them provides higher-order accuracy for free.
- Mathematical Bridge for FDMs: Unlike DPMs, which model probabilistic paths using score functions, FDMs rely on conditional normalization flows. Resolving the step-coefficient mismatch via polynomial interpolation provides a clean, closed-form framework that allows FDMs to finally benefit from multi-step history.
- Stability at Ultra-Low NFEs: Classical high-order solvers often become highly unstable and degrade image quality drastically when forced to run at extremely low step counts (e.g., fewer than 10 steps). The flow-solver maintains robust stability because its coefficients are dynamically matched to the exact trajectory history.
Key Results
The flow-solver consistently outperforms classical baselines (Euler, Heun, and RK-3) across all datasets, particularly in the ultra-low NFE regime (7 to 10 steps), measured using the Fréchet Inception Distance (FID; lower is better):
- CIFAR-10: At NFE = 10, the flow-solver achieves an FID of 6.62, drastically outperforming the baseline Euler solver (13.79) and Heun solver (30.03).
- LSUN-Church: At NFE = 10, the FID drops from 46.64 (Euler) to 19.49 (Flow-solver).
- Text-to-Image (Stable Diffusion 3.0): The flow-solver maintains superior image fidelity across various Classifier-Free Guidance (CFG) scales, showing resilience to the typical instabilities plaguing other solvers at low step counts.
Limitations and Future Work
The authors note two primary limitations:
- Model-Inherent Errors: The solver minimizes the discretization error of the ODE integration path, but it cannot correct for errors inherent to the underlying pre-trained neural network itself.
- Sensitivity to Classifier-Free Guidance (CFG): High CFG scales naturally introduce larger approximation errors during the generation process. While the flow-solver still outperforms the baselines here, the authors suggest that developing dynamic compensation strategies for high-CFG sampling remains an open direction for future work.
Summary updated