Generative diffusion posterior sampling for informative likelihoods

Zheng ZhaoarXiv 2025 · DOI

Abstract

Generative diffusion models serve as expressive priors for complex data distributions. However, conditioning these models on highly informative likelihoods or outlier observations remains a significant challenge, often resulting in sampling failures or particle degeneracy. This paper introduces $B^0$SMC, a Sequential Monte Carlo (SMC) framework that employs a novel "likelihood bridging" technique. By constructing a smooth transition from a broad prior to a concentrated posterior through an auxiliary observation path, $B^0$SMC significantly improves robustness and accuracy in high-dimensional posterior sampling tasks.

Introduction

Diffusion models excel at generating realistic data by reversing a stochastic noising process. Despite their success, performing posterior sampling—generating samples consistent with specific observations $y$—is difficult when the likelihood $p(y|x)$ is highly informative (low noise) or when the observation is an outlier relative to the prior. In such cases, the target posterior occupies a vanishingly small region of the high-dimensional space, making it a "needle in a haystack" problem.

Existing methods, such as Diffusion Posterior Sampling (DPS) and the Twisted Diffusion Sampler (TDS), often struggle with these scenarios. TDS attempts to use "twisting functions" to guide particles, but these are notoriously difficult to approximate accurately, particularly in the early stages of the denoising process.

Methodology: $B^0$SMC and Likelihood Bridging

The proposed $B^0$SMC (Guided Zeroth-Order SMC) framework addresses these challenges by constructing an auxiliary observation path. Rather than targeting the final likelihood directly, the method "noises" the observation $y$ in tandem with the data $x$. This creates a sequence of intermediate, "fuzzier" target distributions that are easier to navigate.

Likelihood Bridging

The core innovation is Likelihood Bridging, which mirrors the forward diffusion process on the observation space. This allows the sampler to start with a broad distribution and gradually "tighten" its focus as the noise level decreases.

Algorithmic Framework

The implementation utilizes a Sequential Monte Carlo approach. By following the noised observation path, the sampler can calculate optimal proposals and weights more reliably. For linear Gaussian likelihoods, the paper derives a "zeroth-order" approximation that allows for analytical calculation of weights, minimizing the approximation errors common in other methods.

Algorithm for the Sequential Monte Carlo (SMC) framework used in $B^0$SMC.

The algorithm involves drawing $J$ samples, weighting them based on the initial observation, and iteratively resampling and propagating them through the diffusion steps while updating weights according to the bridged likelihood.

Experimental Evaluation

The performance of $B^0$SMC was rigorously tested in a high-dimensional ($d=256$) Gaussian Mixture Model (GMM) environment. This synthetic setup allows for the calculation of exact ground-truth posteriors, isolating the algorithm's performance from neural network approximation errors.

Key Results

  • Accuracy: $B^0$SMC demonstrates superior accuracy measured by Sliced Wasserstein Distance (SWD). At an outlier level of $\omega=0$, $B^0$SMC achieved an SWD of 0.06, significantly lower than the 1.31 recorded for DPS.
  • Stability: The method maintains a high Effective Sample Size (ESS) throughout the sampling process (approx. 15,720 vs. 14,440 for TDS out of 16,384 particles). This stability reduces the need for frequent resampling, which typically introduces variance.
  • Robustness: Visualizations confirm that $B^0$SMC avoids the "degeneracy" issues seen in other methods, where particles collapse onto a single incorrect mode when faced with outliers.

Discussion and Limitations

$B^0$SMC shifts the focus from global approximations—guessing the final clean image from noise—to stable "local" transitions between adjacent time steps. This local approach is numerically more robust, especially for outliers, as the algorithm "meets the data halfway" through the noised observation path.

However, some limitations remain:

  1. Likelihood Constraints: The current zeroth-order closed-form solutions assume linear Gaussian likelihoods. Extending this to non-linear or non-Gaussian cases requires further approximation research.
  2. Scalability: While mathematically sound for high dimensions, the computational overhead of maintaining many SMC particles for high-resolution images (e.g., ImageNet) is a practical challenge for real-world deployment.

Future work involves integrating this framework into standard deep learning pipelines for complex image restoration tasks and exploring more sophisticated twisting constructions.

Summary updated

BibTeX
@misc{zhao2025generative,
  author = {Zheng Zhao},
  title = {{Generative diffusion posterior sampling for informative likelihoods}},
  year = {2025},
  eprint = {2506.01083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.01083},
}
Figure