Abstract
Single image defocus deblurring (SIDD) is a critical task in computer vision, yet training effective models remains challenging due to the inherent spatial misalignment in real-world training pairs. This paper introduces a robust reblurring-guided learning framework designed to handle "dirty" data where blurry and sharp image pairs suffer from zoom and shift discrepancies. By integrating a novel reblurring module for pseudo-supervision and an optical-flow-based alignment loss, the proposed Joint Defocus deblurring and Reblurring Learning (JDRL) framework achieves state-of-the-art performance on both standard and misaligned datasets.
Introduction
To train a deep learning model for defocus deblurring, researchers typically require pairs of images: a blurry input ($I_B$) and a perfectly sharp ground truth ($I_S$). While easily generated in synthetic environments, capturing these pairs in the real world is difficult. Adjusting a camera's aperture or focus to capture varying depths of field involves physical lens movement, which inevitably introduces spatial misalignment. This misalignment manifests as slight shifts or zoom differences between the blurry and sharp images.
When standard neural networks are trained on such misaligned pairs using pixel-wise loss functions, they often fail to distinguish between blur and spatial displacement. This confusion leads to significant visual artifacts, such as distorted edges, ghosting, and geometric warping in the restored images.
The JDRL Framework
The authors propose the Joint Defocus deblurring and Reblurring Learning (JDRL) framework to decouple deblurring from alignment. The architecture is built upon three primary technical innovations:
1. Reblurring as a Regularizer
Instead of a unidirectional mapping from blurry to sharp, the framework incorporates a Reblurring Module ($\mathcal{R}$). This module learns to transform the estimated sharp image back into a reblurred version. By ensuring the reblurred output matches the original blurry input, the model is anchored to the input's geometry, preventing it from warping the restored image to match a misaligned ground truth.
2. Pseudo-Supervision for Blur Maps
High-performing deblurring models often require a defocus blur map for pixel-specific guidance. Since accurate real-world blur maps are nearly impossible to capture, the JDRL framework extracts "pseudo-blur maps" from the weights of the reblurring module. These maps serve as a teacher signal to train a lightweight, integrated blur estimator ($\mathcal{E}$).
3. Deformable Alignment Loss
To directly address training pair discrepancies, the framework employs a Flow Estimating Network ($\mathcal{O}$). This network calculates the optical flow between the model's current deblurred estimate and the sharp ground truth. A warping operation ($\mathcal{W}$) then aligns the ground truth to the estimate before calculating the final loss, effectively neutralizing the impact of zoom and shift during the learning process.
Experiments and Results
The framework was evaluated on several benchmarks, including a newly introduced Single image Defocus deblurring Dataset (SDD). The SDD dataset consists of 150 high-resolution pairs captured with a HUAWEI camera, specifically designed to include the misalignments typical of consumer hardware.
Quantitative and Qualitative Gains
On the challenging SDD dataset, the JDRL framework provided a substantial boost to existing architectures. For instance, adding JDRL to a standard UNet improved the Peak Signal-to-Noise Ratio (PSNR) by 1.58dB. When integrated with the state-of-the-art Loformer backbone, it achieved a PSNR of 27.20dB.
Visually, the framework eliminates the "truncation" and jagged edge artifacts common in competing methods. By leveraging isotropic priors—modeling defocus blur as physically circular—the network restores sharp, straight textures that respect the underlying scene geometry.
Conclusion
The JDRL framework demonstrates that reblurring-guided learning is a powerful strategy for training robust restoration models on imperfect real-world data. By baking the physics of photography into the architecture and explicitly handling spatial misalignment, the authors provide a scalable solution for high-quality defocus deblurring on consumer devices. Future work may extend this logic to other domains, such as motion deblurring and super-resolution, where misaligned training data remains a persistent hurdle.
Summary updated