Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

SwinLSTM:Improving Spatiotemporal Prediction Accuracy using Swin Transformer and LSTM

About

Integrating CNNs and RNNs to capture spatiotemporal dependencies is a prevalent strategy for spatiotemporal prediction tasks. However, the property of CNNs to learn local spatial information decreases their efficiency in capturing spatiotemporal dependencies, thereby limiting their prediction accuracy. In this paper, we propose a new recurrent cell, SwinLSTM, which integrates Swin Transformer blocks and the simplified LSTM, an extension that replaces the convolutional structure in ConvLSTM with the self-attention mechanism. Furthermore, we construct a network with SwinLSTM cell as the core for spatiotemporal prediction. Without using unique tricks, SwinLSTM outperforms state-of-the-art methods on Moving MNIST, Human3.6m, TaxiBJ, and KTH datasets. In particular, it exhibits a significant improvement in prediction accuracy compared to ConvLSTM. Our competitive experimental results demonstrate that learning global spatial dependencies is more advantageous for models to capture spatiotemporal dependencies. We hope that SwinLSTM can serve as a solid baseline to promote the advancement of spatiotemporal prediction accuracy. The codes are publicly available at https://github.com/SongTang-x/SwinLSTM.

Song Tang, Chuang Li, Pu Zhang, RongNian Tang• 2023

Related benchmarks

TaskDatasetResultRank
Video PredictionKTH 10 -> 20 steps (test)
PSNR34.34
88
Video PredictionMoving MNIST (test)
MSE19.4554
82
Video PredictionKTH 10 -> 40 steps (test)
PSNR33.15
77
Video PredictionMoving MNIST
SSIM0.962
52
Video PredictionMoving-MNIST 10 → 10 (test)
MSE27.44
39
Spatio-temporal forecastingTaxiBJ
MSE0.3026
30
Traffic ForecastingTaxiBJ (test)
MAE15
29
Video PredictionKTH (test)--
24
Video PredictionTaxiBJ (test)
MAE15.2276
23
Video PredictionMoving MNIST 10000 sequences (val)
MSE17.7
22
Showing 10 of 19 rows

Other info

Follow for update