Technical Papers
Apr 29, 2022

Real-Time Crash Likelihood Prediction Using Temporal Attention–Based Deep Learning and Trajectory Fusion

Publication: Journal of Transportation Engineering, Part A: Systems
Volume 148, Issue 7

Abstract

A crucial component of the proactive traffic safety management system is the real-time crash likelihood prediction model, which takes real-time traffic data as input and predicts the crash likelihood for the next 5+ min. This study aims to investigate the application of trajectory fusion to crash likelihood prediction and improve the predictive accuracy of the deep learning crash likelihood prediction model using the temporal attention mechanism. Two trajectory data were integrated using data fusion techniques. Specifically, trajectory data from Lynx buses and the Lytx fleet were collected using the automatic vehicle locator (AVL) and Lytx DriveCam, respectively. A deep learning model was developed for predicting real-time crash likelihood using features extracted from trajectory data. The proposed model contained a temporal attention–based long short-term memory (TA-LSTM) and a convolutional neural network (CNN). Temporal attention was introduced to capture temporal correlations between time-series data. Experimental results suggested that temporal attention could significantly improve the model’s performance on crash likelihood prediction. The proposed model outperformed other benchmark models in terms of sensitivity and false alarm rate. Moreover, trajectory fusion improved the predictive accuracy of the proposed model, which indicated the importance of having data from different types of vehicles for developing real-time crash likelihood prediction models.

Get full access to this article

View all available purchase options and get full access to this article.

Data Availability Statement

Some or all data, models, or codes used during the study were provided by a third party. Direct requests for these materials may be made to the provider as indicated in the Acknowledgments.

Acknowledgments

This research was supported by the Advanced Transportation and Congestion Management Technologies Deployment Program (ATCMTD) of the Federal Highway Administration (FHWA) and FDOT. The authors are grateful for the assistance of Jeremy Dilmore, FDOT Transportation System Management and Operations (TSM&O) Engineer. The authors would like to thank Lynx, Lytx, and Orange County for providing the data. All results and opinions are those of the authors only and do not reflect the opinion or position of the FHWA and FDOT.

References

Abdel-Aty, M., A. Pande, A. Das, and W. Knibbe. 2008. “Assessing safety on Dutch freeways with data from infrastructure-based intelligent transportation systems.” J. Transp. Res. Board 2083 (1): 153–161. https://doi.org/10.3141/2083-18.
Abdel-Aty, M., N. Uddin, A. Pande, F. Abdalla, and L. Hsia. 2004. “Predicting freeway crashes from loop detector data by matched case-control logistic regression.” J. Transp. Res. Board 1897 (1): 88–95. https://doi.org/10.3141/1897-12.
Ahmed, M. M., M. Abdel-Aty, J. Lee, and R. Yu. 2014. “Real-time assessment of fog-related crashes using airport weather data: A feasibility analysis.” Accid. Anal. Prev. 72 (Nov): 309–317. https://doi.org/10.1016/j.aap.2014.07.004.
Ahmed, M. M., M. Abdel-Aty, and R. Yu. 2012. “Assessment of interaction of crash occurrence, mountainous freeway geometry, real-time weather, and traffic data.” Transp. Res. Rec. 2280 (1): 51–59. https://doi.org/10.3141/2280-06.
Ahmed, M. M., and M. A. Abdel-Aty. 2012. “The viability of using automatic vehicle identification data for real-time crash prediction.” IEEE Trans. Intell. Transp. Syst. 13 (2): 459–468. https://doi.org/10.1109/TITS.2011.2171052.
Ali, Y., A. Sharma, M. M. Haque, Z. Zheng, and M. Saifuzzaman. 2020. “The impact of the connected environment on driving behavior and safety: A driving simulator study.” Accid. Anal. Prev. 144 (Sep): 105643. https://doi.org/10.1016/j.aap.2020.105643.
Bahdanau, D., K. Cho, and Y. Bengio. 2014. “Neural machine translation by jointly learning to align and translate.” Preprint, submitted September 1, 2014. https://arxiv.org/abs/1409.0473.
Basso, F., L. J. Basso, and R. Pezoa. 2020. “The importance of flow composition in real-time crash prediction.” Accid. Anal. Prev. 137 (Mar): 105436. https://doi.org/10.1016/j.aap.2020.105436.
Cai, Q., M. Abdel-Aty, J. Yuan, J. Lee, and Y. Wu. 2020. “Real-time crash prediction on expressways using deep generative models.” Transp. Res. Part C: Emerging Technol. 117 (Aug): 102697. https://doi.org/10.1016/j.trc.2020.102697.
Chawla, N. V., K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer. 2002. “Smote: Synthetic minority over-sampling technique.” J. Artif. Intell. Res. 16: 321–357. https://doi.org/10.1613/jair.953.
Chen, T., and C. Guestrin. 2016. “XGBoost: A scalable tree boosting system.” In Proc., 22nd ACM SIGKDD Int. Conf. on Knowledge Discovery and Data Mining, 785–794. San Francisco: Association for Computing Machinery.
Christopher, O. 2015. “Understanding LSTM networks.” Accessed October 3, 2020. https://colah.github.io/posts/2015-08-Understanding-LSTMs/.
Fawaz, H. I., G. Forestier, J. Weber, L. Idoumghar, and P.-A. Muller. 2019. “Deep learning for time series classification: A review.” Data Min. Knowl. Discovery 33 (4): 917–963. https://doi.org/10.1007/s10618-019-00619-1.
FHWA (Federal Highway Administration). 2008. NGSIM—Next generation simulation. Washington, DC: FHWA.
Greff, K., R. K. Srivastava, J. Koutník, B. R. Steunebrink, and J. Schmidhuber. 2017. “LSTM: A search space odyssey.” IEEE Trans. Neural Networks Learn. Syst. 28 (10): 2222–2232. https://doi.org/10.1109/TNNLS.2016.2582924.
Guo, S., Y. Lin, N. Feng, C. Song, and H. Wan. 2019. “Attention based spatial-temporal graph convolutional networks for traffic flow forecasting.” In Proc., AAAI Conf. on Artificial Intelligence, 922–929. Menlo Park, CA: Association for the Advancement of Artificial Intelligence.
Hochreiter, S., and J. Schmidhuber. 1997. “Long short-term memory.” Neural Comput. 9 (8): 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735.
IIHS (Insurance Institute for Highway Safety). 2019. “Fatality facts 2018 urban/rural comparison.” Accessed January 3, 2020. https://www.iihs.org/topics/fatality-statistics/detail/urban-rural-comparison#:~:text=In%202019%2C%20the%20rate%20of,(from%202.35%20to%200.86).
Ioffe, S., and C. Szegedy. 2015. “Batch normalization: Accelerating deep network training by reducing internal covariate shift.” In Vol. 37 of Proc., 32nd Int. Conf. on Machine Learning, 448–456. New York: Association for Computing Machinery.
Khan, M. N., and M. M. Ahmed. 2020. “Trajectory-level fog detection based on in-vehicle video camera with TensorFlow deep learning utilizing SHRP2 naturalistic driving data.” Accid. Anal. Prev. 142 (10): 105521. https://doi.org/10.1016/j.aap.2020.105521.
Kong, X., Z. Xu, G. Shen, J. Wang, Q. Yang, and B. Zhang. 2016. “Urban traffic congestion estimation and prediction based on floating car trajectory data.” Future Gener. Comput. Syst. 61 (Aug): 97–107. https://doi.org/10.1016/j.future.2015.11.013.
Li, P., M. Abdel-Aty, Q. Cai, and C. Yuan. 2020a. “The application of novel connected vehicles emulated data on real-time crash potential prediction for arterials.” Accid. Anal. Prev. 144 (Sep): 105658. https://doi.org/10.1016/j.aap.2020.105658.
Li, P., M. Abdel-Aty, and J. Yuan. 2020b. “Real-time crash risk prediction on arterials based on LSTM-CNN.” Accid. Anal. Prev. 135 (Feb): 105371. https://doi.org/10.1016/j.aap.2019.105371.
Luong, M.-T., H. Pham, and C. D. Manning. 2015. “Effective approaches to attention-based neural machine translation.” Preprint, submitted August 17, 2015. https://arxiv.org/abs/1508.04025.
Pebesma, E. 2018. “Simple features for R: Standardized support for spatial vector data.” R J. 10 (1): 439–446. https://doi.org/10.32614/RJ-2018-009.
QGIS (Quantum GIS). 2016. “QGIS geographic information system.” Accessed March 12, 2022. http://www.qgis.org.
R Core Team. 2013. R: A language and environment for statistical computing. Vienna, Austria: R Core Team.
Sharma, A., Z. Zheng, J. Kim, A. Bhaskar, and M. M. Haque. 2020. “Is an informed driver a better decision maker? A grouped random parameters with heterogeneity-in-means approach to investigate the impact of the connected environment on driving behaviour in safety-critical situations.” Anal. Methods Accid. Res. 27 (Sep): 100127.
Shi, Q., and M. Abdel-Aty. 2015. “Big data applications in real-time traffic operation and safety monitoring and improvement on urban expressways.” Transp. Res. Part C: Emerging Technol. 58 (1): 380–394. https://doi.org/10.1016/j.trc.2015.02.022.
Shi, X., Y. D. Wong, M. Z. Li, C. Palanisamy, and C. Chai. 2019. “A feature learning approach based on XGBoost for driving assessment and risk prediction.” Accid. Anal. Prev. 129 (5): 170–179. https://doi.org/10.1016/j.aap.2019.05.005.
Stipancic, J., L. Miranda-Moreno, and N. Saunier. 2018. “Vehicle manoeuvers as surrogate safety measures: Extracting data from the GPS-enabled smartphones of regular drivers.” Accid. Anal. Prev. 115 (3): 160–169. https://doi.org/10.1016/j.aap.2018.03.005.
Theofilatos, A., and G. Yannis. 2014. “A review of the effect of traffic and weather characteristics on road safety.” Accid. Anal. Prev. 72 (6): 244–256. https://doi.org/10.1016/j.aap.2014.06.017.
Uno, N., F. Kurauchi, H. Tamura, and Y. Iida. 2009. “Using bus probe data for analysis of travel time variability.” J. Intell. Transp. Syst. 13 (1): 2–15. https://doi.org/10.1080/15472450802644439.
Wang, C., C. Xu, and Y. Dai. 2019a. “A crash prediction method based on bivariate extreme value theory and video-based vehicle trajectory data.” Accid. Anal. Prev. 123 (9): 365–373. https://doi.org/10.1016/j.aap.2018.12.013.
Wang, J., T. Luo, and T. Fu. 2019b. “Crash prediction based on traffic platoon characteristics using floating car trajectory data and the machine learning approach.” Accid. Anal. Prev. 133 (9): 105320. https://doi.org/10.1016/j.aap.2019.105320.
Wang, L., M. Abdel-Aty, W. Ma, J. Hu, and H. Zhong. 2019c. “Quasi-vehicle-trajectory-based real-time safety analysis for expressways.” Transp. Res. Part C: Emerging Technol. 103 (8): 30–38. https://doi.org/10.1016/j.trc.2019.04.003.
Wang, X., T. Fan, M. Chen, B. Deng, B. Wu, and P. Tremont. 2015. “Safety modeling of urban arterials in Shanghai, China.” Accid. Anal. Prev. 83 (7): 57–66. https://doi.org/10.1016/j.aap.2015.07.004.
Wang, Z., W. Yan, and T. Oates. 2017. “Time series classification from scratch with deep neural networks: A strong baseline.” In Proc., 2017 Int. Joint Conf. on Neural Networks, 1578–1585. Omaha, NE: International Neural Network Society.
Wu, Y., H. Tan, L. Qin, B. Ran, and Z. Jiang. 2018. “A hybrid deep learning based traffic flow prediction method and its understanding.” Transp. Res. Part C: Emerging Technol. 90 (3): 166–180. https://doi.org/10.1016/j.trc.2018.03.001.
Xie, K., X. Wang, H. Huang, and X. Chen. 2013. “Corridor-level signalized intersection safety analysis in Shanghai, China using Bayesian hierarchical models.” Accid. Anal. Prev. 50 (10): 25–33. https://doi.org/10.1016/j.aap.2012.10.003.
Xu, C., A. P. Tarko, W. Wang, and P. Liu. 2013. “Predicting crash likelihood and severity on freeways with real-time loop detector data.” Accid. Anal. Prev. 57 (3): 30–39. https://doi.org/10.1016/j.aap.2013.03.035.
Yuan, J., and M. Abdel-Aty. 2018. “Approach-level real-time crash risk analysis for signalized intersections.” Accid. Anal. Prev. 119 (7): 274–289. https://doi.org/10.1016/j.aap.2018.07.031.
Yuan, J., M. Abdel-Aty, Y. Gong, and Q. Cai. 2019. “Real-time crash risk prediction using long short-term memory recurrent neural network.” Transp. Res. Rec. 2673 (4): 314–326. https://doi.org/10.1177/0361198119840611.
Yuan, J., M. Abdel-Aty, L. Wang, J. Lee, R. Yu, and X. Wang. 2018. “Utilizing Bluetooth and adaptive signal control data for real-time safety analysis on urban arterials.” Transp. Res. Part C: Emerging Technol. 97 (Dec): 114–127. https://doi.org/10.1016/j.trc.2018.10.009.
Zaki, M. H., T. Sayed, and K. Shaaban. 2014. “Use of drivers’ jerk profiles in computer vision–based traffic safety evaluations.” Transp. Res. Rec. 2434 (1): 103–112. https://doi.org/10.3141/2434-13.
Zhao, B., H. Lu, S. Chen, J. Liu, and D. Wu. 2017. “Convolutional neural networks for time series classification.” J. Syst. Eng. Electron. 28 (1): 162–169. https://doi.org/10.21629/JSEE.2017.01.18.

Information & Authors

Information

Published In

Go to Journal of Transportation Engineering, Part A: Systems
Journal of Transportation Engineering, Part A: Systems
Volume 148Issue 7July 2022

History

Received: Apr 16, 2021
Accepted: Mar 10, 2022
Published online: Apr 29, 2022
Published in print: Jul 1, 2022
Discussion open until: Sep 29, 2022

Permissions

Request permissions for this article.

Authors

Affiliations

Graduate Research Assistant, Dept. of Civil, Environmental and Construction Engineering, Univ. of Central Florida, Orlando, FL 32816 (corresponding author). ORCID: https://orcid.org/0000-0002-7512-3705. Email: [email protected]
Mohamed Abdel-Aty, Ph.D., F.ASCE [email protected]
P.E.
Fellow of ITE, Pegasus Professor and Chair, Dept. of Civil, Environmental and Construction Engineering, Univ. of Central Florida, Orlando, FL 32816. Email: [email protected]

Metrics & Citations

Metrics

Citations

Download citation

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

Cited by

  • Real-time crash prediction on express managed lanes of Interstate highway with anomaly detection learning, Accident Analysis & Prevention, 10.1016/j.aap.2024.107568, 201, (107568), (2024).
  • Advances, challenges, and future research needs in machine learning-based crash prediction models: A systematic review, Accident Analysis & Prevention, 10.1016/j.aap.2023.107378, 194, (107378), (2024).
  • Improving model robustness of traffic crash risk evaluation via adversarial mix-up under traffic flow fundamental diagram, Accident Analysis & Prevention, 10.1016/j.aap.2023.107360, 194, (107360), (2024).
  • Connecting tradition with modernity: Safety literature review, Digital Transportation and Safety, 10.48130/DTS-2023-0001, 2, 1, (1-11), (2023).
  • Data-Driven Evaluation Methodology for Active Traffic Management Systems Utilizing Sparse Speed Data, Transportation Research Record: Journal of the Transportation Research Board, 10.1177/03611981231183717, 2678, 4, (90-105), (2023).
  • Real-Time Framework to Predict Crash Likelihood and Cluster Crash Severity, Transportation Research Record: Journal of the Transportation Research Board, 10.1177/03611981231170623, 2678, 1, (202-217), (2023).
  • Physics-informed multi-step real-time conflict-based vehicle safety prediction, Accident Analysis & Prevention, 10.1016/j.aap.2023.106965, 182, (106965), (2023).

View Options

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Get Access

Access content

Please select your options to get access

Log in/Register Log in via your institution (Shibboleth)
ASCE Members: Please log in to see member pricing

Purchase

Save for later Information on ASCE Library Cards
ASCE Library Cards let you download journal articles, proceedings papers, and available book chapters across the entire ASCE Library platform. ASCE Library Cards remain active for 24 months or until all downloads are used. Note: This content will be debited as one download at time of checkout.

Terms of Use: ASCE Library Cards are for individual, personal use only. Reselling, republishing, or forwarding the materials to libraries or reading rooms is prohibited.
ASCE Library Card (5 downloads)
$105.00
Add to cart
ASCE Library Card (20 downloads)
$280.00
Add to cart
Buy Single Article
$35.00
Add to cart

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share