Predicting High-Risk Conflicts on Highways Using Hybrid Deep Learning Resampling and Explainable Artificial Intelligence

Abstract Accurately predicting high-risk conflicts on highways is essential yet challenging due to complex traffic maneuvering under heterogeneous conditions. This challenge is further complicated in real-world data by the prevalence of non-high-risk conflicts relative to high-risk conflicts, resulting in an extremely imbalanced dataset. To address this challenge, the present study developed three machine-learning algorithms with six resampling techniques, including a novel deep learning framework that integrates conditional tabular generative adversarial network (CTGAN)–based synthetic data generation with strategic undersampling. High-risk conflicts were identified using the surrogate safety measure modified time to collision ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="upper M upper T upper T upper C less than 1 normal s" display="inline" overflow="scroll"> <mml:mi>MTTC</mml:mi> <mml:mspace width="-0.2em"/> <mml:mo>&lt;</mml:mo> <mml:mspace width="-0.2em"/> <mml:mn>1</mml:mn> <mml:mtext> </mml:mtext> <mml:mi mathvariant="normal">s</mml:mi> </mml:math> ). Spatiotemporal traffic variables (i.e., traffic density, traffic flow, standard deviation in speed and acceleration, lane change frequency, etc.) were extracted for the 5-s window prior to each conflict within a two-dimensional influence zone using high-resolution trajectory data. Results show that the random forest model outperformed others when trained on CTGAN-synthesized data combined with random undersampling (RU). This hybrid approach improved sensitivity by 30% and increased the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="upper G" display="inline" overflow="scroll"> <mml:mi>G</mml:mi> </mml:math> -mean by 11% compared to the original imbalanced dataset, validating the proposed data-balancing approach. Sensitivity analysis indicated that CTGAN-RU performs optimally when the RU ratio is 2:1 (non-high-risk: high-risk) and the CTGAN-RU ratio becomes 1:1. Further, Shapley additive explanations identified traffic density and speed variability as the two most influential variables increasing the likelihood of high-risk conflicts, while higher flow reduced risk. By addressing both data imbalance and critical preconflict dynamics, the proposed framework significantly enhances high-risk conflict prediction and supports more effective driver alerts in heterogeneous traffic conditions.

Authors

Institutions

Publication Details

Journal
Journal of Computing in Civil Engineering
Published
2026-07-24
DOI
https://doi.org/10.1061/jccee5.cpeng-7065
Primary Topic
Traffic and Road Safety
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting High-Risk Conflicts on Highways Using Hybrid Deep Learning Resampling and Explainable Artificial Intelligence

Ashish Dhamaniya, Vineet Jain
Journal of Computing in Civil Engineering
Traffic and Road Safety
article

Predicting High-Risk Conflicts on Highways Using Hybrid Deep Learning Resampling and Explainable Artificial Intelligence

Ashish Dhamaniya, Vineet Jain
article en

Abstract

Abstract Accurately predicting high-risk conflicts on highways is essential yet challenging due to complex traffic maneuvering under heterogeneous conditions. This challenge is further complicated in real-world data by the prevalence of non-high-risk conflicts relative to high-risk conflicts, resulting in an extremely imbalanced dataset. To address this challenge, the present study developed three machine-learning algorithms with six resampling techniques, including a novel deep learning framework that integrates conditional tabular generative adversarial network (CTGAN)–based synthetic data generation with strategic undersampling. High-risk conflicts were identified using the surrogate safety measure modified time to collision ( <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="upper M upper T upper T upper C less than 1 normal s" display="inline" overflow="scroll"> <mml:mi>MTTC</mml:mi> <mml:mspace width="-0.2em"/> <mml:mo>&lt;</mml:mo> <mml:mspace width="-0.2em"/> <mml:mn>1</mml:mn> <mml:mtext> </mml:mtext> <mml:mi mathvariant="normal">s</mml:mi> </mml:math> ). Spatiotemporal traffic variables (i.e., traffic density, traffic flow, standard deviation in speed and acceleration, lane change frequency, etc.) were extracted for the 5-s window prior to each conflict within a two-dimensional influence zone using high-resolution trajectory data. Results show that the random forest model outperformed others when trained on CTGAN-synthesized data combined with random undersampling (RU). This hybrid approach improved sensitivity by 30% and increased the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="upper G" display="inline" overflow="scroll"> <mml:mi>G</mml:mi> </mml:math> -mean by 11% compared to the original imbalanced dataset, validating the proposed data-balancing approach. Sensitivity analysis indicated that CTGAN-RU performs optimally when the RU ratio is 2:1 (non-high-risk: high-risk) and the CTGAN-RU ratio becomes 1:1. Further, Shapley additive explanations identified traffic density and speed variability as the two most influential variables increasing the likelihood of high-risk conflicts, while higher flow reduced risk. By addressing both data imbalance and critical preconflict dynamics, the proposed framework significantly enhances high-risk conflict prediction and supports more effective driver alerts in heterogeneous traffic conditions.

Journal of Computing in Civil EngineeringVol. 40(6)
Sardar Vallabhbhai National Institute of Technology Surat (IN)
Sustainable cities and communities
Openalex Percentile: Top 9%
Traffic and Road Safety
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.