Papers
Topics
Authors
Recent
Search
2000 character limit reached

Velocity Matching in Flow Models

Updated 4 July 2026
  • 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 {pt}t[0,1]\{p_t\}_{t\in[0,1]} connecting a simple source distribution to a target distribution. The state variable XtX_t satisfies XtptX_t \sim p_t, and the learned time-dependent field v(xt,t)v(x_t,t) drives deterministic dynamics through

dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).

The corresponding density evolution satisfies the continuity equation

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).

In conditional formulations, one introduces an auxiliary variable ZZ and a conditional path ptZ(z)p_{t\mid Z}(\cdot\mid z) with conditional velocity field v(xt,tz)v(x_t,t\mid z), while the marginal velocity is the conditional expectation

v(xt,t)=E ⁣[v(Xt,tZ)Xt=xt].v(x_t,t)=\mathbb{E}\!\left[v(X_t,t\mid Z)\mid X_t=x_t\right].

A standard FM choice sets XtX_t0, with independent coupling XtX_t1, XtX_t2, and linear interpolant

XtX_t3

for which the conditional velocity is constant in time:

XtX_t4

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

XtX_t5

with boundary conditions XtX_t6 and XtX_t7, and often uses the linear schedule XtX_t8, XtX_t9. The corresponding reference velocity is

XtptX_t \sim p_t0

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,

XtptX_t \sim p_t1

Under the linear bridge XtptX_t \sim p_t2, this becomes regression to the constant displacement target XtptX_t \sim p_t3. In the latent-space FM form used by VeCoR,

XtptX_t \sim p_t4

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

XtptX_t \sim p_t5

and trains

XtptX_t \sim p_t6

At inference, samples are generated by integrating the learned probability-flow ODE

XtptX_t \sim p_t7

The same framework also admits a likelihood interpretation through the instantaneous change-of-variables relation

XtptX_t \sim p_t8

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 XtptX_t \sim p_t9. In rectified flow, many distinct couplings v(xt,t)v(x_t,t)0 may satisfy

v(xt,t)v(x_t,t)1

yet induce different target velocities v(xt,t)v(x_t,t)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

v(xt,t)v(x_t,t)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 v(xt,t)v(x_t,t)4, the conditional-mean solution satisfies

v(xt,t)v(x_t,t)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 v(xt,t)v(x_t,t)6 near v(xt,t)v(x_t,t)7 and v(xt,t)v(x_t,t)8 near v(xt,t)v(x_t,t)9, while the target displacement magnitude is approximately dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).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 dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).1 and defines

dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).2

With a Gaussian posterior

dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).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

dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).4

with requirement dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).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

dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).6

Its objective is unbiased, has the true marginal velocity as global minimizer, and satisfies

dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).7

with an explicit dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).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 dxtdt=v(xt,t).\frac{d x_t}{dt} = v(x_t,t).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 tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).0 as

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).1

and exploit the identity

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).2

to learn directly jumpable quantities. Transition Flow Matching (TFM) further promotes the transition flow

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).3

with the Transition Flow Identity

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).4

Its conditional objective is tractable under the standard linear interpolant and supports one-step generation by

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).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

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).6

represented as

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).7

Its key identity is the terminal-velocity condition

tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).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 tpt(xt)=(pt(xt)v(xt,t)).\partial_t p_t(x_t) = -\,\nabla \cdot \big(p_t(x_t)\,v(x_t,t)\big).9, thereby interpolating between one-step displacement learning and standard FM. The paper also gives a Wasserstein-ZZ0 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

ZZ1

where the student two-timed flow map is parameterized as

ZZ2

The initial terms match the teacher’s instantaneous and short-interval average velocities at time ZZ3, while the terminal term enforces a consistency relation near ZZ4 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

ZZ5

together with the training-based Magnitude-Aware Flow Matching objective

ZZ6

with ZZ7 (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

ZZ8

and the correction flow is trained by the VM residual objective

ZZ9

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

ptZ(z)p_{t\mid Z}(\cdot\mid z)0

and the joint regression loss is

ptZ(z)p_{t\mid Z}(\cdot\mid z)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).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Velocity Matching (VM).