IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v18y2026i5p2223-d1871348.html

A Comparative Analysis of Traffic Accident Frequency Models for Motorway Tunnels Using Machine Learning

Author

Listed:
  • Ulrich Zorin

    (Motorway Company in the Republic of Slovenia, Ulica XIV. Divizije 4, 3000 Celje, Slovenia)

  • Marko Renčelj

    (Faculty of Civil Engineering, Transportation Engineering and Architecture, University of Maribor, Smetanova 17, 2000 Maribor, Slovenia)

  • Domen Mongus

    (Faculty of Electrical Engineering and Computer Science, University of Maribor, Koroška ul. 46, 2000 Maribor, Slovenia)

  • Matjaž Šraml

    (Faculty of Civil Engineering, Transportation Engineering and Architecture, University of Maribor, Smetanova 17, 2000 Maribor, Slovenia)

Abstract

Motorway tunnels are critical elements of the motorway network where traffic accidents, although less frequent than on open sections, often have more severe consequences. This paper develops a model for expected accident frequency in motorway tunnels based on a traditional Negative Binomial (NB) regression model and two machine-learning–based models: Neural Networks (NN) and Random Forest (RF). The study uses historical accident and traffic data for all motorway tunnels between 2013 and 2024, combined with key infrastructural characteristics. The analysis considers all recorded traffic accidents in motorway tunnels, including accidents with material damage only as well as injury-related accidents of varying severity. A stepwise procedure was used to determine the optimal NB model, resulting in a final specification with tunnel length and Annual Average Daily Traffic (AADT) as predictors. Machine-learning–based models were trained on the same input set and evaluated against the NB model using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE) and log-likelihood. The NN model achieved the lowest MAE (1.03 accidents/year), followed by RF (1.07) and NB (1.13), confirming that machine-learning-based (ML-based) models slightly improved predictive accuracy while maintaining interpretability at the network level. Compared to the NB model, the NN model achieved a reduction in Mean Absolute Error of 9.2%, while the RF model achieved a reduction of 5.1%. A detailed case study of the Trojane tunnel demonstrates that all models reproduce long-term accident trends, while machine-learning-based models better capture variations between years. The proposed modelling framework provides a practical decision–support tool for tunnel operators and policy makers by supporting tunnel risk classification, prioritization of safety investments, and medium-term safety planning. By supporting proactive tunnel safety planning and evidence-based prioritization of safety investments, the proposed framework contributes to sustainable transport infrastructure management. Improved prediction of accident frequency enables more efficient allocation of resources, reduction in accident-related social and economic costs, and enhanced long-term resilience of motorway tunnel systems.

Suggested Citation

  • Ulrich Zorin & Marko Renčelj & Domen Mongus & Matjaž Šraml, 2026. "A Comparative Analysis of Traffic Accident Frequency Models for Motorway Tunnels Using Machine Learning," Sustainability, MDPI, vol. 18(5), pages 1-21, February.
  • Handle: RePEc:gam:jsusta:v:18:y:2026:i:5:p:2223-:d:1871348
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/18/5/2223/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/18/5/2223/
    Download Restriction: no
    ---><---

    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:gam:jsusta:v:18:y:2026:i:5:p:2223-:d:1871348. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.