TL;DR
This paper uncovers the hidden training dynamics of MeanFlow, a powerful framework for few-step generative modeling. By revealing that mastering instantaneous velocity is a strict prerequisite for learning average velocity, the authors design a progressive training curriculum that accelerates training convergence by 2.5× while significantly boosting final image quality.
What Problem Does This Paper Address?
Diffusion models and Flow Matching generate stunning, state-of-the-art images, but they are notoriously slow at inference time, often requiring dozens of sequential steps to denoise an image. Recent architectures like MeanFlow attempt to solve this by training a single network to simultaneously learn both instantaneous velocity (the step-by-step trajectory) and average velocity (the big jumps across time intervals). This dual learning allows MeanFlow to generate high-quality images in as few as one or two steps.
However, MeanFlow training is computationally expensive and poorly understood. Standard training treats all time intervals equally from day one. This naive approach ignores how the two velocity fields interact, leading to slow convergence and suboptimal performance. This paper investigates these internal dynamics to make MeanFlow training faster and more effective.
Methods
The authors translate their insights into a unified, two-pronged training strategy that replaces the standard flat MeanFlow objective:
- Accelerated $v$-learning: To rapidly establish a stable foundation for the instantaneous velocity ($v$), the authors integrate standard diffusion acceleration techniques—specifically, specialized timestep sampling (like Demand-Driven Timestep Distribution, DTD) or time-dependent loss weighting (like MinSNR).
- Progressive $L_u$ Weighting: Instead of forcing the model to learn average velocities ($u$) across all temporal gaps ($\Delta t$) simultaneously, they introduce a dynamic weighting schedule. Early in training, the loss heavily prioritizes small temporal gaps, which reinforces the formation of instantaneous velocity. As training progresses, the weights smoothly transition to a uniform distribution, allowing the model to safely master the large-gap average velocities required for one-step inference.
Datasets
The proposed method is trained and evaluated on the standard ImageNet 256×256 benchmark. The authors use Diffusion Transformers (DiT) as their backbone architecture, scaling across multiple sizes: DiT-B/4, DiT-M/2, DiT-L/2, and DiT-XL/2. Performance is quantitatively measured using the Fréchet Inception Distance (FID) score on 50,000 generated samples.
Key Insights and Ideas
- Instantaneous velocity is a strict prerequisite: Through controlled two-stage training experiments, the authors demonstrate that learning average velocity completely fails if the instantaneous velocity field isn't well-formed. Even minor noise injected into the instantaneous velocity severely degrades the learning of average velocity.
- Large temporal gaps are destructive early on: Supervising the model with large time gaps ($\Delta t$) early in training actually destabilizes and degrades a pretrained instantaneous velocity field.
- Small gaps bridge the task affinity gap: Task Affinity Score (TAS) analysis reveals that focusing on small temporal gaps early on provides a much more favorable initialization for later learning large-gap average velocities than pure instantaneous velocity pretraining alone.
Key Results
- 2.5× Training Speedup: On the largest DiT-XL architecture, the enhanced training strategy matches the conventional MeanFlow baseline's 240-epoch performance in just ~100 epochs.
- Superior One-Step Generation: For 1-NFE (Number of Function Evaluations) generation on ImageNet 256×256, the method reduces the FID of MeanFlow-XL from 3.43 down to 2.87—a notable 16% reduction that substantially narrows the gap with multi-step models.
- Backbone Efficiency: Remarkably, a smaller model (DiT-L) trained with this progressive strategy can match or outperform a larger baseline model (DiT-XL) trained conventionally.
Limitations and Future Work
The authors note a subtle trade-off between the acceleration techniques used: while loss-weighting strategies like MinSNR perform well on smaller models, they can conflict with MeanFlow's internal adaptive loss-weighting mechanism at larger scales. Consequently, timestep-sampling methods (like DTD) prove to be a more robust choice across all model sizes.
While the paper focuses on image generation with DiT backbones, future work remains to validate whether this progressive velocity curriculum yields similar benefits for other modalities, such as video or 3D asset generation.
Summary updated