arXiv:2610.13812cs.LGOct 2026

Manuscript Offprint

arXiv:2610.13812

Spanning Diffusion and Flow-based Posterior Sampling via Exact Gaussian Conditioning

Teo Deveney, Lea Bogensperger, Hok Shing Wong

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Flow-matching and diffusion models are increasingly used as priors for linear inverse problems, however, most methods are bespoke to one class of trajectory prior. Plug-and-play methods have been proposed, however these implicitly decorrelate the guided trajectory, resulting in broad priors that can struggle when data is sparse. This work proposes β\beta-Flow: a general plug-and-play method indexed by a correlation parameter β\beta that generalises over flow, diffusion, and decorrelated priors, and a confidence parameter κ\kappa that controls how strongly the path distribution is enforced. Each step requires only one forward evaluation of a denoising network, followed by a Gaussian conditioning step. This step is an exact Kalman update that is not dependent on network gradients. We show that many existing guided samplers can be interpreted as instances or approximations of our method, each implicitly using a different trajectory prior and operator in place of the Kalman gain. From this viewpoint, we provide a qualitative comparison of methods in terms of their implicit biases and assumptions. We demonstrate consistently state-of-the-art level performance across 7 inverse problems over 4 datasets in terms of PSNR and SSIM. Moreover, we demonstrate the utility of this prior control, by showing that confident high correlations (strict priors) work best when observations are less informative, while low correlation is preferred when observations are more informative, reflecting the complementary roles of the prior and likelihood in Bayesian inference.

1 INTRODUCTION

Flow-matching [1–3] and diffusion models [4, 5] generate data by transporting a simple noise distribution to the data distribution along a learned trajectory, deterministically or stochastically. This makes them natural priors for linear inverse problems. Given an observation y of a clean sample x0x_{0}

y=H(x0)+σyη,η∼N(0,I),(1)y=H(x_{0})+\sigma_{y}\eta,\qquad\eta\sim\mathcal{N}(0,I), \tag{1}

the aim is to draw samples, or compute a point estimate from the posterior p(x0∣y)p(x_0 \mid y).

A large body of work approaches this problem by steering the model's reverse trajectory towards y one step at a time. Most of these methods appear tailored to one model class, with likelihood score approximations common in diffusion models (DPS [6], IIGDM [7]), trajectory unrolling tied to flow-matching models (D-Flow [8]), and independent re-noising used in plug-and-play methods (PnP-Flow [9], Flower [10]). Consequently, a scheme developed for one does not naturally carry over to the other without changing its prior behaviour. In this paper, we propose a general conditioning method for guided sampling that generalises over flow, diffusion and independent re-noising priors.