VAGNet: Vision-based Accident Anticipation with Global Features
Organizations: Department of Computer Science and Engineering, University of Moratuwa, Katubedda 10400, Sri Lanka
Abstract
Traffic accidents are a leading cause of fatalities and injuries across the globe. Therefore, the ability to anticipate hazardous situations in advance is essential. Automated accident anticipation enables timely intervention through driver alerts and collision avoidance maneuvers, forming a key component of advanced driver assistance systems. In autonomous driving, such predictive capabilities support proactive safety behaviors, such as initiating defensive driving and human takeover when required. Using dash-cam video as input offers a cost-effective solution, but it is challenging due to the complexity of real-world driving scenes. Accident anticipation systems need to operate in real-time. However, current methods involve extracting features from each detected object, which is computationally intensive. We propose VAGNet, a deep neural network that learns to predict accidents from dash-cam video using global features of traffic scenes without requiring explicit object-level features. The network consists of transformer and graph modules, and we use the vision foundation model VideoMAE-V2 for global feature extraction. Experiments on four benchmark datasets (DAD, DoTA, DADA, and Nexar) show that our method anticipates accidents with higher average precision while being computationally more efficient compared to existing methods. It also achieves higher mean time-to-accident scores in most cases, while being competitive in others.
Figures & tables
| Dataset | Positive | Negative | FPS |
|---|---|---|---|
| DAD [ 4 ] | 620 | 1130 | 20 |
| DoTA [ 49 ] | 745 | 745 | 10 |
| DADA [ 10 ] | 938 | 1361 | 10 |
| Nexar [ 27 ] | 1422 | 1422 | 10 |
| Dataset | Method | AP (%) | mTTA (s) |
| DAD [ 4 ] | DSA (2017) [ 4 ] | 48.1 | 1.34 |
| adaLEA (2018) [ 39 ] | 52.3 | 3.43 | |
| UString (2020) [ 1 ] | 53.7 | 3.53 | |
| DSTA (2022) [ 14 ] | 56.1 | 3.66 | |
| EGSTL (2023) [ 23 ] | 56.3 | 3.23 | |
| GSC (2024) [ 48 ] | 60.4 | 3.53 |
| Dataset | Global Features | AP (%) | mTTA (s) |
|---|---|---|---|
| DAD | VGG16 | 54.83 | 4.15 |
| I3D | 59.27 | 4.13 | |
| SlowFast | 62.90 | 3.74 | |
| VideoMAE-V2 | 77.98 | 4.41 | |
| DoTA | VGG16 | 88.74 | 3.25 |
| I3D | 91.71 | 3.20 |
| Data | TE | GT | AP (%) | mTTA (s) |
|---|---|---|---|---|
| DAD [ 4 ] | ✗ | ✗ | 64.15 | 2.54 |
| ✓ | ✗ | 76.58 | 4.35 | |
| ✗ | ✓ | 71.37 | 4.12 | |
| ✓ | ✓ | 77.98 | 4.41 | |
| DoTA [ 49 ] | ✗ | ✗ | 87.50 | 2.45 |
| ✓ | ✗ | 95.87 | 3.31 |
| Method | GFLOPs | |||
|---|---|---|---|---|
| Object Detection & Feature Extraction | Global Feature Extraction | Model Inference | Total | |
| UString | 322.46 (worst case: 19 objects/frame) | 15.47 (VGG16) | 10.49 | 348.42 |
| Graph (Graph) | 41.75 (I3D) | 2.14 | 366.35 | |
| Zhong [ 56 ] | 41.75 (I3D) | 2.05 | 366.26 | |
| AAT-DA | 15.47 (VGG16) | 1.05 | 461.96* | |
| STAGNet | 50.58 (SlowFast) | 2.20 | 375.24 | |
| Method | Object Detection & Feature Extraction (s/f) | Global Feature Extraction (s/f) | Inference (s/f) | Overall speed (FPS) |
|---|---|---|---|---|
| UString | 0.032 | 0.004 (VGG16) | 0.024 | 17 |
| Graph(Graph) | 0.01 (I3D) | 0.001 | 23 | |
| AAT-DA | 0.004 (VGG16) | 0.094* | 8 | |
| STAGNet | 0.014 (SlowFast) | 0.001 | 21 | |
| VAGNet | 0 | 0.025 (VideoMAE) | 0.001 | 38 |
Traffic Accident Anticipation
Traffic accident anticipation predicts imminent collisions or rising crash risk early enough to support driver warnings and proactive road-safety decisions.
See all 22 papers