NeurIPS 2026

Drift Flow Matching

One-step generation.
Flexible multi-step refinement.

Chenrui Ma1,2 · Xi Xiao3 · Lin Zhao4
Tianyang Wang3 · Ferdinando Fioretto2 · Yanning Shen1

1 UC Irvine2 University of Virginia3 University of Alabama at Birmingham4 Northeastern University

Can a drifting generative model keep its direct, one-step generation and also benefit from more inference steps? DFM learns transport between intermediate distributions, making both choices available to the same model.

The missing flexibilityLearn marginal transportScale inference steps

01 / The problem

Direct generation, with room to refine.

Flow-based and drifting models offer different ways to turn noise into data. The paper asks how to connect their inference behavior.

Flow Matching

Follow a velocity field.

Learn local dynamics along a noise-to-data path. Numerical integration offers a natural way to spend more computation at inference.

Drifting models

Learn a direct generator.

Use distribution-level drift during training to shape generated samples. A direct endpoint map supports one-step generation, but does not naturally specify intermediate inference steps.

Drift Flow Matching

Learn across time intervals.

Apply drift supervision between intermediate marginals. The learned transport can span the whole path in one call or compose shorter intervals.

02 / The mechanism

Match distributions along the path.

The probability path comes from Flow Matching. The learning signal is a distribution-level drift correction.

  1. Choose a time pair

    Sample noise x0, data x1, and a shared time pair t < r. Interpolate each endpoint pair at both times to sample pt and pr.

  2. Predict an interval transport

    Push samples from pt through the two-time model. Their predicted distribution is qt,r.

  3. Correct the predicted distribution

    Attract predictions toward pr and subtract self-attraction within qt,r. Fit the resulting stop-gradient targets.

xs = (1 − s)x0 + sx1,   s ∈ {t, r}

Learned transport

x̂r = xt + (r − t) uθ(xt, t, r)

Distribution-level training target

sg[x̂r + Vq,pᵣ(x̂r)]

DFM learns transport between marginal distributions using a drift objective. Endpoint pairs construct the path samples; the loss matches their distributions within each time-pair group.

Keep each marginal problem together.

Each time pair defines its own marginal transport problem. Compute drift within that group, using the grouped Sinkhorn field in Algorithm 2 of the paper.

Source and target endpoint distributions in the paper’s grouped drift illustration
Endpoint distributions: source in blue, target in red.
Grouped training drift for time pair t = 0.05, r = 0.30
Target marginal prPredicted marginal q↘ Training drift V

At inference

Choose the grid. Reuse the model.

A single interval from 0 to 1 gives direct generation. A finer time grid composes the same learned transport across intermediate states. Each call evaluates the learned mean velocity uθ once.

1 evaluation
01
Multiple evaluations
0t₁t₂…1
Connection to Flow Matching

The constructed marginal path admits explicit Wasserstein bounds. Under the paper’s first-order consistency and regularity assumptions, the learned mean velocity approaches the local Flow Matching velocity as the interval shrinks.

03 / Generation trajectories

What happens between noise and data?

A generation trajectory is the sequence of sample states produced during inference. NFE counts model evaluations per sample.

Same method · DFM at 1 NFE and 20 NFE.

DFM · 1 NFE
One-step DFM trajectories toward two moons
DFM · 20 NFE
Twenty-step DFM trajectories toward two moons
Ground Truth
Two moons target distribution and reference interpolation

Red endpoints show target samples; lines are reference interpolations.

Blue points show source samples. Red points show generated endpoints in the method panels and target samples in Ground Truth.

Train a model and record your own trajectories

04 / Results

Measure the benefit of more steps.

The paper evaluates generation quality, distribution coverage, and control success across inference budgets.

FFHQ · FID ↓

116.2 → 80.4 → 75.9

1 → 2 → 5 NFE

Decoded-real reference protocol

ImageNet 256 × 256 · FID ↓

1.52 → 1.31

1 → 10 NFE

DFM-L/2 · 463M parameters

ToolHang · state success ↑

0.41 → 0.86

1 → 10 NFE

Average over the last 10 checkpoints

MNIST and FFHQ

Class-conditional generation on MNIST and FFHQ. EMD is squared Wasserstein-2 distance in latent space. FFHQ FID compares generated and real latents decoded by the same frozen ALAE decoder.

MNIST / FFHQ results
MethodNFEMNIST EMD ↓MNIST accuracy ↑FFHQ EMD ↓FFHQ FID ↓
Flow Matching5037.2100.0%198.477.4
MeanFlow168.696.7%258.7131.2
MeanFlow248.199.1%211.785.4
MeanFlow537.5100.0%204.282.1
Drift Model137.3100.0%225.5116.2
DFM137.3100.0%225.5116.2
DFM237.2100.0%215.780.4
DFM537.2100.0%196.275.9

How does the generated distribution change?

More inference steps improve FFHQ latent-space coverage. PCA and UMAP compare the generated and real latent distributions.

PCA

1 NFE · Drift Model
Paper FFHQ PCA distribution comparison, 1 NFE · Drift Model
2 NFE · DFM
Paper FFHQ PCA distribution comparison, 2 NFE · DFM
5 NFE · DFM
Paper FFHQ PCA distribution comparison, 5 NFE · DFM
10 NFE · DFM
Paper FFHQ PCA distribution comparison, 10 NFE · DFM

UMAP

1 NFE · Drift Model
Paper FFHQ UMAP distribution comparison, 1 NFE · Drift Model
2 NFE · DFM
Paper FFHQ UMAP distribution comparison, 2 NFE · DFM
5 NFE · DFM
Paper FFHQ UMAP distribution comparison, 5 NFE · DFM
10 NFE · DFM
Paper FFHQ UMAP distribution comparison, 10 NFE · DFM

Filled markers show generated latents; outlined markers show real latents. Colors and shapes denote classes.

FFHQ image samples

Class-conditional samples from the paper appendix, decoded at 1024 × 1024.

Inference budget

FFHQ · 1 NFE · FID 116.2 · EMD 225.5

FFHQ class-conditional generated samples at one inference step
FFHQ · 1 NFE

ImageNet and robotic control

The same inference-budget question extends to larger-scale image generation and action generation.

ImageNet 256 × 256 · DFM-L/2
NFEFID ↓Inception Score ↑
11.52259.4
21.45268.3
51.34279.8
101.31287.4

FID and IS use 50K generated samples in the pretrained VAE latent-space setting.

Robotics · selected DFM success rates
NFEToolHang · state ↑PushT · visual ↑
10.410.86
20.770.87
50.810.89
100.860.90

Success rates average the last 10 checkpoints.

Result data · Full experiments and comparisons

05 / Code

Two ways to start.

01

Image generation

Prepare MNIST or FFHQ latents, train DFM, sample at a chosen NFE, and evaluate with the documented protocol.

Installation & training →
02

Generation trajectories

Start with a small CPU example. Train DFM, FM, or MeanFlow, save a model, and record inference trajectories at different budgets.

Run the example →

Citation

@article{ma2026drift,
  title   = {Drift Flow Matching},
  author  = {Ma, Chenrui and Xiao, Xi and Zhao, Lin and Wang, Tianyang
             and Fioretto, Ferdinando and Shen, Yanning},
  journal = {arXiv preprint arXiv:2605.17244},
  year    = {2026}
}