A spatio-temporal LSTM model to forecast across multiple temporal and spatial scales

Yihao Hu, Fearghal O'Donncha, Paulito Palmes, Meredith Burke, Ramon Filgueira +1 more
8/26/2021
stat.MLcs.LGphysics.ao-ph

Official code: IBM/spatial-lstm (34 stars, Jupyter Notebook, Apache-2.0, last commit 2025-09-17).

Abstract

This paper presents a novel spatio-temporal LSTM (SPATIAL) architecture for time series forecasting applied to environmental datasets. The framework was evaluated across multiple sensors and for three different oceanic variables: current speed, temperature, and dissolved oxygen.

Show full abstract

Network implementation proceeded in two directions that are nominally separated but connected as part of a natural environmental system -- across the spatial (between individual sensors) and temporal components of the sensor data. Data from four sensors sampling current speed, and eight measuring both temperature and dissolved oxygen evaluated the framework. Results were compared against RF and XGB baseline models that learned on the temporal signal of each sensor independently by extracting the date-time features together with the past history of data using sliding window matrix. Results demonstrated ability to accurately replicate complex signals and provide comparable performance to state-of-the-art benchmarks. Notably, the novel framework provided a simpler pre-processing and training pipeline that handles missing values via a simple masking layer. Enabling learning across the spatial and temporal directions, this paper addresses two fundamental challenges of ML applications to environmental science: 1) data sparsity and the challenges and costs of collecting measurements of environmental conditions such as ocean dynamics, and 2) environmental datasets are inherently connected in the spatial and temporal directions while classical ML approaches only consider one of these directions. Furthermore, sharing of parameters across all input steps makes SPATIAL a fast, scalable, and easily-parameterized forecasting framework.

View on arXivView PDF

Code Implementations(1)

IBM/spatial-lstmOfficial100%
Apache-2.0

Repo related to our AAAI 2021 paper "A spatio-temporal LSTM model to forecast across multiple temporal and spatial scales"

3413Jupyter Notebook, RSep 8, 20201 years agoApache-2.0

Similar Papers

Cite this paper

@article{hu2021spatiotemporal,
  title  = {A spatio-temporal LSTM model to forecast across multiple temporal and spatial scales},
  author = {Yihao Hu and Fearghal O'Donncha and Paulito Palmes and Meredith Burke and Ramon Filgueira and Jon Grant},
  year   = {2021},
  eprint = {2108.11875},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.11875}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.11875.svg)](https://codeofpaper.com/paper/2108.11875)

Discussion