arXiv:2610.20659stat.MLOct 2026

Manuscript Offprint

arXiv:2610.20659

Latent Annealed Posterior Sampling with a Variance-Preserving Bridge for Sparsely Observed Random Fields

Jiankun Lei, Tian Qi

Abstract

Posterior inference for random fields from sparse observations presents two major challenges: accurately characterizing complex spatial uncertainty and preventing conditional sampling costs from growing substantially as the spatial grid is refined. To address these challenges, we propose latent annealed posterior sampling (LAPS). LAPS first maps the random field into a latent space with reduced dimensionality, while a coordinate decoder composed of Branch and Trunk networks enables field evaluation at arbitrary spatial locations. Flow matching is then used to learn the latent prior distribution. Based on this learned prior, posterior sampling is performed entirely in the latent space, with the observation likelihood incorporated progressively through an annealing procedure. To control local covariance inflation, we introduce a variance-preserving (VP) bridge that allocates a covariance budget between the transported latent state and a Gaussian perturbation. Numerical experiments demonstrate that LAPS accurately approximates posterior distributions, preserves distinct posterior modes, and reduces the dependence of conditional sampling costs on spatial resolution. Across two Gaussian benchmarks, LAPS attains small errors against exact posterior references, with sliced Wasserstein distances only 2 to 3 percent higher than the reference values obtained from exact posterior samples. In a bimodal posterior problem, LAPS reduces the sliced Wasserstein distance from 0.2693 to 0.1499 and consistently recovers both modes across all test scenarios. For a two dimensional Navier–Stokes random field, LAPS substantially improves marginal posterior calibration, while its evaluation time remains nearly constant as the output grid is refined from 64264^{2} to 5122512^{2}. These results demonstrate that LAPS achieves a favorable tradeoff among posterior accuracy, uncertainty calibration, and computational efficiency.

Keywords: Random fields, Bayesian inference, Flow matching, Latent-variable models, Langevin dynamics, Uncertainty quantification

1. Introduction

Reconstructing a spatial field from a few noisy point measurements is a recurring task in science and engineering. Because sparse data are consistent with many fields, the quantity of interest is not a single reconstruction but the posterior distribution of the field given the data. The Bayesian formulation of such inverse problems is well established, both for discretized unknowns and directly on function spaces [1, 2]. In practice, two requirements compete: the prior must be expressive enough to describe realistic fields,

*Corresponding author

Email address: love2019@cxtc.edu.cn (Jiankun Lei) and the posterior must remain affordable to sample when one prior is reused across many observation sets and output resolutions.

Gaussian-process priors are the classical choice. Under a linear Gaussian observation model, their posterior is available in closed form [3]. For nonlinear likelihoods, Markov chain Monte Carlo (MCMC) methods formulated on function space remain efficient under mesh refinement [4], exploit the low-dimensional subspace informed by the data [5] and the local geometry of the posterior [6], and extend to certain non-Gaussian priors [7]. These classical formulations rely on tractable reference measures or specified prior structure; an implicit prior represented by a learned flow requires an additional conditioning construction. Fields with multimodal or otherwise strongly non-Gaussian laws, such as those generated by nonlinear dynamics, cannot be described by a covariance function alone, which motivates priors learned from data.

Learned stochastic-process models provide this expressiveness. Neural processes learn a map from context observations to predictive distributions [8, 9], and diffusion and flow-matching models have been formulated directly on function spaces [10, 11], where neural operators make them independent of the discretization [12, 13]. Such a prior can be sampled on any grid, but it is defined only implicitly, through a sampler or a learned velocity field, so conditioning it on new observations is a separate problem.

Two strategies address this problem. Amortized methods learn the conditional distribution itself [14, 15, 16], which fixes the observation model at training time. Likelihood-guided methods instead condition a reusable prior at test time. For diffusion priors in finite dimensions, posterior sampling steers the reverse process with the gradient of the likelihood [17], and this approach has been extended to function spaces [18]. Operator flow matching conditions through learned finite-dimensional densities [19], whereas Flow Annealing Posterior Sampling (FAPS) conditions a pretrained function-space flow prior without evaluating its density [20].

The cost of test-time conditioning is tied to the output grid whenever the Markov state and its covariance operations are kept on an explicit field discretization, as in the released FAPS implementation. Each update is repeated thousands of times per scenario, so the cost grows with the requested output resolution even when the observations are sparse. This is a limitation of the implementation class, not a lower bound for function-space samplers. A natural remedy is to carry out the repeated conditioning in a fixed-dimensional latent space and to reconstruct the field only once, at the end. Latent spaces already serve this purpose elsewhere: running generation in the latent space of an autoencoder is what makes high-resolution diffusion models affordable [21], operator learning gains accuracy and efficiency in a learned latent space [22], and deep generative models are established tools for inverse problems [23, 24, 25, 26]. The price is that the posterior is confined to what the generator can represent: representation error and dataset bias limit the solution [27], and errors in a learned prior carry over to the posterior [28]. For random fields, two questions therefore remain open: whether the separation of conditioning from the output grid can be specified precisely enough to predict a measurable cost, and how faithful the resulting posterior is when assessed against exact references rather than against other approximations.

To address these questions, we propose latent annealed posterior sampling (LAPS). A coordinate-based autoencoder with a Branch–Trunk decoder [29] represents each field by a fixed-dimensional latent code, and flow matching learns the prior over these codes [30, 31]. The transport–update–re-bridging cycle of FAPS then runs entirely in latent space: the likelihood evaluates the decoder only at the observation sites, and the output grid is evaluated once, after sampling. LAPS thus inherits the annealing principle of FAPS, and its central computational contribution is to separate repeated posterior conditioning from final field evaluation. The decoder also defines a single coherent field-level prior and posterior across coordinate sets, although this consistency alone does not guarantee that the learned law matches the original field distribution.

The annealing construction shared by the two methods raises a second issue. When the anchor of a local update already carries the prior covariance, the original local Gaussian kernel adds variance without reducing the contribution of the anchor. LAPS therefore uses a variance-preserving (VP) bridge, which allocates a single covariance budget, αk2+λk2=1\alpha_{k}^{2} + \lambda_{k}^{2} = 1, and fixes the two coefficients through the endpoint-to-noise ratio of the implemented path. For a general latent prior, the resulting covariance error separates into a mismatch of the transported anchor and a mismatch between the encoded and the generated covariance. This identity is local. The inherited annealing guarantee requires exact conditional draws, whereas LAPS uses approximate local targets and a finite number of Metropolis-adjusted Langevin (MALA) updates, and a matched covariance preserves neither non-Gaussian higher-order structure nor the invariance of the full recursion.

The experiments are organized around these distinctions. Exact Gaussian and mixture posteriors test distributional accuracy and the retention of two plausible field configurations, while Navier–Stokes fields test predictive accuracy and marginal calibration. Relative to FAPS, LAPS yields smaller errors against the exact references and better marginal calibration on Navier–Stokes, whereas FAPS attains a lower continuous ranked probability score (CRPS) and field error there. A resolution sweep assesses the dependence on final grid size within each implementation; cross-method timing ratios remain exploratory because the recorded devices and timing protocols are not fully matched. Likelihood-free checks examine local covariance preservation and the departure of the full recursion from invariance, and ablations paired over five training seeds separate the effect of the bridge coefficients from that of the annealing schedule. Direct MCMC under the same learned prior is comparably accurate on the one-dimensional benchmarks at a matched budget and less well calibrated on Navier–Stokes at the tested budget, so the experiments do not establish a general advantage of annealing. The main contribution is therefore a computationally separated latent posterior sampler for random fields; the VP bridge is a local covariance-control mechanism within that sampler, not a guarantee of uniformly improved accuracy or of full-recursion invariance. In summary, our contributions are as follows:

  1. We perform repeated annealed updates in a fixed-dimensional latent space, thereby decoupling posterior conditioning from the output resolution and limiting the growth of online sampling costs as the spatial resolution increases.

  2. We introduce a variance preserving bridge that prevents excess prior variance from accumulating during annealing. By maintaining a consistent variance budget across annealing levels, this approach improves posterior fidelity and yields uncertainty estimates that are substantially better calibrated against the reference posterior.

  3. We conduct numerical experiments on Gaussian, bimodal, and two dimensional Navier–Stokes random fields. The results show that LAPS accurately approximates posterior distributions, preserves multimodal structures, improves uncertainty calibration, and substantially reduces computational costs.

References (29)