Skip to main content

SAST-GNN: A Self-Attention Based Spatio-Temporal Graph Neural Network for Traffic Prediction

  • Conference paper
  • First Online:
Database Systems for Advanced Applications (DASFAA 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12112))

Included in the following conference series:

Abstract

Traffic prediction, which aims at predicting future traffic conditions based on historical observations, is of considerable significance in urban management. However, such tasks are challenging due to the high complexity of traffic flow. Traditional statistical learning methods perform badly in handling such regularities. Furthermore, these methods often split spatial information and temporal information as individual features, which cause extracted features hard to be fused. In this paper, we target on efficiently capturing such highly nonlinear dependencies and fusing features from both spatial and temporal dimensions to predict future traffic flow conditions accurately. To tackle this problem, we proposed the Self-Attention based Spatio-Temporal Graph Neural Network (SAST-GNN). In SAST-GNN, we innovatively proposed to add a self-attention mechanism to more accurately extract features from the temporal dimension and the spatial dimension simultaneously. At the same time, for better fusing information from both dimensions, we improved the spatio-temporal architecture by adding channels(or heads) and residual blocks. Thus features can be fused from different aspects. Experiments on two real-world datasets illustrated that our model outperforms six baselines in traffic flow prediction tasks. Especially in short-term and mid-term prediction based on long-term dependencies, our model performs much better than other baselines.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/FANTASTPATR/SAST-GNN.

References

  1. Williams, B.M., Hoel, L.A.: Modeling and forecasting vehicular traffic flow as a seasonal ARIMA process: theoretical basis and empirical results. J. Transp. Eng. 129(6), 664–672 (2003)

    Article  Google Scholar 

  2. Chen, R., Liang, C., Hong, W., Gu, D.: Forecasting holiday daily tourist flow based on seasonal support vector regression with adaptive genetic algorithm. Appl. Soft Comput. 26(C), 435–443 (2015)

    Article  Google Scholar 

  3. Shi, X., Chen, Z., Wang, H., Yeung, D., Wong, W., Woo, W.: Convolutional LSTM network: a machine learning approach for precipitation nowcasting. In: NIPS (2015)

    Google Scholar 

  4. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)

    Article  Google Scholar 

  5. Defferrard, M., Bresson, X., Vandergheynst, P.: Convolutional neural networks on graphs with fast localized spectral filtering. In: NIPS (2016)

    Google Scholar 

  6. Kipf, T., Welling, M.: Semi-supervised classification with graph convolutional networks. In: ICLR (2017)

    Google Scholar 

  7. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: CVPR (2015)

    Google Scholar 

  8. Rahimi, A., Cohn, T., Baldwin, T.: Semi-supervised user geolocation via graph convolutional networks. In: ACL (2018)

    Google Scholar 

  9. Chai, D., Wang, L., Yang, Q.: Bike flow prediction with multi-graph convolutional network. In: Proceedings of the 26th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, pp. 397–400 (2018)

    Google Scholar 

  10. Li, R., Wang, S., Zhu, F., Huang, J.: Adaptive graph convolutional neural networks. In: AAAI (2018)

    Google Scholar 

  11. Veličković, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., Bengio, Y.: Graph attention networks. In: ICLR (2018)

    Google Scholar 

  12. Vaswani, A., et al.: Attention is all you need. In: NIPS (2017)

    Google Scholar 

  13. Li, Y., Yu, R., Shahabi, C., Liu, Y.: Diffusion convolutional recurrent neural network: data-driven traffic forecasting. In: ICLR (2018)

    Google Scholar 

  14. Yu, B., Yin, H., Zhu, Z.: Spatio-temporal graph convolutional networks: a deep learning framework for traffic forecasting. In: IJCAI (2018)

    Google Scholar 

  15. Diao, Z., Wang, X., Zhang, D., Liu, Y., Xie, K., He, S.: Dynamic spatial-temporal graph convolutional neural networks for traffic forecasting. In: AAAI (2019)

    Google Scholar 

  16. Chen, C., Petty, K., Skabardonis, A., Varaiya, P., Jia, Z.: Freeway performance measurement system: mining loop detector data. Transp. Res. Rec.: J. Transp. Res. Board 1748, 96–102 (2001)

    Article  Google Scholar 

  17. Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: NIPS (2014)

    Google Scholar 

Download references

Acknowledgement

This work is supported in part by the National Natural Science Foundation of China Projects No. U1936213, U1636207, the Shanghai Science and Technology Development Fund No. 19DZ1200802, 19511121204.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yun Xiong .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Xie, Y., Xiong, Y., Zhu, Y. (2020). SAST-GNN: A Self-Attention Based Spatio-Temporal Graph Neural Network for Traffic Prediction. In: Nah, Y., Cui, B., Lee, SW., Yu, J.X., Moon, YS., Whang, S.E. (eds) Database Systems for Advanced Applications. DASFAA 2020. Lecture Notes in Computer Science(), vol 12112. Springer, Cham. https://doi.org/10.1007/978-3-030-59410-7_49

Download citation

Publish with us

Policies and ethics