mlsanityData to 7 Oct 2026

Linear Attention is Enough in Spatial-Temporal Forecasting

arXiv 2408.09158 ↗First posted 17 Aug 2024cs.LG cs.AIcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  10. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
25 more
  1. 2020Reformer: The Efficient Transformercited by 1,658
  2. 2020Rethinking Attention with Performerscited by 1,584
  3. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  4. 2017Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecastingcited by 1,125
  5. 2019Graph WaveNet for Deep Spatial-Temporal Graph Modelingcited by 820
  6. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
  7. 2020Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networkscited by 563
  8. 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 544
  9. 2019Graph Transformer Networkscited by 520
  10. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  11. 2019GMAN: A Graph Multi-Attention Network for Traffic Predictioncited by 433
  12. 2021Random Feature Attentioncited by 350
  13. 2019Universal Approximation with Deep Narrow Networkscited by 198
  14. 2022Pure Transformers are Powerful Graph Learnerscited by 188
  15. 2020Spatial-Temporal Transformer Networks for Traffic Flow Forecastingcited by 179
  16. 2021Discrete Graph Structure Learning for Forecasting Multiple Time Seriescited by 169
  17. 2022On The Computational Complexity of Self-Attentioncited by 137
  18. 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
  19. 2020Fast Transformers with Clustered Attentioncited by 123
  20. 2023Exploring Progress in Multivariate Time Series Forecasting: Comprehensive Benchmarking and Heterogeneity Analysiscited by 113
  21. 2013Revisiting the Nystrom Method for Improved Large-Scale Machine Learningcited by 76
  22. 2014On the Computational Efficiency of Training Neural Networkscited by 71
  23. 2018Baseline Needs More Love: On Simple Word-Embedding-Based Models and Associated Pooling Mechanismscited by 53
  24. 2021Historical Inertia: A Neglected but Powerful Baseline for Long Sequence Time-series Forecastingcited by 26
  25. 2020Sub-Linear Memory: How to Make Performers SLiMcited by 18

Built on by

Not cited yet.