Manuscript Offprint
arXiv:2611.26355Mamba Flow Matching Neural Processes: Linear-Time Inference for Irregularly Observed Spatial Fields
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Interpolating a spatial field, such as daily maximum temperature, from sparse and irregularly located observations is a recurring task across the environmental and health sciences. The standard tool, Gaussian-process kriging, refits hyperparameters and solves an 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 a single forward pass. Joint-predictive variants, which sample whole fields rather than independent values at each location, typically rely on self-attention over context and query points, incurring compute in the combined point count and capping practical use at a few thousand points. State-space models offer a linear-time alternative, but a direct state-space adaptation compresses the context into a single hidden state before reading queries, reducing the information available to the decoder. We propose MambaFlowNP, a joint-predictive NP with linear compute, trained with a conditional flow-matching objective. A multi-directional Mamba-2 scan reads context and query tokens in a single shared sequence, so each query’s velocity is read from its own scan position rather than from 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 across regional and continental-scale NOAA temperature interpolation tasks it attains the lowest RMSE, the lowest CRPS and near-nominal coverage on every tier, while running – faster than the strongest joint-predictive baseline. A single forward pass scales to points on one NVIDIA L40S GPU in under a second. This makes joint prediction computationally feasible for continental-scale, irregularly sampled sensor networks, with predictive quality evaluated up to .
1 Introduction
Modelling continuous spatial fields from discrete, scattered sensor data remains a fundamental challenge in spatial statistics and probabilistic machine learning. Examples include inferring temperature from weather stations (Vaughan et al., 2022), disease prevalence from sentinel sites (Weiss et al., 2025), and rainfall between rain gauges (Li et al., 2023). Gaussian-process kriging is the standard approach, but it refits hyperparameters and solves an system for every new field. When many related fields are observed, as with daily readings from a fixed sensor network, neural processes (Garnelo et al., 2018b, NPs;) cast this as amortised inference, in which the network is trained on many datasets drawn from a data-generating process and, given a new dataset, performs inference in a single forward pass without further optimisation. An episode is one dataset together with a random split into context observations and query locations at which values are to be predicted. Factorised NPs infer the parameters of an independent Gaussian distribution at each query (Garnelo et al., 2018a), whilst latent-variable NPs introduce a global latent variable (Garnelo et al., 2018b) through which all cross-query dependence passes. In contrast, a fully joint-predictive NP directly models the conditional distribution of the values at all query locations together, via autoregressive (Nguyen and Grover, 2022), diffusion (Dutordoir et al., 2023) or flow (Abu Hamad and Rosenbaum, 2025) parametrisations. Most existing fully joint-predictive instances employ self-attention over the concatenation of context and query locations, with compute scaling as , where . Flow Matching NP (FNP) (Abu Hamad and Rosenbaum, 2025) and Transformer NP (TNPA) (Nguyen and Grover, 2022) are representative, and FNP exhausts GPU memory at points and TNPA at (Table 8). As an alternative to self-attention transformers, state-space models (SSMs) such as Mamba-2 (Dao and Gu, 2024) run a recurrent scan in time, FLOPs, and activation memory. However, a naive adaptation of these models compresses the context into a single hidden state, a bottleneck that we show degrades accuracy on synthetic and NOAA tasks (§6.4).
MambaFlowNP (MFNP) avoids this compression by maintaining a hidden state at every token position throughout a multi-directional state-space scan (Figure 1). Context and query tokens share a single sequence, and the model predicts a flow-matching (Lipman et al., 2023; Liu et al., 2023) velocity at each query location. A single joint-predictive draw for all the query locations requires batched ODE integration of the velocity, which typically entails tens of network function evaluations (NFE) (Table 13). MFNP mitigates this cost via a single round of reflow distillation (Liu et al., 2023) to enable inference with only one NFE. As in latent-variable NPs, dependence between queries is carried by a shared latent, here a random-function initial condition transported by the learned flow (§4.3).
- Tokenisation2. Hilbert routing3. Distance-aware scan4. Fusion & outputFlow timeCoordinatesContextNoisy queriesTime embeddingTokeniseSort Sort Sort Sort Mamba-2 Mamba-2 Mamba-2 Mamba-2 (\times L)$$\delta_{d}$$\delta_{d}$$\delta_{d}$$\delta_{d}UnsortUnsortUnsortUnsortLinearmergeOutputprojection
Figure 1: MFNP parametrises the velocity field of §2.2 in four stages. The stages are tokenisation of context values and the noisy query slice with frozen Random Fourier Feature (RFF) coordinate embeddings; multi-directional Hilbert routing under ; distance-aware Mamba-2 scans modulated by an adaLN-Zero flow-time embedding ; and inverse-permutation fusion to per-query velocities. Trained with , reflow-distilled to a one-step Euler student, and CRPS fine-tuned. Full pipeline in Appendix B, Algorithm 1.
Figure 2: Per-episode latency vs. RMSE (left) and CRPS (right) on continental US NOAA (). Means SE over seeds at ; the hatched staircase is the empirical Pareto frontier. TNPA exceeds the per-cell budget (§5.3); Utah and California frontiers in Appendix F.
2 Background
2.1 Neural processes
A neural process defines a conditional distribution over target values at query locations , given a context of input–output pairs , . Let denote the total number of points. We tokenise each point separately, so is also the sequence length. Training is episodic. Each iteration samples a dataset from a stochastic process, partitions points into context and query, and fits the predictive distribution against the ground-truth query values. At test time, the context and query locations of a new dataset are passed through the trained model in a single forward pass. NPs do not specify an explicit prior and then apply Bayes’ rule; instead, they learn an implicit prior over functions from the data-generating stochastic process during episodic training, and the forward pass through acts as an amortised update producing an approximation to the posterior predictive over the query locations. We use predictive and posterior predictive interchangeably for this distribution.
2.2 Conditional flow matching and reflow distillation
Flow matching (Lipman et al., 2023; Albergo and Vanden-Eijnden, 2023; Liu et al., 2023) models approximate a velocity field that transports samples from a source distribution to the conditional data distribution , where denotes the neural process conditioning. Here equals the query values targeted by the predictive, so is indexed by the query locations. The velocity field is determined by a choice of conditional flow path or interpolant ,
where , , , and is the conditional velocity. Directly regressing a neural parametrisation to is intractable due to the marginalisation in the definition of . The conditional flow-matching loss is tractable and has the same gradient (Lipman et al., 2023),
with . Samples are drawn by integrating numerically (e.g. Euler). Drawing inspiration from work on data-dependent source distributions (Tong et al., 2024; Kollovieh et al., 2025), we use a query-geometry-dependent Gaussian source distribution , obtained by evaluating a random-feature Gaussian-process draw at the query locations. This gives a spatially correlated source, of rank at most , that shortens the transformation from source samples to smooth spatial fields (§4.2). The network also receives a per-draw latent and routing offset (§4), which we omit from the notation . The gradient equivalence above assumes a network without these inputs. With them, the minimiser of is rather than ; reflow and CRPS fine-tuning (§4.2) then fit the one-step map directly. We use the linear interpolant , , with conditional velocity . Although this conditional flow has straight trajectories, the underlying velocity field typically induces curved trajectories, leading to inaccurate results with few solver steps (Liu et al., 2023; Geng et al., 2025). To obtain high-quality samples with fewer steps, we use reflow distillation (Liu et al., 2023). A pre-trained teacher model generates coupled pairs, and the student model is optimised on against these couplings rather than independently drawn source and target samples. The full training pipeline is described in §5.2 and Appendix H.
3 Related work
Factorised and latent-variable NPs.
Conditional Neural Processes (Garnelo et al., 2018a) encode the context with a permutation-invariant set encoder and predict independent Gaussian distributions at query locations. Latent-variable NPs (Garnelo et al., 2018b) introduce dependence across queries through a shared Gaussian latent, trained under a variational ELBO. Attentive NP (Kim et al., 2019) replaces mean-pooling with cross-attention from each query to the context. Convolutional Conditional NPs (Gordon et al., 2020) use grid-based convolutions to encode translation equivariance, an inductive bias suited to stationary spatial fields. AR-CNP (Bruinsma et al., 2023) introduces cross-query dependence by sampling from a CNP autoregressively, requiring sequential forward passes for queries.
Joint-predictive NPs.
Gaussian NPs (Bruinsma et al., 2021) explicitly model cross-query correlations through a joint Gaussian predictive. TNPA (Nguyen and Grover, 2022) decodes queries autoregressively under causal self-attention. NDP (Dutordoir et al., 2023) and FNP (Abu Hamad and Rosenbaum, 2025) use transformer backbones trained with score-based diffusion (Song et al., 2021) and flow-matching (Lipman et al., 2023) objectives, respectively. In these transformer models, self-attention incurs compute per network evaluation. Spatial coordinates enter through token embeddings, whereas MFNP also uses them to determine the scan order.
Mamba on point sets.
Mamba (Gu and Dao, 2023) and Mamba-2 (Dao and Gu, 2024) introduced selective state-space models with input-dependent gating and computational cost linear in sequence length. VMamba (Liu et al., 2024) scans regular image grids in four directions. MFNP adapts this four-direction scheme to irregular point sets through two Hilbert orderings and their reversals. PointMamba (Liang et al., 2024) serialises 3D point clouds along Hilbert curves for supervised shape analysis, while Voxel Mamba (Zhang et al., 2024) applies Hilbert serialisation to sparse voxels for 3D detection. These methods use spatial scans for visual recognition tasks. MFNP applies multi-directional scans to amortised joint-predictive inference for continuous 2D fields, with episodic training over varying numbers of context and query points .
Scalable GPs and spatial statistics.
Exact GP inference for kriging requires an covariance factorisation for observed locations. Sparse variational GPs (Titsias, 2009), Vecchia approximations and nearest-neighbour GPs (Vecchia, 1988; Datta et al., 2016), and structured kernel interpolation (Wilson and Nickisch, 2015) reduce this computational burden, and the SPDE approach represents Matérn fields as sparse Gaussian Markov random fields (Lindgren et al., 2011). These approaches make inference within an individual field more tractable, but each still fits hyperparameters per field. NPs amortise inference across fields. Episodic training learns a map from context observations to a predictive distribution, which can then be applied to a new field without further optimisation.
In-context learning and prior-fitted networks.
NPs learn to infer from context observations without updating their parameters at test time. Prior-fitted networks (Müller et al., 2022) similarly train transformers on datasets sampled from a prior to approximate the posterior predictive. Mamba has also been shown to learn regression tasks in context (Grazzi et al., 2024).
MFNP builds on established components, namely Mamba-2 scans (Dao and Gu, 2024), Hilbert serialisation (Liang et al., 2024; Zhang et al., 2024), conditional flow matching (Lipman et al., 2023), GP-based source distributions (Kollovieh et al., 2025), and reflow distillation (Liu et al., 2023). Our contributions are the shared context–query scan for joint-predictive neural processes and the analysis of how scan routing affects predictive performance.
4 MambaFlowNP
MFNP processes irregularly placed observations in one or two dimensions with an neural recurrence. A direct SSM-based NP adaptation compresses the context into a single fixed-dimensional hidden state and conditions a query decoder on that state. MFNP avoids the compression by maintaining a hidden state at every token position throughout the scan. Context and query tokens share the sequence, so each query is decoded from its own position. The single-state ablation forces the context through one hidden vector before reading queries (§6.4).
4.1 Architecture
For each joint draw, a shared latent determines the random initial values at the query locations and conditions the network. Given the current query values , flow time and context , the network computes the velocity in the four stages shown in Figure 1.
(1) Tokenise. For each point, we concatenate a coordinate embedding computed using frozen Random Fourier Features (Rahimi and Recht, 2007) with its scalar value, which is the observed value at a context point or at a query. Context and query tokens use separate linear projections.
(2) Route. We use Hilbert curves (Sagan, 1994; Butz, 1971) to order the combined context and query points so that nearby locations tend to remain close in the sequence. Two orderings, and , use the original and swapped coordinate axes. Together with their reversals, they form
A shared random offset shifts the routing grid to reduce artefacts at fixed curve boundaries. In one dimension, we scan points in ascending and descending coordinate order, repeating these two orderings to fill the four direction slots (Appendix B).
(3) Scan. A Mamba-2 block propagates information through a recurrent hidden state. Context tokens write to the recurrent state. Query tokens read the state at their own positions but do not write to it, since they enter the scan with zero input and zero step size; the block has no short convolution. A single -layer stack of Mamba-2 blocks, with parameters shared across directions, processes each direction-permuted sequence. Every block is conditioned through adaLN-Zero (Peebles and Xie, 2023) on the flow time and the shared latent . Its state-update gate also uses the distance to the nearest preceding context point in the scan order.
(4) Fuse and read out. The per-direction hidden states are restored to the original point order and linearly fused, and a final adaLN-conditioned projection maps each query’s fused state to its velocity. Implementation settings and the full forward pass are given in Appendix B, Algorithm 1.
4.2 Training and sampling
Random-function source distribution. Each draw samples a latent and sets
where is a fixed -dimensional random Fourier feature map. This is the source of §2.2. It evaluates the same random function at every query location, providing spatially dependent initial values. It replaces the standard draw in the CFM loss and at inference (Algorithms 2 and 3).
Flow matching and distillation. We first train a teacher using the conditional flow-matching objective in §2.2. The teacher then generates paired initial and final samples for one round of reflow distillation. The resulting student generates a joint draw with one Euler step, requiring a single network evaluation (Appendix H).
CRPS fine-tuning. On NOAA, a short final stage fine-tunes the student on the continuous ranked probability score of its own one-step samples. For each training episode, we draw samples at every query and minimise the fair CRPS (Gneiting and Raftery, 2007; Ferro, 2014)
averaged over queries. The stage early-stops on the CRPS of held-out validation episodes (Appendix A). Baselines do not receive this stage.
4.3 Properties and computational cost
For distinct Hilbert sort keys, deterministic sorting makes MFNP invariant to context-row permutations and equivariant to query-row permutations.
It is also consistent under query-set marginalisation. Queries only read the scan state, and all randomness shared between queries is the latent and offset of each draw, so each draw is one random function of the context evaluated at the queries. The joint predictive over any query set therefore has at most degrees of freedom, as in latent-variable NPs. For the same context, latent and offset, adding, removing, or chunking queries leaves the values at the other locations unchanged, and, given the context, the predictive defines a Kolmogorov-consistent stochastic process over query locations. Recent transformer NPs relax this property for efficiency (Hassan et al., 2026; Mortimer et al., 2026). Because queries do not write to the scan state, the context states can be computed once and reused across query sets for a fixed draw and flow time.
Figure 3: End-to-end sampling latency vs. (log–log) on 2D Gaussian Matérn-, batch, (1-NFE Euler for MFNP; published step count per baseline). Colour gives the model class; a short dashed line through a curve’s last point means the next runs out of memory. Numbers in Table 8.
Inference complexity. The random-function source costs , which is linear in the query count for fixed feature dimension . The Mamba-2 recurrence has computational complexity in sequence length by construction. The routing permutations are obtained by sorting Hilbert keys, also in the operating regime (Appendix C). Each forward pass therefore costs for fixed feature dimension, state size and depth.
5 Experimental setup
5.1 Tasks
Synthetic Gaussian processes.
Each episode draws from a fresh GP, following the standard settings of TNP (Nguyen and Grover, 2022). 1D tasks sample points uniformly in ; 2D tasks sample points uniformly in . The simulator draws a latent field and observations , . Kernel hyperparameters are resampled per episode from and , with , so the model must infer smoothness and amplitude from context. Context and query sizes vary per episode with and . We use RBF, Matérn- , and Matérn- kernels in 1D, and Matérn- in 2D.

Figure 4: Continental US () posterior on a held-out date, context/query split. Top, truth and MFNP posterior mean (red dots are context stations), interpolated for display. Bottom, MFNP absolute error averaged over the query stations in each km hexagon (grey hexagons hold none), with the per-station histogram as legend and the RMSE dashed. Population-averaged accuracy in Figure 5.
NOAA temperature interpolation.
We use daily maximum temperature (TMAX) records from the NOAA Global Historical Climatology Network (Menne et al., 2012b; Menne et al., 2012a) over 2005-01-01 to 2024-12-31, split temporally into train ( 2016), validation (2017–2019), and test (2020–2024) sets. These cover Utah (), California () and the continental US (), three geographic tiers of increasing extent. The same station set is reused across splits, so generalisation is across dates rather than locations; the task is therefore infilling at stations seen during training. Each NOAA episode draws a date uniformly from the appropriate split and partitions that date’s observed stations at random into context and query. Coordinate projection, station selection, and target scaling are in Appendix A.
Table 1: 1D and 2D Gaussian Matérn- (, ). MSE, CRPS (); C2ST (target ); coverage (target nominal); time = per-episode ms, MFNP and baselines on one NVIDIA L40S. Mean SE over 10 evaluation seeds; bold = best per column (within 1 SE). † our method; full kernel sweep in Appendix D.
| Predictive Quality | Calibration Quality | ||||
|---|---|---|---|---|---|
| Model | MSE | CRPS | C2ST | Cov-95 | Time (ms) |
| 1D Gaussian – Matérn- () | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† | |||||
| 2D Gaussian – Matérn- () | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† |
5.2 Training
MFNP trains a CFM teacher for k steps and a reflow student for a further k steps. On NOAA, this is followed by the CRPS fine-tuning stage of §4.2. On Utah, California and the US, the student trains on , and teacher couplings. CRPS fine-tuning uses batches of , and episodes with , and samples per episode, a learning rate of scaled by the square root of the batch size relative to ; it is scored on validation episodes from 2017–2019 every steps, stops after evaluations without improvement or at k steps, and keeps the best weights. Baselines train for k steps with no student or CRPS phase; on NOAA, MFNP receives up to k optimiser updates in total. Per-cell hyperparameters (hidden size, depth, learning rate, batch size) come from Bayesian-optimisation sweeps on validation MSE, with a single training run at the BO-best configuration. Optimiser and schedule are shared across models (AdamW, warmup-cosine to , EMA ); per-cell values and the BO protocol are in Appendix A, and the reflow coupling and solver details are in Appendix H. All training and evaluation run on NVIDIA L40S GPUs. Each (model, task) cell is capped at GPU-hours covering training and all evaluation seeds; cells exceeding the cap are reported as t/o.
5.3 Evaluation protocol
Metrics. Predictive quality is scored by mean-squared error (MSE) on the predictive mean and the continuous ranked probability score (CRPS) (Gneiting and Raftery, 2007), each averaged over draws per target shared across methods to control the bias in the standard empirical CRPS estimator. Calibration is scored by the classifier two-sample test (C2ST) (Lopez-Paz and Oquab, 2017) against GP reference draws (synthetic only) and the empirical coverage of the central interval of the samples, both computed at each query location and averaged over locations. All numbers are mean one standard error across evaluation seeds for a single trained model per cell, each covering synthetic episodes or NOAA episodes on a fresh date; evaluation sets are cached so every method sees identical test data.
Latency. Per-episode wall-clock is the median of timed forward passes after warm-ups on a single NVIDIA L40S, each pass a full -draw call on one held-out episode, that is, the time to generate joint predictive draws over all query locations. Timings include the Hilbert sort. MFNP times use the release sampler, routing offsets of draws each. Each method runs its deployment configuration. MFNP uses 1-NFE Euler from the reflow student, FNP and NDP use their published ODE/diffusion step counts, and TNPA uses autoregressive decoding. TNPA at NOAA US () is reported as t/o because its serial-within-a-draw decoding exceeds the per-cell budget by an order of magnitude (Appendix A).
6 Results
6.1 Synthetic Gaussian processes
MFNP is competitive with the strongest joint-predictive baselines on predictive quality at matched point counts and is – faster (Table 1; full kernel sweep in Appendix D). On 1D Matérn-, MFNP matches TNPA on MSE within one SE and FNP on CRPS, at ms per episode against ms for TNPA. On 2D Matérn-, MFNP records higher MSE than FNP at lower latency. MFNP coverage stays within three points of on the Matérn kernels and nine points on RBF, whereas FNP under-covers by – points and NDP over-covers.
Table 2: NOAA temperature interpolation on Utah (), California (), and the continental US (); joint-predictive baselines only (full table with factorised baselines in Table 9). MSE (°C)2, RMSE, CRPS °C (); Cov-95 (target ); C2ST omitted (no tractable reference posterior on real fields); time = per-episode ms on one NVIDIA L40S. Mean SE over 10 evaluation seeds, denormalised scale; bold = best per column within tier (within 1 SE). † our method.
| Predictive Quality | Calibration | ||||
|---|---|---|---|---|---|
| Model | MSE (°C)2 | RMSE (°C) | CRPS (°C) | Cov-95 | Time (ms) |
| NOAA Utah () | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† | |||||
| NOAA California () | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† | |||||
| NOAA US () | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | t/o | t/o | t/o | t/o | t/o |
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† |
6.2 NOAA temperature interpolation
MFNP attains the lowest RMSE and CRPS on every tier and runs – faster than the strongest transformer baseline (Table 2; factorised baselines and per-tier Pareto frontiers in Appendix F). Its predictive coverage is closest to nominal among the evaluated joint-predictive models, reaching on Utah, in California and across the continental US. The respective contributions of distillation and architecture to the speedup are examined in §6.3.
Exact, sparse and nearest-neighbour GPs fit to each episode serve as spatial references, with MSE – that of MFNP and Cov-95 of – (Table 10). A representative prediction on the continental US is shown in Figure 4.
6.3 Computational scaling
End-to-end sampling. MFNP reaches in under a second on one NVIDIA L40S. We measure the time to generate one joint predictive draw (, batch) on 2D Gaussian Matérn-, using each method’s deployment configuration (Figure 3, Table 8). FNP and NDP exhaust memory by , and TNPA exhausts memory by . Even before reaching its memory limit, TNPA takes s at and hours at .
Reflow versus architecture. To separate the effect of fewer sampling steps from the cost of each forward pass, we compare the architectures at matched 1-NFE and parameter count (Figure 10, Appendix H). MFNP, FNP, and NDP share a – ms dispatch floor for , so the order-of-magnitude speedup at small and moderate is attributable to reflow distillation. At larger , quadratic attention becomes more expensive and eventually exceeds the memory budget, while MFNP retains linear-time computation. Both effects contribute to the – speedup over NDP and FNP on NOAA US (Table 2). At the US tier, NDP and FNP fit the per-GPU memory budget only via sample-axis chunking, which preserves their predictive distribution while retaining the quadratic per-step cost in the point count.
6.4 Ablations
Each row of Table 11 changes one model component (Appendix G).
Context compression. Compressing the context into a single state gives – higher MSE than the full model on synthetic tasks and – higher MSE on NOAA. These results support decoding queries from states at their own scan positions rather than from one terminal context state.
Spatial routing. Random ordering raises MSE by – on synthetic tasks and – on NOAA (Table 11). Reducing the -direction routing to one direction inflates MSE by –; using two directions increases MSE by – on the headline NOAA tiers while using – of the runtime, and matches or improves on the full model’s synthetic MSE.
Morton and lexicographic curves give and lower MSE than the Hilbert curve on 2D synthetic data, and lexicographic ordering raises CRPS by (Table 12). The boundary diagnostic gives comparable boundary-to-interior MSE ratios for MFNP and FNP, with versus on Utah and versus on California (Appendix I).
Sampling. The deployment configuration uses one-step Euler sampling from the reflow-distilled student. The teacher–student and solver comparisons are reported in Table 13 (Appendix H). On the student, multi-step solvers do not reduce MSE on any task. On 2D Matérn-, -step Euler gives an MSE of and a CRPS of , against and for one-step Euler, and - and -step Euler take and times as long. Heun-1 inflates NOAA MSE by – over Euler-1 and is not used.
7 Conclusion
MambaFlowNP combines joint prediction on irregular spatial point sets with computation per forward pass. Reflow distillation enables one-pass sampling. Across the three NOAA tiers, MFNP attains the lowest RMSE and CRPS among the evaluated joint-predictive models, with near-nominal coverage and – lower latency than the strongest transformer baseline. On synthetic Gaussian processes, it matches TNPA’s MSE within one SE on 1D Matérn- and runs – faster than TNPA and FNP on Matérn-. A single forward pass at points completes in under a second on one NVIDIA L40S GPU, demonstrating the computational feasibility of joint prediction over large, irregular spatial point sets.
Limitations.
MFNP targets irregular point sets. On regularly gridded domains, convolutional NPs and FFT-based GP solvers exploit grid structure directly and are typically more efficient. At small () MFNP’s per-call dispatch floor leaves it slower than the simplest factorised NPs (Tables 7 and 9). Its scaling advantage over quadratic attention emerges at larger point counts. We evaluate one- and two-dimensional inputs only; space–time inputs need one extra coordinate in the Hilbert ordering, such as a three-dimensional curve over , and we leave their evaluation to future work.
Reflow distillation adds a coupled-pair generation pass to the training pipeline that single-stage baselines do not incur. The reported inference speedups combine the effects of distillation and the architecture.
Our real-data evaluation is limited to one dataset and one variable, NOAA daily maximum temperature. The split is temporal within a fixed station network, and transfer to held-out regions remains untested. Evaluation against scalable spatial baselines is incomplete, as structured kernel interpolation, local kriging, graph-based methods and AR-ConvCNP (Bruinsma et al., 2023) remain to be tested. Predictive quality at points is also unestablished.
Code and reproducibility.
MambaFlowNP code, trained weights, and training and evaluation scripts for the three NOAA tiers are available at https://github.com/CosmoNaught/MambaFlowNP.
Acknowledgments and Disclosure of Funding
CS was supported by the Wellcome Trust (226072/Z/22/Z). GC’s research was funded in whole, or in part, by the Wellcome Trust (220900/Z/20/Z). TJH and OJW acknowledge support from the Academy of Medical Sciences, the Wellcome Trust, the Government Department of Science, Innovation and Technology, the British Heart Foundation and Diabetes UK (Springboard Award SBF0010\1221). OJW is also supported by an Imperial College Research Fellowship sponsored by Schmidt Sciences. ES acknowledges support in part from the AI2050 program at Schmidt Sciences (Grant G-22-64476). All authors acknowledge funding from the Medical Research Council (MRC) Centre for Global Infectious Disease Analysis (reference MR/X020258/1), funded by the United Kingdom MRC. We thank Richard E. Turner and Cristiana-Diana Diaconu for generously sharing their time and for insightful discussions on neural processes and state-space models during the development of this work. We thank the Research Software for Infectious Disease Epidemiology (RESIDE) team at Imperial College London for access to their computing cluster. The GPU compute was funded by MRC Mid-Range Equipment Funding (UKRI2681). For the purpose of open access, the authors have applied a CC BY public copyright licence to any Author Accepted Manuscript version arising from this submission.
References
H. Abu Hamad and D. Rosenbaum Flow matching neural processes. In Advances in Neural Information Processing Systems, Cited by: §1, §3.
M. S. Albergo and E. Vanden-Eijnden Building normalizing flows with stochastic interpolants. In International Conference on Learning Representations, Cited by: §2.2.
W. P. Bruinsma, J. Requeima, A. Y. K. Foong, J. Gordon, and R. E. Turner The Gaussian neural process. In Advances in Approximate Bayesian Inference, Cited by: §3.
W. P. Bruinsma, S. Markou, J. Requeima, A. Y. K. Foong, T. R. Andersson, A. Vaughan, A. Buonomo, J. S. Hosking, and R. E. Turner Autoregressive conditional neural processes. In International Conference on Learning Representations, Cited by: §3, §7.
A. R. Butz Alternative algorithm for Hilbert’s space-filling curve. IEEE Transactions on Computers C-20 (4), pp. 424–426. Cited by: §4.1.
T. Dao and A. Gu Transformers are SSMs: generalized models and efficient algorithms through structured state space duality. In International Conference on Machine Learning, Cited by: §1, §3, §3.
A. Datta, S. Banerjee, A. O. Finley, and A. E. Gelfand Hierarchical nearest-neighbor Gaussian process models for large geostatistical datasets. Journal of the American Statistical Association 111 (514), pp. 800–812. Cited by: Appendix F, §3.
V. Dutordoir, A. Saul, Z. Ghahramani, and F. Simpson Neural diffusion processes. In International Conference on Machine Learning, pp. 8990–9012. Cited by: §1, §3.
C. A. T. Ferro Fair scores for ensemble forecasts. Quarterly Journal of the Royal Meteorological Society 140 (683), pp. 1917–1923. Cited by: §4.2.
M. Garnelo, D. Rosenbaum, C. J. Maddison, T. Ramalho, D. Saxton, M. Shanahan, Y. W. Teh, D. J. Rezende, and S. M. A. Eslami Conditional neural processes. In International Conference on Machine Learning, pp. 1704–1713. Cited by: §1, §3.
M. Garnelo, J. Schwarz, D. Rosenbaum, F. Viola, D. J. Rezende, S. M. A. Eslami, and Y. W. Teh Neural processes. In ICML Workshop on Theoretical Foundations and Applications of Deep Generative Models, Cited by: §1, §3.
Z. Geng, M. Deng, X. Bai, J. Z. Kolter, and K. He Mean flows for one-step generative modeling. arXiv preprint arXiv:2505.13447. Cited by: §2.2.
T. Gneiting and A. E. Raftery Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association 102 (477), pp. 359–378. External Links: Document Cited by: §4.2, §5.3.
J. Gordon, W. P. Bruinsma, A. Y. K. Foong, J. Requeima, Y. Dubois, and R. E. Turner Convolutional conditional neural processes. In International Conference on Learning Representations, Cited by: §3.
R. Grazzi, J. Siems, S. Schrodi, T. Brox, and F. Hutter Is Mamba capable of in-context learning?. In International Conference on Automated Machine Learning, Cited by: §3.
A. Gu and T. Dao Mamba: linear-time sequence modeling with selective state spaces. arXiv preprint arXiv:2312.00752. Cited by: §3.
C. H. Hamilton and A. Rau-Chaplin Compact Hilbert indices: space-filling curves for domains with unequal side lengths. Information Processing Letters 105 (5), pp. 155–163. Cited by: Appendix C.
C. Hassan, N. Loka, C. Li, D. Huang, P. E. Chang, Y. Yang, F. Silvestrin, S. Kaski, and L. Acerbi Efficient autoregressive inference for transformer probabilistic models. In International Conference on Learning Representations, Cited by: §4.3.
H. Kim, A. Mnih, J. Schwarz, M. Garnelo, A. Eslami, D. Rosenbaum, O. Vinyals, and Y. W. Teh Attentive neural processes. In International Conference on Learning Representations, Cited by: §3.
M. Kollovieh, M. Lienen, D. Lüdke, L. Schwinn, and S. Günnemann Flow matching with Gaussian process priors for probabilistic time series forecasting. In International Conference on Learning Representations, Cited by: §2.2, §3.
J. Li, Y. Shen, L. Chen, and C. W. W. Ng Rainfall spatial interpolation with graph neural networks. In Database Systems for Advanced Applications (DASFAA), Lecture Notes in Computer Science, Vol. 13946, pp. 175–191. External Links: Document Cited by: §1.
D. Liang, X. Zhou, W. Xu, X. Zhu, Z. Zou, X. Ye, X. Tan, and X. Bai PointMamba: a simple state space model for point cloud analysis. In Advances in Neural Information Processing Systems, Cited by: Appendix G, §3, §3.
F. Lindgren, H. Rue, and J. Lindström An explicit link between Gaussian fields and Gaussian Markov random fields: the stochastic partial differential equation approach. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 73 (4), pp. 423–498. Cited by: §3.
Y. Lipman, R. T. Q. Chen, H. Ben-Hamu, M. Nickel, and M. Le Flow matching for generative modeling. In International Conference on Learning Representations, Cited by: §1, §2.2, §2.2, §3, §3.
X. Liu, C. Gong, and Q. Liu Flow straight and fast: learning to generate and transfer data with rectified flow. In International Conference on Learning Representations, Cited by: §1, §2.2, §2.2, §3.
Y. Liu, Y. Tian, Y. Zhao, H. Yu, L. Xie, Y. Wang, Q. Ye, J. Jiao, and Y. Liu VMamba: visual state space model. In Advances in Neural Information Processing Systems, Cited by: §3.
D. Lopez-Paz and M. Oquab Revisiting classifier two-sample tests. In International Conference on Learning Representations, Cited by: §5.3.
M. J. Menne, I. Durre, B. Korzeniewski, S. McNeill, K. Thomas, X. Yin, S. Anthony, R. Ray, R. S. Vose, B. E. Gleason, and T. G. Houston Global historical climatology network - daily (GHCN-daily), version 3. NOAA National Climatic Data Center. External Links: Document Cited by: NeurIPS Paper Checklist, §5.1.
M. J. Menne, I. Durre, R. S. Vose, B. E. Gleason, and T. G. Houston An overview of the global historical climatology network-daily database. Journal of Atmospheric and Oceanic Technology 29 (7), pp. 897–910. External Links: Document Cited by: NeurIPS Paper Checklist, §5.1.
D. Merrill CUB: Cooperative primitives for CUDA C++. Note: https://github.com/NVIDIA/cccl Cited by: Appendix C.
B. Moon, H. V. Jagadish, C. Faloutsos, and J. H. Saltz Analysis of the clustering properties of the Hilbert space-filling curve. IEEE Transactions on Knowledge and Data Engineering 13 (1), pp. 124–141. Cited by: Appendix C.
P. Mortimer, C. Diaconu, T. Rochussen, B. Mlodozeniec, and R. E. Turner Incremental transformer neural processes. In International Conference on Machine Learning, Cited by: §4.3.
S. Müller, N. Hollmann, S. Pineda Arango, J. Grabocka, and F. Hutter Transformers can do Bayesian inference. In International Conference on Learning Representations, Cited by: §3.
T. Nguyen and A. Grover Transformer neural processes: uncertainty-aware meta learning via sequence modeling. In International Conference on Machine Learning, pp. 16569–16594. Cited by: §1, §3, §5.1.
W. Peebles and S. Xie Scalable diffusion models with transformers. In International Conference on Computer Vision, pp. 4195–4205. Cited by: §4.1.
A. Rahimi and B. Recht Random features for large-scale kernel machines. In Advances in Neural Information Processing Systems, Cited by: Appendix B, §4.1.
H. Sagan Space-filling curves. Universitext, Springer. Cited by: Appendix C, §4.1.
C. Santoni Compiler-first state space duality and portable autoregressive caching for inference. arXiv preprint arXiv:2603.09555. Cited by: Appendix B.
Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, Cited by: §3.
M. Titsias Variational learning of inducing variables in sparse Gaussian processes. In Proceedings of the Twelfth International Conference on Artificial Intelligence and Statistics, pp. 567–574. Cited by: Appendix F, §3.
A. Tong, K. Fatras, N. Malkin, G. Huguet, Y. Zhang, J. Rector-Brooks, G. Wolf, and Y. Bengio Improving and generalizing flow-based generative models with minibatch optimal transport. Transactions on Machine Learning Research. Cited by: §2.2.
A. Vaughan, W. Tebbutt, J. S. Hosking, and R. E. Turner Convolutional conditional neural processes for local climate downscaling. Geoscientific Model Development 15 (1), pp. 251–268. External Links: Document Cited by: §1.
A. V. Vecchia Estimation and model identification for continuous spatial processes. Journal of the Royal Statistical Society: Series B (Methodological) 50 (2), pp. 297–312. Cited by: Appendix F, §3.
D. J. Weiss, P. A. Dzianach, A. Saddler, J. Lubinda, A. Browne, M. McPhail, S. F. Rumisha, F. Sanna, Y. Gelaw, J. B. Kiss, S. Hafsia, R. Jayaseelen, H. S. Baggen, P. Amratia, A. Bertozzi-Villa, O. Nesbit, J. Whisnant, K. E. Battle, M. Nguyen, K. A. Alene, E. Cameron, M. A. Penny, S. Bhatt, D. L. Smith, T. L. Symons, J. F. Mosser, C. J. L. Murray, S. I. Hay, and P. W. Gething Mapping the global prevalence, incidence, and mortality of Plasmodium falciparum and Plasmodium vivax malaria, 2000–22: a spatial and temporal modelling study. The Lancet 405 (10483), pp. 979–990. External Links: Document Cited by: §1.
A. G. Wilson and H. Nickisch Kernel interpolation for scalable structured Gaussian processes (KISS-GP). In International Conference on Machine Learning, pp. 1775–1784. Cited by: §3.
G. Zhang, L. Fan, C. He, Z. Lei, Z. Zhang, and L. Zhang Voxel Mamba: group-free state space models for point cloud based 3D object detection. In Advances in Neural Information Processing Systems, Cited by: §3, §3.
Appendix A Hyperparameters
All models train with AdamW (weight decay , the optax default; gradient clip ), a warmup-cosine learning-rate schedule (linear warmup over steps, cosine decay to ), and EMA weights (). Per-model hyperparameters come from a two-phase Bayesian-optimisation sweep, with a -trial coarse pass plus a -trial narrowed pass around the coarse optimum, giving trials per (model, task) cell, each optimising validation MSE. On the synthetic tasks, MFNP is tuned by one Bayesian-optimisation sweep of to trials per task over hidden width, state size, depth, RFF frequencies and bandwidth, learning rate and batch size, each trial trained for k flow-matching and k reflow steps and scored by validation MSE on fixed episodes drawn from the task prior, and the best configuration is retrained with the full budget.
Latency methodology (§5.3).
Baselines retain their authors’ attention implementations; the additive context–query mask routes PyTorch SDPA to the memory-efficient kernel rather than FlashAttention, so reported OOM thresholds reflect -memory attention. TNPA’s autoregressive decoder runs sequential self-attention passes per draw and is serial within a draw, so sample chunking cannot reduce its cost; on NOAA US the projected per-seed runtime exceeds the per-cell budget by an order of magnitude.
NOAA preprocessing (§5.1).
The Utah tier spans –N, –W; California spans –N, –W. Stations are kept if they report on at least of train-window days, with top-coverage fallback to the per-tier cap. Station coordinates are equirectangular-projected to kilometres and axis-wise min-max scaled to ; observations pass through a Gaussian quantile transform fit on the train window, with metrics reported on the denormalised °C scale.
Table 3: Best per-cell hyperparameters on the 1D synthetic Gaussian tasks (). Architecture. hidden width; Mamba state / NP latent width; blocks; transformer heads or MFNP RFF frequencies; transformer FFN width. Training. AdamW lr , batch , optimiser steps (CFM teacher reflow for MFNP). Inference. integration / diffusion steps; NDP guidance scale (jointly tuned with architecture in BO on synthetic tasks, and set by a post-hoc grid sweep on a fixed checkpoint on NOAA, selected to minimise validation MSE). Dashes mark N/A. † our method.
Architecture Training Inference Model steps 1D Gaussian – RBF () Factorised predictives CNP – – – – k – – NP – – – k – – ANP – – – k – – CANP – – – – k – – Joint predictives, quadratic-time TNPA – k – – NDP – k FNP – k – Joint predictives, linear-time MFNP† – k k – 1D Gaussian – Matérn- () Factorised predictives CNP – – – – k – – NP – – – k – – ANP – – – k – – CANP – – – – k – – Joint predictives, quadratic-time TNPA – k – – NDP – k FNP – k – Joint predictives, linear-time MFNP† – k k – 1D Gaussian – Matérn- () Factorised predictives CNP – – – – k – – NP – – – k – – ANP – – – k – – CANP – – – – k – – Joint predictives, quadratic-time TNPA – k – – NDP – k FNP – k – Joint predictives, linear-time MFNP† – k k –
Table 4: Best per-cell hyperparameters on the 2D synthetic Gaussian Matérn- task (). Column conventions as in Table 3; factorised baselines are not reported on this task. † our method.
Architecture Training Inference Model steps 2D Gaussian – Matérn- () Joint predictives, quadratic-time TNPA – k – – NDP – k FNP – k – Joint predictives, linear-time MFNP† – k k –
Table 5: Best per-cell hyperparameters on the three NOAA tiers (Utah ; California ; continental US ). Column conventions as in Table 3. TNPA exceeds the per-cell compute budget on the US tier (§5.3) and is omitted there. MFNP uses Mamba-2 heads and a scan chunk length of . † our method.
Architecture Training Inference Model steps NOAA Utah () Factorised predictives CNP – – – – k – – NP – – – k – – ANP – – – k – – CANP – – – – k – – Joint predictives, quadratic-time TNPA – k – – NDP – k FNP – k – Joint predictives, linear-time MFNP† – k k – NOAA California () Factorised predictives CNP – – – – k – – NP – – – k – – ANP – – – k – – CANP – – – – k – – Joint predictives, quadratic-time TNPA – k – – NDP – k FNP – k – Joint predictives, linear-time MFNP† – k k – NOAA US () Factorised predictives CNP – – – – k – – NP – – – k – – ANP – – – k – – CANP – – – – k – – Joint predictives, quadratic-time NDP – k FNP – k – Joint predictives, linear-time MFNP† – k k –
Appendix B Detailed algorithms
We first specify the feature maps, routing settings and scan implementation, then give the forward pass, CFM training step and sampling procedure. The coordinate embedding and the random-function feature map serve different roles, as encodes each input location, while defines the initial query values.
Embedding (§4).
The frozen Random Fourier Features map (Rahimi and Recht, 2007) referenced as in Algorithm 1 is
with and the number of coordinate-embedding frequencies. This is separate from the source feature dimension below.
Random-function source distribution (§4).
The source of each draw is with , , and
fixed at initialisation. is then an approximate draw from a unit-variance Gaussian process with RBF kernel and lengthscale , and the same conditions every block through adaLN.
Routing settings.
Let be the index function of a th-order curve, which quantises each point to one of lattice cells. Let be the spatial coordinate of the th point in the concatenation . MFNP applies the curve to the shifted coordinates , with a fresh offset for every training episode. At inference, the draws are split evenly across offsets and pooled. Distances use the unshifted coordinates. Each direction caches the distance from point to the nearest preceding context point in that order, scaled by . The sort and distance cache depend only on and the routing offset .
For one-dimensional inputs, points are sorted by their scalar coordinate and scanned in ascending and descending order, so the ensemble has two distinct directions. The four scan slots repeat these two orderings, as described in Appendix G. Algorithm 1 shows the two-dimensional routing.
Scan implementation.
Context tokens write to the recurrent state. Query tokens read the state at their own positions but do not write to it. The distance vector is concatenated to the input of each block’s gate, whose softplus output is clipped to . The gated scan output is RMS-normalised before the output projection. We use the JAX/XLA native implementation of Santoni (2026).
Algorithm 1 MambaFlowNP forward pass (detailed).
1: Context , .
2: Query coordinates , noisy query slice , flow time , draw latent , routing offset .
3: Frozen RFF projection ; optional routing cache.
4: Let . Concatenate coordinates .
5: Phase 1: Tokenisation & Conditioning
6:
7: for to do
8: if then
9:
10: else
11:
12: end if
13: end for
14: Phase 2: Multi-directional routing (pre-computed, cached)
15: Reuse the cached quantities if supplied; otherwise compute the following.
16: jittered scan grid
17:
18:
19: Define ensemble .
20: Compute the inverse permutation for each .
21: for each , with the nearest preceding context position in ( if none).
22: Phase 3: Mamba-2 with distance-aware adaLN-Zero
23: Apply permutations: for each .
24: for to do
25: zero-init scale, shift, gate
26: for each .
27: end for
28: Phase 4: Fusion & Readout
29: for each . inverse permutation
30:
31: zero-init output
32: return
Algorithm 2 MambaFlowNP CFM training step.
1: Episode sampler returning ; parameters .
2: Sample episode and .
3: Draw , , and set .
4: ; .
5: via Algorithm 1.
6: . Update by gradient step on .
Sampling and clipping.
Algorithm 3 generates one joint draw. The latent and routing offset remain fixed throughout its ODE integration. A one-step Euler call is the deployment sampler. The clipping bound is the support limit of the per-task quantile-transformed targets ( on synthetic tasks and on NOAA after the train-window quantile transform of §5.1); clipping is inactive on every reported run and is retained for numerical safety only.
Algorithm 3 Posterior sampling (detailed; Heun / Euler).
1: Context , queries , trained MFNP (Algorithm 1), steps , solver .
2: Draw the latent and the routing offset of this draw (one of offsets shared by draws).
3: Pre-compute routing cache from : permutations with , inverse permutations , and distances .
4: Set , the random-function source of §4.
5: .
6: for to do
7: ; .
8:
9: if Heun then
10:
11:
12:
13: else
14:
15: end if
16: end for
17: return , a posterior sample
Appendix C Sort scaling
Table 6 reports wall-clock for the Hilbert-key argsort call against , alongside a same-shape no-op identity baseline isolating fixed per-call cost (kernel launch, dispatch) from -dependent work, and the MFNP 1-NFE Euler forward-pass wall-clock at the same on 2D Matérn- (batch, ). Radix sort runs in time on -bit keys, and at curve order the keys are 32-bit unsigned integers with each 2D point quantised to one of lattice cells (Sagan, 1994; Hamilton and Rau-Chaplin, 2008), so is fixed by the curve order rather than by ; the sort therefore has complexity within any regime in which Hilbert keys remain distinct. Once grows large enough to force lattice collisions the sort must break ties arbitrarily and the locality argument of Moon et al. (2001) no longer applies. Above the compiled program lowers argsort to CUB’s radix-sort kernel (Merrill, 2016); below this threshold an inline path performs a fixed number of comparisons per element. Both regimes are . All measurements are on a single NVIDIA L40S in one Python process with one JAX trace cache, warm-ups followed by timed reps, median statistic.
The identity baseline is constant at s across four orders of magnitude in . Kernel-only cost grows from s at to s at , a increase for a increase in . Above the radix kernel saturates memory bandwidth and per-element cost flattens. The sort fraction of MFNP inference plateaus in the – range for where both kernels are dispatch-bound, then decreases monotonically with to at as the linear-time scan dominates.
Table 6: Sort scaling and its share of MFNP inference (NVIDIA L40S, JAX 0.9.0.1, CUDA 12). Identity is a same-shape no-op baseline; kernel is sort total minus identity. MFNP wall-clock is per-forward at the same on 2D Matérn- (1-NFE Euler, batch, , headline checkpoint).
| Standalone sort | Share of MFNP inference | ||||
|---|---|---|---|---|---|
| Identity (s) | Sort (s) | Kernel (s) | MFNP total (ms) | Sort fraction | |
Appendix D Full matched-regime results
Table 7 covers the full 1D sweep at across RBF, Matérn-, and Matérn-; the 2D sweep is in the main-body Table 1.
Table 7: Full 1D matched-regime results at , all three kernels (RBF, Matérn-, Matérn-). Baselines are grouped by predictive class into factorised ( pooling or cross-attention with per-query Gaussian head), joint / quadratic ( self-attention), joint / linear ( Mamba-2 scan). MSE, CRPS (); C2ST (target ); coverage (target nominal); time = per-episode ms, MFNP and baselines on one NVIDIA L40S. Mean SE over 10 evaluation seeds; bold = best per column (within 1 SE). † our method.
| Predictive Quality | Calibration Quality | ||||
|---|---|---|---|---|---|
| Model | MSE | CRPS | C2ST | Cov-95 | Time (ms) |
| 1D Gaussian – RBF () | |||||
| Factorised predictives | |||||
| CNP | |||||
| NP | |||||
| ANP | |||||
| CANP | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† | |||||
| 1D Gaussian – Matérn- () | |||||
| Factorised predictives | |||||
| CNP | |||||
| NP | |||||
| ANP | |||||
| CANP | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† | |||||
| 1D Gaussian – Matérn- () | |||||
| Factorised predictives | |||||
| CNP | |||||
| NP | |||||
| ANP | |||||
| CANP | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† |
Appendix E Scaling
Table 8 reports the end-to-end sampling latency plotted in Figure 3 for each joint-predictive NP against total sequence length on 2D Gaussian Matérn-.
Table 8: End-to-end sampling latency (ms) for joint-predictive NPs vs. total sequence length on 2D Gaussian Matérn- on one NVIDIA L40S, batch, (one full posterior draw per pass, with 1-NFE Euler for MFNP and the published step count for each baseline). Median of reps after warm-ups; relative SE on every completing cell. Values in scientific notation, rounded to – sig figs. oom = out of memory. Bold = best per column. † our method.
| Model | ||||||
|---|---|---|---|---|---|---|
| Joint predictives, quadratic-time | ||||||
| TNPA | oom | oom | ||||
| NDP | oom | oom | oom | |||
| FNP | oom | oom | oom | |||
| Joint predictives, linear-time | ||||||
| MFNP† |
Appendix F Full NOAA results
Context-fraction sweep.
Figure 5 sweeps the context fraction across fifteen values from to on each NOAA tier, holding fixed at the full station count. Each fraction is averaged over random (date, station-partition) draws, so the curves report the population-level dependence of MFNP error on the size of the observed support rather than a single realisation. RMSE and CRPS fall steeply over the first of context (roughly on Utah, from to °C RMSE, and on California and the US) and then flatten out, with the remaining context yielding a further – of RMSE reduction. The split used for the headline tables (Table 9) sits in this plateau.
Figure 5: MFNP predictive accuracy as a function of context fraction on the three NOAA tiers (Utah ; California ; continental US ), averaged over random (date, station-partition) draws per fraction. Red (left axis) shows RMSE and blue (right axis) shows CRPS, both in °C.
Table 9 covers the full NOAA sweep, adding the factorised baselines (CNP, NP, ANP, CANP) at each of the three tiers.
Table 9: Full NOAA temperature interpolation on Utah (), California (), and the continental US (); baselines grouped by predictive class as in Table 7. MSE (°C)2, RMSE, CRPS °C (); Cov-95 (target ); C2ST omitted (no tractable reference posterior on real fields); time = per-episode ms on one NVIDIA L40S. Mean SE over 10 evaluation seeds, denormalised scale; bold = best per column within tier (within 1 SE). † our method.
| Predictive Quality | Calibration | ||||
|---|---|---|---|---|---|
| Model | MSE (°C)2 | RMSE (°C) | CRPS (°C) | Cov-95 | Time (ms) |
| NOAA Utah () | |||||
| Factorised predictives | |||||
| CNP | |||||
| NP | |||||
| ANP | |||||
| CANP | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† | |||||
| NOAA California () | |||||
| Factorised predictives | |||||
| CNP | |||||
| NP | |||||
| ANP | |||||
| CANP | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | |||||
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† | |||||
| NOAA US () | |||||
| Factorised predictives | |||||
| CNP | |||||
| NP | |||||
| ANP | |||||
| CANP | |||||
| Joint predictives, quadratic-time | |||||
| TNPA | t/o | t/o | t/o | t/o | t/o |
| NDP | |||||
| FNP | |||||
| Joint predictives, linear-time | |||||
| MFNP† |
Gaussian-process references.
Table 10 reports three GPs on the NOAA test sets. Each uses an ARD Matérn- kernel on the station coordinates and fits its hyperparameters to the context of each episode. The exact GP solves the full system, SGPR uses inducing points (Titsias, 2009), and the nearest-neighbour GP conditions each point on its nearest neighbours (Vecchia, 1988; Datta et al., 2016). MFNP is trained across dates on the same station network and the GPs use only the current episode.
Table 10: Gaussian-process references on NOAA. MSE (°C)2, RMSE, CRPS °C (); Cov-95 (target ). Mean SE over evaluation seeds ( for MFNP and the nearest-neighbour GP; , and for the exact GP; , and for SGPR). SGPR uses inducing points on Utah and California and on the US. † our method.
| Model | MSE (°C)2 | RMSE (°C) | CRPS (°C) | Cov-95 |
|---|---|---|---|---|
| NOAA Utah () | ||||
| Exact GP | ||||
| SGPR | ||||
| Nearest-neighbour GP | ||||
| MFNP† | ||||
| NOAA California () | ||||
| Exact GP | ||||
| SGPR | ||||
| Nearest-neighbour GP | ||||
| MFNP† | ||||
| NOAA US () | ||||
| Exact GP | ||||
| SGPR | ||||
| Nearest-neighbour GP | ||||
| MFNP† |
Per-tier Pareto frontiers.
Figures 6 and 7 reproduce the RMSE–latency analysis of Figure 2 on the Utah and California tiers; marker, error-bar, and Pareto-staircase conventions are identical.
Figure 6: Per-episode latency (x, log) versus RMSE (left panel) and CRPS (right panel) on NOAA Utah (). Conventions as in Figure 2.
Figure 7: Per-episode latency (x, log) versus RMSE (left panel) and CRPS (right panel) on NOAA California (). Conventions as in Figure 2.
Qualitative posteriors.
Figures 8–9 show MFNP posterior predictions on a single held-out date for Utah and California at a context/query split, in the layout of Figure 4. They show the predicted field and the spatial structure of its error on a single realisation. The population-averaged dependence on context fraction is reported separately in Figure 5.

Figure 8: NOAA Utah () posterior on a held-out date, context/query split. Panels as in Figure 4, with km hexagons.

Figure 9: NOAA California () posterior on a held-out date, context/query split. Panels as in Figure 4, with km hexagons. Five coastal stations outside the state outline are omitted.
Appendix G Architectural ablations
Table 11 reports the architectural ablations. Each row retrains MFNP from scratch under the full hyperparameter configuration and uses the same evaluation protocol as the main tables (, batch , 10 evaluation seeds). The full row matches the headline 2D synthetic and NOAA configurations.
Variants. Scan routing. Single direction uses only ; two directions uses and its reversal (no axis-transposed curve). In 1D there is no transposed curve, so the full model fills its four direction slots with the ascending and descending orders twice, and two directions uses each order once. Point ordering. Random order uses a random permutation per episode, isolating the effect of locality in the serialisation. State flow. Single hidden state runs a unidirectional SSM over the context, takes its final hidden state as a single summary, and initialises a separate decoder over queries from that vector.
Table 11: Architectural ablations on MambaFlowNP. MSE/CRPS on each task’s native scale (dimensionless synthetic; (°C)2/°C NOAA). Mean SE over 10 evaluation seeds at on a single training checkpoint per variant; bold = best per column within block (within 1 SE); times on one NVIDIA L40S. C2ST omitted on NOAA tiers (no tractable reference posterior on real fields), shown as --. † our method.
| Predictive Quality | Calibration Quality | ||||
|---|---|---|---|---|---|
| Variant | MSE | CRPS | C2ST | Cov-95 | Time (ms) |
| 1D Gaussian – Matérn- () | |||||
| Single direction | |||||
| Two directions | |||||
| Random order | |||||
| Single hidden state | |||||
| MFNP† (full, 2 dir. ) | |||||
| 2D Gaussian – Matérn- () | |||||
| Single direction | |||||
| Two directions | |||||
| Random order | |||||
| Single hidden state | |||||
| MFNP† (full, 4-dir) | |||||
| NOAA Utah () | |||||
| Single direction | – | ||||
| Two directions | – | ||||
| Random order | – | ||||
| Single hidden state | – | ||||
| MFNP† (full, 4-dir) | – | ||||
| NOAA California () | |||||
| Single direction | – | ||||
| Two directions | – | ||||
| Random order | – | ||||
| Single hidden state | – | ||||
| MFNP† (full, 4-dir) | – |
Space-filling-curve orderings.
Table 12 retrains MFNP on 2D Matérn- with four point orderings, one training seed each. Morton and lexicographic orderings give and lower MSE than the Hilbert curve, lexicographic ordering raises CRPS by , and random ordering is worse. We use the Hilbert curve because it keeps consecutive points adjacent in the plane, as in prior Hilbert serialisation of irregular point sets (Liang et al., 2024), while the Morton curve jumps at each quadrant boundary.
Table 12: Point orderings on 2D Gaussian Matérn- (). Each ordering is retrained with the same budget and one training seed; the random row is the random-order run of Table 11. MSE and CRPS relative to the Hilbert run, mean over 10 evaluation seeds at .
| Ordering | MSE / Hilbert | CRPS / Hilbert |
|---|---|---|
| Hilbert | ||
| Morton | ||
| Lexicographic | ||
| Random |
Appendix H Solver and distillation
On NOAA, the teacher generates the reflow couplings with Heun steps. Table 13 sweeps Euler and Heun integrators at steps on the reflow-distilled MambaFlowNP student across all four headline tasks. On 1D Matérn-, -step Euler matches the multi-step configurations within one SE on MSE and CRPS, and coverage moves by at most with more steps. On 2D Matérn-, -step Euler gives an MSE of , a CRPS of and a coverage of , against , and at steps. On both NOAA tiers -step Euler gives the lowest MSE, the lowest CRPS ( against at steps on Utah, against at steps on California) and the coverage closest to nominal ( and ). Heun- is within one SE of Euler- on MSE on 1D ( against ) and on 2D ( for both). On the NOAA tiers it inflates MSE by –. The Euler 1-step row is therefore the deployment configuration used in every other table.
Table 13: Solver sweep on the reflow-distilled MFNP student and the matched CFM-only teacher (same architecture, hyperparameters, and evaluation; no reflow). Heun uses network function evaluations per step; time = per-episode ms, on one NVIDIA L40S. Mean SE over 10 evaluation seeds; bold = best per column within model block (within 1 SE). C2ST undefined on NOAA.
| Predictive Quality | Calibration Quality | ||||
|---|---|---|---|---|---|
| Config | MSE | CRPS | C2ST | Cov-95 | Time (ms) |
| 1D Gaussian – Matérn- () | |||||
| Teacher (pre-distillation) | |||||
| Euler 1-step | |||||
| Euler 15-step | |||||
| Euler 30-step | |||||
| Heun 1-step | |||||
| Heun 15-step | |||||
| Heun 30-step | |||||
| Student (reflow-distilled) | |||||
| Euler 1-step | |||||
| Euler 15-step | |||||
| Euler 30-step | |||||
| Heun 1-step | |||||
| Heun 15-step | |||||
| Heun 30-step | |||||
| 2D Gaussian – Matérn- () | |||||
| Teacher (pre-distillation) | |||||
| Euler 1-step | |||||
| Euler 15-step | |||||
| Euler 30-step | |||||
| Heun 1-step | |||||
| Heun 15-step | |||||
| Heun 30-step | |||||
| Student (reflow-distilled) | |||||
| Euler 1-step | |||||
| Euler 15-step | |||||
| Euler 30-step | |||||
| Heun 1-step | |||||
| Heun 15-step | |||||
| Heun 30-step | |||||
| NOAA Utah () | |||||
| Teacher (pre-distillation) | |||||
| Euler 1-step | – | ||||
| Euler 15-step | – | ||||
| Euler 30-step | – | ||||
| Heun 1-step | – | ||||
| Heun 15-step | – | ||||
| Heun 30-step | – | ||||
| Student (reflow-distilled) | |||||
| Euler 1-step | – | ||||
| Euler 15-step | – | ||||
| Euler 30-step | – | ||||
| Heun 1-step | – | ||||
| Heun 15-step | – | ||||
| Heun 30-step | – | ||||
| NOAA California () | |||||
| Teacher (pre-distillation) | |||||
| Euler 1-step | – | ||||
| Euler 15-step | – | ||||
| Euler 30-step | – | ||||
| Heun 1-step | – | ||||
| Heun 15-step | – | ||||
| Heun 30-step | – | ||||
| Student (reflow-distilled) | |||||
| Euler 1-step | – | ||||
| Euler 15-step | – | ||||
| Euler 30-step | – | ||||
| Heun 1-step | – | ||||
| Heun 15-step | – | ||||
| Heun 30-step | – |
Architecture vs. distillation at matched NFE.
The headline scaling figure (Figure 3) leaves each baseline at its native solver length, so MFNP’s advantage there conflates reflow distillation with the linear- encoder. To isolate the two, we re-time NDP, FNP and MFNP at 1-NFE on the same 2D Matérn- sweep with all three resized to 600k parameters and random initialisation; forward-pass latency depends only on architecture shape, so weights and trained quality are immaterial here (Figure 10). At all three sit on a – ms dispatch floor, so the – speedup observed at (Table 8) is attributable to reflow, not the encoder. The architectural advantage emerges in the crossover regime (NOAA US, ), where attention’s cost begins to dominate, and is the binding constraint beyond it. At 1-NFE FNP exhausts memory at and NDP at , while MFNP scales to . The two contributions compose multiplicatively at NOAA US for the – end-to-end speedup reported in Table 2.
Figure 10: Time per forward pass vs. total sequence length (log–log), 2D Gaussian Matérn-, batch, 1-NFE for all models and matched k parameters with random initialisation. We plot per-call latency rather than the time per joint predictive draw because at 1-NFE only MFNP produces a usable sample; NDP and FNP need their full solver budget to be sampled from in practice. A short dashed line through a curve’s last point means the next runs out of memory. With reflow’s NFE budget equalised, NDP and FNP collapse onto MFNP’s latency at and diverge only once attention’s cost dominates; FNP exhausts memory at and NDP at .
Appendix I Boundary-adjacency diagnostic
The Hilbert sort visits 2D points along a single space-filling curve, and at the curve’s seams two points that are close in the plane can be placed far apart in the 1D order. Reversing a 1D sequence preserves all pairwise distances and index adjacencies, so does not relocate seams introduced by ; its role is to remove the causal-direction bias of the recurrence. The two distinct orderings and place seams in different locations, so a query whose neighbourhood is split under is typically contiguous under . We test whether MFNP’s predictive error concentrates on queries near these seams. Each query is ranked by its isolation, defined as the larger of the Euclidean distances to its two immediate Hilbert-sort neighbours in the combined context–query set, minimised across the axis-transposed orderings and . We then compare the mean squared error of the top decile (boundary) against the bottom decile (interior) over evaluation episodes per task. FNP, which uses full attention with no serialisation, serves as the no-sort control.
The diagnostic is run on 2D Gaussian Matérn- ( uniform draws on ), NOAA Utah ( stations), and NOAA California ( stations). The synthetic task is the cleanest control, because a smooth isotropic stochastic process on a regular bounded domain isolates the diagnostic from the anisotropy, station clustering and discontinuous coastlines of the real-data tiers. Results are in Table 14.
On the synthetic task, the MFNP boundary/interior MSE ratio is and the FNP ratio is . The two bootstrap confidence intervals overlap. On both NOAA tiers, MFNP and FNP yield comparable ratios ( vs. on Utah; vs. on California), again with overlapping bootstrap intervals. The per-point Pearson and Spearman correlations between squared error and isolation remain below in every cell, with ; of the have and one has ; this significance reflects the sample size rather than effect size.
FNP, which never invokes the Hilbert sort, exhibits a boundary penalty of comparable magnitude to MFNP on every task. The penalty is therefore attributable to spatial extrapolation in regions with fewer informative context neighbours, not to the Hilbert serialisation. The synthetic task amplifies the absolute ratios while preserving the cross-architecture equivalence.
Table 14: Boundary-adjacency diagnostic. Boundary and interior MSE are the top and bottom deciles of query targets ranked by isolation score (distance to the two Hilbert-sort neighbours). NOAA values are on the quantile-normalised target scale, so are not comparable to the (°C)2 MSE values in Table 2; the 2D Matérn- values are on the native model output scale. Ratios are dimensionless; CIs are from bootstrap resamples. Correlations are per-point squared error against isolation; , , . † our method.
| Model | Boundary MSE | Interior MSE | Ratio [95% CI] | Pearson | Spearman |
|---|---|---|---|---|---|
| 2D Gaussian – Matérn- () | |||||
| FNP | |||||
| MFNP† | |||||
| NOAA Utah () | |||||
| FNP | |||||
| MFNP† | |||||
| NOAA California () | |||||
| FNP | |||||
| MFNP† |
NeurIPS Paper Checklist
- Claims
- Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
- Answer: [Yes]
- Justification: The four contributions enumerated in Section 1 (sub-quadratic joint-predictive NP, single-state context-compression diagnostic, lowest RMSE on every NOAA tier with – speed-up, and -point tractability) are each backed by a labelled table. Tables 2 and 1 in the body report accuracy, and Tables 11 and 8 in the appendix report the compression and routing ablations and the scaling.
- Guidelines: • The answer [N/A] means that the abstract and introduction do not include the claims made in the paper. • The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers. • The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings. • It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.
- Limitations
- Question: Does the paper discuss the limitations of the work performed by the authors?
- Answer: [Yes]
- Justification: Section 7 contains a Limitations paragraph; Section 5.2 states the per-cell compute cap that excludes TNPA from the NOAA US tier; and the boundary diagnostic in Appendix I is included specifically to test a potential weakness of the Hilbert serialisation.
- Guidelines: • The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper. • The authors are encouraged to create a separate “Limitations” section in their paper. • The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be. • The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated. • The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon. • The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size. • If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness. • While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.
- Theory assumptions and proofs
- Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
- Answer: [N/A]
- Justification: The paper contains no formal theoretical results. The single-state compression argument in Section 4 is empirical, with the ablation in Table 11 (Appendix G) as supporting evidence.
- Guidelines: • The answer [N/A] means that the paper does not include theoretical results. • All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced. • All assumptions should be clearly stated or referenced in the statement of any theorems. • The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition. • Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material. • Theorems and Lemmas that the proof relies upon should be properly referenced.
- Experimental result reproducibility
- Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
- Answer: [Yes]
- Justification: The architecture is specified in Section 4 and Algorithms 1, 2, and 3 (Appendix B); Section 5.1 specifies task generation and NOAA splits; Section 5.2 and 5.3 specify the training and evaluation protocols; Appendix A (Tables 3, 4, and 5) lists the BO-selected per-cell architecture, learning rate, batch size, training-step counts, and inference NFE / guidance scale for every (model, task) cell.
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not. • If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable. • Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed. • While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example (a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm. (b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully. (c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset). (d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.
- Open access to data and code
- Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
- Answer: [Yes]
- Justification: Code, trained weights, and training and evaluation scripts for the NOAA experiments are released at https://github.com/CosmoNaught/MambaFlowNP, with instructions to reproduce the results. The NOAA GHCN-Daily data is public.
- Guidelines: • The answer [N/A] means that paper does not include experiments requiring code. • Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details. • While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark). • The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details. • The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc. • The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why. • At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable). • Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.
- Experimental setting/details
- Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
- Answer: [Yes]
- Justification: Section 5.2 specifies the optimiser family (AdamW), warmup-cosine schedule, EMA, Bayesian-optimisation sweep on validation MSE, and per-cell GPU-hour cap; Appendix A fills in the remaining details (weight decay , gradient clip , BO trials per cell, and one sweep of to trials per task for MFNP on the synthetic tasks) and gives the per-cell architecture, learning rate, batch size, training steps, and inference settings in Tables 3, 4, and 5; Section 5.3 specifies the evaluation protocol ( seeds, , denormalised scale, latency measurement).
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them. • The full details can be provided either with the code, in appendix, or as supplemental material.
- Experiment statistical significance
- Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
- Answer: [Yes]
- Justification: The model-comparison, ablation and solver tables report mean one standard error across evaluation seeds (Section 5.3), with each seed covering synthetic episodes or NOAA episodes. The boundary diagnostic in Appendix I additionally reports bootstrap confidence intervals from resamples, and the remaining table captions state their own statistics.
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper. • The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions). • The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.) • The assumptions made should be given (e.g., Normally distributed errors). • It should be clear whether the error bar is the standard deviation or the standard error of the mean. • It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified. • For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates). • If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.
- Experiments compute resources
- Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
- Answer: [Yes]
- Justification: All training and evaluation run on NVIDIA L40S GPUs and all timings are on a single L40S (Sections 5.2 and 5.3), and each (model, task) cell is capped at GPU-hours covering training and all evaluation seeds (Section 5.2); per-episode inference latency is reported alongside every quality metric, and Table 8 reports forward-pass latency vs. sequence length up to .
- Guidelines: • The answer [N/A] means that the paper does not include experiments. • The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage. • The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute. • The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn’t make it into the paper).
- Code of ethics
- Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
- Answer: [Yes]
- Justification: The work uses publicly released NOAA temperature records and synthetic Gaussian-process simulations; no human subjects, scraped personal data, or sensitive attributes are involved, and the submission follows the NeurIPS Code of Ethics.
- Guidelines: • The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics. • If the authors answer [No] , they should explain the special circumstances that require a deviation from the Code of Ethics. • The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).
- Broader impacts
- Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
- Answer: [N/A]
- Justification: This is foundational methodological work on amortised joint-predictive inference for sparse spatial fields. Positive applications (temperature, disease prevalence and rainfall mapping) are noted in Section 1; we are not aware of a direct path to negative societal impact beyond those generic to scaling Bayesian inference.
- Guidelines: • The answer [N/A] means that there is no societal impact of the work performed. • If the authors answer [N/A] or [No] , they should explain why their work has no societal impact or why the paper does not address societal impact. • Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations. • The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster. • The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology. • If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).
- Safeguards
- Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
- Answer: [N/A]
- Justification: The released artefact is a regression model for spatial interpolation trained on public weather-station temperatures; it does not generate images, language, or any output with identifiable misuse potential.
- Guidelines: • The answer [N/A] means that the paper poses no such risks. • Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters. • Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images. • We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.
- Licenses for existing assets
- Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
- Answer: [Yes]
- Justification: All baselines (FNP, TNPA, NDP, CNP/NP/ANP/CANP), Mamba-2, conditional flow matching, reflow distillation, and Hilbert-curve point-cloud routing are cited at point of use in Sections 2.2–4; the NOAA GHCN-Daily dataset is in the U.S. public domain and cited as Menne et al. (2012b); Menne et al. (2012a).
- Guidelines: • The answer [N/A] means that the paper does not use existing assets. • The authors should cite the original paper that produced the code package or dataset. • The authors should state which version of the asset is used and, if possible, include a URL. • The name of the license (e.g., CC-BY 4.0) should be included for each asset. • For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided. • If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset. • For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided. • If this information is not available online, the authors are encouraged to reach out to the asset’s creators.
- New assets
- Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
- Answer: [Yes]
- Justification: The released code, weights and data are documented in the repository README.
- Guidelines: • The answer [N/A] means that the paper does not release new assets. • Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc. • The paper should discuss whether and how consent was obtained from people whose asset is used. • At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.
- Crowdsourcing and research with human subjects
- Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
- Answer: [N/A]
- Justification: The paper involves no crowdsourcing or human-subjects research; experiments use synthetic Gaussian-process draws and public weather-station records.
- Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper. • According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.
- Institutional review board (IRB) approvals or equivalent for research with human subjects
- Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
- Answer: [N/A]
- Justification: No human-subjects research is performed.
- Guidelines: • The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects. • Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper. • We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution. • For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.
- Declaration of LLM usage
- Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
- Answer: [N/A]
- Justification: LLMs were used only for prose editing and code-organisation assistance; they are not part of the core method (a Mamba-2 state-space scan trained with conditional flow matching) and do not affect the scientific rigour or originality of the work, so per the question’s own guidance no declaration is required.
- Guidelines: • The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components. • Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.