Unsupervised Class-Specific Deblurring

Thekke Madam Nimisha, Sunil Kumar, A. N. RajagopalanECCV 2018

Abstract

In this paper, we present an end-to-end deblurring network designed specifically for a class of data. Unlike the prior supervised deep-learning works that extensively rely on large sets of paired data, which is highly demanding and challenging to obtain, we propose an unsupervised training scheme with unpaired data to achieve the same. Our model consists of a Generative Adversarial Network (GAN) that learns a strong prior on the clean image domain using adversarial loss and maps the blurred image to its clean equivalent. To improve the stability of GAN and to preserve the image correspondence, we introduce an additional CNN module that reblurs the generated GAN output to match with the blurred input. Along with these two modules, we also make use of the blurred image itself to self-guide the network to constrain the solution space of generated clean images. This self-guidance is achieved by imposing a scale-space gradient error with an additional gradient module. We train our model on different classes and observe that adding the reblur and gradient modules helps in better convergence. Extensive experiments demonstrate that our method performs favorably against the state-of-the-art supervised methods on both synthetic and real-world images even in the absence of any supervision.

Introduction

Blind image deblurring is a classic ill-posed problem in computer vision, aimed at recovering a sharp latent image from a single blurred observation. While traditional methods rely on hand-crafted mathematical priors, modern deep learning approaches have shifted towards supervised learning. However, supervised methods require massive datasets of paired blurred and sharp images, which are notoriously difficult to capture in real-world scenarios. This paper introduces an unsupervised framework that leverages unpaired data to learn class-specific priors for deblurring, focusing on domains like human faces and text.

Proposed Methodology

The core of our approach is an end-to-end architecture that combines adversarial learning with self-supervision to restore images without requiring ground-truth pairs.

The proposed end-to-end architecture featuring the Generator, Discriminator, Reblurring CNN, and Gradient Module.

Generative Adversarial Network (GAN)

The generator learns to map a blurred input to a predicted sharp image. The discriminator is trained to distinguish between real sharp images from the target class and the generated outputs. This adversarial loss forces the generator to produce realistic textures consistent with the target domain (e.g., facial features or sharp characters).

Reblurring Module

To ensure that the generator preserves the structural content of the input image and to prevent mode collapse, we introduce a reblurring CNN. This module takes the generated image and attempts to re-create the original blurred input. The resulting reblurring loss acts as a consistency constraint, ensuring that the restored image remains faithful to the input's global structure and color.

Scale-Space Gradient Prior

A key challenge in unsupervised deblurring is the lack of a ground-truth reference to guide edge restoration. We observe that as a blurred image is downsampled, the relative difference between its gradients and those of a sharp counterpart decreases. We exploit this "scale-space" property to self-guide the network.

Analysis of gradient error across scales. Downsampling reduces the relative gradient error between blurred and sharp images.

The Gradient Module computes a scale-space gradient loss by comparing the gradients of the generated image against downsampled versions of the blurred input at multiple scales (1/2, 1/4, 1/8, 1/16). This module effectively provides a "sharpness teacher" without requiring external paired data, helping to suppress artifacts like ringing and over-sharpening.

Experimental Results

We evaluated our model on several datasets, including CelebA for faces and the Hradiš dataset for text. The method performs remarkably well, often matching or exceeding supervised methods that had the advantage of seeing paired data.

  • Face Deblurring: Our model achieved a PSNR of 22.80 dB on the CelebA dataset, significantly outperforming unsupervised baselines like CycleGAN (8.93 dB) and matching the performance of several supervised methods.
  • Text Restoration: In text deblurring tasks, our method achieved a Character Error Rate (CER) of 0.126, a substantial improvement over conventional methods which typically range from 0.29 to 0.47.
  • Human Evaluation: In a user study involving 50 participants, our results were preferred over 80% of the time compared to competitive face-specific deblurring techniques.

Conclusion

We have presented an unsupervised, class-specific deblurring framework that eliminates the need for paired training data. By integrating a GAN with a reblurring consistency module and a scale-space gradient prior, our model achieves state-of-the-art restoration quality. This approach demonstrates that domain-specific priors and clever self-supervision can overcome the limitations of data scarcity in image restoration tasks.

Summary updated

BibTeX
@inproceedings{nimisha2018unsupervised,
  author = {Thekke Madam Nimisha and Sunil Kumar and A. N. Rajagopalan},
  title = {{Unsupervised Class-Specific Deblurring}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=rk4gsc-OZS},
}
Figure