Velocity Matching in Flow Models
- Velocity Matching is a method for learning time-dependent vector fields that guide probability mass transport along a continuous density path between source and target distributions.
- It underpins flow matching and its variants (e.g., conditional and rectified flows), enabling the training of neural fields to match analytic velocity targets for efficient generative modeling.
- Recent extensions such as Variational Rectified Flow, VeCoR, StableVM, and TVM address issues like multimodality, target variance, and trajectory geometry to improve one-step and few-step generation.
Velocity Matching (VM) is a regression principle for learning time-dependent vector fields that transport probability mass between a source distribution and a target distribution along a prescribed probability path. In contemporary flow-based generative modeling, VM is typically instantiated inside Flow Matching (FM), Conditional Flow Matching (CFM), or rectified-flow formulations, where a neural field is trained to match an analytically defined velocity target along interpolants between noise and data. The learned field then defines a probability-flow ordinary differential equation (ODE), or related transition operator, whose integration generates samples. Across the recent literature, VM has become both a unifying formulation for continuous-time generative transport and a locus for several extensions addressing multi-modality, target variance, trajectory straightness, low-step generation, and domain-specific dynamics (Guo et al., 13 Feb 2025, Yang et al., 5 Feb 2026, Ma, 16 Mar 2026).
1. Formal definition and probabilistic setting
VM is defined on a continuous path of densities connecting a simple source distribution to a target distribution. The state variable satisfies , and the learned time-dependent field drives deterministic dynamics through
The corresponding density evolution satisfies the continuity equation
In conditional formulations, one introduces an auxiliary variable and a conditional path with conditional velocity field , while the marginal velocity is the conditional expectation
A standard FM choice sets 0, with independent coupling 1, 2, and linear interpolant
3
for which the conditional velocity is constant in time:
4
This formulation is central in FM, rectified flow, and several later one-step generalizations (Ma, 16 Mar 2026, Yue et al., 29 Sep 2025).
A closely related stochastic-interpolant formulation writes
5
with boundary conditions 6 and 7, and often uses the linear schedule 8, 9. The corresponding reference velocity is
0
This version is widely used in latent-space FM implementations and makes explicit that VM is the regression of a neural velocity field toward a path-induced analytic target (Hong et al., 24 Nov 2025).
2. Canonical objectives in Flow Matching and rectified flow
The basic VM loss is a mean-squared regression objective. In the CFM form,
1
Under the linear bridge 2, this becomes regression to the constant displacement target 3. In the latent-space FM form used by VeCoR,
4
The empirical loss is the corresponding finite-sample average over training tuples. The global minimizer of the conditional objective is the marginal velocity field, which gives VM its standard “train on conditional targets, recover marginal transport” interpretation (Hong et al., 24 Nov 2025, Yang et al., 5 Feb 2026).
Rectified-flow formulations use the same principle but emphasize linear interpolants and straight paths. A common construction sets
5
and trains
6
At inference, samples are generated by integrating the learned probability-flow ODE
7
The same framework also admits a likelihood interpretation through the instantaneous change-of-variables relation
8
This establishes VM as both a transport-learning objective and a continuous normalizing-flow training rule (Guo et al., 13 Feb 2025).
3. Ambiguity, variance, and trajectory geometry
A central limitation of VM is that the conditional velocity target can be ambiguous or high-variance at fixed 9. In rectified flow, many distinct couplings 0 may satisfy
1
yet induce different target velocities 2. Under an MSE objective, the learned field regresses to the conditional mean rather than the full conditional law, which can cause the vector field to average incompatible directions. This is the basis of the multi-modality critique developed by Variational Rectified Flow Matching, which models a latent-conditioned conditional distribution over velocities rather than only its mean (Guo et al., 13 Feb 2025).
A distinct but related issue is target variance. “Stable Velocity” defines the CFM target variance proxy
3
This work characterizes a low-variance regime near the data distribution, where conditional and marginal velocities nearly coincide, and a high-variance regime near the prior, where optimization becomes difficult (Yang et al., 5 Feb 2026).
Another line of analysis identifies a systematic magnitude contraction in the MSE estimator. “The Velocity Deficit” states that for the random target velocity 4, the conditional-mean solution satisfies
5
which is interpreted as underestimation of kinetic energy. In the linear-path setting with independent coupling and zero-mean data, the learned boundary magnitudes reduce to 6 near 7 and 8 near 9, while the target displacement magnitude is approximately 0. The paper terms the resulting undershoot during numerical integration “Integration Lag” and proposes asymmetric early-time correction (Li et al., 14 May 2026).
Trajectory geometry provides a third perspective. OT-based FM methods implicitly pursue straighter trajectories by regressing toward constant velocities under optimal couplings, but OAT-FM argues that constant velocity is sufficient rather than necessary for straightness. It states that a trajectory is straight if and only if the velocity direction is time invariant and the acceleration is everywhere parallel to the velocity, then recasts straightening as a second-order transport problem in sample–velocity product space (Yue et al., 29 Sep 2025).
4. Major extensions of Velocity Matching
Recent work has extended VM along several axes: target distributions in velocity space, variance reduction, two-sided regularization, higher-order transport, and direct transition learning. The representative variants below are all described explicitly in the literature.
| Variant | Core modification | Representative source |
|---|---|---|
| Variational Rectified Flow Matching | Models a latent-conditioned multimodal velocity law | (Guo et al., 13 Feb 2025) |
| VeCoR | Adds contrastive attraction–repulsion supervision in velocity space | (Hong et al., 24 Nov 2025) |
| StableVM | Uses multi-reference aggregation under a composite GMM path for unbiased variance reduction | (Yang et al., 5 Feb 2026) |
| OAT-FM | Optimizes acceleration transport in sample–velocity product space | (Yue et al., 29 Sep 2025) |
| TVM / TFM / Mean-velocity models | Learns terminal-time, average-velocity, or transition operators for few-step generation | (Zhou et al., 24 Nov 2025, Ma, 16 Mar 2026) |
| CCVFM | Replaces an isotropic inner source with a coreset-induced surrogate conditional velocity law | (Wang et al., 13 May 2026) |
Variational Rectified Flow Matching introduces a latent variable 1 and defines
2
With a Gaussian posterior
3
training maximizes an ELBO whose data-fit term reduces to squared velocity error. This explicitly addresses the fact that “ground-truth” velocities can be multimodal at the same spatio-temporal point (Guo et al., 13 Feb 2025).
VeCoR keeps the FM target but augments it with negative velocity candidates. Its empirical loss is
4
with requirement 5. The paper interprets this as converting FM from a purely attractive objective into a two-sided attract–repel signal that suppresses off-manifold directions (Hong et al., 24 Nov 2025).
StableVM replaces single-reference conditional targets with a self-normalized multi-reference estimator
6
Its objective is unbiased, has the true marginal velocity as global minimizer, and satisfies
7
with an explicit 8 variance bound under stated assumptions (Yang et al., 5 Feb 2026).
OAT-FM generalizes the hidden straightening objective of OT-CFM to second-order transport. Its dynamic formulation minimizes squared acceleration under the Vlasov equation in 9, while the practical upper-level loss combines endpoint velocity alignment and endpoint velocity change penalties. This suggests a shift from “constant-velocity matching” toward “acceleration-aware straightness matching” when the goal is efficient few-step transport (Yue et al., 29 Sep 2025).
5. One-step generation, flow-map learning, and distillation
A major contemporary theme is the use of VM-derived objectives for one-step or few-step generation. Mean Velocity Flow models define the average velocity over an interval 0 as
1
and exploit the identity
2
to learn directly jumpable quantities. Transition Flow Matching (TFM) further promotes the transition flow
3
with the Transition Flow Identity
4
Its conditional objective is tractable under the standard linear interpolant and supports one-step generation by
5
The paper explicitly relates TFM and mean-velocity formulations as dual parameterizations of the same average-motion object (Ma, 16 Mar 2026).
Terminal Velocity Matching (TVM) reformulates the problem in terms of two-time displacements
6
represented as
7
Its key identity is the terminal-velocity condition
8
which leads to an upper bound of displacement error by terminal-velocity error. The practical TVM loss combines a terminal-time consistency term with an FM boundary term at 9, thereby interpolating between one-step displacement learning and standard FM. The paper also gives a Wasserstein-0 upper bound under Lipschitz continuity and reports state-of-the-art one/few-step ImageNet performance from scratch (Zhou et al., 24 Nov 2025).
Distillation-based approaches re-express VM at selected times. “Distilling Two-Timed Flow Models by Separately Matching Initial and Terminal Velocities” defines the Initial/Terminal Velocity Matching loss
1
where the student two-timed flow map is parameterized as
2
The initial terms match the teacher’s instantaneous and short-interval average velocities at time 3, while the terminal term enforces a consistency relation near 4 using an EMA-stabilized student target. The paper interprets the initial terms as redundant at the global optimum yet useful because they query the teacher on in-distribution inputs (Khungurn et al., 2 May 2025).
6. Applications, empirical regimes, and broader significance
VM now spans both generative modeling and scientific dynamics estimation. In image synthesis, it underlies latent-space FM with transformer and U-Net backbones, class-conditional ImageNet generation, text-to-image models, and video generation. Several papers emphasize low-NFE deployment. VeCoR reports improvements “particularly in low-step and lightweight settings”; Stable Velocity develops StableVS for accelerated low-variance-regime sampling; TVM and TFM directly target one-step and few-step synthesis; and “The Velocity Deficit” proposes a training-free Scale Schedule Corrector
5
together with the training-based Magnitude-Aware Flow Matching objective
6
with 7 (Hong et al., 24 Nov 2025, Yang et al., 5 Feb 2026, Li et al., 14 May 2026, Zhou et al., 24 Nov 2025, Ma, 16 Mar 2026).
In hierarchical velocity-space modeling, CCVFM replaces the isotropic Gaussian inner source of hierarchical rectified flow with a coreset-induced Gaussian-mixture surrogate. Its induced conditional velocity law has the closed form
8
and the correction flow is trained by the VM residual objective
9
This reframes VM as residual matching from a data-informed source rather than full noise-to-target transport (Wang et al., 13 May 2026).
Outside image generation, VGFM extends VM to unbalanced single-cell snapshot dynamics by jointly learning a state velocity and a mass-growth field. The continuity equation becomes
0
and the joint regression loss is
1
Here VM is generalized from mass-conserving transport to simultaneous matching of state transition and growth, derived from a semi-relaxed optimal transport interpretation (Wang et al., 19 May 2025).
A recurring misconception is that VM is merely “MSE on velocities.” The literature suggests a broader view. VM specifies which conditional transport quantity is being regressed, under which interpolant or coupling, and with what geometric, statistical, or dynamical regularization. A plausible implication is that the current diversity of VM variants reflects different answers to the same core question: whether the model should learn a local instantaneous field, an averaged future motion, a displacement map, a full conditional law in velocity space, or a corrected low-variance surrogate of one of these objects. Across FM, rectified flow, transition-flow, and application-specific formulations, VM remains the central mechanism by which continuous-time transport models are rendered trainable (Guo et al., 13 Feb 2025, Yue et al., 29 Sep 2025, Ma, 16 Mar 2026).