Flow Straighter and Faster: Efficient One-Step Generative Modeling via MeanFlow on Rectified Trajectories

Xinxi Zhang, Shiwei Tan, Quang Nguyen, Quan Dao, Ligong Han, Xiaoxiao He, Tunyu Zhang, Alen Mrdovic, Dimitris N. Metaxas · OpenReview

Abstract

Flow-based generative models have recently demonstrated strong performance, yet sampling typically relies on expensive numerical integration of ordinary differential equations (ODEs). Rectified Flow enables one-step sampling by learning nearly straight probability paths, but achieving such straightness requires multiple computationally intensive reflow iterations. MeanFlow achieves one-step generation by directly modeling the average velocity over time; however, when trained on highly curved flows, it suffers from slow convergence and noisy supervision. To address these limitations, we propose Rectified MeanFlow, a framework that models the mean velocity field along the rectified trajectory using only a single reflow step. This eliminates the need for perfectly straightened trajectories while enabling efficient training. Furthermore, we introduce a simple yet effective truncation heuristic that aims to reduce residual curvature and further improve performance. Extensive experiments on ImageNet at 64, 256, and 512 resolutions show that Re-MeanFlow consistently outperforms prior one-step flow distillation and Rectified Flow methods in both sample quality and training efficiency.

Introduction

Flow-based and diffusion models have revolutionized generative AI, but they face a significant "speed limit": high-fidelity sampling typically requires solving complex Ordinary Differential Equations (ODEs) over dozens of steps. The community has sought one-step generation through two main strategies: Rectified Flow, which iteratively straightens paths, and MeanFlow, which predicts average velocity over time intervals. However, Rectified Flow is computationally expensive to fully straighten, and MeanFlow becomes unstable when trained on the highly curved paths characteristic of raw data-to-noise couplings. This paper introduces Re-MeanFlow, a hybrid approach that leverages the synergy between these two methods to achieve state-of-the-art one-step generation with unprecedented efficiency.

Methodology

Re-MeanFlow addresses the "Goldilocks" problem of path curvature through three primary innovations:

  1. Single-Step Rectification: Instead of attempting perfect straightness through infinite iterations, the framework performs just one reflow step. This reduces path curvature enough to stabilize learning without the massive overhead of multiple reflows.
  2. Mean-Velocity Modeling: The model is trained to predict the average velocity along these semi-straightened trajectories. Because the paths are already "mostly straight," the MeanFlow objective becomes significantly easier to optimize, reducing variance in the training signal.
  3. Distance Truncation: The authors discovered that the most problematic, highly curved paths often correspond to the longest $\ell_2$ distances between noise and data. By discarding the top 10% of training pairs with the largest distances, the model removes noisy outliers that typically destabilize one-step distillation.
Figure 1: Illustration of mean velocity modeling $u(\mathbf{z}_t, r, t)$ on curved trajectories and the corresponding curvature distribution $Curv(r, t)$.

Experimental Evaluation

The model was evaluated on ImageNet at resolutions of $64^2$, $256^2$, and $512^2$ using state-of-the-art backbones like EDM2 and SiT-XL. Re-MeanFlow consistently outperformed prior one-step methods in both quality and speed. On ImageNet-64, it improved FID scores by 33.4% compared to 2-rectified flow++.

Crucially, Re-MeanFlow is exceptionally efficient. It requires only 10% of the total compute of its closest competitors and is 26.6x faster to train than 2-rectified flow++. On ImageNet-512, it reached a one-step FID of 3.03, surpassing complex consistency distillation methods.

Figure 2: Comparison of convergence between MeanFlow and Re-MeanFlow (Ours). Re-MeanFlow achieves significantly lower FID scores in a fraction of the training time.

Conclusion

Re-MeanFlow demonstrates that combining trajectory rectification with mean-velocity modeling creates a powerful synergy for one-step generative modeling. By shifting the heavy lifting of path straightening to a single, lightweight reflow step and utilizing distance truncation, the method achieves superior sample quality with a fraction of the training cost. Future work includes scaling this approach to large-scale text-to-image domains where multi-step sampling remains a major production bottleneck.

Summary updated

Abstract

Flow-based generative models have recently demonstrated strong performance, yet sampling typically relies on expensive numerical integration of ordinary differential equations (ODEs). Rectified Flow enables one-step sampling by learning nearly straight probability paths, but achieving such straightness requires multiple computationally intensive reflow iterations. MeanFlow achieves one-step generation by directly modeling the average velocity over time; however, when trained on highly curved flows, it suffers from slow convergence and noisy supervision. To address these limitations, we propose Rectified MeanFlow, a framework that models the mean velocity field along the rectified trajectory using only a single reflow step. This eliminates the need for perfectly straightened trajectories while enabling efficient training. Furthermore, we introduce a simple yet effective truncation heuristic that aims to reduce residual curvature and further improve performance. Extensive experiments on ImageNet at 64, 256, and 512 resolutions show that Re-MeanFlow consistently outperforms prior one-step flow distillation and Rectified Flow methods in both sample quality and training efficiency. Code is available at https://github.com/Xinxi-Zhang/Re-MeanFlow.
BibTeX
@misc{zhang2025flow,
  author = {Xinxi Zhang and Shiwei Tan and Quang Nguyen and Quan Dao and Ligong Han and Xiaoxiao He and Tunyu Zhang and Alen Mrdovic and Dimitris N. Metaxas},
  title = {{Flow Straighter and Faster: Efficient One-Step Generative Modeling via MeanFlow on Rectified Trajectories}},
  year = {2025},
  eprint = {2511.23342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.23342},
}
Figure