Document Type
Article
Publication Date
12-17-2025
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.
Recommended Citation
Senkondo, E., Chimba, D., Madalo, M., Yeboah, A., & Blue, S. (2025). Comparative Analysis of Machine Learning and Statistical Models for Railroad–Highway Grade Crossing Safety. Vehicles, 7(4), 163. https://doi.org/10.3390/vehicles7040163
