Skip to main content

Advertisement

Log in

Attention-based spatial–temporal adaptive dual-graph convolutional network for traffic flow forecasting

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

Accurate traffic flow forecasting (TFF) is a prerequisite for urban traffic control and guidance, which has become the key to avoiding traffic congestion and improving traffic management in intelligent transportation systems. To precisely characterize the spatial structure of road networks and discover temporal and spatial characteristics, we propose an attention-based spatial–temporal adaptive dual-graph convolutional network (ASTA-DGCN) for TFF in this paper. Specifically, we employ a spatial–temporal attention module to explore the hidden temporal correlation information of traffic data and the implicit influence of weights among road network nodes and to further capture the dynamic influence of different spatial–temporal positions on the current spatial–temporal position. Then, we utilize an adaptive graph modeling module to automatically extract the one-way relationship between variables and integrate external knowledge into the module. The FastDTW algorithm is exploited to measure the similarity of road network nodes, and the non-Euclidean pairwise association between regions is encoded into graphs to discover the hidden temporal pattern similarity effectively. Furthermore, temporal and spatial correlations are explicitly modeled using dual-graph convolution and sequential convolution based on the obtained graphs to mine the spatial–temporal patterns in dynamic traffic flow, and the final prediction result is produced based on the weighted fusion of the output values of the recent, daily, and weekly components. Finally, the ASTA-DGCN algorithm is successfully applied to TFF on two real-world traffic datasets. The experimental results indicate that our ASTA-DGCN algorithm outperforms ARIMA, VAR, FNN, GCN, GAT, GWNet, STGCN, ASTGCN, and STSGCN.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data availability

The datasets generated during and analyzed during the current study are available from the corresponding author on reasonable request.

References

  1. Kaffash S, Nguyen AT, Zhu J (2021) Big data algorithms and applications in intelligent transportation system: a review and bibliometric analysis. Int J Prod Econ 231:107868

    Article  Google Scholar 

  2. Nagy AM, Simon V (2018) Survey on traffic prediction in smart cities. Pervasive Mob Comput 50:148–163

    Article  Google Scholar 

  3. Tedjopurnomo DA, Bao Z, Zheng B, Choudhury F, Qin AK (2020) A survey on modern deep neural network for traffic prediction: trends, methods and challenges. IEEE Trans Knowl Data Eng 34:1544–1561

    Google Scholar 

  4. Díaz G, Macià H, Valero V, Boubeta-Puig J, Cuartero F (2020) An intelligent transportation system to control air pollution and road traffic in cities integrating CEP and colored Petri Nets. Neural Comput Appl 32(2):405–426

    Article  Google Scholar 

  5. Tang J, Chen X, Hu Z, Zong F, Han C, Li L (2019) Traffic flow prediction based on combination of support vector machine and data denoising schemes. Physica A 534:120642

    Article  Google Scholar 

  6. Shah I, Muhammad I, Ali S, Ahmed S, Almazah M, Al-Rezami A (2022) Forecasting day-ahead traffic flow using functional time series approach. Mathematics 10(22):4279

    Article  Google Scholar 

  7. Cheng Z, Lu J, Zhou H, Zhang Y, Zhang L (2021) Short-term traffic flow prediction: an integrated method of econometrics and hybrid deep learning. IEEE Trans Intell Transp Syst 23(6):5231–5244

    Article  Google Scholar 

  8. Lin G, Lin A, Gu D (2022) Using support vector regression and k-nearest neighbors for short-term traffic flow prediction based on maximal information coefficient. Inf Sci 608:517–531

    Article  Google Scholar 

  9. Taguchi S, Yoshimura T (2021) Online estimation and prediction of large-scale network traffic from sparse probe vehicle data. IEEE Trans Intell Transp Syst 23(7):7233–7243

    Article  Google Scholar 

  10. AlKheder S, Alkhamees W, Almutairi R, Alkhedher M (2021) Bayesian combined neural network for traffic volume short-term forecasting at adjacent intersections. Neural Comput Appl 33(6):1785–1836

    Article  Google Scholar 

  11. Tian Z (2020) Approach for short-term traffic flow prediction based on empirical mode decomposition and combination model fusion. IEEE Trans Intell Transp Syst 22(9):5566–5576

    Article  Google Scholar 

  12. Chen Y, Zou X, Li K, Li K, Yang X, Chen C (2021) Multiple local 3D CNNs for region-based prediction in smart cities. Inf Sci 542:476–491

    Article  Google Scholar 

  13. Xu W, Peng H, Zeng X, Zhou F, Tian X, Peng X (2019) Deep belief network-based AR model for nonlinear time series forecasting. Appl Soft Comput 77:605–621

    Article  Google Scholar 

  14. Liu B, Cheng J, Cai K, Shi P, Tang X (2017) Singular point probability improve LSTM network performance for long-term traffic flow prediction. In: National conference of theoretical computer science. Springer, pp 328–340

  15. Zhang D, Kabuka MR (2018) Combining weather condition data to predict traffic flow: a GRU-based deep learning approach. IET Intel Transport Syst 12(7):578–585

    Article  Google Scholar 

  16. Gu Y, Lu W, Xu X, Qin L, Shao Z, Zhang H (2019) An improved bayesian combination model for short-term traffic prediction with deep learning. IEEE Trans Intell Transp Syst 21(3):1332–1342

    Article  Google Scholar 

  17. Wu Y, Tan H, Qin L, Ran B, Jiang Z (2018) A hybrid deep learning based traffic flow prediction method and its understanding. Transport Res Part C Emerg Technol 90:166–180

    Article  Google Scholar 

  18. Zhang J, Zheng Y, Qi D, Li R, Yi X, Li T (2018) Predicting citywide crowd flows using deep spatio-temporal residual networks. Artif Intell 259:147–166

    Article  MathSciNet  MATH  Google Scholar 

  19. Yin X, Wu G, Wei J, Shen Y, Qi H, Yin B (2021) Multi-stage attention spatial-temporal graph networks for traffic prediction. Neurocomputing 428:42–53

    Article  Google Scholar 

  20. Li Y, Yu R, Shahabi C, Liu Y (2018) Diffusion convolutional recurrent neural network: data-driven traffic forecasting. In: International conference on learning representations, pp 768–786

  21. Wu Z, Pan S, Long G, Jiang J, Zhang C (2019) Graph WaveNet for deep spatial-temporal graph modeling. In: International joint conference on artificial intelligence, pp 1907–1913

  22. Zhao L, Song Y, Zhang C, Liu Y, Wang P, Lin T, Deng M, Li H (2019) T-GCN: a temporal graph convolutional network for traffic prediction. IEEE Trans Intell Transp Syst 21(9):3848–3858

    Article  Google Scholar 

  23. Yu B, Yin H, Zhu Z (2018) Spatio-temporal graph convolutional networks: a deep learning framework for traffic forecasting. In: International joint conference on artificial intelligence, pp 3634–3640

  24. Guo S, Lin Y, Feng N, Song C, Wan H (2019) Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. In: Proceedings of the AAAI conference on artificial intelligence, pp 922–929

  25. Nassiri H, Mohammadpour SI, Dahaghin M (2023) Forecasting time trends of fatal motor vehicle crashes in Iran using an ensemble learning algorithm. Traffic Inj Prev 24(1):44–49

    Article  Google Scholar 

  26. Emami A, Sarvi M, Asadi Bagloee S (2019) Using Kalman filter algorithm for short-term traffic flow prediction in a connected vehicle environment. J Mod Transport 27(3):222–232

    Article  Google Scholar 

  27. Angayarkanni S, Sivakumar R, Ramana Rao Y (2021) Hybrid grey wolf: bald eagle search optimized support vector regression for traffic flow forecasting. J Ambient Intell Humaniz Comput 12:1293–1304

    Article  Google Scholar 

  28. Xia D, Wang B, Li H, Li Y, Zhang Z (2016) A distributed spatial-temporal weighted model on MapReduce for short-term traffic flow forecasting. Neurocomputing 179:246–263

    Article  Google Scholar 

  29. Ma D, Zhu J, Song XB, Wang X (2023) Traffic flow and speed forecasting through a bayesian deep multi-linear relationship network. Expert Syst Appl 213:119161

    Article  Google Scholar 

  30. Ma T, Antoniou C, Toledo T (2020) Hybrid machine learning algorithm and statistical time series model for network-wide traffic forecast. Transport Res Part C Emerg Technol 111:352–372

    Article  Google Scholar 

  31. Mir ZH, Filali F (2016) An adaptive Kalman filter based traffic prediction algorithm for urban road network. In: 2016 12th International conference on innovations in information technology (IIT). IEEE, pp 1–6

  32. Luo C, Huang C, Cao J, Lu J, Huang W, Guo J, Wei Y (2019) Short-term traffic flow prediction based on least square support vector machine with hybrid optimization algorithm. Neural Process Lett 50(3):2305–2322

    Article  Google Scholar 

  33. Sa A, Yv RR, Sadiq AS (2022) Traffic flow forecasting using natural selection based hybrid bald eagle search-grey wolf optimization algorithm. PLoS ONE 17(9):0275104

    Google Scholar 

  34. Zou W, Xia Y (2019) Back propagation bidirectional extreme learning machine for traffic flow time series prediction. Neural Comput Appl 31(11):7401–7414

    Article  Google Scholar 

  35. Sun B, Cheng W, Goswami P, Bai G (2018) Short-term traffic forecasting using self-adjusting k-nearest neighbours. IET Intel Transport Syst 12(1):41–48

    Article  Google Scholar 

  36. Liu Z, Guo J, Cao J, Wei Y, Huang W (2018) A hybrid short-term traffic flow forecasting method based on neural networks combined with k-nearest neighbor. Promet Traffic Transport 30(4):445–456

    Google Scholar 

  37. Xia D, Zhang M, Yan X, Bai Y, Zheng Y, Li Y, Li H (2021) A distributed WND-LSTM model on MapReduce for short-term traffic flow prediction. Neural Comput Appl 33(7):2393–2410

    Article  Google Scholar 

  38. Xia D, Yang N, Jiang S, Hu Y, Li Y, Li H, Wang L (2022) A parallel NAW-DBLSTM algorithm on Spark for traffic flow forecasting. Neural Comput Appl 34(2):1557–1575

    Article  Google Scholar 

  39. Zhao Z, Chen W, Wu X, Chen PC, Liu J (2017) LSTM network: a deep learning approach for short-term traffic forecast. IET Intel Transport Syst 11(2):68–75

    Article  Google Scholar 

  40. Guo S, Lin Y, Li S, Chen Z, Wan H (2019) Deep spatial-temporal 3D convolutional neural networks for traffic data forecasting. IEEE Trans Intell Transp Syst 20(10):3913–3926

    Article  Google Scholar 

  41. Dai X, Fu R, Zhao E, Zhang Z, Lin Y, Wang F-Y, Li L (2019) Deeptrend 2.0: a light-weighted multi-scale traffic prediction model using detrending. Transport Res Part C Emerg Technol 103:142–157

    Article  Google Scholar 

  42. Polson NG, Sokolov VO (2017) Deep learning for short-term traffic flow prediction. Transport Res Part C Emerg Technol 79:1–17

    Article  Google Scholar 

  43. Song C, Lin Y, Guo S, Wan H (2020) Spatial-temporal synchronous graph convolutional networks: a new framework for spatial-temporal network data forecasting. In: Proceedings of the AAAI conference on artificial intelligence, pp 914–921

  44. Xia D, Yang N, Jian S, Hu Y, Li H (2022) SW-BiLSTM: a Spark-based weighted BiLSTM model for traffic flow forecasting. Multimed Tools Appl 81:23589–23614

    Article  Google Scholar 

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

    Article  Google Scholar 

  46. Sutskever I, Vinyals O, Le QV (2014) Sequence to sequence learning with neural networks. Adv Neural Inf Process Syst 27:1–9

    Google Scholar 

  47. Kipf TN, Welling M (2017) Semi-supervised classification with graph convolutional networks. In: International conference on learning representations, pp 914–921

  48. Pan Z, Liang Y, Wang W, Yu Y, Zheng Y, Zhang J (2019) Urban traffic prediction from spatio-temporal data using deep meta learning. In: Proceedings of the 25th ACM SIGKDD international conference on knowledge discovery and data mining, pp 1720–1730

Download references

Acknowledgements

This work described in this paper was supported in part by the National Natural Science Foundation of China (Grant nos. 62162012, 62173278, and 62072061), the Science and Technology Support Program of Guizhou Province, China (Grant no. QKHZC2021YB531), the Natural Science Research Project of Department of Education of Guizhou Province, China (Grant nos. QJJ2022015 and QJJ2022047), and the Scientific Research Platform Project of Guizhou Minzu University, China (Grant no. GZMUSYS[2021]04).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Huaqing Li.

Ethics declarations

Conflict of interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Xia, D., Shen, B., Geng, J. et al. Attention-based spatial–temporal adaptive dual-graph convolutional network for traffic flow forecasting. Neural Comput & Applic 35, 17217–17231 (2023). https://doi.org/10.1007/s00521-023-08582-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-023-08582-1

Keywords

Navigation