Abstract
MeanFlow has emerged as a promising framework for one-step image generation, yet its training dynamics have largely remained a "black box." This work investigates the relationship between instantaneous and average velocity learning, revealing that the former is a prerequisite for the latter. By introducing a progressive training strategy that prioritizes stable velocity fields before transitioning to large-step displacement, we achieve a 2.5x speedup in convergence and a 16% improvement in image quality (FID) on standard benchmarks.
Introduction
Generative models, particularly Diffusion and Flow Matching, have set new standards for image synthesis. However, their iterative nature—requiring multiple steps to transform noise into data—presents a significant computational bottleneck for real-time applications. MeanFlow addresses this by attempting "one-step" generation. It does so by jointly learning instantaneous velocity ($v$), which describes local flow direction, and average velocity ($u$), which represents the total displacement over a specific time interval.
Despite its potential, vanilla MeanFlow training is computationally intensive and prone to instability. This paper identifies a fundamental "self-destructive" loop: attempting to learn large-scale average velocities before the underlying instantaneous velocity field has stabilized leads to inefficient training and degraded final image quality.
The Mechanics of MeanFlow Training
The authors' investigation yields three critical observations regarding the training process:
- The Integral Dependency: Mathematically, average velocity is the integral of instantaneous velocity. Empirically, if the $v$-field is poorly formed, the model cannot learn a coherent $u$-field.
- The Temporal Gap Sensitivity: Learning average velocity over small time intervals helps refine the model. However, jumping to large "temporal gaps" (the interval over which $u$ is calculated) early in training introduces noise that destabilizes the learning process.
- Task Affinity: There is a natural progression from learning local, small-gap velocities to global, large-gap velocities required for one-step inference.
Proposed Methodology: Improved MeanFlow
To address these challenges, the researchers propose a two-pronged "Improved MeanFlow" recipe:
1. Accelerated $v$-Learning
To establish a solid foundation quickly, the method incorporates advanced techniques from standard diffusion training. This includes Decoupled Training Dynamics (DTD) for specialized timestep sampling and MinSNR loss weighting. These stabilize the instantaneous velocity field significantly faster than the baseline approach.
2. Progressive $u$-Weighting
The core innovation is a weighting schedule for the average velocity objective. At the start of training, the model prioritizes small temporal gaps. As training progresses and the $v$-field matures, the weight shifts toward the larger gaps necessary for one-step inference. This prevents the "one-step jump" from acting as destructive noise during the early stages of learning.
Experimental Results
The proposed method was evaluated on ImageNet 256×256 and FFHQ using various Diffusion Transformer (DiT) backbones.
- State-of-the-Art Quality: On ImageNet, the method achieved a 1-NFE FID of 2.87, outperforming the vanilla MeanFlow-XL baseline of 3.43.
- Efficiency Gains: The strategy reaches the performance level of the original baseline in approximately 2.5× fewer training epochs. Notably, a smaller DiT-L model trained with this strategy can match or exceed the performance of a standard DiT-XL model.
- Visual Fidelity: Qualitative analysis confirms that images generated via the improved training are noticeably sharper, with better-defined textures and fewer artifacts compared to the baseline at equivalent training stages.
Conclusion
By peeling back the "black box" of MeanFlow training, this research demonstrates that the sequence in which a model learns different scales of motion is vital. The proposed progressive training strategy not only makes one-step generation more accessible by slashing training time but also pushes the boundaries of achievable image quality. Future work will explore non-linear weighting schedules and the application of these principles to high-dimensional temporal data like video.
Summary updated