Drift Flow Matching

Chenrui Ma, Xi Xiao, Lin Zhao, Tianyang Wang, Ferdinando Fioretto, Yanning ShenNeurIPS 2026

TL;DR

Generative models usually force a choice: take one fast giant leap from noise to data, or take dozens of slow, careful steps for higher quality. Drift Flow Matching (DFM) unifies both worlds into a single model. Using one set of trained weights, you can generate crisp images or robot actions in a single pass when speed matters, or dial up the number of steps at test time to smoothly refine the output.

What Problem Does This Paper Address?

Imagine sculpting a statue out of a block of marble. Flow Matching and Diffusion models work like patient sculptors: they chip away at random noise over many tiny, continuous-time steps. Because this process is iterative, it offers test-time scaling—spending more compute (taking more steps) yields finer details and better coverage of the data distribution. The catch? It is slow at inference time.

Recently, Drift Models flipped the script. Instead of taking tiny steps at test time, they do the heavy distribution-matching work during training, learning a direct, one-step map from noise to data. They are blazingly fast. However, once trained, a Drift Model is locked into that single leap—it has no natural mechanism to "think longer" and refine its answer if you actually have extra compute to spare. DFM bridges this gap, bringing test-time scaling to Drift-based generation.

Methods

DFM borrows the standard interpolant path from Flow Matching—a smooth, continuous bridge connecting pure noise at time $t=0$ to real data at $t=1$. Instead of predicting instantaneous velocity at a single point in time, DFM adopts a two-time mean-velocity parameterization (similar to MeanFlow) that learns to jump from any intermediate state at time $t$ to any future time $r > t$.

What is genuinely new is how this jump is supervised:

  • Distribution-Level Drift Supervision: Standard Flow Matching regresses individual noisy points toward individual paired targets. DFM instead looks at whole crowds of points. It pushes the model's predicted distribution at time $r$ toward the true marginal distribution at time $r$ using a Drift field—a kernel-weighted force (computed via Sinkhorn plans) that attracts generated samples toward real intermediate samples while repelling generated samples from clumping onto each other.
  • Time-Pair Grouping: Because every $(t, r)$ pair represents a completely different intermediate distribution along the bridge, you cannot mix samples from different time pairs when computing these crowd interactions. DFM partitions each training minibatch into distinct $(t, r)$ groups and computes the Drift forces strictly within each group.
Early time-pair transport (t=0.05 to r=0.30), where distributions are still diffuse.
  • Simple Backprop: Unlike MeanFlow, which requires expensive Jacobian-vector products (JVPs) to enforce consistency, DFM treats the Drift-shifted output as a stop-gradient target and trains via ordinary reverse-mode backpropagation. At inference, you can jump straight from $0 \to 1$, or hop along any grid of intermediate times.

Datasets

No new benchmarks are introduced; the authors evaluate across four existing domains:

  • 2D Synthetic Benchmarks: Circular source distributions mapped to letters ("F", "M"), two-moons, and checkerboards.
  • Conditional Latent Image Generation: MNIST (digits in a 16D latent space) and FFHQ ($1024\times1024$ faces across six demographic classes in a 512D ALAE latent space).
  • Large-Scale Visual Synthesis: ImageNet-1k ($256\times256$), operating in a continuous SD-VAE latent space with losses computed in a latent-MAE feature space.
  • Robotic Control: Four single-stage tasks (Lift, Can, ToolHang, PushT) and two multi-stage tasks (BlockPush, Kitchen) from standard manipulation benchmarks.

Key Insights and Ideas

  • Grouping isn't optional—it's everything: If you keep the exact same batch size and time pairs during training, but pool all samples together instead of isolating Drift interactions within $(t, r)$ groups, ImageNet 1-step FID catastrophically degrades from 29.06 to 141.89. Mixing marginals destroys the geometric signal.
  • Infinitesimal steps recover Flow Matching: Mathematically, as the time gap $r - t \to 0$, DFM's two-time map naturally converges to the standard Flow Matching ODE. It literally interpolates between a 1-step Drift Model and a multi-step Flow Matching model.
  • No training-time penalty for flexibility: Grouping and Sinkhorn matching only happen during training, and because DFM avoids JVP calculations, training an L/2 model for 200K steps takes 20.3 hours—essentially tied with standard 1-step Drift (20.0 hours) and faster than MeanFlow (22.6 hours).

Key Results

  • ImageNet $256\times256$ (463M params): A single DFM checkpoint achieves a 1.52 FID in 1 step (edging out the dedicated 1-step Drift Model's 1.54 FID). Scaling inference to 2, 5, and 10 steps smoothly drops FID to 1.45, 1.34, and 1.31, while Inception Score climbs from 259.4 to 287.4.
  • Matched Head-to-Head (ImageNet B/2, 100 epochs): Under identical backbones and compute budgets, DFM beats Flow Matching, MeanFlow, and iMeanFlow at every step count (e.g., 29.06 vs. iMeanFlow's 32.84 at 1 step; 23.48 vs. 25.17 at 10 steps).
  • Robotic Control: On the challenging ToolHang-State task, DFM preserves 1-step Drift Policy performance (0.41 vs. 0.38 success rate), and scales up to 0.86 at 10 steps—nearly tripling the 100-step Diffusion Policy baseline (0.30).
  • FFHQ & MNIST: Increasing steps from 1 to 5 drops FFHQ FID from 116.2 to 75.9, visibly expanding how well generated samples cover the true data modes.

Limitations and Future Work

  • Zero-drift identifiability: The authors note that while matching distributions ($q = p$) guarantees zero drift, zero drift does not strictly guarantee $q = p$ for arbitrary kernels and distributions. It acts as a surrogate objective that relies on expressive kernels or feature spaces (like latent-MAE on ImageNet).
  • Future Directions: Because DFM's framework is agnostic to the exact drift formula, it can readily be paired with stronger, more theoretically identifiable drift constructions, as well as non-independent Flow Matching couplings (like optimal transport paths) and guided/controlled generation setups.

Summary updated

Abstract

One-step generative models produce samples efficiently, while iterative models can improve quality with additional inference computation. We introduce Drift Flow Matching (DFM), which brings this flexibility to Drift-based generation. DFM learns a two-time transport map between intermediate marginals along a Flow Matching probability path. At each sampled time pair, a Drift field supervises the predicted distribution through interactions with generated and reference sample sets. Computing these interactions within time-pair groups defines the marginal learning problem. A mean-velocity network then supports both direct one-step generation and multi-step refinement with the same trained parameters. Experiments cover synthetic distributions, conditional image generation, ImageNet, and robotic control. On ImageNet, one DFM checkpoint improves from 1.52 FID at one network evaluation to 1.31 at ten. Matched comparisons with Flow Matching, MeanFlow, and iMeanFlow examine the supervision mechanism, while grouping controls and compute profiles characterize its implementation. The resulting model lets users choose inference computation without retraining. Code is available at https://github.com/merry7cherry/drift-flow-matching.
BibTeX
@inproceedings{ma2026drift,
  author = {Chenrui Ma and Xi Xiao and Lin Zhao and Tianyang Wang and Ferdinando Fioretto and Yanning Shen},
  title = {{Drift Flow Matching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=2yXRWyxBfG},
}
Figure