Conditioning diffusion models by explicit forward-backward bridging
Adrien Corenflos, Zheng Zhao, Simo Särkkä, Jens Sjölund, Thomas B. Schön
TL;DR
This work tackles the problem of exact conditional sampling $\pi(x|y)$ when a diffusion model has been trained for the joint distribution $\pi(x,y)$. It introduces forward-backward bridging (FBB), an MCMC framework that casts conditioning as inference on an augmented space and alternates forward noising with backward bridging via a Gibbs sampler, allowing asymptotically exact conditioning without modifying the unconditional model beyond Monte Carlo error. The authors develop Gibbs-CSMC and PMCMC variants, with a separable-dynamics specialization enabling memory-efficient, in-place operation, and a pseudo-marginal implementation for unbiased marginal likelihood estimation. Empirical results across synthetic GP conditioning, non-separable Schrödinger-bridge settings, and inpainting/super-resolution tasks show improved sample quality and reduced bias compared with standard particle methods, highlighting the method’s versatility and practical impact for conditional diffusion-based inference. The approach provides a principled, scalable path to exact conditioning in diffusion models and related bridge-based generative frameworks, with potential extensions to broader inverse problems and nonlinear likelihoods.
Abstract
Given an unconditional diffusion model targeting a joint model $π(x, y)$, using it to perform conditional simulation $π(x \mid y)$ is still largely an open question and is typically achieved by learning conditional drifts to the denoising SDE after the fact. In this work, we express \emph{exact} conditional simulation within the \emph{approximate} diffusion model as an inference problem on an augmented space corresponding to a partial SDE bridge. This perspective allows us to implement efficient and principled particle Gibbs and pseudo-marginal samplers marginally targeting the conditional distribution $π(x \mid y)$. Contrary to existing methodology, our methods do not introduce any additional approximation to the unconditional diffusion model aside from the Monte Carlo error. We showcase the benefits and drawbacks of our approach on a series of synthetic and real data examples.
