TL;DR
Flow Annealing Posterior Sampling (FAPS) is a novel framework that unifies stochastic-process regression and PDE inverse problems using pretrained function-space flow-matching priors. By combining flow transport, re-bridging, and a low-rank covariance-preconditioned Langevin correction, FAPS achieves state-of-the-art posterior sampling performance with significantly lower computational cost and zero-shot super-resolution capabilities.
What Problem Does This Paper Address?
Scientific machine learning frequently requires inferring an entire unknown function or physical field from sparse, noisy observations—a task central to both functional regression and partial differential equation (PDE) inverse problems. For example, a scientist might want to reconstruct a continuous climate temperature field from a handful of weather stations or infer a fluid's initial velocity from sparse downstream measurements.
Traditional Gaussian Processes (GPs) struggle with non-Gaussian, high-dimensional data, while amortized methods like Neural Processes often fail to maintain consistency across variable query resolutions. Diffusion-based posterior samplers offer a solution but are computationally heavy and typically tied to fixed grids. The authors address the lack of a unified, flexible, and computationally efficient function-space posterior sampling framework that can leverage pretrained generative priors without explicit density evaluation.
Methods
FAPS builds on pretrained Operator Flow Matching (OFM) priors, which learn to transport a simple reference Gaussian measure to a complex target stochastic process. At test time, FAPS freezes this prior and performs posterior inference through a decoupled annealing procedure across a time schedule $0 = t_0 < t_1 < \dots < t_K = 1$:
- Flow Transport: Noisy samples at the current annealing level are pushed forward to the endpoint ($t=1$) using the learned flow to create a clean "anchor."
- Langevin Correction: A likelihood-guided Langevin step adjusts this anchor based on the observation operator. Crucially, FAPS introduces an empirical low-rank covariance preconditioner ($\mathcal{C}_X$) estimated offline from the prior. This ensures updates follow the dominant correlations of the function space rather than injecting pixel-wise white noise.
- Re-bridging: The corrected clean samples are mapped back to the next noisy annealing level using a transition bridge kernel.
This loop avoids explicit prior-density evaluation and allows the same prior to be used across different observation masks, noise levels, and discretizations without retraining.
Datasets
The authors evaluated FAPS across two primary problem domains:
- Functional Regression:
- 1D Matérn-kernel GP (stationary)
- 1D Gibbs-kernel GP (nonstationary)
- 2D Navier-Stokes vorticity fields ($64 \times 64$)
- Black hole imaging data ($64 \times 64$)
- Real-world global climate temperature fields on a spherical manifold mesh
- PDE Inverse Problems: Paired input and solution fields ($128 \times 128$) from the FunDPS benchmark, including:
- Darcy flow
- Poisson equation
- Helmholtz equation
- Non-bounded Navier-Stokes equations
Key Insights and Ideas
- Unified Observation Operator: By abstracting the task into a general observation operator ($y = \mathcal{A}(u_1) + \epsilon$), FAPS handles direct regression (where $\mathcal{A}$ is a mask) and PDE inverse problems (where $\mathcal{A}$ includes a forward neural operator surrogate) identically.
- Function-Space Awareness via Preconditioning: Standard Langevin corrections inject isotropic white noise, which introduces unrealistic high-frequency artifacts that forward PDE solvers are highly sensitive to. FAPS's low-rank preconditioner ensures that the noise injected during sampling matches the smooth, correlated nature of the underlying physical fields.
- Zero-Shot Super-Resolution: Because the underlying OFM prior operates in function space rather than on a fixed grid, FAPS can perform posterior inference on finer meshes (e.g., $160 \times 160$) than those seen during training without retraining the model.
Key Results
- Functional Regression: FAPS significantly outperformed Neural Process variants (CNP, ANP, NDP, FlowNP) on both stationary and nonstationary GP benchmarks, maintaining stable accuracy and uncertainty calibration as query resolution scaled up from 128 to 1024.
- PDE Inverse Problems: FAPS achieved competitive or superior performance compared to diffusion-based samplers (DiffusionPDE, FunDPS, DDIS) across all four PDE benchmarks.
- Computational Efficiency: FAPS delivered a 1.55x to 2.37x speedup over diffusion-based baselines at test time. Furthermore, compared to direct likelihood-based OFM posterior sampling, FAPS reduced peak memory usage by ~50x and runtime by ~29x by avoiding expensive divergence estimations.
Limitations and Future Work
- Local Gaussian Approximation: The framework relies on a local Gaussian approximation around the flow-predicted endpoint anchor during the Langevin step. While highly effective empirically, this may be less accurate for highly non-Gaussian local geometries.
- Theoretical Guarantees: Although the authors provide an error-propagation analysis (Lemma A.1) showing how local transition errors accumulate additively across annealing levels, a full non-asymptotic convergence theory for the practical sampler remains an open area for future research.
Summary updated