To predict velocity, the clean image, or something in between—that is the question.
A tour of prediction parameterization in diffusion and flow models, from \(\epsilon\)-, \(u\)-, and \(x_0\)-prediction to k-Diff, AsymFlow, and MFlow.
One path, many targets
Consider the linear flow-matching path used by SiT and JiT. A clean sample \(x_0\) and Gaussian noise \(\epsilon\) are mixed as
At \(t=0\), we have pure noise. At \(t=1\), we have clean data. The probability-flow ODE transports one into the other using the velocity
The forward path is fixed. The sampler ultimately needs a velocity field. But the network does not have to predict velocity directly. It can predict noise, clean data, velocity, or a reparameterized target from which velocity can be recovered.
With a perfect predictor, these choices are algebraically equivalent. With a finite network, they are not the same optimization problem. The target changes what the network must compress, where numerical errors are amplified, and how model capacity is spent.
The usual suspects
Noise prediction: predict \(\epsilon\)
The classical denoising view asks the network to recover the Gaussian noise that produced \(x_t\). Under the path above, velocity can be reconstructed as
This target is simple to define and familiar from diffusion models. But in high-dimensional data, \(\epsilon\) occupies the full ambient space. A finite-capacity network must spend capacity reproducing an incompressible random component. The conversion also becomes poorly conditioned near the noise endpoint, where \(t\rightarrow 0\).
Velocity prediction: predict \(u=x_0-\epsilon\)
Velocity prediction is attractive because the network directly outputs the field used by the ODE solver. There is no endpoint conversion and no division by a small coefficient.
The cost is target complexity. Velocity contains the clean signal and the full-dimensional Gaussian noise. In low-dimensional representations or sufficiently large models, this can work very well. In high-dimensional representations, it can ask more of the model than the structured signal itself requires.
Clean-data prediction: predict \(x_0\)
JiT takes the opposite position: let the transformer predict the clean sample. If structured data lie near a much lower-dimensional manifold than the ambient representation, \(x_0\) is the more compressible target.
The velocity used for sampling is recovered by
This removes the burden of explicitly predicting Gaussian noise, but introduces a different problem. Near the clean endpoint, \(1-t\) becomes small, so errors in \(\hat x_0\) are amplified.
One global knob: k-Diff
A natural next step is to stop treating parameterization as a categorical choice. In its simplest globally shared form, k-Diff predicts
The endpoints and midpoint recover the familiar targets, up to sign or constant scale:
- \(k=0\): noise prediction, since \(y_k=-\epsilon\).
- \(k=\tfrac12\): velocity prediction, since \(y_k=\tfrac12(x_0-\epsilon)=\tfrac12u\).
- \(k=1\): clean-data prediction, since \(y_k=x_0\).
For the same forward path, the velocity can be recovered from a network prediction \(\hat y_k\) as
The scalar \(k\) can be learned instead of selected by training separate endpoint models. This is already useful, but the entire representation still shares one value. Every direction is forced to make the same compromise.
A hard spectral split: AsymFlow
AsymFlow makes the choice direction-dependent. Let \(U=[v_1,\ldots,v_D]\) be a PCA basis of the model's data representation—for example, an image patch, video tubelet, or latent token—ordered from high to low variance. Select the first \(r\) directions, write \(U_r=[v_1,\ldots,v_r]\), and form the projector
The model predicts
Because \(P\) is a projector, the target is velocity inside the selected subspace and clean-data prediction outside it:
The full velocity is recovered exactly by
This keeps the noise-prediction burden low-rank while improving conditioning in the selected directions. But the rank \(r\) is a discrete hyperparameter, and the assignment is binary: a direction is either entirely velocity-like or entirely clean-data-like.
Among the fixed parameterizations above, AsymFlow is arguably the most nuanced and theoretically attractive: it spends velocity-prediction capacity only in a selected subspace. But the best rank can change with the network, dataset or modality, and the PCA basis induced by the patch, tubelet, or latent representation. Finding it can require several full training sweeps.
This raises two natural questions: Does the cutoff need to be sharp? Could each direction instead receive a graded value in \([0,1]\)? And if so, could the model learn those values itself?
A soft, learnable spectral split: MFlow
MFlow replaces the binary projector with a graded operator
Choosing the gains. Let \(\lambda_i\) denote the variance of PCA direction \(i\), and normalize it by the largest variance, \(\hat\lambda_i=\lambda_i/\lambda_{\max}\). MFlow initializes each gain with the smooth variance-dependent rule
where \(c\) is a small constant. This initialization starts high-variance directions more velocity-like and low-variance directions more clean-data-like, without imposing a permanent cutoff. By default, the gains are parameterized as \(m_i=\operatorname{sigmoid}(\phi_i)\), with one learnable logit \(\phi_i\) per PCA direction, and are optimized jointly with the network.
The direct prediction target is
In the PCA basis, every direction decouples:
The meaning of \(m_i\) is immediate:
- \(m_i=0\): clean-data prediction in direction \(i\).
- \(m_i=1\): velocity prediction in direction \(i\).
- \(0<m_i<1\): a graded target between the two.
Like AsymFlow, MFlow has an exact velocity-recovery map. In a single PCA direction, recovery is a system of two equations in two unknowns: the clean coefficient \(\hat{\tilde x}_{0,i}\) and the noise coefficient \(\hat{\tilde\epsilon}_i\).
Define
The second equation gives \(\hat{\tilde x}_{0,i}=\hat{\tilde u}_{G,i}+m_i\hat{\tilde\epsilon}_i\). Substituting this into the forward equation yields
Therefore both unknowns are recovered exactly:
Subtracting the recovered noise from the recovered clean coefficient gives the directional velocity:
Stacking all PCA directions gives the operator form
For \(m_i=0\), this becomes the usual \(x_0\)-to-velocity conversion. For \(m_i=1\), it becomes direct velocity prediction. Binary gains \(m_i\in\{0,1\}\) recover AsymFlow, while continuous gains remove the need for a hard rank cutoff.
This single form contains several earlier choices as special cases:
| Gain pattern | Recovered parameterization |
|---|---|
| \(m_i=0\) for all \(i\) | JiT-style clean-data prediction |
| \(m_i=1\) for all \(i\) | Velocity prediction |
| \(m_i=m\) for all \(i\) | A direction-independent global interpolation |
| \(m_i\in\{0,1\}\) with a rank cutoff | AsymFlow |
| \(m_i\in[0,1]\), learned independently | MFlow |
A soft velocity budget
The gains also give a compact summary:
Pure clean-data prediction has \(r_{\mathrm{eff}}=0\). Full velocity prediction has \(r_{\mathrm{eff}}=D\). Rank-\(r\) AsymFlow has \(r_{\mathrm{eff}}=r\). MFlow learns a continuous effective rank.
Reading an M-curve
Once the gains are learned, plot \(m_i\) against PCA direction, ordered by decreasing data variance. We call this an M-curve. The vertical axis has a direct interpretation: zero means clean-data prediction; one means velocity prediction.