Comparative Analysis of Machine Learning and Statistical Models for Railroad–Highway Grade Crossing Safety

Railroad-highway grade crossings (RHGCs) are critical points of conflict between roadway and rail systems, contributing to over 2000 crashes and 250 fatalities annually in the United States. This study applied machine learning methods (ML) techniques to model and predict crash frequency at RHGCs, using a comprehensive dataset from the Federal Railroad Administration (FRA) and Tennessee Department of Transportation (TDOT). The dataset included 807 validated crossings, incorporating roadway geometry, traffic volumes, rail characteristics, and control features. Five ML models—Random Forest, XGBoost, PSO-Elastic Net, Transformer-CNN, and Autoencoder-MLP—were developed and compared to a traditional Negative Binomial (NB) regression model. Results showed that ML models significantly outperformed the NB model in predictive accuracy, with the Transformer-CNN achieving the lowest Mean Squared Error (21.4) and Mean Absolute Error (3.2). Feature importance analysis using SHAP values consistently identified Annual Average Daily Traffic (AADT), Truck Traffic Percentage, and Number of Lanes as the most influential predictors, findings that were underrepresented or statistically insignificant in the NB model. Notably, the NB model failed to detect the nonlinear relationships and interaction effects that ML algorithms captured effectively. While only three variables were statistically significant in the NB model, ML models revealed a broader spectrum of critical crash determinants, offering deeper interpretability and higher sensitivity. These findings emphasize the superiority of machine learning approaches in modeling RHGC safety and highlight their potential to support data-driven interventions and policy decisions for reducing crash risks at grade crossings.

Authors

Institutions

Publication Details

Journal
Vehicles
Published
2025-12-17
DOI
https://doi.org/10.3390/vehicles7040163
Citations
1
Primary Topic
Traffic and Road Safety
Type
article
Field-Weighted Citation Impact
1.30
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Analysis of Machine Learning and Statistical Models for Railroad–Highway Grade Crossing Safety

Deo Chimba, Shala Blue, Erickson Senkondo, Afia Yeboah et al.
1 citations
Vehicles
Traffic and Road Safety
1.30
article

Comparative Analysis of Machine Learning and Statistical Models for Railroad–Highway Grade Crossing Safety

Deo Chimba, Shala Blue, Erickson Senkondo, Afia Yeboah, Masanja Madalo
article en
1 citations

Abstract

Railroad-highway grade crossings (RHGCs) are critical points of conflict between roadway and rail systems, contributing to over 2000 crashes and 250 fatalities annually in the United States. This study applied machine learning methods (ML) techniques to model and predict crash frequency at RHGCs, using a comprehensive dataset from the Federal Railroad Administration (FRA) and Tennessee Department of Transportation (TDOT). The dataset included 807 validated crossings, incorporating roadway geometry, traffic volumes, rail characteristics, and control features. Five ML models—Random Forest, XGBoost, PSO-Elastic Net, Transformer-CNN, and Autoencoder-MLP—were developed and compared to a traditional Negative Binomial (NB) regression model. Results showed that ML models significantly outperformed the NB model in predictive accuracy, with the Transformer-CNN achieving the lowest Mean Squared Error (21.4) and Mean Absolute Error (3.2). Feature importance analysis using SHAP values consistently identified Annual Average Daily Traffic (AADT), Truck Traffic Percentage, and Number of Lanes as the most influential predictors, findings that were underrepresented or statistically insignificant in the NB model. Notably, the NB model failed to detect the nonlinear relationships and interaction effects that ML algorithms captured effectively. While only three variables were statistically significant in the NB model, ML models revealed a broader spectrum of critical crash determinants, offering deeper interpretability and higher sensitivity. These findings emphasize the superiority of machine learning approaches in modeling RHGC safety and highlight their potential to support data-driven interventions and policy decisions for reducing crash risks at grade crossings.

VehiclesVol. 7(4)
Tennessee State University (US), Federal Railroad Administration (US)
Openalex Percentile: Top 15%
Traffic and Road Safety
1.30
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.