Abstract
Intelligent vehicles have demonstrated excellent capabilities in many transportation scenarios. The inference capabilities of neural networks using cameras limit the accuracy of accident detection in complex transportation systems. This paper presents AccidentBlip2, a pure vision-based multi-modal large model Blip2 for accident detection. Our method first processes the multi-view images through ViT-14g and sends the multi-view features into the cross-attention layer of Q-Former. Different from Blip2's Q-Former, our Motion Q-Former extends the self-attention layer with the temporal-attention layer. In the inference process, the queries generated from previous frames are input into Motion Q-Former to aggregate temporal information. Queries are updated with an auto-regressive strategy and are sent to a MLP to detect whether there is an accident in the surrounding environment. Our AccidentBlip2 can be extended to a multi-vehicle cooperative system by deploying Motion Q-Former on each vehicle and simultaneously fusing the generated queries into the MLP for auto-regressive inference. Our approach outperforms existing video large language models in detection accuracy in both single-vehicle and multi-vehicle systems.
Introduction
Predicting traffic accidents is a critical challenge for autonomous driving safety. Traditional methods often rely on temporal networks like LSTMs, which struggle with the complexity of real-world intersections. While recent state-of-the-art (SOTA) approaches utilize multimodal fusion (camera + LiDAR), LiDAR's high cost and memory overhead hinder widespread deployment. Furthermore, existing Video Large Language Models (Video-LLMs) typically lack support for the 360-degree multi-view inputs essential for modern autonomous vehicles.
AccidentBlip2 addresses these gaps by providing a high-performance, vision-only solution. It leverages temporal reasoning within a Transformer architecture to understand spatial and temporal relationships without the need for expensive sensors.
Methodology
AccidentBlip2 builds upon the BLIP-2 architecture, introducing several modifications tailored for driving dynamics.
Motion Accident Transformer (MA-former)
The core innovation is the MA-former (or Motion Q-Former). Unlike the standard Q-Former which uses self-attention, the MA-former incorporates a temporal-attention layer. This allows queries from previous frames to directly inform the current frame's query, creating a continuous "memory" of motion.
Multi-View Fusion and Temporal Reasoning
The model processes inputs from six cameras (Front, FrontLeft, FrontRight, Back, BackLeft, and BackRight) using a pre-trained ViT (EVA-CLIP). These features are flattened and concatenated into a single fusion feature for the MA-former. Residual connections between consecutive frame queries and image features prevent the loss of information over long sequences.
V2X/V2V Scaling
For multi-vehicle cooperative systems, AccidentBlip2 aggregates queries from multiple vehicles or infrastructure nodes into a single fused query before final prediction via an MLP.
Experimental Results
The model was evaluated on the DeepAccident dataset, which includes 691 scenarios and 285,000 samples across four vehicles and one infrastructure node.
- Ego-Vehicle Detection: AccidentBlip2 achieved 62.6% Precision and 64.7% APA (Accident Prediction Accuracy), outperforming V2Xformer and AccidentGPT.
- V2X Performance: Utilizing infrastructure data (Ego + Infra) improved performance to 72.4% APA.
- Early Warning: The model can predict accidents up to 4 seconds in advance, with a high-reliability "sweet spot" within a 2-second horizon.
- Precision vs. Recall: Unlike many Video-LLMs that suffer from low precision (false alarms), AccidentBlip2 maintains high precision, which is vital for real-world driver safety systems.
Conclusion
AccidentBlip2 demonstrates that vision-only systems can achieve SOTA accident prediction by focusing on temporal reasoning. While the prediction horizon currently faces a "4-second wall" and processing six high-resolution streams requires significant compute, the model offers a more practical path for real-time deployment than LiDAR-based alternatives. Future work will focus on refining multi-vehicle query aggregation for dense urban environments.
Summary updated