Fast Diffusion EM: a diffusion model for blind inverse problems with application to deconvolution

Charles Laroche, Andrés Almansa, Eva Coupeté

Abstract

Blind inverse problems, such as deconvolution where both the image and the blur kernel are unknown, are notoriously ill-posed and computationally demanding. We present Fast Diffusion EM, a novel framework that integrates an Expectation-Maximization (EM) algorithm directly into the generative process of a diffusion model. By interleaving kernel estimation with the reverse diffusion steps, our method achieves state-of-the-art accuracy in image restoration while significantly reducing processing time from minutes to seconds.

Introduction

Image restoration often involves solving inverse problems to recover a clean image from a degraded version. While modern diffusion-based methods excel at "non-blind" tasks where the degradation process is known, real-world scenarios—termed blind deconvolution—rarely provide the exact blur kernel. This problem is highly ill-posed, as many combinations of sharp images and kernels can produce the same blurry input. Traditional optimization techniques frequently suffer from over-sharpening or noise sensitivity, while existing diffusion approaches are often too slow for practical use, requiring multiple full generative cycles to converge.

Methodology: Fast EM Diffusion

The proposed framework leverages the Expectation-Maximization (EM) algorithm to jointly estimate the clean image and the unknown blur kernel.

  1. EM Framework: The clean image is treated as "missing data." The E-step utilizes a diffusion model to sample potential clean images, while the M-step uses these samples to update the likelihood of the blur kernel.
  2. Plug & Play (PnP) Kernel Regularization: To stabilize kernel estimation, a "Plug & Play" denoiser (DnCNN) trained on blur kernels acts as a robust prior, outperforming standard $\ell_1$ or $\ell_2$ regularization.
  3. Interleaved "Fast" Step: The core innovation is the interleaving of these steps. Rather than running a full diffusion process for every EM iteration, the kernel estimate is refined at every single timestep of a single reverse diffusion run. This allows the kernel to converge alongside the image's gradual reconstruction.
The Fast EM Diffusion Step interleaves the score network, M-step, and diffusion step within a single generative process.

The framework was evaluated using two guidance techniques: Diffusion Posterior Sampling (DPS) and Pseudo-Inverse Guided Diffusion Models ($\Pi$GDM).

Experimental Results

The method was benchmarked using the FFHQ (faces) and DIV2K (general scenes) datasets, with synthetic motion blur and varying Gaussian noise levels.

Performance and Efficiency

Fast Diffusion EM demonstrates a significant leap in efficiency. On an A100 GPU, the "Fast EM $\Pi$GDM" variant processes images in approximately 9 seconds, a massive improvement over the 90 seconds required by standard iterative versions and other diffusion-based competitors.

Comparison of PSNR vs. Runtime (sec) for various deblurring methods. Fast Diffusion EM (Ours) achieves higher fidelity in significantly less time.

Key Insights

  • Early Convergence: Updating the kernel during the early, noisy stages of diffusion allows for faster convergence without needing a near-perfect image first.
  • Stability: The "Fast" single-run version surprisingly outperformed multi-run iterative versions, which often get trapped in local minima (e.g., non-blurry solutions).
  • Hallucination Control: The joint kernel estimation acts as a consistency check, ensuring the diffusion model generates details that are mathematically consistent with the blurry input.
  • Robustness: The PnP kernel denoiser maintains high-quality estimates even under significant noise ($\sigma = 20$), where traditional methods typically fail.

Conclusion and Future Work

Fast Diffusion EM provides a high-fidelity, high-speed solution for blind deconvolution. While currently focused on blur, the framework's architecture is extensible to other blind inverse problems like super-resolution with unknown downsampling. Future work will explore implementing this framework within Latent Diffusion Models (e.g., Stable Diffusion) to further enhance resolution and speed, and addressing the score model's dependency on specific training distributions to improve general-purpose restoration.

Summary updated

BibTeX
@inproceedings{laroche2024fast,
  author = {Charles Laroche and Andrés Almansa and Eva Coupeté},
  title = {{Fast Diffusion EM: a diffusion model for blind inverse problems with application to deconvolution}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00519},
}
Figure