Velocity Ambiguity Profiles: Time-Resolved Bayes-Risk Diagnostics for Flow Matching

Yunpeng Mei, Xiaowen Zhu, Chenyu Wang, Chenbo Xin, Hongjie Cao, Jiamin Wang, Jie Chen, Gang WangNeurIPS 2026

TL;DR

When training generative flow-matching models, reporting a single loss averaged over time hides whether your model is actually under-trained or simply staring at an intrinsically ambiguous noisy state where multiple outcomes are equally valid. This paper introduces the Velocity Ambiguity Profile (VAP), a time-resolved diagnostic that cleanly separates irreducible posterior uncertainty from the error you can actually fix with more data or compute. By seeing when along the generation path your model truly needs help, you can diagnose scaling regimes and allocate training effort much more intelligently.

What Problem Does This Paper Address?

Generative models built on flow matching learn to transform pure Gaussian noise (at time $t=1$) into structured data like images or robot actions (at time $t=0$). They do this by training a neural network to predict the "velocity" pointing from noise toward data at every intermediate moment $t$ along a continuous path.

Standard practice evaluates this process using a single number: the MSE loss averaged across all $t \in [0,1]$. Suppose you inspect your model at $t=0.5$ and see a massive loss. Should you collect more demonstrations? Make the network bigger? Not necessarily. Halfway between pure noise and clean data, a single noisy point $x_t$ could plausibly resolve into several distinct data modes. Even an omniscient oracle must hedge its bets and predict the average velocity, incurring a hefty, unavoidable variance. Averaging loss over time mashes together actionable estimation error (which shrinks with more data) and intrinsic ambiguity (an unmovable floor). Without disentangling them, we are flying blind on where additional data or training steps actually matter.

Figure 1: Velocity ambiguity profiles localize where flow matching needs data. The flow match- ing path defines a continuum of velocity prediction problems. VAP separates the irreducible ambiguity floor from the reducible excess error that more data or a different estimator can affect.

Methods

The authors apply classical bias-variance orthogonality to each slice of flow time $t$. They define the Velocity Ambiguity Profile (VAP), $\mathcal{A}_v(t)$, as the expected conditional variance of the true velocity given the noisy state $x_t$. Any estimator's test loss $L_N(t)$ trained on $N$ samples decomposes into two pieces: $$L_N(t) = \mathcal{A}_v(t) + R(t; N)$$ Here, $\mathcal{A}_v(t)$ is the Bayes-risk floor (irreducible ambiguity), and $R(t; N)$ is the reducible excess risk (how far your model is from the theoretical optimum).

What's new is turning this classical statistical identity into a path-specific diagnostic tool:

  • Theoretical Benchmarks: They prove how $\mathcal{A}_v(t)$ governs sample complexity—acting as a time-dependent noise scale in general nonparametric regression, and yielding a sharp parametric rate of $K\mathcal{A}_v(t)/N$ in well-separated $K$-component Gaussian mixtures where the optimal velocity becomes locally affine (linear).
  • Practical Proxy Estimation: Since you don't know the true data distribution in the wild, $\mathcal{A}_v(t)$ is unobservable. The authors bypass this by using the validation loss of a large-budget reference model $L_{\text{ref}}(t)$. Subtracting $L_{\text{ref}}(t)$ from $L_N(t)$ cancels out the unknown Bayes floor $\mathcal{A}_v(t)$ altogether, leaving a clean relative measure of reducible error.
  • VAP-Guided Time Sampling: Instead of sampling training times $t$ uniformly, they test prioritizing times where the estimated reducible gap $\hat{R}(t)$ is largest.

Datasets

  • Synthetic Isotropic Gaussian Mixtures (GMMs): Controlled benchmarks varying dimensions ($d=2$ to $16$), component counts ($K=4, 32$), sample sizes ($N=50$ to $2,000$), and geometric cluster separations. Because $\mathcal{A}_v(t)$ can be calculated analytically here, GMMs serve as a ground-truth laboratory.
  • CIFAR-100 DINOv2 Features: A natural-data benchmark using 384-dimensional frozen DINOv2 ViT-S/14 features extracted from CIFAR-100 (training class-conditional flows with 2,500 labeled examples—25 per fine class).
  • BEHAVIOR-1K: A robotics manipulation panel included in the appendix for application-context diagnostics.

Key Insights and Ideas

  • Ambiguity isn't monotonic: Near $t=0$, $x_t$ practically reveals the exact data point; near $t=1$, it's pure noise and variance settles at the global data covariance. It is often in the messy middle ($0 < t < 1$), where modes merge and mix, that $\mathcal{A}_v(t)$ spikes in surprising ways.
  • Raw scaling laws deceive; normalized ones collapse: Plotting raw loss $L_N(t)$ against dataset size $N$ looks like a broken power law because the curve hits the $\mathcal{A}_v(t)$ floor and flattens out. Normalizing the excess risk as $R(t;N)/\mathcal{A}_v(t)$ strips away time-varying ambiguity and reveals clean scaling exponents.
  • Focusing on reducible error comes with a diversity trade-off: Re-allocating training steps toward high-$R(t;N)$ regions reliably lowers velocity loss, but aggressively starving other time regions can subtly shrink the diversity of generated samples.
Figure 2: Canonical d=4 dense controlled transition on a K=4, σ=0.5 Gaussian mixture. The 13-row front/plateau window shows the reliability-filtered signed log-log slope spooled = ∂log ¯R/∂log N and regression precision; the shaded band marks ∆/σ ∈[4, 6], where spooled ≈−1, equivalently the positive exponent αpooled = −spooled ≈1. Full rows and filter sensitivity are in Appendix D.3.

Key Results

  • Exact Parametric Scaling in Controlled Transitions: Sweeping cluster separation $\Delta/\sigma$ on a 4D GMM (Figure 2), the normalized excess risk hits a clean parametric scaling plateau ($\alpha_{\text{pooled}} \approx 1$, meaning error drops as $1/N$) for well-separated clusters ($\Delta/\sigma \in [4, 6]$), before attenuating to $0.605$ at $\Delta/\sigma = 15$ due to finite neural network capacity.
  • Controlled Time-Sampler Gains: On a $d=16, K=32$ GMM, guiding the training $t$-sampler with a frozen reducible-error proxy cut plateau reducible loss by 9.32% to 20.21% over uniform sampling across all paired seeds ($p_{\text{perm}} < 0.003$).
  • Transfer to Natural Features (and the Catch): On CIFAR-100 DINOv2 feature flow, VAP-guided sampling lowered uniform velocity loss by 6.78%, slashed global feature Fréchet Distance (FD) by 23.6% (from 33.33 to 25.48), and boosted fine-label accuracy by 6.76 percentage points. However, class-conditional KID saw no gain, and recall dropped from 0.722 to 0.221 alongside a drop in covariance rank—exposing a clear precision-diversity trade-off.

Limitations and Future Work

The authors are admirably candid about their scope. First, the theoretical rates apply to scoped local or separated-mixture subproblems, not unconstrained ambient distributions (where observing both $x_t$ and target $u_t$ technically leaks the exact endpoint $a = x_t - t u_t$). Second, the empirical reference proxy requires guardrails—when the reference model itself has high residual error relative to time-variation, proxy rankings can break down. Third, the CIFAR-100 experiments live strictly in frozen DINOv2 feature space, making no claims about pixel-level image generation or FID. Turning VAP from a crisp diagnostic into an automated, diversity-preserving training schedule or data-collection policy remains an open frontier.

Summary updated

Abstract

Flow matching trains a continuum of velocity regression problems but usually reports a loss averaged over interpolation time, obscuring which regions are limited by intrinsic ambiguity and which remain data-limited. We introduce the Velocity Ambiguity Profile (VAP), $\mathcal{A}_v(t)$, the time-local Bayes-risk floor of velocity prediction, and decompose time-resolved loss as $L_N(t)=\mathcal{A}_v(t)+R(t;N)$, where only the excess term $R(t;N)$ is reducible by more data or a different estimator. For $N$ training samples and a $K$-component mixture in the structured example, we prove two statistical benchmarks. In an intrinsic local-regression benchmark, $\mathcal{A}_v(t)$ enters the time-dependent noise factor of the standard nonparametric rate. In separated isotropic Gaussian mixtures, the Bayes velocity becomes locally affine, and a label-oracle residual-regression benchmark has parametric excess-risk scale $K\mathcal{A}_v(t)/N$, matched within the same separated residual Gaussian-location subproblem. Controlled Gaussian-mixture experiments validate this diagnostic through a dense transition sweep, calibrated oracle-to-blind and empirical-proxy audits, and a local controlled time-sampler stress test in which a frozen reducible-error proxy reduces reducible loss while cross-cell sensitivity delimits aggressive sampling. On CIFAR-100 DINOv2 feature flow, guided time sampling reduces uniformly evaluated velocity loss by $6.78\%$ and global feature Fréchet distance (FD) by $23.6\%$, while class-conditional kernel inception distance (KID) shows no improvement. VAP turns an averaged flow-matching objective into a time-resolved diagnostic for locating ambiguity-limited and data-limited regions.
BibTeX
@inproceedings{mei2026velocity,
  author = {Yunpeng Mei and Xiaowen Zhu and Chenyu Wang and Chenbo Xin and Hongjie Cao and Jiamin Wang and Jie Chen and Gang Wang},
  title = {{Velocity Ambiguity Profiles: Time-Resolved Bayes-Risk Diagnostics for Flow Matching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hU5qsz0CsX},
}
Figure