Skip to main navigation Skip to search Skip to main content

Sustainable Safety Planning on Two-Lane Highways: A Random Forest Approach for Crash Prediction and Resource Allocation

Research output: Contribution to journalArticlepeer-review

Abstract

During the safety planning stage, accurate crash prediction tools are critical for prioritizing countermeasures and allocating resources effectively. Traditional statistical approaches, while long applied in this field, often depend on distributional assumptions that may introduce bias and limit model accuracy. To address these issues, studies have started exploring Machine Learning (ML)-based techniques for crash prediction, particularly for higher functional class roads. However, the application of ML models on two-lane highways remains relatively limited. This study aims to develop an approach to integrate traffic, geometric, and critically, speed-based factors in crash prediction using Random Forest (RF) and SHapley Additive exPlanations (SHAP) techniques. Comparative analysis shows that the RF model improves crash prediction accuracy by up to 25% over the traditional Zero-Inflated Negative Binomial model. SHAP analysis identified AADT, segment length, and average speed as the three most influential predictors of crash frequency, with speed emerging as a key operational factor alongside traditional exposure measures. The strong influence of speed in the RF–SHAP results depicts its critical role in the safety performance of two-lane highways and highlights the value of incorporating detailed operating characteristics into crash prediction models. Overall, the proposed RF–SHAP framework advances roadway safety assessment by offering both predictive accuracy and interpretability, allowing agencies to identify high-impact factors, prioritize countermeasures, and direct resources more efficiently. In doing so, the approach supports sustainable safety management by enabling evidence-based investments, promoting optimal use of limited transportation funds, and contributing to safer, more resilient mobility systems.

Original languageEnglish
Article number635
JournalSustainability (Switzerland)
Volume18
Issue number2
DOIs
StatePublished - Jan 2026

Bibliographical note

Publisher Copyright:
© 2026 by the authors.

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 7 - Affordable and Clean Energy
    SDG 7 Affordable and Clean Energy

Keywords

  • data-driven resource allocation
  • random forest
  • sustainable road safety
  • two-lane highways
  • zero-inflated model

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • Geography, Planning and Development
  • Renewable Energy, Sustainability and the Environment
  • Environmental Science (miscellaneous)
  • Energy Engineering and Power Technology
  • Hardware and Architecture
  • Computer Networks and Communications
  • Management, Monitoring, Policy and Law

Fingerprint

Dive into the research topics of 'Sustainable Safety Planning on Two-Lane Highways: A Random Forest Approach for Crash Prediction and Resource Allocation'. Together they form a unique fingerprint.

Cite this