A Real-Time Consensus-Free Accident Detection Framework for Internet of Vehicles Using Vision Transformer and EfficientNet

Citation:

Seghir Z, Guezouli L, Barka K, Boubiche D-E, Homero T-C, Martínez-Peláez R. A Real-Time Consensus-Free Accident Detection Framework for Internet of Vehicles Using Vision Transformer and EfficientNet. AI [Internet]. 2026;7 (1).

Abstract:

first_page

settings

Order Article Reprints

Open AccessArticle

A Real-Time Consensus-Free Accident Detection Framework for Internet of Vehicles Using Vision Transformer and EfficientNet

by 

Zineb Seghir

 1,

Lyamine Guezouli

 2,*,

Kamel Barka

 1,

Djallel Eddine Boubiche

 2,*,

Homero Toral-Cruz

 3,* and

Rafael Martínez-Peláez

 4,5

1

LaSTIC Laboratory, Computer Science Department, University of Batna 2, Batna 05000, Algeria

2

Laboratory of Renewable Energy, Energy Efficiency and Smart Systems (LEREESI), Higher National School of Renewable Energies, Environment and Sustainable Development (HNS-RE2SD), Batna 05000, Algeria

3

Departamento de Ingeniería y Tecnología, Universidad Autónoma del Estado de Quintana Roo, Chetumal 77019, Mexico

4

Unidad Académica de Computación, Universidad Politécnica de Sinaloa, Mazatlán 82199, Mexico

5

Departamento de Ingeniería de Sistemas y Computación, Universidad Católica del Norte, Antofagasta 1270709, Chile

*

Authors to whom correspondence should be addressed.

AI 20267(1), 4; https://doi.org/10.3390/ai7010004

Submission received: 12 November 2025 / Revised: 14 December 2025 / Accepted: 16 December 2025 / Published: 22 December 2025

 

Browse Figures

 Versions Notes

 

Abstract

Objectives: Traffic accidents cause severe social and economic impacts, demanding fast and reliable detection to minimize secondary collisions and improve emergency response. However, existing cloud-dependent detection systems often suffer from high latency and limited scalability, motivating the need for an edge-centric and consensus-free accident detection framework in IoV environments. Methods: This study presents a real-time accident detection framework tailored for Internet of Vehicles (IoV) environments. The proposed system forms an integrated IoV architecture combining on-vehicle inference, RSU-based validation, and asynchronous cloud reporting. The system integrates a lightweight ensemble of Vision Transformer (ViT) and EfficientNet models deployed on vehicle nodes to classify video frames. Accident alerts are generated only when both models agree (vehicle-level ensemble consensus), ensuring high precision. These alerts are transmitted to nearby Road Side Units (RSUs), which validate the events and broadcast safety messages without requiring inter-vehicle or inter-RSU consensus. Structured reports are also forwarded asynchronously to the cloud for long-term model retraining and risk analysis. Results: Evaluated on the CarCrash and CADP datasets, the framework achieves an F1-score of 0.96 with average decision latency below 60 ms, corresponding to an overall accuracy of 98.65% and demonstrating measurable improvement over single-model baselines. Conclusions: By combining on-vehicle inference, edge-based validation, and optional cloud integration, the proposed architecture offers both immediate responsiveness and adaptability, contrasting with traditional cloud-dependent approaches.

Publisher's Version