TL;DR
Diffusion and flow-based models generate stunning images but are notoriously slow because they require hundreds of tiny denoising steps. This paper introduces Decoupled MeanFlow (DMF), an elegant decoding strategy that converts pre-trained flow models into "flow maps" capable of high-quality generation in just 1 to 4 steps. By simply changing how timestep information is fed into the network's layers, DMF achieves state-of-the-art 1-step generation quality while delivering a 125x speedup over standard models, all without altering the original model architecture.
What Problem Does This Paper Address?
Standard diffusion and flow models generate data by slowly reversing a noise-adding process. Mathematically, this involves solving an Ordinary Differential Equation (ODE) step-by-step. If you try to take a shortcut and use large step sizes to speed up generation, you introduce "discretization error," which severely degrades image quality.
Recent research has proposed learning flow maps, which predict the average velocity between two distant timesteps rather than the instantaneous velocity. This allows the model to take massive jumps—even generating an image in a single step. However, training flow maps typically requires changing the neural network's architecture (e.g., adding new embedding layers to process both the current timestep and the target timestep). This breaks compatibility with existing pre-trained flow models, meaning researchers have to train expensive flow map models entirely from scratch.
Methods
The authors introduce Decoupled MeanFlow (DMF), a method to transform existing flow models into flow maps without adding new parameters or changing the architecture.
Their core insight relies on treating a Diffusion Transformer (DiT) as having two parts: an encoder (the first few layers) and a decoder (the remaining layers).
- The Decoupling Trick: In standard models, every layer is conditioned on the current timestep $t$. In DMF, the encoder is conditioned on the current timestep $t$, but the decoder is conditioned on the target destination timestep $r$.
- Training Strategy (Warm-up): Instead of training a flow map from scratch, the authors use a two-stage approach. They first train a standard flow model (which is computationally cheaper and builds good internal representations). Then, they convert it to a DMF architecture and fine-tune it using a flow map objective.
- Stabilizing Training: Flow map training is notoriously unstable due to high variance in the loss. The authors mitigate this by using an adaptive weighted Cauchy loss (which suppresses extreme outliers better than standard MSE) and a specialized time-sampling proposal that focuses on predicting steps closer to $t=0$ (clean data).
Datasets
- ImageNet 256x256 (Primary benchmark for quantitative evaluation)
- ImageNet 512x512 (Used to test higher-resolution scaling)
- Note: The models operate in the latent space of a pre-trained Stable Diffusion VAE.
Key Insights and Ideas
- Your flow model is secretly a flow map: The most surprising finding is that you can take a pre-trained flow model, apply the DMF decoupling trick at inference time without any fine-tuning, and it actually works. In some cases, the zero-shot converted model even outperforms the base model at low step counts.
- A logical division of labor: Decoupling the timesteps makes intuitive sense. The encoder's job is to extract semantic features from a noisy image, so it only needs to know the current noise level ($t$). Once the representation is built, the decoder's job is to predict the trajectory to the next state, so it only needs to know the destination ($r$). Forcing the encoder to care about the destination is redundant.
- Representations matter more than starting from scratch: The authors found that spending compute budget to train a standard flow model for longer, and then fine-tuning it into a flow map, yields significantly better performance than spending that same compute training a flow map from scratch. Strong feature representations are a prerequisite for learning good flow maps.
Key Results
FID vs NFE Performance Decoupled MeanFlow: Turning Flow Models into Flow Maps for Accelerated Sampling, page 1
- State-of-the-Art 1-Step Generation: On ImageNet 256x256, DMF achieves a 1-step Fréchet Inception Distance (FID) of 2.16. This surpasses prior 1-step diffusion models, GANs, and autoregressive models by a large margin.
- Massive Speedups without Quality Loss: When allowed 4 steps, the DMF model reaches an FID of 1.51. This matches the performance of the baseline standard flow model (SiT-XL/2+REPA) which required 250 steps to achieve the same quality—representing a >125x speedup during inference.
- High-Resolution Scaling: On ImageNet 512x512, DMF achieves a 1-step FID of 2.28, matching the performance of the previous state-of-the-art but using roughly half the parameters.
Limitations and Future Work
- Visual Artifacts: The authors note that while the quantitative metrics (FID) are excellent, 1-step generations can still occasionally exhibit visual artifacts.
- Domain Constraints: The method has currently been validated on ImageNet using a VAE latent space. Its effectiveness on massive, open-domain text-to-image or text-to-video models remains to be tested.
- Future Directions: The authors suggest exploring "inference-time scaling" (e.g., using search algorithms over initial noise states to find the best generation paths) and applying post-training alignment techniques (like RLHF or DPO) directly to flow maps to further enhance controllability and quality.
Summary updated