Real-time Traffic Accident Anticipation with Feature Reuse
Inpyo Song, Jangwon Lee
TL;DR
This work tackles real-time traffic accident anticipation by addressing the latency of heavy feature-extraction pipelines. It introduces RARE, a lightweight framework that reuses intermediate embeddings from a single pre-trained object detector, and adds an Attention Score Ranking Loss to explicitly push attention toward accident-related objects. The method combines detector-derived object and scene embeddings with a scene-object attention module and a short-term memory for temporal context, optimized with a total loss $L = L_{\mathrm{AdaLEA}} + \gamma L_R$. On DAD and CCD benchmarks, RARE achieves real-time latency around 13.6 ms per frame (73.3 FPS) while maintaining state-of-the-art AP, demonstrating practical viability for safety-critical autonomous driving systems.
Abstract
This paper addresses the problem of anticipating traffic accidents, which aims to forecast potential accidents before they happen. Real-time anticipation is crucial for safe autonomous driving, yet most methods rely on computationally heavy modules like optical flow and intermediate feature extractors, making real-world deployment challenging. In this paper, we thus introduce RARE (Real-time Accident anticipation with Reused Embeddings), a lightweight framework that capitalizes on intermediate features from a single pre-trained object detector. By eliminating additional feature-extraction pipelines, RARE significantly reduces latency. Furthermore, we introduce a novel Attention Score Ranking Loss, which prioritizes higher attention on accident-related objects over non-relevant ones. This loss enhances both accuracy and interpretability. RARE demonstrates a 4-8 times speedup over existing approaches on the DAD and CCD benchmarks, achieving a latency of 13.6ms per frame (73.3 FPS) on an RTX 6000. Moreover, despite its reduced complexity, it attains state-of-the-art Average Precision and reliably anticipates imminent collisions in real time. These results highlight RARE's potential for safety-critical applications where timely and explainable anticipation is essential.
