Abstract
Predicting traffic accidents helps to take preventive measures to reduce accident rates and improve road safety; it also provides data support for traffic management, urban planning, and insurance operations to optimize resource allocation and improve response efficiency. In this study, we propose an explainable traffic accident prediction framework that uses a deep learning model called TabTransformer. In the proposed method, firstly, we use a powerful feature screening technique, null importance, to determine whether the numerous features in the dataset are valid or not to eliminate invalid features. Secondly, the data were classified into three spatiotemporal clusters using a spectral clustering method based on the time and location of the accident. Finally, a deep learning model based on TabTransformer is used to predict the type of traffic accidents (injury, fatality, property loss) on each spatiotemporal cluster separately. Following the prediction, GeoShapley values are utilized to analyze the influence of various factors, including geographical location (GEO) and its interactions with other features, on the TabTransformer model’s predictions, thereby enhancing its explainability. The results show that TabTransformer has the highest accuracy in predicting traffic accident types on three spatio-temporal clusters, which are 80.31 %, 88.89 % and 85.19 % respectively. Extensive experiments on real traffic datasets demonstrate the proposed framework’s significant effectiveness, highlighting its potential to enhance traffic management efficiency and improve road safety and traffic flow.
| Original language | English |
|---|---|
| Article number | 134908 |
| Journal | Expert Systems with Applications |
| Volume | 334 |
| DOIs | |
| Publication status | Published - 1 Feb 2027 |
| Externally published | Yes |
Keywords
- Prediction framework
- Road safety
- TabTransformer
- Traffic accidents
Fingerprint
Dive into the research topics of 'An explainable framework for spatiotemporal traffic accident prediction using TabTransformer'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver