Surveillance video-based traffic accident detection using transformer architecture
Tanu SinghPranamesh ChakrabortyLong T. Truong
Nov 2026· Traffic Injury Prevention· 2 citations· 25 references
Advanced Neural Network Applications
Abstract
Objectives
Road traffic accidents represent a leading cause of mortality globally, with incidence rates rising due to increasing population, urbanization, and motorization. Rising accident rates raise concerns about traffic surveillance effectiveness. This study aims to develop and evaluate a transformer-based model for accident detection in surveillance video.
Methods
Traditional computer vision methods for accident detection struggle with limited spatiotemporal understanding and poor cross-domain generalization. Recent developments in transformer architectures have demonstrated superior performance in modeling global spatial and temporal dependencies while enabling parallel computation. Nevertheless, using transformers for encoding both spatial and temporal features greatly increases computational demands, which limits real-time application. To address these challenges, this study adopts a hybrid approach that balances efficiency and performance. However, applying these approaches to automated traffic accident detection is often limited by existing datasets that are small and lack diversity, hindering the development of a robust and generalizable system. To address this gap, we curated a comprehensive and balanced dataset that captures a wide spectrum of traffic environments, accident types, and contextual variations. Utilizing the curated dataset, we propose an accident detection model based on a transformer architecture using pre-extracted spatial video features. The architecture employs convolutional layers to extract local correlations across diverse patterns within a frame, while leveraging transformers to capture temporal dependencies among the extracted features. Moreover, most existing studies neglect the integration of motion cues, which are essential for understanding dynamic scenes, especially during accidents. These approaches typically rely on static features or coarse temporal information. In this study, multiple input strategies are evaluated, including combinations of RGB features and motion cues (optical flow), to determine the most effective representation for accident detection.
Results
The proposed model demonstrates strong performance on the curated dataset. The findings indicate that incorporating additional motion cues offers limited gains in classification performance, suggesting that the CNN features integrated with the transformer adequately captured the temporal information needed for the task. The RGB-only approach achieved comparable predictive performance with the lowest latency, approximately 0.533 sec per video, highlighting its computational efficiency and potential suitability for real-time applications. Results were also benchmarked against vision-language models (VLMs), including GPT, Gemini, and Llava-Next-Video, and approaches reported in recent studies to evaluate the proposed method's effectiveness.
Conclusions
The proposed transformer-based architectures with a well-balanced dataset provide an effective solution for traffic accident detection in surveillance video. The results highlight the importance of both temporal modeling and data diversity in building a robust, real-world accident detection system.
Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...
O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al.· Zenodo (CERN European Organi...· 465 citations
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
Objective There is dearth of information on the timeliness of antenatal care (ANC) uptake. This study aimed to determine the timely ANC uptake by a medically trained provider (MTP) as per the World Health Organization (WHO) recommendations and the country guideline. Methods Cross-sectional survey was done with 2,731 wo...
B. Sarker, Musfikur Rahman, T. Rahman et al.· PLoS ONE· 89 citations· ⚡7
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduNov 20, 2026
Senior Research Scientist Jim Glass discusses how his MIT-IBM Computing Research Lab collaboration connects perception and language, and addresses the shortcoming of current models.
MIT News · Artificial Intelligence· news.mit.eduNov 20, 2026
Enforcing physics-based constraints prevents AI models from generating unreliable predictions for complex nonlinear systems in weather, climate, and turbulent flows.
An MIT and Dana-Farber Institute-led team used large language models to examine nearly 4,000 studies and hundreds of code repositories, revealing gaps in the information needed to scrutinize and reuse published research.
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.