Inference-Time Self-Aligned Drift for Few-Step Flow Matching
Abstract
Flow Matching (FM) provides an efficient formulation for continuous-time generative modeling through deterministic transport. However, coarse ordinary differential equation (ODE) sampling can suppress variation in the generated distribution when generation is reduced to only a few steps. Stochastic differential equation (SDE) sampling offers a source of random fluctuations, but simply adding isotropic noise to a coarse update cannot generally restore the lost covariance. To improve few-step generation, we propose Self-Aligned Drift (SADrift), an inference-time framework that combines a corrective drift estimated from velocity history with local stochastic refinement. We estimate the drift from the difference between the current velocity and a moving average of past predictions, then integrate it together with Gaussian fluctuations through an exact local Ornstein--Uhlenbeck transition. The noise scale is calibrated from the model's response to preceding sampling perturbations. For linear FM, we quantify the covariance omitted by a population Euler step and relate it to velocity changes along the flow. By accounting for stochastic history and calibration bias, we derive conditions for reducing the leading local covariance error. The refinement requires no retraining, external guidance models, or additional neural function evaluations (NFE). On ImageNet-256 with pretrained SiT-XL/2, SADrift reduces Euler FID from 8.35 to 3.82 at 10 NFE and achieves FID 2.00 with Heun2 at 20 NFE. We also obtain improved VBench temporal consistency scores with Wan2.1-1.3B and TurboDiffusion at 4 NFE.