Diffusion Prior-Based Amortized Variational Inference for Noisy Inverse Problems

Sojin Lee, Dogyun Park, Inho Kong, Hyunwoo J. Kim

Abstract

Solving inverse problems—recovering clean signals from degraded observations—has traditionally relied on slow, iterative diffusion-based sampling. This paper introduces DAVI (Diffusion prior-based Amortized Variational Inference), a framework that transforms these tasks into a single-step operation. By combining amortized variational inference with a novel Integral KL Divergence (IKL) objective, DAVI learns a global mapping from noisy measurements to clean posterior distributions. The resulting model achieves high-fidelity restorations in just 0.04 seconds, representing a 50x to 2,000x speedup over current state-of-the-art iterative methods while maintaining superior perceptual quality.

Introduction

Inverse problems, such as Gaussian deblurring, super-resolution, and inpainting, are fundamental to computer vision. While diffusion models have set a new standard for image priors, they face two significant hurdles: high computational cost due to iterative sampling (often requiring hundreds of neural function evaluations) and a lack of generalization, as many methods require per-image optimization. DAVI addresses these bottlenecks by shifting the computational burden to a one-time training phase, enabling real-time, single-step inference for unseen measurements.

Methods

DAVI treats inverse problems through the lens of Amortized Variational Inference (AVI). Instead of optimizing for a single image, a neural network ($I_\phi$) is trained to represent the mapping from any measurement $y$ to the clean data $x_0$.

The DAVI training framework involves alternating updates for the score function ($\psi$) and the inference network ($\phi$), utilizing consistency loss and the Integral KL Divergence gradient.

Technical Innovations

  • Integral KL Divergence (IKL): Standard Variational Inference often suffers from the "disjoint support problem," where the model and prior distributions do not overlap. IKL mitigates this by comparing distributions after they have been perturbed by the diffusion forward process, creating a smoother optimization landscape.
  • Score Distillation Gradient: A pre-trained diffusion model provides gradients that guide the inference network toward the realistic image manifold without requiring an explicit posterior distribution.
  • Perturbed Posterior Bridge (PPB): This training strategy creates intermediary data versions between the measurement and the clean image, enhancing the model's ability to generalize to various noise levels and unseen data.

Experiments and Results

The authors evaluated DAVI on the FFHQ (faces) and ImageNet (natural scenes) datasets across three tasks: Gaussian deblurring, $4\times$ super-resolution, and box inpainting.

Efficiency and Performance

DAVI requires only 1 Neural Function Evaluation (NFE), processing images in 0.04 seconds. This is approximately 50x faster than DDRM and nearly 2,000x faster than DPS. Despite this speed, DAVI achieved an FID score improvement of 12.33 points over the best baseline on the FFHQ super-resolution task.

Qualitative comparison of DAVI against state-of-the-art methods across various tasks. DAVI (Ours) demonstrates superior detail preservation and realism in a single step.

Robustness

Unlike many competing methods that require precise knowledge of the input noise level ($\sigma_y$), DAVI demonstrates remarkable robustness to varying noise scales during inference, even when those scales were not explicitly provided.

Conclusion and Limitations

DAVI represents a significant leap in the practical application of diffusion priors for inverse problems. By amortizing the inference process, it enables high-quality, real-time restoration. However, the authors note that like all generative methods, there is a risk of "hallucinating" features, particularly in sensitive domains like facial restoration. Future work may focus on "blind" inverse problems where the specific degradation model is unknown at training time.

Summary updated

BibTeX
@inproceedings{lee2024diffusion,
  author = {Sojin Lee and Dogyun Park and Inho Kong and Hyunwoo J. Kim},
  title = {{Diffusion Prior-Based Amortized Variational Inference for Noisy Inverse Problems}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73668-1\_17},
}
Figure