Learning to Deblur

Christian J. Schuler, Michael Hirsch, Stefan Harmeling, Bernhard Schölkopf

Abstract

Blind image deconvolution—the task of recovering a sharp image from a blurry observation without knowing the blur kernel—is a classic ill-posed inverse problem. This paper introduces a deep learning approach that "unrolls" traditional iterative optimization steps into a multi-stage neural network architecture. By training end-to-end on synthetic data, the proposed model learns to extract informative features for kernel estimation and image restoration. The resulting system achieves state-of-the-art performance while offering significantly faster runtimes than traditional hand-crafted algorithms.

Introduction

In various imaging domains, from consumer photography to satellite remote sensing, images are frequently degraded by blur and noise. This degradation is typically modeled as a convolution process: $y = k * x + n$, where $y$ is the observed blurry image, $k$ is the unknown blur kernel (e.g., due to camera shake), $x$ is the sharp latent image, and $n$ represents additive noise.

Recovering both $x$ and $k$ from $y$ alone is a notoriously difficult "blind" deconvolution problem. Because infinitely many pairs of images and kernels can produce the same blurry output, the problem is highly underdetermined. Traditional solvers rely on alternating minimization and hand-crafted priors (like edge sparsity) to regularize the solution. However, these iterative methods are often computationally expensive and sensitive to hyperparameter tuning.

Unrolled Architecture and Methodology

The authors propose a deep layered architecture that mimics the logic of classical iterative solvers but learns its parameters directly from data. The network is structured into three primary modules that are applied sequentially within each "stage" of the restoration process.

  1. Feature Extraction Module: This module uses convolutional layers and non-linearities (tanh) to transform the blurry image into a feature space optimized for kernel estimation. Unlike traditional methods that rely on simple image gradients, this module learns to identify the most informative structures for blur identification.
  2. Kernel Estimation Module: Implemented as a "quotient layer," this module performs division in Fourier space to solve a least-squares problem, estimating the blur kernel $k$ from the extracted features.
  3. Image Estimation Module: Using the estimated kernel, this module produces a preliminary sharp image $x$, which can then be refined in subsequent stages.
Overview of the multi-stage unrolled architecture for blind deconvolution.

These modules are stacked into multiple stages and applied in a multi-scale fashion. By starting with a downsampled image to estimate coarse blur and refining it at higher resolutions, the network effectively handles complex blur patterns.

Training and Evaluation

To train the network, the authors leveraged a subset of 1.6 million images from ImageNet. Since real-world ground truth for blur is scarce, they generated a synthetic dataset of 1 million blur trajectories using Gaussian Processes (Matérn covariance function) to simulate realistic camera shake.

The model was evaluated on standard benchmarks, including the Levin et al. (2009) and Sun et al. (2013) datasets. Key insights from the training process include:

  • Learning Informative Priors: The feature extractor learns to ignore "flat" regions (like clear skies) that lack information about the blur, focusing instead on sharp edges and textures.
  • Noise Awareness: By incorporating noise during training, the network becomes robust to graininess, avoiding the noise amplification common in traditional deblurring methods.

Results and Performance

The unrolled network demonstrates a significant speed advantage. On an Intel i5 processor, it can estimate a kernel for a $1024 \times 1024$ image in 10–20 seconds, whereas competing optimization-based methods often require several minutes.

Training MSE for kernel estimation across single, double, and triple stage network configurations.

As shown in the training curves, increasing the number of stages leads to a consistent reduction in the Mean Squared Error (MSE) for kernel estimation. For small to medium kernels (up to $25 \times 25$ pixels), the network achieves Peak Signal-to-Noise Ratio (PSNR) scores comparable to or exceeding current state-of-the-art methods like Xu et al.

Conclusion

This work demonstrates that "unrolling" physical models into neural network architectures provides a powerful middle ground between black-box deep learning and traditional optimization. While performance currently degrades for very large kernels, the speed and robustness of the multi-stage approach make it a promising candidate for real-time image restoration. Future work aims to integrate this deblurring framework with other imaging tasks like demosaicing and super-resolution into a unified restoration pipeline.

Summary updated

BibTeX
@article{schuler2016learning,
  author = {Christian J. Schuler and Michael Hirsch and Stefan Harmeling and Bernhard Schölkopf},
  title = {{Learning to Deblur}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2016},
  doi = {10.1109/tpami.2015.2481418},
}
Figure