Mamba Flow Matching Neural Processes: Linear-Time Inference for Irregularly Observed Spatial Fields
Cosmo Santoni, Giovanni Charles, Timothy James Hitge, Oliver Watson, Elizaveta Semenova
Abstract
Interpolating a spatial field, such as daily maximum temperature, from sparse, irregularly located observations recurs across the environmental and health sciences. Standard Gaussian-process kriging refits hyperparameters and solves an O(N3) system for every new field. When many related fields are observed, such as daily maps from one sensor network, neural processes (NPs) instead learn the interpolation map from past fields and predict a new field in one forward pass. Joint-predictive variants, which sample whole fields rather than independent per-location values, typically use self-attention over context and query points, costing O(K2) in the combined point count K and limiting practical use to a few thousand points. State-space models offer a linear-time alternative, but a direct state-space adaptation compresses the context into one hidden state before reading queries, reducing what the decoder sees. We propose MambaFlowNP, a linear-compute joint-predictive NP trained with conditional flow matching. A multi-directional Mamba-2 scan reads context and query tokens in one shared sequence, so each query's velocity is read from its own scan position rather than a compressed context summary, and because queries only read the scan state, predictions are consistent across query sets. MambaFlowNP is competitive with the strongest attention-based joint-predictive baselines on synthetic Matérn Gaussian-process benchmarks, and on regional to continental-scale NOAA temperature interpolation it attains the lowest RMSE and CRPS and near-nominal coverage on every tier, while running 114--784× faster than the strongest joint-predictive baseline. A single forward pass scales to 106 points on one NVIDIA L40S GPU in under a second. This makes joint prediction feasible for continental-scale, irregularly sampled sensor networks; predictive quality is evaluated up to K=5,580.
Create a lesson
Related papers
Late-Time Dynamics of Flow Matching: Distance Geometry and Learning
Shared title terminology · Umberto Biccari, Junqing Huang, Kang Liu et al.
Hierarchical Hybrid-Coordinate Flow Matching for Accurate and Physically Plausible Apo-to-Holo Protein Generation
Shared title terminology · Minjong Kim, Jaemin Sim, Dongwoo Kim et al.
GaLF-ST: Gaussian Latent Fields for Spatial Transcriptomics Reconstruction
Shared title terminology · Baichuan Yang, Yifan Luo, Yong Liu et al.
COMPASS: Cross-modal Observation with Multi-Path Adaptive Stopping and Selection for Early Time Series Classification
Shared title terminology · Cheng-En Chung, Yujia Wu, Oscar Tai-Yuan Chen et al.
Self-Supervised Learning with Recursive Quadrature Filters for Neural Time Series
Shared title terminology · Mirko Morello, Shivang Rawat, David J. Heeger
NitroGen: Observations on the Action Dynamics, Visual Instruction Following, and Spatial Exploration
Shared title terminology · Shengyuan Lin, Zhiling Li, Haoyu Nie et al.