Abstract
It is admirably significant to forecast real-time traffic risks in the future, which protects people’s lives and improves the safety of the road. Most previous work uses the grid method to divide the entire city, which destroys the city’s inherent geospatial attributes and may lead to invalid prediction results. On the issue of sparse accidents, although previous studies have considered the imbalance in the number of accidents and normal events, the imbalance in the number of accidents between different regions caused by inner-city heterogeneity is ignored, resulting in unsatisfactory predictions for low-risk regions. Moreover, such a model is not suitable for citywide traffic accident prediction. To solve the above problems, firstly, we combine taxi division map, census track partition map and road network to divide the entire city, which retains the geographical spatial attributes, makes the regional division more reasonable and interpretable, and avoids the possible invalid prediction caused by grid method. Secondly, we propose the concept of double imbalance in traffic accident data, which is addressed by an improved cost-sensitive loss function, enabling the model to better predict accidents in low-risk regions. Finally, a deep spatiotemporal network that fuses local and global features (DSTFLG) based on a self-attention mechanism is proposed to forecast traffic accident risk. Extensive experiments on two real-world datasets demonstrate that the proposed framework improves the prediction accuracy over baseline approaches.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data Availability
All data included in this study are available in the following addresses. Weather Data: https://www.noaa.govFor NYC: NYC Taxi Zone, Motor Vehicle Collisions Crash, Point of Interest, Road Network Data: https://opendata.cityofnewyork.us Taxi Trip Data: https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.pageFor Chicago: Chicago’s Census Tract Map, Motor Vehicle Collisions Crash, Taxi Trip, Road Network Data: https://data.cityofchicago.org.
References
Yuan Z, Zhou X, Yang T (2018) Hetero-convlstm: a deep learning approach to traffic accident prediction on heterogeneous spatio-temporal data. In: Proceedings of the 24th ACM SIGKDD international conference on knowledge discovery & data mining, pp 984–992
Huang C, Zhang C, Dai P, Bo L (2019) Deep dynamic fusion network for traffic accident forecasting. In: Proceedings of the 28th ACM international conference on information and knowledge management, pp 2673–2681
Huang C, Zhang C, Zhao J, Wu X, Yin D, Chawla N (2019) Mist: a multiview and multimodal spatial-temporal learning framework for citywide abnormal event forecasting. In: The world wide web conference, pp 717–728
Lv Y, Tang S, Zhao H (2009) Real-time highway traffic accident prediction based on the k-nearest neighbor method. In: 2009 international conference on measuring technology and mechatronics automation, vol 3. pp 547–550
Lin L, Wang Q, Sadek AW (2015) A novel variable selection method based on frequent pattern tree for real-time traffic accident risk prediction. Transp Res Part C Emerg Technol 55:444–459
Hossain M, Muromachi Y (2012) A bayesian network based framework for real-time crash prediction on the basic freeway segments of urban expressways. Accid Anal Prev 45:373–381
Chen Q, Song X, Yamada H, Shibasaki R (2016) Learning deep representation from big and heterogeneous data for traffic accident inference. In: Proceedings of the thirtieth AAAI conference on artificial intelligence, pp. 338–344
Ren H, Song Y, Wang J, Hu Y, Lei J (2018) A deep learning approach to the citywide traffic accident risk prediction. In: 2018 21st international conference on intelligent transportation systems (ITSC), pp 3346–3351
Chen C, Fan X, Zheng C, Xiao L, Cheng M, Wang C (2018) Sdcae: stack denoising convolutional autoencoder model for accident risk prediction via traffic big data. In: 2018 sixth international conference on advanced cloud and big data (CBD), pp 328–333
Moosavi S, Samavatian MH, Parthasarathy S, Teodorescu R, Ramnath R (2019) Accident risk prediction based on heterogeneous sparse data: new dataset and insights. In: Proceedings of the 27th ACM SIGSPATIAL international conference on advances in geographic information systems, pp 33–42
Zhu L, Li T, Du S (2019) Ta-stan: a deep spatial-temporal attention learning framework for regional traffic accident risk prediction. In: 2019 international joint conference on neural networks (IJCNN), pp 1–8
Zhou Z, Wang Y, Xie X, Chen L, Liu H (2020) Riskoracle: a minute-level citywide traffic accident forecasting framework. In: Proceedings of the AAAI conference on artificial intelligence, vol 34. pp 1258–1265
Zhou Z, Wang Y, Xie X, Chen L, Zhu C (2020) Foresee urban sparse traffic accidents: a spatiotemporal multi-granularity perspective. IEEE Trans Knowl Data Eng PP(99), 1–1
Hu J, Shen L, Sun G (2018) Squeeze-and-excitation networks. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 7132–7141
Chang L-Y, Chen W-C (2005) Data mining of tree-based models to analyze freeway accident frequency. J saf Res 36(4):365–375
Bao J, Liu P, Ukkusuri SV (2019) A spatiotemporal deep learning approach for citywide short-term crash risk prediction with multi-source data. Accid Anal Prev 122:239–254
Yu L, Du B, Hu X, Sun L, Han L, Lv W (2020) Deep spatio-temporal graph convolutional network for traffic accident prediction. Neurocomputing 423:135–147
Wang B, Lin Y, Guo S, Wan H (2021) Gsnet: learning spatial-temporal correlations from geographical and semantic aspects for traffic accident risk forecasting. In: Proceedings of the AAAI conference on artificial intelligence, vol 35. pp 4402–4409
Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I (2017) Attention is all you need. Adv Neural Inf Process Syst 30:5998–6008
Shi X, Chen Z, Wang H, Yeung D-Y, Wong W-k, Woo W-c (2015) Convolutional lstm network: a machine learning approach for precipitation nowcasting. In: Proceedings of the 28th international conference on neural information processing systems, vol 1. pp 802–810
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, vol 33. pp 922–929
Zhang J, Zheng Y, Qi D (2017) Deep spatio-temporal residual networks for citywide crowd flows prediction. In: Proceedings of the thirty-first aaai conference on artificial intelligence, pp 1655–1661
Acknowledgements
This paper is supported by the Project of Science and Technology Plan of Fujian Province (2020H0016).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
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.
About this article
Cite this article
Zheng, J., Wang, J., Lai, Z. et al. A deep spatiotemporal network for forecasting the risk of traffic accidents in low-risk regions. Neural Comput & Applic 35, 5207–5220 (2023). https://doi.org/10.1007/s00521-022-07971-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-022-07971-2