Generative Latent Kernel Modeling for Blind Motion Deblurring

Chenhao Ding, Jiangtao Zhang, Zongsheng Yue, Hui Wang, Qian Zhao, Deyu MengarXiv 2025 · DOI

Introduction

Blind motion deblurring (BMD) is a classic "chicken-and-egg" problem in computer vision: recovering a sharp image requires knowledge of the blur kernel, yet the kernel itself must typically be estimated from the sharp image. Mathematically, this task is severely ill-posed, as infinitely many combinations of images and kernels can produce the same blurry observation.

While recent "deep prior" methods, such as Deep Image Prior (DIP), have shown promise by using neural networks as implicit models, they remain highly sensitive to initialization. A poor starting guess for the blur kernel often leads the optimization into local minima, resulting in "ringing" artifacts or incomplete deblurring. Furthermore, handling non-uniform blur—where motion varies across the frame—remains a significant hurdle for many existing frameworks.

The GLKM Framework

To address these challenges, this paper introduces Generative Latent Kernel Modeling (GLKM). GLKM shifts the focus from optimizing raw kernel pixels to optimizing within a learned manifold of realistic motion kernels.

The GLKM framework architecture, featuring the Kernel Initializer, Kernel Generator ($G_k$), and Image Generator ($G_x$).

The framework consists of several key components:

  1. Pre-trained Kernel Prior: A Generative Adversarial Network (GAN) is trained on a vast dataset of synthetic motion kernels. This allows the model to learn a low-dimensional "latent manifold" that captures the structural characteristics of real-world blur.
  2. Kernel Initializer: Rather than starting from random noise, a ResNet-18-based encoder analyzes the blurry image to provide an initial estimate of the latent code ($z_k$). This "warm start" is crucial for avoiding divergent optimization paths.
  3. Latent Feature Optimization: During deblurring, the system optimizes the feature maps ($w_k$) of the generator's first layer rather than just the input latent vector. This provides the necessary flexibility to capture specific blur nuances while maintaining the structural integrity of a realistic kernel.
  4. Modular Integration: GLKM is designed as a "plug-and-play" module that can enhance various image priors, ranging from standard DIP to state-of-the-art diffusion models like BIRD or BlindDPS.

Key Insights: Why It Works

The success of GLKM stems from two primary conceptual shifts: the manifold constraint and the importance of initialization.

By forcing the estimated kernel to reside within the GAN's latent space, the algorithm is physically constrained from generating "impossible" or noisy kernels. This significantly narrows the search space to physically plausible motion paths.

Comparison of kernel estimation and deblurring results. The bottom row demonstrates how a better initial kernel leads to a more accurate estimated kernel and a cleaner deblurred image.

As shown in the comparison above, the choice of initial kernel is decisive. A coarse but structurally sound initial guess from the encoder prevents the optimization from ever entering the divergent paths that typically plague DIP-based methods.

Experimental Results

The authors evaluated GLKM across several benchmarks, including MSCOCO, the Lai et al. dataset, and high-resolution sets like CelebAHQ and ImageNet.

  • Performance Gains: Integrating GLKM with the original Deep Image Prior (SelfDeblur) resulted in a 34.2% improvement in average PSNR.
  • Real-World Robustness: On real-world blurry images, GLKM-enhanced models achieved superior scores in no-reference metrics (NIQE, BRISQUE), indicating more natural-looking restorations.
  • Synergy with Diffusion: Even when paired with advanced diffusion-based image priors, GLKM provided a measurable boost in image quality, proving that a sophisticated kernel prior remains essential even as image priors become more powerful.

Limitations and Future Directions

While GLKM offers a robust solution to the initialization problem, it is not without limitations. The performance is inherently tied to the diversity of the synthetic kernels used during GAN pre-training. If a real-world blur falls significantly outside this learned distribution, the model's effectiveness may decrease. Additionally, the iterative optimization process (typically 5,000 steps) is computationally intensive, making it less ideal for real-time applications.

Future work may involve expanding the kernel manifold to include more complex non-uniform motion models and further optimizing the computational efficiency for deployment on edge devices.

Summary updated

BibTeX
@misc{ding2025generative,
  author = {Chenhao Ding and Jiangtao Zhang and Zongsheng Yue and Hui Wang and Qian Zhao and Deyu Meng},
  title = {{Generative Latent Kernel Modeling for Blind Motion Deblurring}},
  year = {2025},
  eprint = {2507.09285},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.09285},
}
Figure