Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul:93:185-199.
doi: 10.1016/j.jsr.2025.02.018. Epub 2025 Feb 25.

Prediction and interpretation of crash severity using machine learning based on imbalanced traffic crash data

Affiliations

Prediction and interpretation of crash severity using machine learning based on imbalanced traffic crash data

Junlan Chen et al. J Safety Res. 2025 Jul.

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.

PubMed Disclaimer

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

LinkOut - more resources