Introduction
Blind image deblurring is the task of recovering a sharp image from a blurry observation where the underlying "blur kernel"—the mathematical representation of the motion—is unknown. In real-world scenarios, blur is rarely uniform across the image. Factors such as camera shake and independent object movement result in spatially-varying (non-uniform) blur, where every pixel may correspond to a different kernel.
Current deep learning approaches typically fall into two categories: end-to-end restoration networks that map blurry pixels directly to sharp ones, and kernel-estimation methods that attempt to explicitly model the blur. End-to-end methods often lack a physical "motion prior," leading to artifacts in complex scenes. Conversely, explicit kernel estimation is hindered by the difficulty of obtaining ground-truth non-uniform kernels for real-world data. UFPNet (Uncertainty Flow-based Prior Network) addresses these challenges by accurately estimating complex kernels in a self-supervised manner.
Methodology
UFPNet introduces a novel framework for kernel-aware deblurring centered on three main innovations: a flow-based motion prior, self-supervised estimation, and uncertainty modeling.
Flow-based Motion Prior
Rather than requiring a CNN to predict high-dimensional 2D kernel images directly, UFPNet utilizes a Normalizing Flow. This invertible probabilistic model establishes a bijective mapping between complex, realistic motion kernels and a simple Gaussian latent space. By predicting a low-dimensional latent code instead of raw pixel values, the network's task is significantly simplified and constrained to physically plausible motions.
Self-supervised Learning and Uncertainty
To train the model on real-world data where ground-truth kernels are unavailable, the authors employ a reblurring loss. The network predicts a kernel, applies it to a sharp image to "re-blur" it, and minimizes the difference between this reconstructed blurry image and the original input. This allows the model to learn from real-world blurry/sharp pairs where the kernel is unknown.
Furthermore, because deblurring is inherently ill-posed, UFPNet predicts both a latent code and its associated variance. Sampling from this distribution during training allows the model to account for estimation uncertainty, leading to more robust restoration. These estimated kernels are then integrated into a multi-scale restoration backbone (based on NAFNet) via a Multi-scale Kernel Attention Module (KAM), ensuring the deblurring process is explicitly informed by local motion characteristics.
Experimental Results
The performance of UFPNet was evaluated on standard benchmarks including GoPro, HIDE, and the real-world RealBlur dataset.
Quantitative Performance
UFPNet achieved state-of-the-art results on the GoPro dataset with a PSNR of 34.06 dB, surpassing the previous best method, NAFNet, by 0.37 dB. On the RealBlur-J dataset, which features real-world camera shake, UFPNet reached 29.87 dB. This performance gap indicates that the flow-based prior effectively captures the physics of real motion better than pure end-to-end mapping.
Qualitative Analysis
Visual comparisons demonstrate that UFPNet excels at recovering sharp edges and fine details, such as text on license plates, which are often blurred or over-smoothed by competing methods. The model successfully estimates non-uniform kernels across different regions of the image, leading to superior restoration.
Conclusion
UFPNet demonstrates that representing complex motion kernels in a simplified latent space via normalizing flows is a highly effective strategy for blind image deblurring. By combining this prior with self-supervised reblurring losses and uncertainty modeling, the framework achieves superior results on both synthetic and real-world datasets. While the model introduces additional computational overhead (roughly 3.7x higher MACs than NAFNet), the significant gains in restoration quality and physical consistency mark a substantial advancement. Future work may explore applying this latent-space representation to other non-uniform restoration tasks like super-resolution or dehazing.
Summary updated