Fast and Robust Likelihood-Guided Diffusion Posterior Sampling with Amortized Variational Inference

Léon Zheng, Thomas Hirtz, Yazid Janati, Eric Moulines

Abstract

Zero-shot diffusion posterior sampling offers a flexible framework for inverse problems by accommodating arbitrary degradation operators at test time, but incurs high computational cost due to repeated likelihood-guided updates. In contrast, previous amortized diffusion approaches enable fast inference by replacing likelihood-based sampling with implicit inference models, but at the expense of robustness to unseen degradations. We introduce an amortization strategy for diffusion posterior sampling that preserves explicit likelihood guidance by amortizing the inner optimization problems arising in variational diffusion posterior sampling. This accelerates inference for in-distribution degradations while maintaining robustness to previously unseen operators, thereby improving the trade-off between efficiency and flexibility in diffusion-based inverse problems.

Introduction

Inverse problems—such as image deblurring, super-resolution, and inpainting—are fundamentally ill-posed, as multiple sharp images can correspond to a single degraded observation. To resolve this ambiguity, modern techniques leverage Diffusion Models as powerful generative priors. However, a "fundamental tension" exists between two dominant paradigms:

  1. Zero-shot methods provide extreme flexibility, allowing for any degradation operator at test time, but are computationally expensive due to iterative optimization at each diffusion step.
  2. Amortized methods offer near-instantaneous inference but are brittle, often failing when encountering degradations different from those seen during training.

The LAVPS Framework

We propose Likelihood-guided Amortized Variational Posterior Sampling (LAVPS) to bridge this gap. Rather than replacing the entire sampling process with a neural network, LAVPS amortizes the initialization of the inner optimization loop of a zero-shot variational method (specifically MGDM).

Amortized Warm-start

At each timestep of the diffusion process, a lightweight inference model predicts an optimal initialization (warm-start) for the variational parameters. This significantly reduces the number of gradient steps required to reach a high-quality solution, effectively "pre-solving" a portion of the optimization task.

Explicit Likelihood Guidance

Following the warm-start, the system performs a limited number of optimization steps using the explicit likelihood of the observed data. This "likelihood anchor" ensures that the final reconstruction remains mathematically consistent with the input, even if the warm-start model encounters unfamiliar degradations.

Safeguarded Initialization

To guarantee that the amortized guess never degrades performance, LAVPS includes a safeguard: if the inference model's prediction results in a worse variational objective than a standard initialization, the system falls back to the baseline zero-shot method.

Experimental Results

The method was evaluated on the FFHQ (faces) and ImageNet (natural images) datasets at 256x256 resolution.

LAVPS achieves significant speedups while maintaining robustness to out-of-distribution (OOD) degradations.

Efficiency and Quality

LAVPS achieved speedups of 1.2x to 2.2x over the MGDM baseline. In "Quality vs. Time" Pareto analyses, LAVPS consistently outperformed the baseline, delivering higher visual fidelity (lower LPIPS scores) for the same computational budget. Qualitative results demonstrate that LAVPS recovers intricate details, such as bird feathers and shark teeth, much faster than standard methods.

Robustness to Unseen Degradations

A key advantage of LAVPS is its robustness to Out-of-Distribution (OOD) operators. When tested with blur kernels or masks not seen during the training of the inference model, LAVPS maintained high performance. In contrast, fully amortized/supervised models often "collapsed," producing severe artifacts when faced with OOD tasks.

Conclusion

LAVPS successfully addresses the trade-off between speed and flexibility in diffusion-based inverse problems. By amortizing the initialization of the inner optimization loop while retaining explicit likelihood guidance, it provides a scalable and robust solution for high-quality image restoration. Future work may involve integrating this strategy with distilled diffusion models to further push the boundaries of real-time inference.

Summary updated

BibTeX
@inproceedings{zheng2026fast,
  author = {Léon Zheng and Thomas Hirtz and Yazid Janati and Eric Moulines},
  title = {{Fast and Robust Likelihood-Guided Diffusion Posterior Sampling with Amortized Variational Inference}},
  booktitle = {SPIRE},
  year = {2026},
}
Figure