[Paper Review] Spatio-temporal Stacked LSTM for Temperature Prediction in Weather Forecasting
This paper proposes a spatio-temporal stacked LSTM model for temperature prediction that processes weather data from multiple locations independently in the first layer and fuses their hidden states before passing them to a second LSTM layer. The method improves prediction accuracy by leveraging spatial correlations, with results showing significant reductions in MAE—especially using sigmoid activation and spatial fusion—making it competitive with state-of-the-art methods.
Long Short-Term Memory (LSTM) is a well-known method used widely on sequence learning and time series prediction. In this paper we deployed stacked LSTM model in an application of weather forecasting. We propose a 2-layer spatio-temporal stacked LSTM model which consists of independent LSTM models per location in the first LSTM layer. Subsequently, the input of the second LSTM layer is formed based on the combination of the hidden states of the first layer LSTM models. The experiments show that by utilizing the spatial information the prediction performance of the stacked LSTM model improves in most of the cases.
Motivation & Objective
- To improve temperature prediction in weather forecasting by integrating spatial and temporal dependencies in deep learning models.
- To investigate whether fusing hidden states from location-specific LSTMs enhances prediction performance.
- To evaluate the effectiveness of stacked LSTM architectures with spatial inductive bias for multi-site meteorological time series.
- To compare model performance using different activation functions (tanh vs. sigmoid) and sequence lengths.
- To benchmark the proposed method against state-of-the-art weather forecasting systems like Weather Underground.
Proposed method
- The model uses a two-layer stacked LSTM architecture, with independent LSTMs trained per weather station in the first layer.
- Hidden states from all locations in the first layer are concatenated and used as input to the second LSTM layer.
- The second layer processes the combined spatial-temporal representation to predict future temperatures.
- The model employs standard LSTM cell equations with separate weight matrices and biases for each location in the first layer.
- The method uses early fusion (stacked LSTM) and intermediate fusion (spatio-temporal fusion) of multi-location data.
- Experiments use sequence length 10, with hyperparameters tuned empirically across 5 random runs to ensure robustness.
Experimental results
Research questions
- RQ1Does incorporating spatial correlations between multiple weather stations improve temperature prediction accuracy in an LSTM-based model?
- RQ2How does the performance of the spatio-temporal stacked LSTM compare to a standard stacked LSTM without spatial fusion?
- RQ3Which activation function (tanh or sigmoid) yields better prediction performance in the proposed architecture?
- RQ4Can the proposed model achieve competitive results against state-of-the-art weather forecasting systems like Weather Underground?
- RQ5How does prediction accuracy vary across different forecast horizons (1–6 days ahead)?
Key findings
- The spatio-temporal stacked LSTM reduced MAE by up to 18% compared to the standard stacked LSTM on minimum temperature prediction in the Nov/Dec test set.
- For maximum temperature prediction, the model achieved a 25% lower MAE than the standard stacked LSTM in the 1-day-ahead forecast on the Apr/May test set.
- Using sigmoid as the inner activation function consistently improved performance over tanh, particularly in the presence of spatial fusion.
- The model outperformed Weather Underground in minimum temperature prediction across both test sets, demonstrating strong competitiveness.
- The improvement was most pronounced in longer forecast horizons (e.g., 5–6 days ahead), where spatial fusion helped stabilize predictions.
- The median MAE for 1-day-ahead minimum temperature prediction dropped from 1.66 (standard stacked LSTM) to 1.43 (spatio-temporal stacked LSTM) in the Nov/Dec set.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.