A Variational EM Framework With Adaptive Edge Selection for Blind Motion Deblurring

Liuge Yang, Hui Ji

TL;DR

This paper introduces a novel Variational Expectation Maximization (VEM) framework that provides a rigorous mathematical foundation for "edge selection"—a highly effective but previously heuristic technique in image deblurring. By treating the selection of salient image edges as a latent variable optimization problem and incorporating a strategic "restart" mechanism, the authors achieve state-of-the-art results in recovering sharp images from motion-blurred inputs.

The Challenge of Blind Motion Deblurring

When capturing a photo with a shaky hand, the resulting image is a "blur" caused by the camera moving while the shutter is open. Mathematically, this is modeled as a convolution: the blurry image $g$ is the result of a sharp image $f$ being "smudged" by a blur kernel $k$ (the path of the motion).

Blind motion deblurring is the difficult task of recovering both the sharp image and the blur kernel when only the blurry image is known. This is a classic "ill-posed" problem because infinitely many pairs of images and kernels could produce the same blur. A common failure mode is the "trivial solution," where the algorithm incorrectly identifies the blurry image as the sharp one and the kernel as a single dot (delta function).

Researchers previously found that focusing only on specific, strong edges in the image helps estimate the kernel more accurately. However, choosing which edges to use ("edge selection") has historically relied on hand-tuned heuristics. This paper formalizes these heuristics into a robust statistical framework.

Proposed Methods: The VEM Framework

The authors propose a Variational Expectation Maximization (VEM) framework to solve the deblurring problem. Unlike traditional methods that attempt to estimate the full image immediately, this approach focuses on a Latent Gradient Field. They define a latent variable representing image gradients specifically tailored for kernel estimation.

Adaptive Edge Selection via Variance

The model treats these latent gradients as random variables. By imposing a "cardinality prior" on the variance of these variables—essentially requiring that only a small percentage of gradients (the "edges") have high variance—the model automatically learns to select the most informative edges for deblurring.

Evolution of the blur kernel k during the VEM optimization process, demonstrating the refinement from a coarse estimate to a sharp, accurate path.

The VEM Loop and Restart Strategy

The algorithm iterates through two main steps:

  1. E-step: Refines the distribution of the latent gradients.
  2. M-step: Updates the blur kernel and the selection of important edges (the variance parameters).

Because the mathematical landscape of deblurring is "non-convex" and prone to local minima, the authors introduce a Restart Strategy. This periodically resets the edge selection based on a stable intermediate estimate of the image, allowing the algorithm to escape bad solutions and converge toward the true kernel.

Key Results and Performance

The proposed VEM method was evaluated on standard benchmarks, including the Lai et al., Levin et al., and Köhler datasets, as well as real-world blurry photos.

Visual comparison of gradient fields and kernel estimation. The proposed method (j-l) recovers sharper gradients and a more accurate kernel compared to previous methods (g-i).
  • Quantitative Superiority: On the Lai et al. synthetic dataset, the method achieved an average PSNR (Peak Signal-to-Noise Ratio) of 21.79, significantly outperforming previous leaders like Xu et al. (20.97).
  • Robustness: The framework showed particular strength in difficult categories like "people" and "saturated" images, where traditional edge-detection heuristics often fail.
  • Qualitative Quality: Visual results on real-world photos demonstrate fewer "ringing" artifacts and sharper details compared to both deep learning-based and older variational methods.

Insights and Future Directions

A crucial insight of this work is that the intermediate image used to find the blur kernel does not need to be a perfect reconstruction; it only needs the correct structural properties (sharp, well-defined edges) to guide kernel estimation. By framing edge selection as a variance-estimation problem, the authors move away from "black box" heuristics toward a model where selection criteria emerge naturally from the data.

While highly effective for uniform motion blur, future work may explore extending this framework to non-uniform blur (e.g., camera rotation) or integrating these variational priors with the representational power of deep neural networks.

Summary updated

BibTeX
@inproceedings{yang2019variational,
  author = {Liuge Yang and Hui Ji},
  title = {{A Variational EM Framework With Adaptive Edge Selection for Blind Motion Deblurring}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.01041},
}
Figure