Spatially-informed transformers: Injecting geostatistical covariance biases into self-attention for spatio-temporal forecasting
Not on the map. Why?
Abstract (arXiv)
The modeling of high-dimensional spatio-temporal processes presents a fundamental dichotomy between the probabilistic rigor of classical geostatistics and the flexible, high-capacity representations of deep learning. While Gaussian processes offer theoretical consistency and exact uncertainty quantification, their prohibitive computational scaling renders them impractical for massive sensor networks. Conversely, modern transformer architectures excel at sequence modeling but inherently lack a geometric inductive bias, treating spatial sensors as permutation-invariant tokens without a native understanding of distance. In this work, we propose a spatially-informed transformer, a hybrid architecture that injects a geostatistical inductive bias directly into the self-attention mechanism via a learnable covariance kernel. By formally decomposing the attention structure into a stationary physical prior and a non-stationary data-driven residual, we impose a soft topological constraint that favors spatially proximal interactions while retaining the capacity to model complex dynamics. We demonstrate the phenomenon of ``Deep Variography'', where the network successfully recovers the true spatial decay parameters of the underlying process end-to-end via backpropagation. Extensive experiments on synthetic Gaussian random fields and real-world traffic benchmarks confirm that our method outperforms state-of-the-art graph neural networks. Furthermore, rigorous statistical validation confirms that the proposed method delivers not only superior predictive accuracy but also well-calibrated probabilistic forecasts, effectively bridging the gap between physics-aware modeling and data-driven learning.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 29 references that are in the map. First posted on arXiv 19 Dec 2025.
Builds on
14 of 29 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Graph Attention Networkscited by 8,854
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2019Graph WaveNet for Deep Spatial-Temporal Graph Modelingcited by 820
- 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 544
- 2014Hierarchical Nearest-Neighbor Gaussian Process Models for Large Geostatistical Datasetscited by 71
- 2021Spatio-Temporal Variational Gaussian Processescited by 32
- 2023Large Separable Kernel Attention: Rethinking the Large Kernel Attention Design in CNNcited by 25
- 2020DA-Transformer: Distance-aware Transformercited by 23
2 more
Built on by
Not cited yet.