Linear Attention is Enough in Spatial-Temporal Forecasting
Not on the map. Why?
Abstract (arXiv)
As the most representative scenario of spatial-temporal forecasting tasks, the traffic forecasting task attracted numerous attention from machine learning community due to its intricate correlation both in space and time dimension. Existing methods often treat road networks over time as spatial-temporal graphs, addressing spatial and temporal representations independently. However, these approaches struggle to capture the dynamic topology of road networks, encounter issues with message passing mechanisms and over-smoothing, and face challenges in learning spatial and temporal relationships separately. To address these limitations, we propose treating nodes in road networks at different time steps as independent spatial-temporal tokens and feeding them into a vanilla Transformer to learn complex spatial-temporal patterns, design STformer achieving SOTA. Given its quadratic complexity, we introduce a variant NSTformer based on Nystrddotom method to approximate self-attention with linear complexity but even slightly better than former in a few cases astonishingly. Extensive experimental results on traffic datasets demonstrate that the proposed method achieves state-of-the-art performance at an affordable computational cost. Our code is available at hrefhttps://github.com/XinyuNing/STformer-and-NSTformerhttps://github.com/XinyuNing/STformer-and-NSTformer.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 37 of its 66 references that are in the map. First posted on arXiv 17 Aug 2024.
Builds on
37 of 66 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
25 more
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2017Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecastingcited by 1,125
- 2019Graph WaveNet for Deep Spatial-Temporal Graph Modelingcited by 820
- 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
- 2020Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networkscited by 563
- 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 544
- 2019Graph Transformer Networkscited by 520
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2019GMAN: A Graph Multi-Attention Network for Traffic Predictioncited by 433
- 2021Random Feature Attentioncited by 350
- 2019Universal Approximation with Deep Narrow Networkscited by 198
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2020Spatial-Temporal Transformer Networks for Traffic Flow Forecastingcited by 179
- 2021Discrete Graph Structure Learning for Forecasting Multiple Time Seriescited by 169
- 2022On The Computational Complexity of Self-Attentioncited by 137
- 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
- 2020Fast Transformers with Clustered Attentioncited by 123
- 2023Exploring Progress in Multivariate Time Series Forecasting: Comprehensive Benchmarking and Heterogeneity Analysiscited by 113
- 2013Revisiting the Nystrom Method for Improved Large-Scale Machine Learningcited by 76
- 2014On the Computational Efficiency of Training Neural Networkscited by 71
- 2018Baseline Needs More Love: On Simple Word-Embedding-Based Models and Associated Pooling Mechanismscited by 53
- 2021Historical Inertia: A Neglected but Powerful Baseline for Long Sequence Time-series Forecastingcited by 26
- 2020Sub-Linear Memory: How to Make Performers SLiMcited by 18
Built on by
Not cited yet.