Abstract
One-step generative modeling has traditionally relied on distillation from pre-trained teachers or heuristic constraints that lack a clear ground-truth target. We present MeanFlow, a self-contained framework for one-step generative modeling that replaces the "instantaneous velocity" used in standard Flow Matching with a novel "average velocity" field. By deriving a principled mathematical identity between these two velocities, MeanFlow enables training high-quality one-step models from scratch. Our approach achieves a state-of-the-art FID of 3.43 on ImageNet 256×256 without the need for distillation or complex training curriculums, significantly narrowing the gap between one-step and multi-step generative models.
Introduction
Generative models, particularly Diffusion and Flow Matching, have set new benchmarks for image synthesis quality. However, their primary drawback remains the high computational cost at inference time. Producing a single sample typically requires dozens or hundreds of iterative steps, known as Number of Function Evaluations (NFE).
To address this, researchers have pursued "one-step" models. Existing strategies generally fall into three categories: distillation (transferring knowledge from a slow teacher to a fast student), heuristic constraints (like Consistency Models), or complex discretization curriculums. Each of these approaches introduces significant overhead or lacks a robust mathematical foundation. MeanFlow offers a more principled alternative: a framework that learns to jump from noise to data in a single step by modeling the average velocity of the probability flow.
The MeanFlow Framework
The core innovation of MeanFlow is the shift from modeling instantaneous velocity ($v$) to modeling average velocity ($u$).
Average Velocity as a Target
In standard Flow Matching, a model learns the specific speed and direction of a particle at every infinitesimal moment in time. For one-step generation, however, we are less interested in the path and more interested in the displacement. MeanFlow learns the "average speed and direction" required to travel between two points in time, $r$ and $t$. If a model can accurately predict the average velocity for the interval $[0, 1]$, it can generate a high-quality sample in exactly one step.
The MeanFlow Identity
The authors derive a fundamental identity that serves as the ground truth for training the model:
$$u = v - (t-r)\frac{du}{dt}$$
This formula relates the average velocity ($u$) to the instantaneous velocity ($v$) and its time derivative. By using this identity, the network learns the "shortcut" across curved probability paths, which is a more natural objective for one-step generation than attempting to approximate a complex Ordinary Differential Equation (ODE) through many small steps.
Efficient Training and Implementation
Training a model to satisfy the MeanFlow identity requires computing the time derivative $\frac{du}{dt}$. To keep training efficient, the authors utilize a Jacobian-Vector Product (JVP). This operation is natively supported in modern deep learning frameworks like PyTorch and JAX. The JVP adds only approximately 16% computational overhead during training, a small price for the stability and quality it provides.
Furthermore, MeanFlow is "self-contained." Unlike distillation-based methods, it does not require a pre-trained teacher model. It learns directly from the data and noise distributions. The framework also allows for the integration of Classifier-Free Guidance (CFG) directly into the average velocity field. This means the benefits of guidance—higher image fidelity and better prompt adherence—can be achieved in a single step without the usual requirement of doubling the computation at inference time.
Experimental Results
MeanFlow was evaluated on standard benchmarks, including ImageNet 256×256 (in latent space) and CIFAR-10 (in pixel space).
ImageNet Performance
MeanFlow achieved a state-of-the-art (SOTA) FID of 3.43 with 1-NFE. This represents a massive leap over previous one-step models. For comparison, Shortcut-XL achieved an FID of 10.60, and iCT-XL reached 34.24. MeanFlow's performance is now approaching the quality of 250-step Diffusion models, which typically range between FID 2.0 and 2.3.
Scaling and Robustness
The authors observed clear scaling laws: as model size increased from Base to XL and training time was extended, generation quality consistently improved. On the CIFAR-10 dataset, MeanFlow achieved an FID of 2.92, performing competitively with established methods like Consistency Models while maintaining a simpler, more principled training objective.
Conclusion
MeanFlow demonstrates that the performance gap between one-step and multi-step models is not an inherent limitation of one-step generation, but rather a consequence of how training targets were previously defined. By replacing heuristic consistency targets with a mathematically derived average velocity identity, MeanFlow provides a robust, scalable, and efficient path toward high-fidelity, real-time image generation. Future work may extend this framework to other domains, such as video and audio generation, where the demand for efficient, single-step sampling is equally high.
Summary updated