IDEAS home Printed from https://ideas.repec.org/a/eee/chsofr/v200y2025ip1s0960077925010604.html

Traffic accident severity prediction and analysis via spatio-temporal deep learning: A ConvLSTM-transformer approach

Author

Listed:
  • Li, Kun
  • Guo, Kaiyang
  • Liang, Zhantu
  • Xu, Haocheng
  • Duan, Xinlong

Abstract

Traffic accidents pose a significant challenge to public safety, and predicting their causation and severity is crucial to traffic safety research. Traditional machine learning methods, however, mainly depend on direct records from traffic datasets, therefore ignoring the spatial and temporal heterogeneity of traffic accidents. Unfortunately, most existing deep learning algorithms, which excel at extracting spatiotemporal features of accidents, often overlook semantic features like driver and vehicle characteristics and fail to differentiate accident severity levels. To address the limitations of existing models, we propose Spatio-Temporal RiskFormer (ST-RiskFormer), a deep learning model designed to accurately predict traffic accident severity (slight, serious, fatal) by integrating ConvLSTM for capturing spatio-temporal correlations with a Transformer-based module for processing semantic features, including driver demographics and vehicle attributes. Moreover, Gradient-weighted Class Activation Mapping (Grad-CAM) is applied to data visualization for ST-RiskFormer. Simulation results show that medium-term traffic data can uncover the most significant spatial-temporal information of traffic accidents. More importantly, as compared to other typical machine learning algorithms, ST-RiskFormer, which highlights the spatio-temporal distribution of traffic accidents, performs better in predicting traffic accident severity. We hope to provide some insights into deeper-level traffic data mining through this work.

Suggested Citation

  • Li, Kun & Guo, Kaiyang & Liang, Zhantu & Xu, Haocheng & Duan, Xinlong, 2025. "Traffic accident severity prediction and analysis via spatio-temporal deep learning: A ConvLSTM-transformer approach," Chaos, Solitons & Fractals, Elsevier, vol. 200(P1).
  • Handle: RePEc:eee:chsofr:v:200:y:2025:i:p1:s0960077925010604
    DOI: 10.1016/j.chaos.2025.117047
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0960077925010604
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.chaos.2025.117047?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Xie, Kai & Szolnoki, Attila, 2025. "Reputation in public goods cooperation under double Q-learning protocol," Chaos, Solitons & Fractals, Elsevier, vol. 196(C).
    2. Ribeiro, Haroldo V. & Lopes, Diego D. & Pessa, Arthur A.B. & Martins, Alvaro F. & da Cunha, Bruno R. & Gonçalves, Sebastián & Lenzi, Ervin K. & Hanley, Quentin S. & Perc, Matjaž, 2023. "Deep learning criminal networks," Chaos, Solitons & Fractals, Elsevier, vol. 172(C).
    3. Vaysi, Alireza & Ghassemi, Farnaz & Mehrabbeik, Mahtab & Nazarimehr, Fahimeh & Jafari, Sajad & Ghadami, Mohammad Rasoul & Khazaie, Habibolah & Perc, Matjaž, 2025. "Network-based methodology to determine obstructive sleep apnea," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 673(C).
    4. Yingying Xing & Shengdi Chen & Shengxue Zhu & Yi Zhang & Jian Lu, 2020. "Exploring Risk Factors Contributing to the Severity of Hazardous Material Transportation Accidents in China," IJERPH, MDPI, vol. 17(4), pages 1-19, February.
    5. Monika Burzyńska & Małgorzata Pikala, 2021. "Decreasing Trends in Road Traffic Mortality in Poland: A Twenty-Year Analysis," IJERPH, MDPI, vol. 18(19), pages 1-14, October.
    6. Li, Kun & Xu, Haocheng & Liu, Xiao, 2022. "Analysis and visualization of accidents severity based on LightGBM-TPE," Chaos, Solitons & Fractals, Elsevier, vol. 157(C).
    7. Szolnoki, Attila & Chen, Xiaojie, 2020. "Strategy dependent learning activity in cyclic dominant systems," Chaos, Solitons & Fractals, Elsevier, vol. 138(C).
    8. Yue, Hongyu & Xiong, Xiaojin & Feng, Minyu & Szolnoki, Attila, 2025. "Coevolution of relationship-driven cooperation under recommendation protocol on multiplex networks," Chaos, Solitons & Fractals, Elsevier, vol. 190(C).
    9. Zeng, Chao & Ma, Changxi & Wang, Ke & Cui, Zihao, 2022. "Predicting vacant parking space availability: A DWT-Bi-LSTM model," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 599(C).
    10. Pessa, Arthur A.B. & Zola, Rafael S. & Perc, Matjaž & Ribeiro, Haroldo V., 2022. "Determining liquid crystal properties with ordinal networks and machine learning," Chaos, Solitons & Fractals, Elsevier, vol. 154(C).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Xie, Nenggang & Bai, Xi & Wang, Lu & Ye, Ye & Szolnoki, Attila, 2026. "Emotion-driven switching game environments facilitates general cooperation," Chaos, Solitons & Fractals, Elsevier, vol. 202(P1).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Shahriari, Zahra & Nazarimehr, Fahimeh & Rajagopal, Karthikeyan & Jafari, Sajad & Perc, Matjaž & Svetec, Milan, 2022. "Cryptocurrency price analysis with ordinal partition networks," Applied Mathematics and Computation, Elsevier, vol. 430(C).
    2. Feng, Fenling & Zhang, Jiaqi & Liu, Chengguang, 2023. "Integrated pricing mechanism of China Railway Express whole-process logistics based on the Stackelberg game," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 609(C).
    3. Yang, Ryoo Kyung & Park, Junpyo, 2023. "Evolutionary dynamics in the cyclic competition system of seven species: Common cascading dynamics in biodiversity," Chaos, Solitons & Fractals, Elsevier, vol. 175(P1).
    4. Han, Minglong & Liu, Yupeng, 2026. "Dynamic pricing mechanisms for generative artificial intelligence models across heterogeneous scenarios: An evolutionary game and complex network approach," Applied Mathematics and Computation, Elsevier, vol. 516(C).
    5. Botchkovar, Ekaterina & Cui, Kexin & Antonaccio, Olena & Perkins, Robert & Maimon, David, 2025. "The organized activities of ransomware groups: A social network approach," Technology in Society, Elsevier, vol. 82(C).
    6. Fan, Xue & Wang, Lidong & Liu, Xuesong & Zheng, Anhao, 2025. "Exemplary cooperation strategy with positive influence enhances cooperation quality in social dilemma," Applied Mathematics and Computation, Elsevier, vol. 498(C).
    7. Yunsheng Deng & Jihui Zhang, 2022. "The choice-decision based on memory and payoff favors cooperation in stag hunt game on interdependent networks," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 95(2), pages 1-13, February.
    8. Dai, Jianhua & Dong, Qiutong, 2025. "Fitness integrates inter-individual evaluation can solve social dilemmas," Chaos, Solitons & Fractals, Elsevier, vol. 201(P1).
    9. Ying Shu & Chengfu Ding & Lingbing Tao & Chentao Hu & Zhixin Tie, 2023. "Air Pollution Prediction Based on Discrete Wavelets and Deep Learning," Sustainability, MDPI, vol. 15(9), pages 1-19, April.
    10. Xu, Quan & Fang, Yujian & Wu, Huagan & Bao, Han & Wang, Ning, 2024. "Firing patterns and fast–slow dynamics in an N-type LAM-based FitzHugh–Nagumo circuit," Chaos, Solitons & Fractals, Elsevier, vol. 187(C).
    11. Shen, Xiaoda & Tan, Dingrong & Wang, Zhigang & Deng, Ye & Wu, Jun, 2026. "Spatial network disintegration with heterogeneous cost: Revealing the marginal yet critical regions through genetic algorithms," Reliability Engineering and System Safety, Elsevier, vol. 266(PA).
    12. Wu, Yu’e & Liu, Zeyun & Wang, Xinyu & Yin, Anran & Zhang, Shuhua, 2026. "Research on the diffusion of low-carbon technologies through trilateral evolutionary game based on incentive mechanisms," Applied Mathematics and Computation, Elsevier, vol. 516(C).
    13. Lee, Hsuan-Wei & Cleveland, Colin & Szolnoki, Attila, 2024. "Supporting punishment via taxation in a structured population," Chaos, Solitons & Fractals, Elsevier, vol. 178(C).
    14. Abdulaziz H Alshehri & Fayez Alanazi & Ahmed M Yosri & Muhammad Yasir, 2024. "Comparing fatal crash risk factors by age and crash type by using machine learning techniques," PLOS ONE, Public Library of Science, vol. 19(5), pages 1-22, May.
    15. Bazeia, D. & Bongestab, M. & de Oliveira, B.F. & Szolnoki, A., 2021. "Effects of a pestilent species on the stability of cyclically dominant species," Chaos, Solitons & Fractals, Elsevier, vol. 151(C).
    16. Li, Dandan & Wu, Qiongzi & Han, Dun, 2025. "On evolution of agent behavior under limited gaming time with reinforcement learning," Chaos, Solitons & Fractals, Elsevier, vol. 194(C).
    17. Ming Sun & Ronggui Zhou, 2023. "Investigation on Hazardous Material Truck Involved Fatal Crashes Using Cluster Correspondence Analysis," Sustainability, MDPI, vol. 15(12), pages 1-21, June.
    18. Quan, Ji & Tang, Caixia & Wang, Xianjia, 2021. "Reputation-based discount effect in imitation on the evolution of cooperation in spatial public goods games," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 563(C).
    19. Lv, Ran & Qian, Jia-Li & Hao, Qing-Yi & Wu, Chao-Yun & Guo, Ning & Ling, Xiang, 2023. "The impact of current and historical reputation with non-uniform change on cooperation in spatial public goods game," Chaos, Solitons & Fractals, Elsevier, vol. 175(P1).
    20. Elena Butsenko, 2022. "How Data Mining Can Improve Road Safety in Cities," Social Sciences, MDPI, vol. 11(3), pages 1-11, March.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:chsofr:v:200:y:2025:i:p1:s0960077925010604. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Thayer, Thomas R. (email available below). General contact details of provider: https://www.journals.elsevier.com/chaos-solitons-and-fractals .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.