Stable Velocity: A Variance Perspective on Flow Matching
Authors:
- Donglin YangDYDonglin Yang
- Yongxing ZhangYZYongxing Zhang
- Xin YuXYXin Yu
- Liang HouLHLiang Hou
- Xin TaoXTXin Tao
- Pengfei WanPWPengfei Wan
- Xiaojuan QiXQXiaojuan Qi
- Renjie LiaoRLRenjie Liao
Preprint
Abstract
While flow matching is elegant, its reliance on single-sample conditional velocities leads to high-variance training targets that destabilize optimization and slow convergence. By explicitly characterizing this variance, we identify 1) a high-variance regime near the prior, where optimization is challenging, and 2) a low-variance regime near the data distribution, where conditional and marginal velocities nearly coincide. Leveraging this insight, we propose Stable Velocity, a unified framework that improves both training and sampling. For training, we introduce Stable Velocity Matching (StableVM), an unbiased variance-reduction objective, along with Variance-Aware Representation Alignment (VA-REPA), which adaptively strengthen auxiliary supervision in the low-variance regime. For inference, we show that dynamics in the low-variance regime admit closed-form simplifications, enabling Stable Velocity Sampling (StableVS), a finetuning-free acceleration. Extensive experiments on ImageNet $256\times256$ and large pretrained text-to-image and text-to-video models, including SD3.5, Flux, Qwen-Image, and Wan2.2, demonstrate consistent improvements in training efficiency and more than $2\times$ faster sampling within the low-variance regime without degrading sample quality. Our code is available at https://github.com/linYDTHU/StableVelocity.
Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic ModelsMachine Intelligence Research, 2025
- DiffBIR: Toward Blind Image Restoration with Generative Diffusion Prior2024
- FasterDiT: Towards Faster Diffusion Transformers Training without Architecture Modification2024
- Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models2024
- UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models2023
- GenEval: An object-focused framework for evaluating text-to-image alignment2023
- DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps2022
- Elucidating the Design Space of Diffusion-Based Generative Models2022
- The Unreasonable Effectiveness of Deep Features as a Perceptual Metric2018
- A Connection Between Score Matching and Denoising AutoencodersNeural Computation, 2011