Flow matching
Flow matching is a way to train generative models by teaching a network the direction and speed needed to move random noise, step by step along a chosen path, into realistic data such as images or video.
Generative models for images and video turn random noise into something that looks real. Flow matching trains them by defining a path from noise to data and teaching a neural network to follow it. During training, a real example is paired with random noise, a point somewhere between the two is chosen, and the network learns to predict the velocity, meaning the direction and speed, that would move that point towards the real example. To generate, the model starts from fresh noise and follows its learned velocities in a series of steps until an image or clip emerges.
The method was set out in October 2022 by Yaron Lipman, Ricky T. Q. Chen and colleagues in Flow Matching for Generative Modeling. It made a class of models called continuous normalising flows practical to train at scale, because training no longer required simulating the whole path. The paper showed that the noising paths used by diffusion models are one special case, and that straighter paths based on optimal transport trained faster, sampled faster and gave better results on ImageNet than diffusion baselines.
A closely related idea, rectified flow, appeared a month earlier, in September 2022, from Xingchao Liu, Chengyue Gong and Qiang Liu. It connects each noise sample to its data sample with a straight line. Straight paths are easy to follow, so fewer generation steps are needed, and the authors reported good results with flows straight enough to sample in a single step.
The approach has since been used in large image models. A March 2024 paper by Patrick Esser, Robin Rombach and colleagues scaled rectified flow transformers for text-to-image generation and reported that they beat established diffusion formulations on high-resolution images. Black Forest Labs described its FLUX.1 Kontext model, in a June 2025 paper, as a flow matching model that handles both image generation and editing.
Flow matching and diffusion are close relatives rather than rivals, and the line between them is blurry. When a model card says flow matching, it describes how the model was trained, not its architecture, which is usually a transformer. The practical promise is fewer, cheaper generation steps and steadier training. It does not by itself make images more accurate or more faithful to a prompt.
Not quite, but they are closely related. Both turn noise into data over a series of steps. Flow matching trains a network to predict the velocity along a chosen path, and the paths used by diffusion models are one of the options it allows, alongside straighter ones that can need fewer steps. Rectified flow is a form of flow matching that joins each noise sample to its data sample with a straight line and trains the model to follow those straight paths. It was proposed in September 2022 and later used in large text-to-image transformers, because straight paths can be followed in fewer steps. It offers a simple, stable training objective and paths that can be followed in fewer steps, which makes generation faster. A March 2024 paper reported that rectified flow transformers outperformed established diffusion formulations for high-resolution text-to-image generation.Common questions
Is flow matching the same as diffusion?
What is rectified flow?
Why do image and video generators use flow matching?
Search for "flow matching generative models", "rectified flow" or "flow matching vs diffusion" for explanations, from beginner tutorials to the maths. The original 2022 papers on arXiv and the technical reports of image and video models are the most reliable sources. University lecture notes on generative models often present diffusion and flow matching side by side, which helps show how closely they are linked.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.