Traffic accident severity prediction based on an enhanced MSCPO-XGBoost hybrid model

Road traffic accidents pose a significant threat to public safety in China. This study proposes a novel severity prediction framework based on a Modified Stochastic Crested Porcupine Optimizer (MSCPO) combined with the XGBoost algorithm. The model was trained on 4287 accident cases from China's National Automobile Accident In-depth Investigation System (NAIS), collected between 2018 and 2023. The dataset was first divided into training and testing sets, and the Synthetic Minority Oversampling Technique (SMOTE) was applied only to the training set to address class imbalance. The MSCPO algorithm was then employed to optimize XGBoost hyperparameters. Comparative experiments demonstrate that the MSCPO-XGBoost model outperforms baseline algorithms including SVM, Random Forest, BP Neural Network, and CNN, achieving an accuracy of 83.57%, a recall of 85.23%, an F1-score of 84.30%, and an AUC of 92.82%. To enhance interpretability, SHAP analysis was used to identify key predictors such as engine displacement, vehicle mass, traffic signals, and driver age. The findings offer valuable guidance for traffic safety policymaking and demonstrate the potential of integrating real-time severity prediction into intelligent traffic management systems.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-07-16
DOI
https://doi.org/10.1038/s41598-025-00797-7
Citations
4
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
4.03

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Traffic accident severity prediction based on an enhanced MSCPO-XGBoost hybrid model

Fei Chen, Jia Chen, Jing Hui, Hua Yu Xiao et al.
4 citations
Scientific Reports
Traffic Prediction and Management Techniques
4.03
article

Traffic accident severity prediction based on an enhanced MSCPO-XGBoost hybrid model

Fei Chen, Jia Chen, Jing Hui, Hua Yu Xiao, Jian Yang, Xiang Qun Liu, Xu Kang Liu
article en
4 citations

Abstract

Road traffic accidents pose a significant threat to public safety in China. This study proposes a novel severity prediction framework based on a Modified Stochastic Crested Porcupine Optimizer (MSCPO) combined with the XGBoost algorithm. The model was trained on 4287 accident cases from China's National Automobile Accident In-depth Investigation System (NAIS), collected between 2018 and 2023. The dataset was first divided into training and testing sets, and the Synthetic Minority Oversampling Technique (SMOTE) was applied only to the training set to address class imbalance. The MSCPO algorithm was then employed to optimize XGBoost hyperparameters. Comparative experiments demonstrate that the MSCPO-XGBoost model outperforms baseline algorithms including SVM, Random Forest, BP Neural Network, and CNN, achieving an accuracy of 83.57%, a recall of 85.23%, an F1-score of 84.30%, and an AUC of 92.82%. To enhance interpretability, SHAP analysis was used to identify key predictors such as engine displacement, vehicle mass, traffic signals, and driver age. The findings offer valuable guidance for traffic safety policymaking and demonstrate the potential of integrating real-time severity prediction into intelligent traffic management systems.

Scientific ReportsVol. 15(1)
Xihua University (CN)
Xihua University
Good health and well-being
Openalex Percentile: Top 7%
Traffic Prediction and Management Techniques
4.03
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.