Simple ReFlow: Improved Techniques for Fast Flow Models

Beomsu Kim, Yu-Guan Hsieh, Michal Klein, marco cuturi, Jong Chul Ye, Bahjat Kawar, James Thornton

Generative models have taken the world by storm, but they share a common "speed limit": they usually require dozens or hundreds of steps to create a single high-quality image. While techniques like ReFlow aim to speed this up by "straightening" the mathematical paths the model takes, they often suffer from a noticeable drop in image quality.

In a new paper, researchers introduce Simple ReFlow, a suite of seven refined techniques that allow these models to generate state-of-the-art images in just 9 steps.

TL;DR

Simple ReFlow fixes the "quality tax" usually paid when accelerating flow-matching models. By optimizing training dynamics, learning schedules, and inference solvers, the authors achieve state-of-the-art image quality (FID) using only 9 neural function evaluations (NFEs), outperforming previous fast-sampling methods without relying on complex perceptual losses.

What Problem Does This Paper Address?

Generative models typically work by slowly transforming random noise into structured data (like an image) through a series of small steps. Mathematically, this is like following a curved path through a high-dimensional space.

ReFlow is a procedure designed to "straighten" these paths. If the path is a perfectly straight line, you could theoretically jump from noise to a finished image in a single step. However, in practice, ReFlow often leads to "sample deterioration"—the generated images lose the quality seen in the original, slower model. Previous attempts to fix this relied on heuristic tricks, such as perceptual losses, that do not always respect the underlying math. This makes the models harder to use for downstream tasks like image inversion or exact likelihood calculation.

Methods: Seven Key Improvements

The authors identify seven specific improvements across three categories to stabilize and enhance ReFlow:

1. Training Dynamics

  • Loss Normalization: The researchers found that loss scales vary wildly across different time steps during training. They introduce a "stop-gradient" normalization technique to ensure every part of the generation process contributes equally to the learning objective.
Loss scales across time steps
  • Exponential Time Distribution: Instead of picking time steps uniformly, they use an exponential distribution to focus the model's "attention" on the end of the generation process, where the data structure is most complex.
  • High-Pass Filter (HPF) Loss: They introduce a linear map that emphasizes high-frequency details (like edges and textures) during training, helping the model learn fine details faster.

2. Learning

  • Reduced Dropout: Interestingly, the authors found that learning a straight path is mathematically "harder" (requiring a higher Lipschitz constant) than learning a curved one. Because of this, the network actually needs less regularization. Lowering dropout rates significantly improved performance by giving the network the capacity it needed.
  • Forward & Projected Pairs: To prevent the model from "drifting" away from the real data distribution during its iterative training, they incorporate real data points ("forward pairs") and use a projection method to ensure the model stays grounded.

3. Inference

  • Sigmoid Timestep Schedule: They propose a new way to pick steps during generation that places more points at the very beginning and very end of the process, where the "curvature" of the path is highest.
  • Generalized DPM-Solver: They fine-tuned the standard ODE solver (Heun) with a specific parameter that works better for these straightened flows.

Key Insights and Results

The researchers validated their approach on four standard image generation benchmarks: CIFAR10 ($32 \times 32$), AFHQv2 ($64 \times 64$), FFHQ ($64 \times 64$), and ImageNet-64.

  • Math over Heuristics: Unlike other recent papers that use perceptual losses (which optimize for human visual preference at the cost of mathematical rigor), this paper sticks to core Flow Matching theory. This ensures the model remains mathematically "invertible."
  • The Power of Normalization: Simply balancing the loss scales across time steps turned out to be one of the most impactful changes, proving that training stability is often the hidden bottleneck in complex generative models.

The "Simple ReFlow" models achieved State-of-the-Art (SOTA) results for fast ODE-based generation. Using only 9 steps (NFEs), they achieved:

  • CIFAR10: 2.23 FID (unconditional) / 1.98 FID (with guidance).
  • AFHQv2: 2.30 FID / 1.91 FID.
  • ImageNet-64: 3.49 FID / 1.74 FID.

To put this in perspective, these 9-step results are often better than what previous models achieved with 100+ steps, significantly outperforming other "fast" methods like curvature minimization.

Limitations and Future Work

While highly effective, the approach has a few limitations. The ReFlow process itself still requires an extra stage of iterative training on simulated data. Additionally, the "projected pairs" method involves a more complex optimization process that might be harder for practitioners to implement than the other straightforward tweaks. Finally, while the authors demonstrated strong results up to $64 \times 64$ resolution, testing these techniques on massive latent models remains an exciting open area for future research.

Summary updated

BibTeX
@inproceedings{kim2025simple,
  author = {Beomsu Kim and Yu-Guan Hsieh and Michal Klein and marco cuturi and Jong Chul Ye and Bahjat Kawar and James Thornton},
  title = {{Simple ReFlow: Improved Techniques for Fast Flow Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=fpvgSDKXGY},
}
Figure