Feature Space Adaptation for Effortless Gaussian Process Flows

Thomas Cowperthwaite, Louis Sharrock, Lachlan Astfalck, Henry MossarXiv 2026

TL;DR

FeatureFlow scales Gaussian Process (GP) flows to high-resolution domains by shifting the sampling diffusion from function space to a low-dimensional feature space. This breakthrough enables the first practical hyperparameter optimization for GP flows and delivers orders-of-magnitude speedups for complex tasks like solving non-linear PDEs and processing millions of satellite observations.

What Problem Does This Paper Address?

Gaussian Processes are the gold standard for probabilistic modeling with calibrated uncertainty, but they struggle when "conditioning" (incorporating new information) involves non-linear or non-Gaussian constraints—such as physical laws (PDEs) or inequality constraints.

A recent approach called FlowGP solved this by using a diffusion-based "flow" to transport samples from a prior to a posterior. However, FlowGP has two major bottlenecks:

  1. Computational Cost: It operates on a fixed grid of $N$ points, requiring $O(N^3)$ matrix operations. This makes high-resolution modeling (like fine spatial grids) prohibitively expensive.
  2. Fixed Hyperparameters: Because the flow is so slow, there is no practical way to optimize kernel hyperparameters (like lengthscales). Users have to guess these values, often leading to poor model fit.

Methods

The authors introduce FeatureFlow, which re-imagines the sampling flow in the weight space of a finite-feature GP approximation rather than the function space.

  • Feature Space Diffusion: Instead of flowing $N$ function values, FeatureFlow evolves a vector of $R$ weights (where $R \ll N$). This decouples the cost of the sampling process from the resolution of the final output grid.
  • Matheron’s Rule Integration: Standard Gaussian data is incorporated exactly through a modified "decoder." This allows the flow to focus its computational "effort" solely on the difficult non-linear and non-Gaussian parts of the problem.
  • Hyperparameter Optimization: The authors derive a way to estimate the gradient of the marginal likelihood by measuring the "work" the diffusion does to satisfy constraints. This allows them to tune kernel parameters using standard optimizers like Adam for the first time in a GP flow context.
  • Analytic Derivatives: By using basis functions (like Random Fourier Features or Laplacian eigenfunctions), the model has access to exact analytic derivatives. This is a huge advantage for physics-informed tasks where finite-difference approximations of PDEs often introduce errors.
Schematic of FeatureFlow: RFF coefficients (a) and the functions they encode (b) evolve over diffusion time to satisfy a condition.

Datasets

The method was evaluated on three distinct challenges:

  1. Probabilistic Downscaling: A synthetic spatial task where high-resolution fields are recovered from coarse areal summary statistics (min/max) and sparse point observations.
  2. Allen-Cahn PDE: Solving a non-linear partial differential equation on an irregular, star-shaped domain.
  3. Sea Level Anomaly (SLA) Estimation: A real-world oceanography problem using data from the Integrated Marine Observing System (IMOS), Australia. This involved processing over 6 million radar observations to reconstruct sea-level fields.

Key Insights and Ideas

  • Resolution Independence: Because the flow happens in weight space, you can perform the inference once and then evaluate the resulting function at any number of locations without re-running the flow.
  • Physics by Construction: By choosing specific basis functions (like Laplacian eigenfunctions), the authors can bake boundary conditions (e.g., the function must be zero at the edges) directly into the model's DNA, rather than trying to enforce them as "soft" constraints.
  • The "Work" of Diffusion as Evidence: The most elegant theoretical contribution is showing that the energy required to steer the diffusion towards a constraint is a proxy for the model's evidence (marginal likelihood). This bridges the gap between generative diffusion models and classical Bayesian model selection.

Key Results

  • Massive Speedups: FeatureFlow achieved 100x to 1000x speedups over function-space flows at high resolutions. As shown in Figure 3(d), FeatureFlow scales linearly $O(N)$ with grid size, whereas the baseline scales cubically $O(N^3)$.
  • Superior Accuracy: In PDE tasks, FeatureFlow produced significantly lower residuals than standard GP flows (Figure 1d, h), largely because it avoids the discretization errors inherent in finite-difference methods.
  • Real-World Scalability: The model successfully inferred a sea-level field from over 6 million observations on a 69,081-point grid—a scale that is completely inaccessible to previous GP flow methods.
Comparison of setup wall-time showing FeatureFlow's linear scaling vs the cubic scaling of standard GP flows.

Limitations and Future Work

While powerful, FeatureFlow currently relies on stationary priors and requires an accurate finite basis approximation to work well. The authors also note that their "online" hyperparameter adaptation scheme, while fast, may introduce some bias compared to a full "outer-loop" optimization.

Future directions include extending the framework to non-stationary kernels and jointly estimating "nuisance" parameters in satellite data (like wind speed and wave height) alongside the primary sea-level field.

Summary updated

BibTeX
@misc{cowperthwaite2026feature,
  author = {Thomas Cowperthwaite and Louis Sharrock and Lachlan Astfalck and Henry Moss},
  title = {{Feature Space Adaptation for Effortless Gaussian Process Flows}},
  year = {2026},
  eprint = {2610.11459},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.11459},
}
Figure