TL;DR
The paper introduces MrFlow, a training-free, multi-resolution acceleration strategy that speeds up text-to-image flow-matching models (like FLUX.1 and Qwen-Image) by up to 10x. By generating global structures at low resolution, upscaling in pixel space via a GAN, and refining details with a single high-resolution step, MrFlow slashes inference time while maintaining near-native image quality.
What Problem Does This Paper Address?
Modern text-to-image models based on Diffusion Transformers (DiTs) and flow matching generate stunning images but are computationally heavy, often taking nearly a minute per image on high-end GPUs. Existing acceleration methods either require expensive training (like timestep distillation) or use training-free multi-resolution tricks that upsample directly in the latent space, which unfortunately introduces severe blurring and artifacts. The authors aim to achieve massive speedups without any training, custom kernels, or quality degradation.
Methods
MrFlow uses a staged low-to-high-resolution pipeline consisting of four main steps:
- Low-Resolution Structure Generation: The model runs a standard flow-matching generation at a lower resolution (e.g., 512x512) for a few steps (typically 12). This leverages the quadratic reduction in token count for self-attention layers to save computation.
- Pixel-Space Super-Resolution: Instead of upsampling in the latent space, the low-res latent is decoded to pixel space via a VAE decoder, and a lightweight, pretrained GAN-based model (Real-ESRGAN) upscales it to the target resolution (e.g., 1024x1024).
- Low-Strength Noise Injection: The upscaled image is re-encoded back into the latent space, and a small amount of noise ($\sigma_t \in [0.1, 0.15]$) is added. This selectively lowers the signal-to-noise ratio (SNR) of high-frequency details, preparing them for correction.
- High-Resolution Detail Refinement: The model performs a fast, single-step refinement in the high-resolution latent space to correct any local artifacts introduced by the GAN and finalize sharp details.
Datasets
The authors evaluated their method using several prominent pretrained models: FLUX.1-dev, Qwen-Image-20B, FLUX.2 Klein, and Z-Image.
To measure performance, they utilized three benchmark datasets:
- GenEval: Focuses on compositional semantics and text-to-image alignment.
- DPG-Bench: Evaluates dense alignment under long, complex prompts.
- OneIG-Bench: A multi-dimensional bilingual (Chinese/English) benchmark assessing character rendering and style consistency.
No new datasets were introduced by the authors.
Key Insights and Ideas
- Text Utilization is Higher at Low Resolution: The authors discovered that early layers in the transformer allocate a higher proportion of attention mass to text conditions when operating at lower resolutions, allowing the model to lock in global layout and semantics much faster.
- Shorter ODE Paths: Frequency-domain analysis revealed that roughly 58% of a model's total sampling trajectory length is spent establishing the low-frequency "skeleton" of an image. Low-resolution generation efficiently traverses this path with fewer steps.
- Pixel Space is a Safer Upsampling Domain: Latent space upsampling breaks the spatial statistics that VAE decoders rely on, leading to grid artifacts. Upscaling in pixel space using a GAN provides sharp, structurally plausible details that are perfectly suited for high-frequency refinement.
- Straight Trajectories at the End: Near the clean image endpoint ($t=0$), the flow-matching velocity field becomes highly linear and flat. Because the noised GAN output is already close to this endpoint, a single high-resolution Euler step is sufficient to correct artifacts.
Key Results
- 10x Speedup, Training-Free: MrFlow achieved an end-to-end actual speedup of 10.3x on Qwen-Image and 8.25x on FLUX.1-dev without any fine-tuning.
- High Quality Retention: On OneIG-Bench, the quality gap between MrFlow and native 50-step inference was kept within a tiny 1% margin.
- Orthogonal Combinability: MrFlow can be directly combined with existing timestep distillation models (like Pi-Flow) without retraining, pushing generation speeds up to 25x faster than the native baseline.
Limitations and Future Work
- Dependency on External SR Models: MrFlow relies on an external, pretrained GAN-based super-resolution network (Real-ESRGAN). If the SR network introduces massive low-frequency distortions or diffuse blur, the low-strength noise injection mechanism becomes less effective, requiring more high-resolution steps.
- Aggressive Configurations: While a 12-step low-res + 1-step high-res configuration yields maximum speedup, it can result in minor metric drops (e.g., around 2-3% on GenEval) compared to less aggressive configurations (like 20 low-res steps).
Summary updated