Abstract
DeblurGAN-v2 represents a significant advancement in single-image motion deblurring by introducing a second-generation generative adversarial network (GAN). By incorporating a Feature Pyramid Network (FPN) and a relativistic discriminator, the model achieves state-of-the-art visual quality. Crucially, it offers a flexible architecture that can be optimized for either peak performance or extreme inference speed, enabling real-time deblurring on mobile devices—up to 100x faster than previous methods.
Introduction
Single-image blind motion deblurring is a fundamental challenge in computer vision. Real-world blur, caused by camera shake or fast-moving subjects, is spatially varying and lacks a known blur kernel, making it a classic "ill-posed" problem. While traditional mathematical priors often fail in complex scenarios, early deep learning solutions were too computationally intensive for practical, real-time use. DeblurGAN-v2 bridges this gap by providing a framework that balances reconstruction quality with high-speed inference.
Methods
The architecture of DeblurGAN-v2 departs from heavy, multi-stream designs in favor of efficiency and flexibility.
- FPN Generator: The core of the generator is a Feature Pyramid Network (FPN). This allows the model to efficiently extract and fuse features across multiple scales, capturing both coarse semantic information and fine textures without the redundant computations of older multi-stream CNNs.
- Backbone-Agnostic Design: The framework supports various backbones. The authors demonstrate high performance using Inception-ResNet-v2 for research-grade quality and high efficiency using MobileNet-DSC for production-ready mobile deployment.
- RaGAN-LS Discriminator: The model utilizes a Relativistic Least Squares GAN loss. Unlike standard discriminators, the relativistic approach estimates the probability that real data is more realistic than generated data, leading to more stable training and sharper image edges. The authors also incorporated a small amount of Mean Squared Error (MSE) loss to correct color and texture distortions.
- Double-Scale Evaluation: To handle non-uniform blurs, the discriminator employs a dual-scale approach: a global branch for the full image and a local branch for small patches.
Datasets and Evaluation
The models were rigorously tested on several benchmarks to ensure robustness across different types of blur:
- GoPro: The primary benchmark for motion deblurring.
- DVD (DeepVideoDeblurring): Used for testing single-frame performance on real-world video.
- Kohler and Lai Datasets: Benchmarks for real camera motion and subjective human evaluation.
- Restore Dataset: A synthetic dataset created by the authors to evaluate general restoration tasks involving blur, noise, and compression.
Key Results
DeblurGAN-v2 establishes a new frontier in the quality-efficiency trade-off, as illustrated by the comparison of SSIM versus computational cost.
- Performance vs. Efficiency: The Inception-ResNet-v2 variant achieved a top-tier SSIM of 0.934 on the GoPro dataset. Meanwhile, the MobileNet-DSC variant achieved real-time speeds of 25 FPS (0.04s per image), making it 10-100x faster than competitors like DeepDeblur or SRN.
- Model Compactness: The lightweight MobileNet version is only 4 MB, making it highly suitable for on-device mobile deployment.
- Human Preference: Blind studies with 22 human raters confirmed that DeblurGAN-v2 produces more perceptually pleasing results, effectively avoiding common "ghosting" artifacts.
Conclusion and Future Work
DeblurGAN-v2 successfully democratizes high-quality deblurring by making it viable for real-time applications. While currently processing video frame-by-frame, future work aims to incorporate temporal information to further enhance video deblurring stability. The decoupling of the backbone from the FPN framework remains a key innovation, allowing developers to easily scale the model based on specific hardware constraints and performance requirements.
Summary updated