Manuscript Offprint

arXiv:2610.03396

A Unified Framework for Bayesian Data Assimilation with Generative Models and Observation Interpolants

Nikolaj T. Mücke, Benjamin Sanderse

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

ABSTRACT

Bayesian data assimilation combines model forecasts with noisy observations, but sampling high-dimensional, non-Gaussian posteriors remains challenging. We introduce an observation-interpolant framework that turns pretrained stochastic interpolant, flow matching, and diffusion models into posterior samplers without retraining. Conditioning the interpolant path on observations yields a shared likelihood-score correction to the drift or velocity, unifying stochastic and deterministic posterior sampling. The resulting SDEs and ODEs sample the exact posterior when the intermediate likelihood score is known. For practical computation, we approximate this score using a closed-form Gaussian surrogate with a bias-corrected mean and covariance inflated by the model's source covariance. Jacobian-free and ensemble-shared approximations make the method tractable in high dimensions. We evaluate the framework on linear–Gaussian dynamics, stochastic two-dimensional Navier–Stokes, and urban airflow with up to O(104)\mathcal{O}(10^{4}) degrees of freedom.

1 INTRODUCTION

Data assimilation (DA) estimates unknown states of dynamical systems by combining prior model predictions with noisy observations. Bayesian DA combines these sources of information in a posterior distribution, which can be approximated by an ensemble of samples. Ensemble Kalman filters provide an efficient approximation but rely on Gaussian assumptions, whereas particle filters are more general but typically require many more samples (Evensen et al., 2022). Neural network surrogates can be used to accelerate the forward model (Mücke et al., 2024; Cheng et al., 2023; Chen et al., 2023), but the learned surrogates themselves are typically deterministic and therefore require a priori model-error distributions that are hard to specify for high-dimensional and nonlinear stochastic systems.

Generative models offer an alternative, by learning to sample directly from a distribution of interest. Two flow-based families dominate: stochastic interpolants (SIs) (Albergo et al., 2025; Albergo & Vanden-Eijnden, 2023; Chen et al., 2024), whose probability paths admit both ODE and SDE samplers, and flow matching (FM) (Lipman et al., 2023), which is typically sampled through a deterministic ordinary differential equation (ODE). Denoising diffusion (Ho et al., 2020; Song et al., 2021) corresponds to SDE sampling of an FM-type model. In DA, and posterior sampling in general, they are trained on the prior and modified at sampling time to incorporate observations. All three are increasingly applied to physical forecasting, yet methods for turning them into posterior samplers have been developed model by model, each tied to whether the generator is stochastic or deterministic.

A unified view. For data assimilation, we view stochastic interpolants, flow matching, and denoising diffusion as different samplers within one posterior-sampling framework, rather than distinct methods. Each can be described by an interpolant that connects a tractable source distribution to the transition

∗^{*}Corresponding author.

Figure

Figure 1: Unified posterior sampling for stochastic interpolants, flow matching, and diffusion models. Left: interpolating the observation yields closed-form guidance that steers the pretrained prior flow p(x1∣x0)p(\boldsymbol{x}_1 \mid \boldsymbol{x}_0) toward the posterior p(x1∣y,x0)p(\boldsymbol{x}_1 \mid \boldsymbol{y}, \boldsymbol{x}_0), without retraining. Right: the weighted guidance wτw_\tau shifts the prior drift to the posterior drift.

prior p(x1∣x0)p(\boldsymbol{x}_1 \mid \boldsymbol{x}_0) (Albergo et al., 2025; Lipman et al., 2023; Ma et al., 2024; Holderrieth et al., 2025). Given a pretrained model that samples from this prior, we modify its sampling dynamics to target p(x1∣y,x0)p(\boldsymbol{x}_1 \mid \boldsymbol{y}, \boldsymbol{x}_0) without retraining. Conditioning the interpolant on observations gives a common likelihood-score correction to its velocity or drift (Proposition B.1). Different choices of diffusion coefficient yield deterministic or stochastic samplers. Adjusting the drift accordingly preserves the conditioned interpolant's distribution at each pseudo-time, so all resulting samplers target the same posterior. In practice, one closed-form Gaussian surrogate approximates the likelihood score for all three. The samplers differ only in their diffusion coefficient and likelihood-score weighting (Figure 1).

Contributions. Our contributions are summarized as follows:

• Unified posterior-sampler family. One guidance term with weight wτ=κτ+12gτ2w_{\tau} = \kappa_{\tau} + \frac{1}{2} g_{\tau}^2 turns any interpolant-based generative model into a family of posterior samplers.

• Observation-interpolant likelihood surrogate. We interpolate the observation with the same schedules as the state and derive its exact conditional mean and covariance, including source-noise bias and covariance inflation. A Gaussian approximation then gives a common likelihood-score surrogate for all three samplers.

• Scalable covariance approximations. A Jacobian-free covariance and an ensemble-shared Jacobian make the sparse-observation regime feasible at field scale.

References (58)