arXiv · 2022 · Preprint
Lipman et al. (Meta AI (FAIR)) · → Paper · Demo: ? · Code: ?
Flow Matching introduces a simulation-free framework for training Continuous Normalizing Flows by directly regressing vector fields of fixed conditional probability paths, and demonstrates that Optimal Transport paths yield faster training, more efficient sampling, and better generation quality than standard diffusion paths.
Problem
Prior to this work, Continuous Normalizing Flows (CNFs) were theoretically appealing as a general generative modeling framework but computationally prohibitive at scale. Training via maximum likelihood required expensive ODE simulations for backpropagation. Simulation-free alternatives either involved intractable integrals or produced biased gradients in the minibatch regime. Diffusion models sidestepped these issues through denoising score matching, but their reliance on stochastic diffusion processes constrained them to a narrow family of probability paths, leading to curved generation trajectories, slow convergence, and the need for specialized fast-sampling methods.
Method
Flow Matching (FM) reframes CNF training as a regression problem: given a target probability path from noise to data, the approach trains a neural network to predict the vector field that generates that path. The key theoretical insight is that an intractable marginal vector field can be decomposed into tractable per-sample conditional vector fields, and that optimizing the Conditional Flow Matching (CFM) objective (regressing onto these conditional vector fields) yields identical gradients to the original Flow Matching objective (Theorems 1 and 2 in the paper).
For a general family of Gaussian conditional probability paths parametrised by time-dependent mean µ_t(x_1) and standard deviation σ_t(x_1), the paper derives a closed-form conditional vector field (Theorem 3). This unifies existing diffusion processes as special cases: both Variance Exploding and Variance Preserving diffusion paths are recovered by specific choices of µ_t and σ_t. More importantly, it enables entirely new paths. The Optimal Transport (OT) path sets µ_t and σ_t to change linearly in time, producing a conditional flow that corresponds to the Wasserstein-2 OT displacement map between two Gaussians. Under this path, particles move in straight-line trajectories at constant speed from noise to data, rather than following the curved, overshooting trajectories characteristic of diffusion paths.

Inference proceeds by drawing a noise sample and integrating the learned vector field over t ∈ [0,1] using an off-the-shelf ODE solver such as dopri5. Experiments use the U-Net architecture from Dhariwal and Nichol (2021) without material modification.
Key Results
On CIFAR-10, FM with the OT path achieves FID 6.35 and NLL 2.99 BPD, outperforming DDPM (FID 7.48, NLL 3.12) and Score Flow (FID 20.78, NLL 3.09) while requiring fewer function evaluations (NFE 142 vs 274 for DDPM). Results are consistent across ImageNet 32, 64, and 128 resolutions, with FM-OT leading on both FID and NLL in every case (Table 1). On ImageNet-128, FM-OT achieves FID 20.9 with a model trained for 500k iterations (batch 1536), compared to Dhariwal and Nichol (2021) who required 4.36m iterations (batch 256), representing approximately 33% less image throughput despite using a 25% larger model.
FM with diffusion paths (FM-Diffusion) also consistently outperforms training diffusion models via score matching, suggesting the FM objective itself (not just the OT path) provides a more stable training signal. On ImageNet-32, FM-OT achieves the same numerical error threshold as diffusion models at roughly 60% of the NFEs (Figure 7). Sampling cost under FM remains constant across training, whereas score matching methods show variable and increasing NFE requirements as training progresses.
Novelty Assessment
The contribution is primarily conceptual and theoretical. The core insight, that marginal vector fields can be decomposed into tractable conditional vector fields with provably identical gradients, was novel at the time and not directly anticipated by prior CNF or diffusion literature. The OT path is a direct consequence of this formulation and required no architectural invention: the same U-Net backbone, the same ODE solver, and the same data are used throughout. The paper’s claim that diffusion paths are just one special case within a much broader space of paths, and that this space contains simpler and more efficient alternatives, is what makes it conceptually significant.
The concurrent work of Liu et al. (2022) on Rectified Flow and Albergo and Vanden-Eijnden (2022) on Stochastic Interpolants arrived at closely related objectives independently, which the paper acknowledges directly. The relative priority and contribution boundaries are somewhat fuzzy as a result, but the rigorous Gaussian path framework and the theoretical unification with diffusion are distinctive contributions of this paper.
Field Significance
Important
Foundational — this paper established the flow matching training objective and the Optimal Transport conditional path that most subsequent flow-matching generative models (including TTS systems) adopt directly. By proving that the intractable marginal flow matching objective can be replaced by a tractable per-sample conditional objective with identical gradients, it enabled scalable simulation-free CNF training beyond the diffusion family. Speech synthesis systems using flow matching (Voicebox, Matcha-TTS, VoiceFlow, and many others) build on this framework, replacing score matching objectives with the CFM loss and often using the OT interpolant specifically.
Claims
- Simulation-free training of Continuous Normalizing Flows is achievable by regressing conditional vector fields rather than marginal vector fields, without any gradient bias. (§3.2, Theorem 2)
- Optimal Transport paths yield straighter generation trajectories than diffusion paths, enabling accurate sample generation with fewer ODE function evaluations. (§4.1, §6.2, Figure 7)
- The Flow Matching objective provides more stable and faster-converging training than denoising score matching when applied to the same diffusion probability paths. (§6.1, Figure 5)
- Diffusion-based generative models are a restricted special case of the broader flow matching framework, which encompasses a continuous family of probability paths with varying efficiency trade-offs. (§4.1)
Limitations and Open Questions
The experiments are conducted on image generation only (CIFAR-10, ImageNet). The paper demonstrates the framework’s value in the image domain and leaves speech, audio, and other modalities as future applications. The theoretical analysis assumes Gaussian conditional paths throughout; extensions to non-Gaussian or manifold-constrained paths are flagged as future work but not explored.
While the OT path is optimal at the conditional level (between paired Gaussians), the paper notes that this optimality does not carry over to the marginal vector field. The marginal field is expected to remain relatively simple in practice, but this is empirically observed rather than theoretically guaranteed.
The paper does not report any code release or official implementation at the time of the preprint; downstream users relied on the theoretical description and the concurrent rectified flow and stochastic interpolant works to build implementations.
Wiki Connections
This paper introduces the theoretical foundation for flow-matching, which underlies a large fraction of the TTS systems in this corpus. The Conditional Flow Matching (CFM) objective with OT paths is adopted by Voicebox and subsequent speech synthesis systems. The relationship to diffusion-tts is direct: flow matching generalises diffusion by treating diffusion paths as one special case within a larger family of Gaussian conditional paths.