Step-Conditioned Velocity Networks
- Step-conditioned velocity networks are architectures that condition on a continuous step parameter t to model nonstationary velocity fields in linear–Gaussian interpolants.
- Stable Velocity Matching reduces training variance by replacing single-reference targets with unbiased mixtures across n samples, leading to an O(1/n) variance reduction.
- The approach enables accelerated inference with closed-form integration and uses variance-aware auxiliary losses to improve sample quality in low-variance regimes.
Step-conditioned velocity networks are neural architectures used in modern flow-matching generative models where the network explicitly conditions on a continuous "step" parameter, typically denoted , that indexes the progression from clean data to noise. This conditioning enables the network to parameterize nonstationary velocity fields associated with a linear–Gaussian interpolation—central to many recent advances in diffusion, flow matching, and score-based generative modeling. The step-conditioned velocity paradigm has become foundational for imposing temporal structure, improving expressivity, and enabling regime-aware training and inference procedures, such as variance-reduced objectives and accelerated sampling (Yang et al., 5 Feb 2026).
1. Linear–Gaussian Interpolants and Velocity Fields
The backbone of step-conditioned velocity networks lies in a one-parameter family of linear–Gaussian processes: which smoothly interpolates between clean data () and pure noise (). The velocity structure of these interpolants is governed by the instantaneous rate of change with respect to :
- Conditional velocity: For each fixed reference , the velocity field is
where prime denotes differentiation with respect to . This field depends explicitly on both and the interpolation time .
- Marginal velocity: When is randomized according to the data distribution, the marginal or true velocity field is
where is the posterior induced by the interpolant.
A step-conditioned velocity network, denoted , is trained to match . Conditioning on the step is essential: it enables the network to model the nonstationary transition from the highly structured, low-variance data regime to the high-variance, noise-dominated regime.
2. Variance Analysis in Single-Sample Conditional Targets
Training by directly matching the conditional velocity using single reference samples from the data introduces high variance into the learning objective. Though the conditional velocity is an unbiased estimator of the true velocity field, its variance with respect to the data posterior is generally non-negligible and can be expressed as: $\Var_{\text{CFM}}(t) = \mathbb{E}_{x_t \sim p_t} \| v_t(x_t \mid x_0) - u(x_t, t)\|^2 = \mathbb{E}_{p_t(x_t)}[\Tr(\Cov_{p_t(x_0 \mid x_t)}(v_t(x_t \mid x_0)))].$ For Gaussian posteriors , the conditional-velocity variance admits a closed-form: $\Var_{\text{CFM}}(t) = \left(\frac{\sigma_t'}{\sigma_t}\right)^2 \alpha_t^2 \Tr(\Sigma_t).$ In the linear interpolant (, ), this variance is vanishingly small for small (data regime) and grows towards (noise regime). This establishes a regime dichotomy: training is stable and low-variance near the data, but optimization becomes unstable as the trajectory approaches the prior.
3. Stable Velocity Matching: Unbiased Variance Reduction
To mitigate the high-variance bottleneck, Stable Velocity Matching (StableVM) replaces the single-reference target with a mixture constructed from independent samples :
- The mixture path is defined as
- The target is the self-normalized weighted average
- The objective is
This construction remains unbiased by design (), but crucially, the variance decreases as . Formally,
$\Var_{\text{StableVM}}(t) \leq \Var_{\text{CFM}}(t) / n,$
allowing for substantial variance reduction without introducing bias (Yang et al., 5 Feb 2026).
4. Regime-Gated Auxiliary Objectives: Variance-Aware Representation Alignment
Auxiliary representation losses, such as feature alignment with a pretrained encoder, can improve sample quality, particularly in the low-variance (data-proximate) regime. However, these signals are generally ill-posed in the high-variance regime near , where the posterior is diffuse and the data signal is negligible.
Variance-Aware Representation Alignment (VA-REPA) addresses this by modulating auxiliary losses with a regime-dependent weight that vanishes in the high-variance regime. The total objective is: where is the auxiliary representation alignment loss.
Common functional forms for include:
- Hard cutoffs:
- Smooth sigmoids:
- SNR-based:
The result is robust auxiliary supervision confined to the statistically reliable, low-variance region (Yang et al., 5 Feb 2026).
5. Closed-Form Accelerated Inference: Stable Velocity Sampling
In the low-variance regime (), the conditional posterior collapses and the true velocity field approximates the conditional velocity: This admits closed-form integration of the reverse dynamics, permitting large-step, finetuning-free inference in both SDE and ODE formulations:
- SDE Posterior (DDIM-style): For ,
with
and deterministic updates for .
- ODE Probability-Flow: Using the integral factor and , the update becomes
For the linear interpolant, these reduce to simple Euler steps (), supporting arbitrarily large steps in the low-variance regime. This results in empirical sampling speedups exceeding in practice without quality degradation (Yang et al., 5 Feb 2026).
6. Architectural Encodings of Step
In neural implementations, is encoded analogously to prior diffusion or flow models: either via sinusoidal ("Fourier") embeddings or learnable transformations, which are then concatenated or injected (e.g., using MLPs) into each block of a ResNet or Transformer backbone. This explicit step-conditioning is critical for capturing the nonstationary structure of the velocity field. Empirically, ablative studies demonstrate that without proper -embedding, the model fails to learn the desired temporal dynamics; enhanced embeddings provide marginal benefit in the high-variance regime but exhibit diminishing returns once variance-reduction is in place.
7. Summary and Broader Implications
Step-conditioned velocity networks formalize and unify three variance-centric enhancements for flow-matching models: Stable Velocity Matching for unbiased, low-variance training; Variance-Aware Representation Alignment for regime-confined auxiliary supervision; and Stable Velocity Sampling for drastic acceleration in low-variance inference. Together, these techniques address both optimization stability and sampling efficiency, notably on high-dimensional datasets and large-scale pretrained models, as demonstrated across ImageNet and leading text-to-image/video architectures (Yang et al., 5 Feb 2026). A plausible implication is that regime-separated strategies may further generalize to non-Gaussian or multimodal flows, stimulating developments in expressive generative modeling under uncertainty.