Skip to main navigation Skip to search Skip to main content

Modeling Pedestrian Red Signal Violations at Signalized Intersections Using Machine Learning

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Pedestrian red-signal violations at signalized intersections have serious safety implications, particularly in rapidly urbanizing cities of developing countries. This study develops machine learning models to predict and explain pedestrian red-signal violations using data collected at five signalized intersections in Lahore, Pakistan (N = 1,460 observations). The observed mean violation rate of 58.8% highlights the severity of non-compliance. Five machine learning algorithms were evaluated: Logistic Regression, Decision Tree, Extra Trees, Random Forest, and CatBoost. Model evaluation employed two complementary validation strategies to assess within-site explanatory performance and cross-site generalizability. A nested stratified cross-validation scheme was used to assess model performance within observed intersections, while a Leave-One-Intersection-Out (LOIO) approach evaluated generalization to unseen intersections. Hyperparameters were optimized using the Optuna Tree-structured Parzen Estimator (TPE) sampler. The Extra Trees classifier achieved the best performance under stratified cross-validation. SHAP (SHapley Additive exPlanations) analysis indicated that intersection identifiers captured a substantial portion of the variation in violation outcomes, followed by G/C ratio and number of lanes. The LOIO evaluation revealed a substantial generalization gap, highlighting strong intersection-specific behavioral patterns. Despite limited generalizability, the interpretable insights provide actionable guidance for traffic safety practitioners.

Original languageEnglish
Title of host publication2026 International Conference on Frontiers of Engineering and Emerging Technologies, FET 2026
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798319518866
DOIs
StatePublished - 2026

Publication series

Name2026 International Conference on Frontiers of Engineering and Emerging Technologies, FET 2026

Bibliographical note

Publisher Copyright:
© 2026 IEEE.

UN SDGs

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

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being
  2. SDG 11 - Sustainable Cities and Communities
    SDG 11 Sustainable Cities and Communities

Keywords

  • SHAP
  • machine learning
  • pedestrian safety
  • red signal violation
  • signalized intersections

ASJC Scopus subject areas

  • Industrial and Manufacturing Engineering
  • Energy Engineering and Power Technology
  • Civil and Structural Engineering
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'Modeling Pedestrian Red Signal Violations at Signalized Intersections Using Machine Learning'. Together they form a unique fingerprint.

Cite this