Prediction and interpretation of crash severity using machine learning based on imbalanced traffic crash data
- PMID: 40483054
- DOI: 10.1016/j.jsr.2025.02.018
Prediction and interpretation of crash severity using machine learning based on imbalanced traffic crash data
Abstract
Introduction: Predicting and interpreting crash severity is essential for developing cost-effective safety measures. Machine learning (ML) models in crash severity studies have attracted much attention recently due to their promising predicted performance. However, the limited interpretability of ML techniques is a common critique. Additionally, the inherent data imbalance in crash datasets, mainly due to a scarcity of fatal injury (FI) crashes, presents challenges for both classifiers and interpreters.
Method: Motivated by these research needs, innovative resampling techniques and ML methods are introduced and compared to model a Washington State dataset comprising traffic crashes from 2014 to 2018.
Results: When compared to the traditional resampling methods, the random forest model trained on the datasets synthesized by deep-learning resampling techniques demonstrates significantly improved sensitivity and G-mean performance. Furthermore, the interpretable ML approach, Shapley Additive explanation (SHAP), approach is employed to quantify the individual and interaction effects of risk factors based on the predicted results. Significant risk factors are identified, including airbag, crash type, posted speed limit and grade percentage. With the SHAP method, the individual effects and interaction effects of risk factors are explored. It is observed that roadways in rural (urban) had positive (negative) effects on the crash severity. Compared with non-FI (nFI) crashes, speed limits have more effects on FI crashes. Drivers involved in rear/front-end crashes under the influence of alcohol were more likely to be associated with FI crashes.
Practical applications: These findings hold significant implications for the development of precise crash modification factors for transportation departments dealing with imbalanced traffic crash data.
Keywords: Crash severity; Imbalanced data; Machine learning; Model interpretability; Resampling techniques.
Copyright © 2025 National Safety Council and Elsevier Ltd. All rights reserved.
Conflict of interest statement
Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Similar articles
-
Crash injury severity prediction considering data imbalance: A Wasserstein generative adversarial network with gradient penalty approach.Accid Anal Prev. 2023 Nov;192:107271. doi: 10.1016/j.aap.2023.107271. Epub 2023 Aug 31. Accid Anal Prev. 2023. PMID: 37659275
-
Exploring spatial heterogeneity in factors associated with injury severity in speeding-related crashes: An integrated machine learning and spatial modeling approach.Accid Anal Prev. 2024 Oct;206:107697. doi: 10.1016/j.aap.2024.107697. Epub 2024 Jul 4. Accid Anal Prev. 2024. PMID: 38968864
-
Investigating the influence of streetscape environmental characteristics on pedestrian crashes at intersections using street view images and explainable machine learning.Accid Anal Prev. 2024 Sep;205:107693. doi: 10.1016/j.aap.2024.107693. Epub 2024 Jul 1. Accid Anal Prev. 2024. PMID: 38955107
-
A literature review of machine learning algorithms for crash injury severity prediction.J Safety Res. 2022 Feb;80:254-269. doi: 10.1016/j.jsr.2021.12.007. Epub 2021 Dec 23. J Safety Res. 2022. PMID: 35249605 Review.
-
Advances, challenges, and future research needs in machine learning-based crash prediction models: A systematic review.Accid Anal Prev. 2024 Jan;194:107378. doi: 10.1016/j.aap.2023.107378. Epub 2023 Nov 15. Accid Anal Prev. 2024. PMID: 37976634
MeSH terms
LinkOut - more resources
Full Text Sources