Skip to main content
Log in

MmgFra: A multiscale multigraph learning framework for traffic prediction in smart cities

  • RESEARCH
  • Published:
Earth Science Informatics Aims and scope Submit manuscript

Abstract

Traffic prediction is an important part of smart city projects. Due to the complex topology of urban road network and the dynamic change of traffic data, establishing a spatio-temporal model to accurately predict traffic volume remains a challenging task at present. Recently, Graph Convolution Networks (GCN) have been widely used to extract features from non-grid data, and time sequence models have been used to learn temporal features of traffic distributions. However, current GCN based methods only make use of the natural structure of road network, while ignoring the information of administrative units, neighborhood units and other hierarchical structures of spatial interaction. Therefore, traditional models are typically developed under one single scale, which are far from the prediction of multi-scale systems. To address this issue, we propose a novel framework, named MmgFra, to merge multi-scale information for high-precision urban traffic flow prediction. MmgFra consists of three components: a spatial feature extraction module, a feature clustering fusion module, and a temporal feature extraction module. Specifically, we use stacking GCNs to extract spatial structure information of the city road network, administrative unit road network, and neighborhood units, and employ a DIFFPOOL module to cluster and fuse the above information. Finally, we introduce GRU to capture temporal features. We evaluated its performance on a real city dataset using different time scales. The experimental results indicate that compared with state-of-the-art neural network models and GCN-based variant models, our model exhibits higher predictive accuracy. MmgFra improves by approximately 8.4%-29.5% and 7.5%-30.6% in terms of RMSE and MAPE metrics, respectively.

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

Similar content being viewed by others

Data availability

The data that supports the findings of this study are available in [figshare.com] with the identifier (https://figshare.com/s/794b68474b6e83626c1c).

References

  • Agarap AFM (2018) A Neural Network Architecture Combining Gated Recurrent Unit (GRU) and Support Vector Machine (SVM) for intrusion detection in network traffic data. Proceedings of the 2018 10th international conference on machine learning and computing - ICMLC 2018. https://doi.org/10.1145/3195106.3195117

  • Ali A, Zhu Y, Zakarya M (2022) Exploiting dynamic spatio-temporal graph convolutional neural networks for citywide traffic flows prediction. Neural Netw 145:233–247. https://doi.org/10.1016/j.neunet.2021.10.021

    Article  Google Scholar 

  • Balcilar M, Renton G, Heroux P, Gauzere B, Adam S, Honeine P (2020) Bridging the gap between spectral and spatial domains in graph neural networks. arXiv preprint arXiv:2003.11702

  • Bruna J, Zaremba W, Szalm A, LeCun Y (2013) Spectral networks and deep locally connected networks on graphs. In: International Conference on Learning Representations (ICLR)

  • Cai J, Xiong Z, Lv S (2021) SStaGCN: simplified stacking based graph convolutional networks. arXiv preprint arXiv:2111.08228v1

  • Chen Y, Zhang Y, Hu J, Yao D (2006) Pattern discovering of regional traffic status with self-organizing maps. 2006 IEEE intelligent transportation systems conference. https://doi.org/10.1109/itsc.2006.1706815

  • Chen W, An J, Li R, Fu L, Xie G, Bhuiyan MZA, Li K (2018) A novel fuzzy deep-learning approach to traffic flow prediction with uncertain spatial–temporal data features. Futur Gener Comput Syst 89:78–88. https://doi.org/10.1016/j.future.2018.06.02

    Article  Google Scholar 

  • Chen W, Chen L, Xie Y, Cao W, Gao Y, Feng X (2020) Multi-range attentive bicomponent graph convolutional network for traffic forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 34(04), pp 3529–3536.https://doi.org/10.1609/aaai.v34i04.5758

  • Cho K, Van Merriënboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, Bengio Y (2014) Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078

  • Chung F (1992) Spectral graph theory. American Mathematical Society, Providence

    Google Scholar 

  • Cong Y, Wang J, Li X (2016) Traffic flow forecasting by a least squares support vector machine with a fruit fly optimization algorithm. Procedia Eng 137:59–68. https://doi.org/10.1016/j.proeng.2016.01.234

    Article  Google Scholar 

  • Cui Z, Ke R, Pu Z, Wang Y (2018) Deep bidirectional and unidirectional LSTM recurrent neural network for network-wide traffic speed prediction. arXiv preprint arXiv: 1801.02143

  • Ding A, Zhao X, Jiao L (2002) Traffic flow time series prediction based on statistics learning theory. The IEEE 5th international conference on intelligent transportation systems. https://doi.org/10.1109/itsc.2002.1041308

  • Fu R, Zhang Z, Li L (2016) Using LSTM and GRU neural network methods for traffic flow prediction. 2016 31st Youth Academic Annual Conference of Chinese Association of Automation (YAC). https://doi.org/10.1109/yac.2016.7804912

  • Gao H, Wang Z, Ji S (2018) Large-scale learnable graph convolutional networks. Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining - KDD ’18. https://doi.org/10.1145/3219819.3219947

  • Geng X, Li Y, Wang L, Zhang L, Yang Q, Ye J, Liu Y (2019) Spatiotemporal multi-graph convolution network for ride-hailing demand forecasting. Proceedings of the AAAI conference on artificial intelligence, 33, pp 3656–3663.  https://doi.org/10.1609/aaai.v33i01.33013656

  • Guo S, Lin Y, Feng N, Song C, Wan H (2019) Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 33, pp 922–929. https://doi.org/10.1609/aaai.v33i01.3301922

  • Guo K, Hu Y, Sun Y, Qian S, Gao J, Yin B (2021) Hierarchical graph convolution network for traffic forecasting. Proceedings of the AAAI conference on artificial intelligence 35(1), pp 151–159

  • Hamed MM, Al-Masaeid HR, Said ZMB (1995) Short-term prediction of traffic volume in urban arterials. J Transp Eng 121(3):249–254. https://doi.org/10.1061/(asce)0733-947x(1995)121:3(249)

    Article  Google Scholar 

  • He K, Zhang X, Ren S, Sun J (2016) deep residual learning for image recognition. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/cvpr.2016.90

  • Jin G, Cui Y, Zeng L, Tang H, Feng Y, Huang J (2020) Urban ride-hailing demand prediction with multiple spatio-temporal information fusion network. Transp Res Part C Emerg Technol 117:102665. https://doi.org/10.1016/j.trc.2020.102665

    Article  Google Scholar 

  • Ke J, Qin X, Yang H, Zheng Z, Zhu Z, Ye J (2021) Predicting origin-destination ride-sourcing demand with a spatio-temporal encoder-decoder residual multi-graph convolutional network. Transp Res Part C Emerg Technol 122:102858. https://doi.org/10.1016/j.trc.2020.102858

    Article  Google Scholar 

  • Kipf TN, Welling M (2016) Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907

  • Klapka P, Kraft S, Halás M (2020) Network based definition of functional regions: a graph theory approach for spatial distribution of traffic flows. J Transp Geogr 88:102855. https://doi.org/10.1016/j.jtrangeo.2020.102855

    Article  Google Scholar 

  • Klepsch J, Klüppelberg C, Wei T (2017) Prediction of functional ARMA processes with an application to traffic data. Econ Stat 1:128–149. https://doi.org/10.1016/j.ecosta.2016.10.009

    Article  Google Scholar 

  • Krizhevsky A, Sutskever I, Hinton GE (2017) ImageNet classification with deep convolutional neural networks. Commun ACM 60(6):84–90. https://doi.org/10.1145/3065386

    Article  Google Scholar 

  • Li G, Muller M, Thabet A, Ghanem B (2019) DeepGCNs: can GCNs go as deep as CNNs? 2019 IEEE/CVF International Conference on Computer Vision (ICCV). https://doi.org/10.1109/iccv.2019.00936

  • Li J, Guo F, Sivakumar A, Dong Y, Krishnan R (2021) Transferability improvement in short-term traffic prediction using stacked LSTM network. Transp Res Part C Emerg Technol 124:102977. https://doi.org/10.1016/j.trc.2021.102977

    Article  Google Scholar 

  • Liang Y, Ouyang K, Jing L, Ruan S, Liu Y, Zhang J et al (2019) Urbanfm: inferring finegrained urban flows. In: KDD. ACM, pp 3132–3142

  • Luan S, Zhao M, Chang X, Precup D (2019) Break the ceiling: stronger multi-scale deep graph convolutional networks. arXiv preprint arXiv:1906.02174

  • Ma T, Antoniou C, Toledo T (2020) Hybrid machine learning algorithm and statistical time series model for network-wide traffic forecast. Transp Res Part C Emerg Technol 111:352–372. https://doi.org/10.1016/j.trc.2019.12.022

    Article  Google Scholar 

  • Pan Z, Liang Y, Wang W, Yu Y, Zheng Y, Zhang J (2019) Urban traffic prediction from Spatio-temporal data using deep meta learning. Proceedings of the 25th ACM sigkdd international conference on knowledge discovery & data mining - KDD ’19. https://doi.org/10.1145/3292500.3330884

  • Peng H, Wang H, Du B, Bhuiyan MZA, Ma H, Liu J et al (2020) Spatial temporal incidence dynamic graph neural networks for traffic flow forecasting. Inf Sci. https://doi.org/10.1016/j.ins.2020.01.043

    Article  Google Scholar 

  • Porta S, Crucitti P, Latora V (2006) The network analysis of urban streets: a dual approach. Physica A: Statistical Mechanics and its Applications 369(2):853–866. https://doi.org/10.1016/j.physa.2005.12.063

    Article  Google Scholar 

  • Qiu Z, Liu L, Li G, Wang Q, Xiao N, Lin L (2019) Taxi origin-destination demand prediction with contextualized spatial-temporal network. 2019 IEEE International Conference on Multimedia and Expo (ICME). https://doi.org/10.1109/icme.2019.00136

  • Shelhamer E, Long J, Darrell T (2017) Fully convolutional networks for semantic segmentation. IEEE Trans Pattern Anal Mach Intell 39(4):640–651. https://doi.org/10.1109/tpami.2016.2572683

    Article  Google Scholar 

  • Smith BL, Demetsky MJ (1997) Traffic flow forecasting: comparison of modeling approaches. J Transp Eng-Asce 123(4):261–266

    Article  Google Scholar 

  • Song C, Lin Y, Guo S, Wan H (2020) Spatial-temporal synchronous graph convolutional networks: a new framework for spatial-temporal network data forecasting. Proceedings of the AAAI conference on artificial intelligence 34 (01), pp 914–921. https://doi.org/10.1609/aaai.v34i01.5438

  • Tian Z, Jia L, Dong H, Su F, Zhang Z (2016) Analysis of urban road traffic network based on complex network. Procedia Eng 137:537–546. https://doi.org/10.1016/j.proeng.2016.01.290

    Article  Google Scholar 

  • Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser U, Polosukhin I (2017) Attention is all you need. In: Proceedings of the 31st International Conference on Neural Information Processing Systems (NIPS'17). Curran Associates Inc., Red Hook, pp 6000–6010

  • Wang J, Chen R, He Z (2019) Traffic speed prediction for urban transportation network: a path based deep learning approach. Transp Res Part C Emerg Technol 100:372–385. https://doi.org/10.1016/j.trc.2019.02.002

    Article  Google Scholar 

  • Wu Y, Tan H, Qin L, Ran B, Jiang Z (2018) A hybrid deep learning based traffic flow prediction method and its understanding. Transp Res Part C Emerg Technol 90:166–180. https://doi.org/10.1016/j.trc.2018.03.001

    Article  Google Scholar 

  • Wu Z, Pan S, Chen F, Long G, Zhang C, Yu PS (2021) A comprehensive survey on graph neural networks. IEEE Trans Neural Netw Learn Syst 32(1):4–24. https://doi.org/10.1109/tnnls.2020.2978386

    Article  Google Scholar 

  • Yang S, Ma W, Pi X, Qian S (2019) A deep learning approach to real-time parking occupancy prediction in transportation networks incorporating multiple spatio-temporal data sources. Transp Res Part C Emerg Technol 107:248–265. https://doi.org/10.1016/j.trc.2019.08.010

    Article  Google Scholar 

  • Yao H, Wu F, Ke J, Tang X, Jia Y, Lu S, Gong P, Ye J, Li Z (2018) Deep multi-view spatial-temporal network for taxi demand prediction. arXiv preprint arXiv:1802.08714

  • Yao H, Tang X, Wei H, Zheng G, Li Z (2019) Revisiting spatial-temporal similarity: a deep learning framework for traffic prediction. Proceedings of the AAAI conference on artificial intelligence, 33, pp 5668–5675. https://doi.org/10.1609/aaai.v33i01.33015668

  • Ying R, You J, Morris C, Ren X, Hamilton W, Leskovec J (2018) Hierarchical graph representation learning with differentiable pooling. arXiv preprint arXiv:1806.08804

  • Yu W (2019) Discovering Frequent Movement Paths From Taxi Trajectory Data Using Spatially Embedded Networks and Association Rules. IEEE Trans Intell Transp Syst 20(3):855–866. https://doi.org/10.1109/TITS.2018.2834573

    Article  Google Scholar 

  • Yu B, Yin H, Zhu Z (2018) Spatio-temporal graph convolutional networks: a deep learning framework for traffic forecasting. arXiv preprint arXiv:1709.04875

  • Yu W, Zhang Y, Ai T, Guan Q, Chen Z, Li H (2019) Road network generalization considering traffic flow patterns. Int J Geogr Inf Sci 34:1–31. https://doi.org/10.1080/13658816.2019.1650936

    Article  Google Scholar 

  • Zaremba W, Sutskever I, Vinyals O (2014) Recurrent neural network regularization. arXiv preprint arXiv:1409.2329

  • Zhang J, Zheng Y, Qi D (2017) Deep spatio-temporal residual networks for citywide crowd flows prediction. In: AAAI

  • Zhang M, Cui Z, Neumann M, Chen Y (2018) An end-to-end deep learning architecture for graph classification. Proceedings of the AAAI Conference on Artificial Intelligence 32(1). https://doi.org/10.1609/aaai.v32i1.11782

  • Zhang Z, Li M, Lin X, Wang Y, He F (2019) Multistep speed prediction on traffic networks: a deep learning approach considering spatio-temporal dependencies. Transp Res Part C Emerg Technol 105:297–322. https://doi.org/10.1016/j.trc.2019.05.039

    Article  Google Scholar 

  • Zhang C, Zhu F, Lv Y, Ye P, Wang F-Y (2021) MLRNN: taxi demand prediction based on multi-level deep learning and regional heterogeneity analysis. IEEE Trans Intell Transp Syst:1–11. https://doi.org/10.1109/tits.2021.3080511

  • Zhao L, Song Y, Zhang C, Liu Y, Wang P, Lin T, Deng M, Li H (2020) T-GCN: a temporal graph convolutional network for traffic prediction. IEEE Trans Intell Transp Syst:1–11. https://doi.org/10.1109/tits.2019.2935152

  • Zheng Z, Su D (2014) Short-term traffic volume forecasting: a k-nearest neighbor approach enhanced by constrained linearly sewing principle component algorithm. Transp Res Part C Emerg Technol 43:143–157. https://doi.org/10.1016/j.trc.2014.02.009

    Article  Google Scholar 

  • Zheng C, Fan X, Wang C, Qi J (2020) GMAN: a graph multi-attention network for traffic prediction. Proceedings of the AAAI Conference on Artificial Intelligence, 34(01), pp 1234–1241. https://doi.org/10.1609/aaai.v34i01.5477

Download references

Funding

The work was supported by the National Natural Science Foundation of China [42071442]; Fundamental Research Funds for the Central Universities, China University of Geosciences (Wuhan) [CUG170640].

Author information

Authors and Affiliations

Authors

Contributions

Wenhao Yu and Shangyou Wu contributed to the study conception and design. Wenhao Yu put forward the main ideas, Wenhao Yu and Shangyou Wu wrote the main manuscript text, Shangyou Wu wrote the main experimental code, Mengqiu Huang revised the manuscript text, and Shangyou Wu searched for the required literature. All authors reviewed the manuscript.

Corresponding author

Correspondence to Wenhao Yu.

Ethics declarations

Competing Interests

The authors have no competing interests to declare that are relevant to the content of this manuscript.

Additional information

Communicated by: H. Babaie

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

Yu, W., Wu, S. & Huang, M. MmgFra: A multiscale multigraph learning framework for traffic prediction in smart cities. Earth Sci Inform 16, 2727–2739 (2023). https://doi.org/10.1007/s12145-023-01068-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12145-023-01068-7

Keywords

Navigation