Solution to data imbalance and complex interactions in traffic conflict modeling: a hypergraph and generative AI approach

Existing traffic conflict models face challenges in handling minority class samples and capturing dynamic interactions in complex traffic scenarios. These limitations hinder model generalization and real-world applicability. This study employs an enhanced Two-dimensional Time-to-collision (2D-TTC) metric combined with vehicle interaction relationships to predict traffic conflicts of multiple patterns. To address imbalance in conflict and non-conflict events, both undersampling and oversampling techniques are employed, while a generative adversarial network with self-attention layers is leveraged to overcome the shortcomings of oversampling methods. Indeed, this approach proved highly effective, elevating the model's F1-score from 76.35 % with undersampling alone to 94.21 %. Additionally, several machine learning and deep learning models are compared, with the hypergraph attention network combined with Shapley additive explanations (S-HGAT) demonstrating the strongest learning capability. Furthermore, vehicle speed is identified as the most influential factor associated with traffic conflicts. A comprehensive re-evaluation of feature combinations reveals that the top six features-vehicle speed, the number of vehicles ahead, the standard deviation and the average of vehicle speeds within the traffic flow, distance with the road markings, and peak traffic hour indicators-result in the highest model F1-score of 98.41 % and accuracy of 97.66 %. Finally, the real-world implications of these findings are discussed.

Authors

Institutions

Publication Details

Journal
Accident Analysis & Prevention
Published
2025-12-08
DOI
https://doi.org/10.1016/j.aap.2025.108338
Primary Topic
Traffic control and management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Solution to data imbalance and complex interactions in traffic conflict modeling: a hypergraph and generative AI approach

Ying Jiang, Kai Guan, Junyi Zhang, Wei Ye
Accident Analysis & Prevention
Traffic control and management
article

Solution to data imbalance and complex interactions in traffic conflict modeling: a hypergraph and generative AI approach

Ying Jiang, Kai Guan, Junyi Zhang, Wei Ye
article en

Abstract

Existing traffic conflict models face challenges in handling minority class samples and capturing dynamic interactions in complex traffic scenarios. These limitations hinder model generalization and real-world applicability. This study employs an enhanced Two-dimensional Time-to-collision (2D-TTC) metric combined with vehicle interaction relationships to predict traffic conflicts of multiple patterns. To address imbalance in conflict and non-conflict events, both undersampling and oversampling techniques are employed, while a generative adversarial network with self-attention layers is leveraged to overcome the shortcomings of oversampling methods. Indeed, this approach proved highly effective, elevating the model's F1-score from 76.35 % with undersampling alone to 94.21 %. Additionally, several machine learning and deep learning models are compared, with the hypergraph attention network combined with Shapley additive explanations (S-HGAT) demonstrating the strongest learning capability. Furthermore, vehicle speed is identified as the most influential factor associated with traffic conflicts. A comprehensive re-evaluation of feature combinations reveals that the top six features-vehicle speed, the number of vehicles ahead, the standard deviation and the average of vehicle speeds within the traffic flow, distance with the road markings, and peak traffic hour indicators-result in the highest model F1-score of 98.41 % and accuracy of 97.66 %. Finally, the real-world implications of these findings are discussed.

Accident Analysis & PreventionVol. 226
Southeast University (BD), Southeast University (CN)
Openalex Percentile: Top 51%
Traffic control and management
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.