TL;DR
Generating images with modern AI models like FLUX and Stable Diffusion 3 requires solving differential equations step-by-step, creating a frustratingly slow sequential bottleneck. While parallel sampling tries to bypass this by guessing future steps all at once and iteratively fixing them, those initial guesses are usually terrible—wasting massive amounts of compute on cleanup. ParaPC-FM introduces a practically "free" mathematical trick that reuses past trajectory data to make much smarter initial guesses, slashing wall-clock generation times by up to $1.49\times$ without sacrificing image quality or retraining the model.
What Problem Does This Paper Address?
Flow Matching (FM) and diffusion models generate stunning images by transforming pure noise into structured data along a continuous trajectory—mathematically formulated as solving an Ordinary Differential Equation (ODE). The catch? Solving an ODE is inherently sequential: you cannot compute step 10 until you know where you landed at step 9. For massive models, waiting for 50 or 100 sequential neural network passes means high latency.
To break this temporal bottleneck, researchers introduced parallel-in-time sampling (like ParaDiGMS). If you have multiple GPUs, why not guess the states of the next 8 time steps simultaneously, evaluate the neural network on all of them in parallel, and refine those guesses until they converge?
The problem is that standard parallel samplers initialize future steps lazily—typically by just copying the last known state forward. Because these blind guesses are far off the true trajectory, the system has to run many rounds of expensive neural network evaluations (Number of Function Evaluations, or NFEs) just to correct them, eating away at the theoretical speedup.
Methods
The authors propose ParaPC-FM, a training-free, predictor–corrector framework adapted from sequential high-order ODE solvers (specifically UniPC) for sliding-window parallel inference.
Instead of treating initialization and iterative refinement separately, ParaPC-FM unifies them while allowing independent control via two parameters: the update order ($p$) and the initialization order ($q$).
- Truncated Initialization (The "Predictor"): As the sliding window of parallel GPUs advances forward in time, it leaves behind a trail of already-computed velocity predictions. Instead of copying the last state forward ($q=0$), ParaPC-FM reuses these past velocities to extrapolate where the trajectory is heading. A $q=1$ initialization performs a clean first-order Euler step, while $q \ge 2$ incorporates past velocity differences to curve the guess along the trajectory. Crucially, because these velocities are already sitting in memory, this step requires zero extra neural network evaluations and negligible arithmetic overhead.
- Parallel Iterative Update (The "Corrector"): Within the active window, multiple GPUs evaluate velocities in parallel. ParaPC-FM then refines these states using cross-time velocity differences (up to order $p$) to achieve higher-order accuracy while maintaining a simple additive structure.
Datasets
Because ParaPC-FM is a training-free inference algorithm, no training datasets are used. For evaluation, the authors test text-to-image generation using 1,000 prompts for their ParaDiGMS-based experiments (on FLUX.1-dev, Stable Diffusion 3, and Stable Diffusion 3.5) and 10,000 prompts for their ParaTAA transferability experiments (on Stable Diffusion 1.5). The specific names of the prompt datasets are not discussed in the main text of the paper, and no new benchmarks are introduced.
Key Insights and Ideas
- Initialization drives speedup; update order drives trajectory: You might expect higher-order correction ($p$) to make convergence faster. Surprisingly, changing $p$ barely budges the relative initialization speedup. Instead, $p$ dictates which numerical path the solver takes, while smart initialization ($q > 0$) does the heavy lifting of cutting down iteration counts.
- First-order guessing ($q=1$) is the sweet spot: While higher-order initialization ($q=2$) sounds better on paper, it is sensitive to step size. When taking fewer, larger steps (e.g., a 25-step schedule), local truncation errors make $q=2$ extrapolations overshoot, occasionally slowing things down. Simple first-order velocity reuse ($q=1$) delivers the fastest, most reliable speedups across the board.
- Finer grids yield bigger parallel wins: As the total number of sampling steps increases (e.g., from 25 to 100), step sizes shrink, making Taylor-like velocity extrapolations much more accurate. Consequently, ParaPC-FM's speedup actually grows at higher step counts.
- True plug-and-play modularity: Because the initialization only relies on past model outputs, it isn't married to one specific solver—it can be dropped directly into other parallel frameworks (like ParaTAA) to get immediate speedups.
Key Results
Evaluated across 8 parallel devices at $512 \times 512$ resolution, ParaPC-FM consistently accelerates parallel baselines while keeping image quality (CLIP score, ImageReward) and reference fidelity (RMSE) virtually identical:
- FLUX.1-dev: Compared to standard uninitialized parallel sampling ($q=0$), ParaPC-FM achieves $1.06\times$ to $1.25\times$ wall-clock speedups at 50 steps, and $1.30\times$ to $1.49\times$ speedups at 100 steps. For instance, at 50 steps ($p=0, q=1$), generation drops from 22.8s (sequential) and 6.39s ($q=0$ parallel) down to 5.58s under strict RMSE matching, or 4.44s under relaxed tolerance.
- Stable Diffusion 3 & 3.5 (50 steps): Achieves $1.07\times$ to $1.22\times$ speedups on SD3 and $1.03\times$ to $1.16\times$ on SD3.5 over parallel baselines.
- Transfer to ParaTAA (SD 1.5): Dropping ParaPC-FM's initialization into ParaTAA's DDIM sampler yields a $1.17\times$ speedup ($q=1$), cutting average latency from 1.74s to 1.48s across 10,000 prompts with identical CLIP scores.
Limitations and Future Work
ParaPC-FM struggles in low-step regimes (such as 25-step schedules) where the discretization steps are large. Over large time intervals, past velocities become stale predictors of future states, causing truncation errors that weaken—or in the case of $q=2$, slightly reverse—the acceleration benefits. For future work, the authors suggest designing adaptive schemes that dynamically weight past velocity terms based on step size so initialization stays reliable even on coarse time grids.
Summary updated