Abstract
FluxSR is a novel one-step diffusion model that achieves high-fidelity, real-world image super-resolution (Real-ISR) at near-instant speeds. By distilling the 12-billion-parameter FLUX.1-dev model using a technique called Flow Trajectory Distillation (FTD), the researchers achieved state-of-the-art image quality in a single sampling step, matching or outperforming multi-step models that are 50x slower.
Introduction
Real-world Image Super-Resolution (Real-ISR) involves reconstructing high-resolution versions of low-quality images affected by unknown noise or blur. While Diffusion Models (DMs) have set new benchmarks for quality, their iterative sampling process is often too slow for practical use. Existing one-step distillation methods face challenges such as generative distribution shifts and extreme hardware constraints when dealing with massive models.
Methodology
FluxSR addresses these hurdles through three key innovations:
Flow Trajectory Distillation (FTD)
Instead of standard fine-tuning, FTD utilizes Flow Matching theory to map trajectories between noise, low-resolution (LR) inputs, and high-resolution (HR) targets. This approach ensures the model preserves the teacher's high-quality generative priors while learning the super-resolution task.
Large Model Friendly Training
To overcome the memory limitations of distilling a 12B parameter model, the authors use an offline training strategy. By pre-computing noise-image pairs using the teacher model, the student can be trained without needing the teacher model in memory, making distillation feasible on standard server hardware.
Anti-Artifact Losses
- TV-LPIPS: A perceptual loss incorporating Total Variation to smooth flat regions (like skin or sky) while maintaining sharp edges.
- Attention Diversification Loss (ADL): Designed to eliminate periodic grid-like artifacts common in transformer architectures by forcing diversity among attention tokens.
Experimental Results
The model was trained on a synthetic dataset of 2,400 noise-image pairs and evaluated on benchmarks like RealSR and DIV2K-val.
Performance and Fidelity
FluxSR-s1 (1 step) consistently outperformed other one-step models such as SinSR and OSEDiff in quantitative metrics (MUSIQ, MANIQA). Remarkably, it often achieved better perceptual scores than state-of-the-art multi-step models like DiffBIR-s50 while being significantly faster.
Key Insights
- Prior Preservation: The success of FTD suggests that redirecting the existing generative power of a large model is more effective than re-teaching it image generation from scratch.
- Offline Distillation: Casting distillation as a data-matching problem allows for the utilization of massive models that would otherwise exceed GPU memory limits during live teacher-student training.
Conclusion
FluxSR demonstrates that high-quality Real-ISR is possible in a single step using large-scale model distillation. While the 12B parameter count remains a hurdle for consumer hardware, future work on model pruning aims to bring this performance to a wider range of devices.
Summary updated