Douglas-Rachford Networks: Learning Both the Image Prior and Data Fidelity Terms for Blind Image Deconvolution

Raied Aljadaany, Dipan K. Pal, Marios SavvidesCVPR 2019

TL;DR

Dr-Net is a novel deep learning architecture for blind image deconvolution that "unrolls" the Douglas-Rachford optimization algorithm into a neural network. Unlike previous approaches that require an explicit estimate of the blur kernel, Dr-Net learns both the image prior and the data fidelity terms simultaneously, achieving state-of-the-art restoration quality with significantly faster processing times.

What Problem Does This Paper Address?

Image blurring is typically modeled as a convolution: $y = k * x + \epsilon$, where $y$ is the blurry image, $k$ is the blur kernel, $x$ is the sharp image, and $\epsilon$ is noise. Blind deconvolution is the task of recovering $x$ when $k$ is unknown.

This is a classic "ill-posed" problem because there are infinitely many pairs of $(x, k)$ that could produce the same $y$. Traditional methods rely on hand-crafted "priors" (mathematical assumptions about what a clean image looks like) and iterative optimization to estimate both the kernel and the image. However, if the kernel estimate is slightly off or the prior is too simple, the resulting image often contains heavy artifacts. While deep learning has improved this field, many existing networks still struggle to generalize across different types of blur or require the kernel as an input.

Methods

The authors introduce Dr-Net, which is built upon the Douglas-Rachford (DR) splitting algorithm. DR is an iterative optimization technique used to minimize objectives composed of two terms: a data fidelity term (how well the solution fits the observed data) and a prior term (how "realistic" the solution is).

Key Innovations:

  1. Unrolling the Iterations: The authors map the mathematical update steps of the DR algorithm directly onto a network architecture. Each "Dr-Block" represents one iteration of the optimization.
  2. Learning Both Terms: Most "unrolled" networks only learn the image prior. Dr-Net uses two distinct CNNs ($\Gamma_f$ and $\Gamma_g$) to approximate the proximal operators for both the data fidelity and the image prior. By marginalizing over the unknown kernel $k$, they create a data fidelity term that depends only on $y$ and $x$, bypassing the need for explicit kernel estimation.
  3. Non-Expansive Constraints: To ensure the network remains stable and converges like a real optimization algorithm, the authors enforce a "non-expansive" condition. They do this by projecting the weights of the convolutional filters into a unit ball (ensuring the norm is $\le 1$).
  4. Hybrid Loss Function: The network is trained using a combination of standard $l_2$ (Mean Squared Error) loss and a Wasserstein GAN loss. The GAN loss helps the network recover fine, photo-realistic textures that $l_2$ loss tends to blur out.

Datasets

The model was trained on the DIV2K dataset (800 high-resolution images) with synthetically generated blur. It was evaluated on two major benchmarks:

  • GoPro Test Dataset: Real-world images containing spatially heterogeneous (varying) motion blur.
  • Kohler Dataset: A standard benchmark consisting of 48 images blurred with 12 different realistic camera shake kernels.

Key Insights and Ideas

  • Bypassing the Kernel: The most significant "aha moment" is the realization that the data fidelity term can be learned. By treating the unknown kernel as a random variable and marginalizing it out, the network learns to "invert" the blur implicitly within its layers.
  • Theoretical Grounding: Unlike "black-box" CNNs, Dr-Net’s architecture is mathematically motivated. The authors provide a theoretical link showing that multi-channel CNNs can be viewed as solving optimization iterations in parallel across an image basis.
  • Stability via Weight Clipping: Enforcing the non-expansive condition (Lemma 3.1 and 3.2 in the paper) isn't just for show; the authors found it empirically improved training stability and test-time performance.

Key Results

  • State-of-the-Art Quality: On the GoPro dataset, Dr-Net achieved a PSNR of 30.35 dB, outperforming other leading models like DeblurGAN and Tao et al.
  • Speed: Dr-Net is incredibly efficient. For a 720x1280 image, it takes only 1.2 seconds to process. In comparison, some traditional iterative methods (like Xu et al.) take upwards of 3,800 seconds (over an hour) for the same image.
  • Visual Fidelity: Qualitative results show that Dr-Net recovers sharper edges and finer details (like text or window frames) compared to previous methods that often leave "ringing" artifacts or residual blur.

Limitations and Future Work

  • Homogeneous vs. Heterogeneous Blur: While Dr-Net excels at the complex, varying blur found in the GoPro dataset, the authors note that some traditional methods might still hold a slight edge in cases of perfectly uniform (homogeneous) blur if the kernel can be perfectly estimated.
  • Generalization: While the DR framework is robust, the current implementation is specific to deconvolution. The authors suggest that this "learning the proximal operator" approach could be extended to other inverse problems like medical imaging (MRI reconstruction) or super-resolution.

Summary updated

BibTeX
@inproceedings{aljadaany2019douglas,
  author = {Raied Aljadaany and Dipan K. Pal and Marios Savvides},
  title = {{Douglas-Rachford Networks: Learning Both the Image Prior and Data Fidelity Terms for Blind Image Deconvolution}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.01048},
}
Figure