IDEAS home Printed from https://ideas.repec.org/a/eee/reensy/v261y2025ics0951832025002832.html
   My bibliography  Save this article

Improving reliability of safety countermeasure evaluation at highway-rail grade crossings through aleatoric uncertainty modeling with machine learning techniques

Author

Listed:
  • Zayandehroodi, Mohammadali
  • Mojaradi, Barat
  • Bagheri, Morteza

Abstract

Traditional Collision Modification Factor (CMF) calculation methods rely on simplistic statistical models that often fail to account for the complex, non-linear relationships influencing collision rates, leading to uncertain estimates. To address this gap, this study aims to improve the reliability of CMF estimation for safety countermeasures by introducing a novel hybrid model that combines Negative Binomial (NB) regression with a Long Short-Term Memory (LSTM) neural network to estimate aleatoric uncertainty. In other words, the proposed method integrates statistical modelling with machine learning techniques within the Empirical Bayes (EB) framework to compute uncertainty for enhancing CMF accuracy and stability. By increasing the reliability of collision frequency predictions and calculating more precise CMFs, the proposed method enables the selection of appropriate countermeasures, ultimately reducing fatalities and costs. The model is trained using data from Highway-Rail Grade Crossings (HRGC) inventory and collision records from the Federal Railroad Administration (FRA) for 2016–2022. The NB regression model provides a statistical foundation for collision prediction, while the LSTM component models uncertainties, significantly improve CMF calculation. Compared to the traditional NB model, the hybrid NB-LSTM approach reduces root mean squared error (RMSE) by 62.5 % and mean absolute error (MAE) by 61 % in predicting collision frequencies, leading to more reliable CMFs. The model identifies that gates reduce collisions by 61 % in high-traffic HRGCs, bells decrease collisions by 67 % in high-speed areas, and flashing lights achieve a 72 % reduction in low-traffic, high-speed crossings. Additionally, the proposed method achieves lower standard errors (S.E.) across all countermeasures.

Suggested Citation

  • Zayandehroodi, Mohammadali & Mojaradi, Barat & Bagheri, Morteza, 2025. "Improving reliability of safety countermeasure evaluation at highway-rail grade crossings through aleatoric uncertainty modeling with machine learning techniques," Reliability Engineering and System Safety, Elsevier, vol. 261(C).
  • Handle: RePEc:eee:reensy:v:261:y:2025:i:c:s0951832025002832
    DOI: 10.1016/j.ress.2025.111082
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0951832025002832
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.ress.2025.111082?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Chen, Xiyuan & Ma, Xiaoping & Jia, Limin & Zhang, Zhipeng & Chen, Fei & Wang, Ruojin, 2024. "Causative analysis of freight railway accident in specific scenes using a data-driven Bayesian network," Reliability Engineering and System Safety, Elsevier, vol. 243(C).
    2. Tohme, Tony & Vanslette, Kevin & Youcef-Toumi, Kamal, 2023. "Reliable neural networks for regression uncertainty estimation," Reliability Engineering and System Safety, Elsevier, vol. 229(C).
    3. Zhou, Xiaoyi & Lu, Pan & Zheng, Zijian & Tolliver, Denver & Keramati, Amin, 2020. "Accident Prediction Accuracy Assessment for Highway-Rail Grade Crossings Using Random Forest Algorithm Compared with Decision Tree," Reliability Engineering and System Safety, Elsevier, vol. 200(C).
    4. Meng, Huixing & Hu, Mengqian & Kong, Ziyan & Niu, Yiming & Liang, Jiali & Nie, Zhenyu & Xing, Jinduo, 2024. "Risk analysis of lithium-ion battery accidents based on physics-informed data-driven Bayesian networks," Reliability Engineering and System Safety, Elsevier, vol. 251(C).
    5. Wang, Zihan & Daeipour, Mohamad & Xu, Hongyi, 2023. "Quantification and propagation of Aleatoric uncertainties in topological structures," Reliability Engineering and System Safety, Elsevier, vol. 233(C).
    6. Kong, Dewei & Lin, Zelong & Li, Wei & He, Wei, 2024. "Development of an improved Bayesian network method for maritime accident safety assessment based on multiscale scenario analysis theory," Reliability Engineering and System Safety, Elsevier, vol. 251(C).
    7. Ortelli, Nicola & Lapparent, Matthieu de & Varotto, Silvia F. & Bierlaire, Michel, 2025. "An integrated ordered logit and latent variable model for accident injury severity and risk-taking behavior," Transportation Research Part A: Policy and Practice, Elsevier, vol. 192(C).
    8. Zhuang, Liangliang & Xu, Ancha & Wang, Xiao-Lin, 2023. "A prognostic driven predictive maintenance framework based on Bayesian deep learning," Reliability Engineering and System Safety, Elsevier, vol. 234(C).
    9. Rachman, Andika & Ratnayake, R.M. Chandima, 2019. "Machine learning approach for risk-based inspection screening assessment," Reliability Engineering and System Safety, Elsevier, vol. 185(C), pages 518-532.
    10. Chen, Xiyuan & Ma, Xiaoping & Jia, Limin & Chen, Fei, 2025. "Risk assessment of main accident causes at highway-rail grade crossings," Reliability Engineering and System Safety, Elsevier, vol. 256(C).
    11. He, Zhidong & Navneet, Kumar & van Dam, Wirdmer & Van Mieghem, Piet, 2021. "Robustness assessment of multimodal freight transport networks," Reliability Engineering and System Safety, Elsevier, vol. 207(C).
    12. Gao, Lu & Lu, Pan & Ren, Yihao, 2021. "A deep learning approach for imbalanced crash data in predicting highway-rail grade crossings accidents," Reliability Engineering and System Safety, Elsevier, vol. 216(C).
    13. Li, Bokang & Afkhami, Payam & Khayamim, Razieh & Elmi, Zeinab & Moses, Ren & Sobanjo, John & Ozguven, Eren E. & Dulebenets, Maxim A., 2024. "A holistic optimization-based approach for sustainable selection of level crossings for closure with safety, economic, and environmental considerations," Reliability Engineering and System Safety, Elsevier, vol. 249(C).
    14. Iranitalab, Amirfarrokh & Khattak, Aemal, 2020. "Probabilistic classification of hazardous materials release events in train incidents and cargo tank truck crashes," Reliability Engineering and System Safety, Elsevier, vol. 199(C).
    15. Zhang, Chao & Gong, Daqing & Xue, Gang, 2025. "An uncertainty-incorporated active data diffusion learning framework for few-shot equipment RUL prediction," Reliability Engineering and System Safety, Elsevier, vol. 254(PB).
    16. Li, Kun & Xu, Haocheng & Liu, Xiao, 2022. "Analysis and visualization of accidents severity based on LightGBM-TPE," Chaos, Solitons & Fractals, Elsevier, vol. 157(C).
    17. Afkhami, Payam & Khayamim, Razieh & Li, Bokang & Borowska-Stefańska, Marta & Wiśniewski, Szymon & Fathollahi-Fard, Amir M. & Lau, Yui-yip & Dulebenets, Maxim A., 2025. "Resource allocation approaches for improving safety and operations at level crossings: State of the art, existing challenges, and future research needs," Reliability Engineering and System Safety, Elsevier, vol. 257(PA).
    18. Singh, Prashant & Pasha, Junayed & Moses, Ren & Sobanjo, John & Ozguven, Eren E. & Dulebenets, Maxim A., 2022. "Development of exact and heuristic optimization methods for safety improvement projects at level crossings under conflicting objectives," Reliability Engineering and System Safety, Elsevier, vol. 220(C).
    19. Yan, Dongyang & Li, Keping & Zhu, Qiaozhen & Liu, Yanyan, 2023. "A railway accident prevention method based on reinforcement learning – Active preventive strategy by multi-modal data," Reliability Engineering and System Safety, Elsevier, vol. 234(C).
    20. Rungskunroch, Panrawee & Jack, Anson & Kaewunruen, Sakdirat, 2021. "Benchmarking on railway safety performance using Bayesian inference, decision tree and petri-net techniques based on long-term accidental data sets," Reliability Engineering and System Safety, Elsevier, vol. 213(C).
    21. Fan, Xudong & Zhang, Xijin & Yu, Xiong Bill, 2023. "Uncertainty quantification of a deep learning model for failure rate prediction of water distribution networks," Reliability Engineering and System Safety, Elsevier, vol. 236(C).
    22. Hussain, Muhammad & Zhang, Tieling, 2025. "Machine learning-based outlier detection for pipeline in-line inspection data," Reliability Engineering and System Safety, Elsevier, vol. 254(PA).
    23. Vishwanath, B Sharanbaswa & Banerjee, Swagata, 2023. "Considering uncertainty in corrosion process to estimate life-cycle seismic vulnerability and risk of aging bridge piers," Reliability Engineering and System Safety, Elsevier, vol. 232(C).
    24. Qin, Zhiyuan & Naser, M.Z., 2023. "Machine learning and model driven bayesian uncertainty quantification in suspended nonstructural systems," Reliability Engineering and System Safety, Elsevier, vol. 237(C).
    25. Ziegler Haselein, Bruno & da Silva, Jonny Carlos & Hooey, Becky L., 2024. "Multiple machine learning modeling on near mid-air collisions: An approach towards probabilistic reasoning," Reliability Engineering and System Safety, Elsevier, vol. 244(C).
    26. Simsekler, Mecit Can Emre & Rodrigues, Clarence & Qazi, Abroon & Ellahham, Samer & Ozonoff, Al, 2021. "A comparative study of patient and staff safety evaluation using tree-based machine learning algorithms," Reliability Engineering and System Safety, Elsevier, vol. 208(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Chen, Xiyuan & Ma, Xiaoping & Jia, Limin & Chen, Fei, 2025. "Risk assessment of main accident causes at highway-rail grade crossings," Reliability Engineering and System Safety, Elsevier, vol. 256(C).
    2. Afkhami, Payam & Khayamim, Razieh & Li, Bokang & Borowska-Stefańska, Marta & Wiśniewski, Szymon & Fathollahi-Fard, Amir M. & Lau, Yui-yip & Dulebenets, Maxim A., 2025. "Resource allocation approaches for improving safety and operations at level crossings: State of the art, existing challenges, and future research needs," Reliability Engineering and System Safety, Elsevier, vol. 257(PA).
    3. Singh, Prashant & Pasha, Junayed & Moses, Ren & Sobanjo, John & Ozguven, Eren E. & Dulebenets, Maxim A., 2022. "Development of exact and heuristic optimization methods for safety improvement projects at level crossings under conflicting objectives," Reliability Engineering and System Safety, Elsevier, vol. 220(C).
    4. Li, Bokang & Afkhami, Payam & Khayamim, Razieh & Elmi, Zeinab & Moses, Ren & Sobanjo, John & Ozguven, Eren E. & Dulebenets, Maxim A., 2024. "A holistic optimization-based approach for sustainable selection of level crossings for closure with safety, economic, and environmental considerations," Reliability Engineering and System Safety, Elsevier, vol. 249(C).
    5. Liu, Jintao & Ji, Lin & Chen, Keyi & Li, Chenling & Duan, Huayu, 2025. "Railway operational hazard prediction and control based on knowledge graph embedding and topological analysis," Reliability Engineering and System Safety, Elsevier, vol. 258(C).
    6. Iaiani, Matteo & Fazari, Giuseppe & Tugnoli, Alessandro & Cozzani, Valerio, 2025. "Identification of reference security scenarios from past event datasets by Bayesian Network analysis," Reliability Engineering and System Safety, Elsevier, vol. 254(PB).
    7. Gao, Lu & Lu, Pan & Ren, Yihao, 2021. "A deep learning approach for imbalanced crash data in predicting highway-rail grade crossings accidents," Reliability Engineering and System Safety, Elsevier, vol. 216(C).
    8. Tan, Qiong & Fu, Ming & Wang, Zhengxing & Yuan, Hongyong & Sun, Jinhua, 2024. "A real-time early warning classification method for natural gas leakage based on random forest," Reliability Engineering and System Safety, Elsevier, vol. 251(C).
    9. Liu, Guanyi & Liu, Shifeng & Li, Xuewei & Li, Xueyan & Gong, Daqing, 2025. "Multiscenario deduction analysis for railway emergencies using knowledge metatheory and dynamic Bayesian networks," Reliability Engineering and System Safety, Elsevier, vol. 255(C).
    10. Li, Haiwen & Qi, Lin & Wang, Mudan & Liu, Junying, 2025. "Operational resilience modeling of cross-border freight railway systems: A study of strategies to improve proactive and reactive capabilities," Reliability Engineering and System Safety, Elsevier, vol. 257(PA).
    11. Gunckel, Pablo Viveros & Lobos, Giovanni & Rodríguez, Fredy Kristjanpoller & Bustos, Rodrigo Mena & Godoy, David, 2025. "Methodology proposal for the development of failure prediction models applied to conveyor belts of mining material using machine learning," Reliability Engineering and System Safety, Elsevier, vol. 256(C).
    12. Dindar, Serdar & Kaewunruen, Sakdirat & An, Min, 2022. "A hierarchical Bayesian-based model for hazard analysis of climate effect on failures of railway turnout components," Reliability Engineering and System Safety, Elsevier, vol. 218(PA).
    13. Yan, Dongyang & Li, Keping & Zhu, Qiaozhen & Liu, Yanyan, 2023. "A railway accident prevention method based on reinforcement learning – Active preventive strategy by multi-modal data," Reliability Engineering and System Safety, Elsevier, vol. 234(C).
    14. Ebrahimi, Mehrdad & Nobahar, Elnaz & Mohammadi, Reza Karami & Noroozinejad Farsangi, Ehsan & Noori, Mohammad & Li, Shaofan, 2023. "The influence of model and measurement uncertainties on damage detection of experimental structures through recursive algorithms," Reliability Engineering and System Safety, Elsevier, vol. 239(C).
    15. Wen, He & Khan, Faisal & AbouRizk, Simaan & Fu, Gui, 2024. "Understanding of causality and its mathematical representation in accident modeling," Reliability Engineering and System Safety, Elsevier, vol. 250(C).
    16. Shi, Lingyuan & Yang, Xin & Chang, Ximing & Wu, Jianjun & Sun, Huijun, 2023. "An improved density peaks clustering algorithm based on k nearest neighbors and turning point for evaluating the severity of railway accidents," Reliability Engineering and System Safety, Elsevier, vol. 233(C).
    17. Amini, Mostafa & Bagheri, Ali & Delen, Dursun, 2022. "Discovering injury severity risk factors in automobile crashes: A hybrid explainable AI framework for decision support," Reliability Engineering and System Safety, Elsevier, vol. 226(C).
    18. Hou, Hui & Liu, Chao & Wei, Ruizeng & He, Huan & Wang, Lei & Li, Weibo, 2023. "Outage duration prediction under typhoon disaster with stacking ensemble learning," Reliability Engineering and System Safety, Elsevier, vol. 237(C).
    19. Basora, Luis & Viens, Arthur & Chao, Manuel Arias & Olive, Xavier, 2025. "A benchmark on uncertainty quantification for deep learning prognostics," Reliability Engineering and System Safety, Elsevier, vol. 253(C).
    20. Quintanilha, Igor M. & Elias, Vitor R.M. & da Silva, Felipe B. & Fonini, Pedro A.M. & da Silva, Eduardo A.B. & Netto, Sergio L. & Apolinário, José A. & de Campos, Marcello L.R. & Martins, Wallace A., 2021. "A fault detector/classifier for closed-ring power generators using machine learning," Reliability Engineering and System Safety, Elsevier, vol. 212(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:reensy:v:261:y:2025:i:c:s0951832025002832. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: https://www.journals.elsevier.com/reliability-engineering-and-system-safety .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.