Machine learning predictive performance in road accident severity: A case study from Thailand

• Random Forest (RF) demonstrated superior performance in predicting road accident severity among eight ML algorithms. • RF achieved an average AUC of 0.768, classification accuracy (CA) of 0.777, and high recall for non-fatal accidents (0.964). • Key predictors include highway usage, speeding, time of day, nighttime without lighting, and rider gender. • Non-fatalities were predicted with higher accuracy compared to fatalities, highlighting challenges in fatality predictions. • Findings reinforce ML's potential for targeted interventions and advancing road safety strategies. Traffic accidents remain a major cause of fatalities and economic losses worldwide, necessitating the development of accurate predictive models for enhancing road safety and minimizing risks. In Thailand, where road traffic injuries persist as a public health challenge, data-driven approaches can significantly contribute to accident prevention strategies. This study evaluates the predictive performance of multiple supervised machine learning algorithms in classifying accident severity, addressing the gap in prior research that lacks a comparative analysis of multiple models trained on large-scale crash data. Eight algorithms were assessed, including Decision Tree (DT), Support Vector Machine (SVM), Random Forest (RF), K-Nearest Neighbors (kNN), Neural Network (NN), Naïve Bayes (NB), Logistic Regression (LR), and Gradient Boosting (GB).A dataset comprising 112,837 road accidents over a five-year period in Thailand was analyzed, focusing exclusively on incidents where drivers were at fault. The dataset underwent extensive preprocessing, including missing value imputation, data balancing checks, and feature selection to ensure robustness. Among the models tested, Random Forest demonstrated superior performance in the binary classification task, achieving an average class AUC of 0.768, classification accuracy of 0.777, precision of 0.752, and recall of 0.777. Key predictive features include road type (highway), speeding, time of day (daylight), absence of lighting at night, and driver gender. While the model effectively classifies non-fatal accidents, its recall for fatalities remains limited (0.198), highlighting challenges in predicting fatal crashes due to the complex interplay of contributing factors.These findings reinforce the applicability of machine learning in traffic safety research and provide valuable insights for policymakers seeking data-driven interventions. Future work should explore advanced feature engineering and ensemble techniques to enhance fatality prediction accuracy.

Authors

Institutions

Publication Details

Journal
Results in Engineering
Published
2025-04-08
DOI
https://doi.org/10.1016/j.rineng.2025.104833
Citations
9
Primary Topic
Traffic and Road Safety
Type
article
Field-Weighted Citation Impact
11.73

Funders

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

Machine learning predictive performance in road accident severity: A case study from Thailand

Ittirit Mohamad, Vatanavongs Ratanavaraha, Sajjakaj Jomnonkwao
9 citations
Results in Engineering
Traffic and Road Safety
11.73
article

Machine learning predictive performance in road accident severity: A case study from Thailand

Ittirit Mohamad, Vatanavongs Ratanavaraha, Sajjakaj Jomnonkwao
article en
9 citations

Abstract

• Random Forest (RF) demonstrated superior performance in predicting road accident severity among eight ML algorithms. • RF achieved an average AUC of 0.768, classification accuracy (CA) of 0.777, and high recall for non-fatal accidents (0.964). • Key predictors include highway usage, speeding, time of day, nighttime without lighting, and rider gender. • Non-fatalities were predicted with higher accuracy compared to fatalities, highlighting challenges in fatality predictions. • Findings reinforce ML's potential for targeted interventions and advancing road safety strategies. Traffic accidents remain a major cause of fatalities and economic losses worldwide, necessitating the development of accurate predictive models for enhancing road safety and minimizing risks. In Thailand, where road traffic injuries persist as a public health challenge, data-driven approaches can significantly contribute to accident prevention strategies. This study evaluates the predictive performance of multiple supervised machine learning algorithms in classifying accident severity, addressing the gap in prior research that lacks a comparative analysis of multiple models trained on large-scale crash data. Eight algorithms were assessed, including Decision Tree (DT), Support Vector Machine (SVM), Random Forest (RF), K-Nearest Neighbors (kNN), Neural Network (NN), Naïve Bayes (NB), Logistic Regression (LR), and Gradient Boosting (GB).A dataset comprising 112,837 road accidents over a five-year period in Thailand was analyzed, focusing exclusively on incidents where drivers were at fault. The dataset underwent extensive preprocessing, including missing value imputation, data balancing checks, and feature selection to ensure robustness. Among the models tested, Random Forest demonstrated superior performance in the binary classification task, achieving an average class AUC of 0.768, classification accuracy of 0.777, precision of 0.752, and recall of 0.777. Key predictive features include road type (highway), speeding, time of day (daylight), absence of lighting at night, and driver gender. While the model effectively classifies non-fatal accidents, its recall for fatalities remains limited (0.198), highlighting challenges in predicting fatal crashes due to the complex interplay of contributing factors.These findings reinforce the applicability of machine learning in traffic safety research and provide valuable insights for policymakers seeking data-driven interventions. Future work should explore advanced feature engineering and ensemble techniques to enhance fatality prediction accuracy.

Results in EngineeringVol. 26
King Mongkut's University of Technology Thonburi (TH), Suranaree University of Technology (TH)
Suranaree University of Technology, King Mongkut's University of Technology Thonburi
Good health and well-being
Openalex Percentile: Top 1%
Traffic and Road Safety
11.73
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.