Chiosa
Machine Learning

A spatial-field model predicts scattered locations in linear time

Mamba Flow Matching Neural Processes: Linear-Time Inference for Irregularly Observed Spatial Fields · arXiv:2611.26355

2 min
Updated
Per-episode latency vs. RMSE (left) and CRPS (right) on continental US NOAA (K=5,580). Means ±1 SE over 10 seeds at Nsamples=128; the hatched staircase is the empirical Pareto frontier. TNPA exceeds…
Per-episode latency vs. RMSE (left) and CRPS (right) on continental US NOAA (K=5,580). Means ±1 SE over 10 seeds at Nsamples=128; the hatched staircase is the empirical Pareto frontier. TNPA exceeds the per-cell budget (§5.3); Utah and California frontiers in Appendix F.Figure 2 · Mamba Flow Matching Neural Processes: Linear-Time Inference for Irregularly Observed Spatial Fields · Cosmo Santoni et al. · CC BY 4.0

In plain words

A spatial field is a set of values, such as temperatures across many locations. MambaFlowNP is a model for predicting missing values when the known locations are scattered.

It reads the known locations and the places to predict in one sequence, so each requested prediction can use information from its own position in the scan.

On NOAA temperature records, it had the lowest error and probability scores among the tested joint-prediction models across three station regions. Those tests used new dates at stations that also appeared in training.

The research

A map inferred from scattered measurements can be expensive to update, especially when many locations need predictions together.

MFNP's results suggest that joint prediction can remain practical as the number of locations grows, while retaining strong measured accuracy on the tested temperature records.

MambaFlowNP predicts several irregularly located spatial values together, using a shared scan that lets each query read context at its own position with linear computation.

The researchers trained a flow-matching teacher, distilled it into a student that makes a joint prediction in one network evaluation, then tested it against joint-prediction models.

For NOAA, they held dates out but reused the station network, splitting each date's observed stations into context and query locations.

MFNP had the lowest error and probability scores among the evaluated joint-predictive models across all three regions, with interval coverage near the nominal 95%. The result supports the method on these date-held-out tasks; it does not establish performance at new stations.

The real-data test covers daily maximum temperature at stations already present in training, with dates held out. It does not test transfer to new regions or predictive quality at one million points.

What the evidence shows

  • Predict the field together

    MambaFlowNP (MFNP) is a joint-predictive neural process: it predicts values at several locations together, learning from related spatial fields. The problem is that kriging refits for each new field, while attention-based models become costly as observed and query locations increase.

    MFNP's computation grows linearly with their combined count, for fixed feature dimension, state size and depth.

  • Keep context at each query

    When researchers retrained the single-state version, its higher errors on the tested synthetic and NOAA tasks showed that compressing context into one final state can lose useful information.

    This supports letting each query use the scan state at its own position, within those tasks and training procedure.

  • Check real temperature records

    On NOAA daily maximum temperatures, MFNP had the lowest prediction errors and probability scores among the tested joint-prediction models in all three regions. Its central 95% prediction interval covered query values at rates close to the intended 95%. The test used familiar stations on held-out dates.

  • Separate speed from scale

    The reported episode speed advantage combines MFNP’s one-step sampler with its scan architecture. In a matched timing comparison using one network evaluation per call, latency was similar through 1,024 points; at larger counts, attention costs rose and its models hit memory limits, while MFNP continued to scale.

    This supports the authors’ interpretation that the sampler helps at smaller sizes and the scan matters more as point counts grow.

Deep

Next paperA fast updater keeps slow stream models in the loop