Skip to main content
QUICK REVIEW

[Paper Review] Variational Diffusion Posterior Sampling with Midpoint Guidance

Badr Moufad, Yazid Janati|arXiv (Cornell University)|Oct 13, 2024
Image Processing Techniques and ApplicationsEngineering3 citations
TL;DR

This paper proposes Midpoint Guidance Posterior Sampling (MGPS), a variational diffusion posterior sampling method that decomposes denoising transitions into two phases—denosing to a midpoint and noising back—reducing the complexity of estimating the intractable guidance term. By applying a Gaussian variational approximation and leveraging Chung et al. (2023)’s guidance at intermediate steps, MGPS achieves state-of-the-art performance in reconstructing ECGs from partial measurements, with MAE of 0.111 and RMSE of 0.225 on the ptb-xl dataset, outperforming both baseline diffusion models and prior posterior sampling methods.

ABSTRACT

Diffusion models have recently shown considerable potential in solving Bayesian inverse problems when used as priors. However, sampling from the resulting denoising posterior distributions remains a challenge as it involves intractable terms. To tackle this issue, state-of-the-art approaches formulate the problem as that of sampling from a surrogate diffusion model targeting the posterior and decompose its scores into two terms: the prior score and an intractable guidance term. While the former is replaced by the pre-trained score of the considered diffusion model, the guidance term has to be estimated. In this paper, we propose a novel approach that utilises a decomposition of the transitions which, in contrast to previous methods, allows a trade-off between the complexity of the intractable guidance term and that of the prior transitions. We validate the proposed approach through extensive experiments on linear and nonlinear inverse problems, including challenging cases with latent diffusion models as priors. We then demonstrate its applicability to various modalities and its promising impact on public health by tackling cardiovascular disease diagnosis through the reconstruction of incomplete electrocardiograms. The code is publicly available at \url{https://github.com/yazidjanati/mgps}.

Motivation & Objective

  • To address the challenge of sampling from intractable posterior distributions in Bayesian inverse problems when using denoising diffusion models (DDMs) as priors.
  • To reduce the complexity of estimating the intractable guidance term in posterior sampling by introducing a decomposition of the denoising transition.
  • To improve reconstruction accuracy in ill-posed inverse problems, especially under high noise, nonlinearity, or multimodal posteriors.
  • To enable effective posterior sampling without requiring fine-tuning or retraining the diffusion model, preserving its generative capacity.

Proposed method

  • Decomposes the denoising transition from $X_{k+1}$ to $X_k$ into two phases: denoising $X_{k+1}$ to a midpoint $X_{\ell_k}$ with $\ell_k < k$, then noising back to $X_k$.
  • Uses a Gaussian variational approximation to model the transition from $X_{k+1}$ to $X_{\ell_k}$, enabling tractable computation of the intermediate score.
  • Applies a training-free guidance approximation (Chung et al., 2023) at the intermediate step $\ell_k$ to guide the denoising process toward the posterior.
  • Leverages the pre-trained score of the diffusion model for the prior component, avoiding retraining.
  • Introduces a flexible trade-off between the complexity of the prior transitions and the intractable guidance term by choosing the midpoint $\ell_k$ as a hyperparameter.
  • Employs a two-stage sampling scheme: first denoise to the midpoint using the variational approximation and guidance, then noising back unconditionally to obtain the final sample.

Experimental results

Research questions

  • RQ1Can decomposing the denoising transition into intermediate phases reduce the complexity of estimating the intractable guidance term in diffusion-based posterior sampling?
  • RQ2Does introducing a midpoint in the denoising process improve reconstruction accuracy in Bayesian inverse problems with DDM priors?
  • RQ3How does the choice of midpoint location $\ell_k$ affect the trade-off between approximation error and computational complexity?
  • RQ4Can MGPS achieve state-of-the-art performance on challenging inverse problems such as ECG reconstruction from partial measurements?
  • RQ5Does MGPS maintain high fidelity and diversity in generated samples without fine-tuning the underlying diffusion model?

Key findings

  • MGPS achieved a MAE of 0.111 ± 2e−3 and RMSE of 0.225 ± 4e−3 on the missing block reconstruction task using the ptb-xl ECG dataset, outperforming baseline diffusion models and prior posterior sampling methods.
  • On the same task, MGPS achieved the lowest MAE (0.111) and RMSE (0.225) among all compared methods, including the finetuned diffusion model trained on the missing block task (TrainedDiff -MB).
  • MGPS significantly outperformed DDNM and other posterior sampling baselines, demonstrating its robustness in reconstructing ECG signals from partial observations.
  • The method achieved state-of-the-art performance in downstream cardiac condition classification, with balanced accuracy improved over baselines due to higher-quality reconstructions.
  • The ablation study confirmed that the midpoint decomposition effectively reduces the burden of estimating the guidance term, leading to more accurate and stable sampling.
  • MGPS demonstrated strong generalization across diverse inverse problems, including image restoration, deblurring, and phase retrieval, with high-fidelity reconstructions on FFHQ and ImageNet.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.