TL;DR
DeblurFlow bridges the gap between high-fidelity image restoration and realistic generative modeling for blind motion deblurring. By reformulating the flow matching trajectory to start from the blurry image rather than random noise, the framework naturally optimizes for residual errors while retaining powerful generative priors. This approach achieves state-of-the-art perceptual realism without the "fidelity collapse" typical of generative methods, while running up to 6.5× faster than recent transformers.
What Problem Does This Paper Address?
In image deblurring, researchers typically face a frustrating trade-off between distortion fidelity (how closely the pixel values match the ground truth) and perceptual realism (how sharp and natural the image actually looks to a human).
Traditional restoration-based networks (optimized with pixel-wise losses like $L_1$ or MSE) excel at fidelity, achieving high PSNR scores, but they tend to produce over-smoothed, blurry textures. Conversely, modern generative models (like diffusion and flow matching models) excel at synthesizing rich, photorealistic details. However, when naively applied to restoration tasks, generative models suffer from fidelity collapse. Because they are trained to generate images from complete noise, they struggle to preserve the underlying structural content of the original blurry image, leading to low PSNR scores and unwanted hallucinations.
The authors tackle this incompatibility by asking a fundamental question: How can we reformulate the generative trajectory so that a flow matching model inherently respects restoration constraints?
Methods
The authors introduce DeblurFlow, which fundamentally realigns generative flow models with restoration tasks through three key innovations:
- Restoration-Aligned Flow Trajectory: Standard flow matching models learn a vector field that transports random Gaussian noise ($\epsilon$) to a clean image ($x$). DeblurFlow replaces the noise endpoint with the blurry observation ($y$). Under this formulation ($y \to x$), the straight-line trajectory's derivative naturally becomes the image residual error ($y - x$). Consequently, the generative flow matching loss transforms into a task-aligned residual loss, allowing pretrained generative models to be fine-tuned via Low-Rank Adaptation (LoRA) specifically for deblurring.
- The r-space Latent Space: Operating generative models in standard VAE latent spaces (v-space) is computationally expensive and suboptimal for residuals, as VAEs are designed to reconstruct entire clean images. The authors introduce
r-space, a lightweight latent space explicitly tailored for residual decoding. By utilizing skip connections that pass structural cues directly from the blurry input,r-spaceeliminates the need to reconstruct the entire image from scratch. - Dual-Expert Sampling Strategy: Instead of forcing a single model to balance both worlds, DeblurFlow uses a two-step pipeline. First, a conventional "fidelity expert" (e.g., a pretrained NAFNet) generates a high-fidelity but slightly blurry initial estimate. Then, DeblurFlow acts as a "realism expert," using a highly efficient 1-to-3 step flow matching process to inject sharp, realistic textures while anchoring the structure to the initial estimate.
Datasets
The model was trained and evaluated using several standard benchmarks:
- GoPro: Contains 3,214 blur-clean image pairs; used for both training and quantitative evaluation.
- HIDE: A dataset containing 2,025 paired test images focusing on human-centric motions.
- RealBlur-J: A realistic dataset of 980 test pairs captured using a physical beam-splitter camera setup.
- RWBI (Real-World Blurry Images): A collection of 3,112 real-world blurry images without ground-truth clean counterparts, used to evaluate real-world generalization via no-reference perceptual metrics.
Key Insights and Ideas
- Redefining the Endpoint Changes the Objective: The mathematical insight that changing the flow matching starting point from noise to a blurry image turns a generation problem into a residual restoration problem is elegant. It allows the model to inherit the structural anchoring benefits of residual learning for free.
- VAEs are Overkill for Residuals: Standard generative models spend massive computational budgets running heavy VAE decoders. Because residuals are sparse and structurally dependent on the input, adding simple skip connections from the blurry image allows a much smaller encoder-decoder (
r-space) to do the same job. - Co-Training Prevents Overfitting: To prevent the realism expert from overfitting to the specific artifacts of a single fidelity expert, the authors co-train the model on both the raw degradation mapping ($y \to x$) and the expert-enhanced mapping ($f_\psi(y) \to x$). This ensures the model generalizes well across different front-end restoration networks.
Key Results
- Mitigating Fidelity Collapse: On the GoPro dataset, naively applying a generative model on top of a fidelity expert drops the PSNR from 33.69 dB down to 27.60 dB. DeblurFlow preserves an excellent balance, maintaining a high fidelity of 33.05 dB while significantly boosting perceptual quality (MUSIQ score improved from 45.28 to 50.81).
- Massive Efficiency Gains: The introduction of
r-spaceslashes the encoder-decoder computational cost from 422.7 GMACs to just 19.5 GMACs compared to standard VAEs. Overall framework cost drops from 455.0 to 51.8 GMACs. - Inference Speedup: DeblurFlow processes a 2K resolution image in just 0.41 seconds on a single NVIDIA H100 GPU. This is 3.4× faster than DiffIR and 6.5× faster than FFTFormer, making generative deblurring practical for real-world deployment.
Limitations and Future Work
- Dependence on an External Expert: A primary limitation acknowledged by the authors is that the current framework still relies on an external, separate fidelity expert (like NAFNet) to provide the initial structural estimate during inference.
- Future Directions: The authors note that a promising future path is to internalize this fidelity expert directly within the generative flow model itself, creating a single, unified monolithic architecture capable of handling both structural fidelity and perceptual realism end-to-end.
Summary updated