# Traffic Accident Risk Forecasting using Contextual Vision Transformers

arXiv: https://arxiv.org/abs/2209.11180 · HTML: https://mlsanity.com/paper/2209.11180/

## Key facts

- Cited by 4 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 22 references that are in the map.
- First posted on arXiv 20 Sep 2022.

## Builds on (most cited first, 8 of 8)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale](https://mlsanity.com/paper/2010.11929/) (2020)
- [Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling](https://mlsanity.com/paper/1412.3555/) (2014)
- [Graph WaveNet for Deep Spatial-Temporal Graph Modeling](https://mlsanity.com/paper/1906.00121/) (2019)
- [Visual Transformers: Token-based Image Representation and Processing for Computer Vision](https://mlsanity.com/paper/2006.03677/) (2020)
- [RiskOracle: A Minute-level Citywide Traffic Accident Forecasting Framework](https://mlsanity.com/paper/2003.00819/) (2020)
- [Point-of-Interest Recommendation: Exploiting Self-Attentive Autoencoders with Neighbor-Aware Influence](https://mlsanity.com/paper/1809.10770/) (2018)
- [A Deep Learning Approach to the Citywide Traffic Accident Risk Prediction](https://mlsanity.com/paper/1710.09543/) (2017)

## Built on by (most cited first, 4 of 4)

- [Self-Supervised State Space Model for Real-Time Traffic Accident Prediction Using eKAN Networks](https://mlsanity.com/paper/2409.05933/) (2024)
- [Toward an Integrated Cross-Urban Accident Prevention System: A Multi-Task Spatial-Temporal Learning Framework for Urban Safety Management](https://mlsanity.com/paper/2601.05521/) (2026)
- [MambaLSTM: A Spatio-Temporal Framework for Enhanced Traffic Accident Risk Prediction](https://mlsanity.com/paper/2607.18353/) (2026)
- [Proactive Road Safety Intervention in Australia: Predicting Risky Driving Hotspots from Connected Vehicle Data](https://mlsanity.com/paper/2608.16913/) (2026)

## Abstract (arXiv)

Recently, the problem of traffic accident risk forecasting has been getting the attention of the intelligent transportation systems community due to its significant impact on traffic clearance. This problem is commonly tackled in the literature by using data-driven approaches that model the spatial and temporal incident impact, since they were shown to be crucial for the traffic accident risk forecasting problem. To achieve this, most approaches build different architectures to capture the spatio-temporal correlations features, making them inefficient for large traffic accident datasets. Thus, in this work, we are proposing a novel unified framework, namely a contextual vision transformer, that can be trained in an end-to-end approach which can effectively reason about the spatial and temporal aspects of the problem while providing accurate traffic accident risk predictions. We evaluate and compare the performance of our proposed methodology against baseline approaches from the literature across two large-scale traffic accident datasets from two different geographical locations. The results have shown a significant improvement with roughly 2% in RMSE score in comparison to previous state-of-art works (SoTA) in the literature. Moreover, our proposed approach has outperformed the SoTA technique over the two datasets while only requiring 23x fewer computational requirements.
