Abstract: MeanFlow offers a promising framework for one-step generative modeling by directly learning a mean-velocity field, bypassing expensive numerical integration. However, we find that the highly curved generative trajectories of existing models induce a noisy loss landscape, severely bottlenecking convergence and model quality. We leverage a fundamental geometric principle to overcome this: mean-velocity estimation is drastically simpler along straight paths. Building on this insight, we propose Rectified MeanFlow, a self-distillation approach that learns the mean-velocity field over a straightened velocity field, induced by rectified couplings from a pretrained model. To further promote linearity, we introduce a distance-based truncation heuristic that prunes residual high-curvature pairs. By smoothing the optimization landscape, our method achieves strong one-step generation performance. We improve the FID of baseline MeanFlow models from 30.9 to 8.6 under same training budget, and outperform the recent 2-rectified flow++ by 33.4% in FID while running 26x faster. Our work suggests that the difficulty of one-step flow generation stems partially from the rugged optimization landscapes induced by curved trajectories. Code is available at https://github.com/Xinxi-Zhang/Re-MeanFlow.
Introduction
Generative models such as Diffusion and Flow Matching have achieved remarkable success in high-fidelity image synthesis. However, their reliance on solving Ordinary Differential Equations (ODEs) through multi-step numerical integration makes sampling computationally expensive. One-step models, such as MeanFlow, attempt to circumvent this by directly learning the "mean velocity"—the average direction required to map noise to a data point in a single step.
Despite their potential, standard MeanFlow models often struggle with slow convergence and suboptimal image quality. This paper identifies a critical "curvature bottleneck": the trajectories from noise to data in standard models are often highly curved, creating a rugged and spiky optimization landscape. This complexity makes it difficult for neural networks to learn an accurate one-step mapping, leading to the blurry results typically seen in early-stage one-step generation.
Methodology
To address the curvature bottleneck, we introduce Rectified MeanFlow (Re-MeanFlow). Our approach focuses on smoothing the optimization landscape by straightening the underlying generative trajectories.
Trajectory Rectification and Mean-Velocity Learning
We utilize a pretrained flow model to generate "rectified couplings." By using the teacher model to identify noise-data pairs that result in straighter paths, we significantly simplify the learning objective. Instead of learning instantaneous velocity, Re-MeanFlow is trained to predict the average velocity over these straightened paths. As illustrated below, straightening the trajectories leads to a much smoother velocity field, which is inherently easier for the model to approximate.
Distance-based Truncation
We observed a strong correlation between the distance between noise and data endpoints and the resulting trajectory curvature. To further stabilize optimization, we implement a distance-based truncation heuristic. By discarding the top 10% of the longest-distance pairs during training, we effectively prune the most difficult high-curvature outliers from the training signal, leading to a cleaner optimization objective.
Experimental Results
We evaluated Re-MeanFlow on the ImageNet benchmark across multiple resolutions ($64 \times 64$, $256 \times 256$, and $512 \times 512$). Our method demonstrates significant improvements in both quality and efficiency.
Performance and Efficiency
On ImageNet-512, Re-MeanFlow improved the FID of the baseline MeanFlow model from 30.9 to 8.6 within the same training budget. Furthermore, Re-MeanFlow outperformed the state-of-the-art 2-rectified flow++ by 33.4% in FID while requiring 26x less compute. As shown in the convergence analysis, our method reaches high-quality generation thresholds significantly faster than competing baselines.
Conclusion
Re-MeanFlow demonstrates that the primary challenge in one-step flow generation is an optimization problem induced by trajectory curvature. By straightening these paths and pruning outliers, we can achieve state-of-the-art one-step generation with high efficiency. While the method is currently dependent on the quality of a pretrained teacher model, it provides a robust framework for high-speed, high-quality generative modeling without the need for original training datasets.
Summary updated