Understanding Feature Contributions for Traffic Accident Severity Prediction

Authors

  • Wenxin Yan

DOI:

https://doi.org/10.61173/j18kfn16

Keywords:

Traffic accident severity, Random forest, Feature contribution, UK road accident dataset

Abstract

Concern around global traffic accidents have increased due to the large toll they take on people and the economy. To investigate factors affecting the result of vehicle accidents in the UK, this study attempts to predict the severity of accidents using a Random Forest model. It investigates difference feature sets including time, context and interaction. Following data preprocessing and class balancing using the Synthetic Minority Oversampling Technique (SMOTE), five feature sets (baseline, temporal, context, interaction and extended) were trained and assessed over 10 iterations. The results show that overall accuracy remains around 0.78 and AUC around 0.60 across all models, indicating stable performance. However, the inclusion of contextual and interaction features slightly improves recall for fatal and serious crashes and reduces the dominance of a few strong predictors, leading to a more balanced feature contribution. These results suggest that richer feature design enhances Random Forest’s ability to capture complex crash patterns beyond the majority of slight accidents.

References

[1] Gebru M. K. Road traffic accident: Human security perspective. International Journal of Peace and Development Studies, 2017, 8(2), 15–24.

[2] World Health Organization. Global status report on road safety 2023. Geneva: World Health Organization, 2023.

[3] Chen S., Kuhn M., Prettner K., et al. The global macroeconomic burden of road injuries: Estimates and projections for 166 countries. The Lancet Planetary Health, 2019, 3(9), e390–e398.

[4] Kodepogu K., Manjeti V. B., Siriki A. B. Machine learning for road accident severity prediction. Mechatronics and Intelligent Transportation Systems, 2023, 2, 211–226.

[5] Obasi I. C., Benson C. Evaluating the effectiveness of machine learning techniques in forecasting the severity of traffic accidents. Heliyon, 2023, 9(8), e18812.

[6] Yan M., Shen Y. Traffic accident severity prediction based on random forest. Sustainability, 2022, 14(3), 1729.

[7] Adefabi A., Olisah S., Obunadike C., et al. Predicting accident severity: An analysis of factors affecting accident severity using random forest model. International Journal on Cybernetics and Informatics, 2023, 12(6), 107–121.

[8] Khanum H., Garg A., Faheem M. I. Accident severity prediction modeling for road safety using random forest algorithm: An analysis of Indian highways. F1000Research, 2023, 12, 494.

[9] Alotaibi J. Enhancing traffic accident severity prediction: Feature identification using explainable AI. Vehicles, 2025, 7(2), 38.

[10] Rifat M. A. K., Kabir A., Huq A. S. An explainable machine learning approach to traffic accident fatality prediction. arXiv preprint, 2024.

[11] Ansodariya D. Road accident United Kingdom (UK) dataset. Kaggle, 2020. https://www.kaggle.com/datasets/ devansodariya/road-accident-united-kingdom-uk-dataset/data

Downloads

Published

2026-02-28