NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accident Anticipation via Temporal Occurrence Prediction

Tianhao Zhao, Yiyang Zou, Zihao Mao, Peilun Xiao, Yulin Huang, Hongda Yang, Yuxuan Li, Qun Li, Guobin Wu, Yutian Lin

TL;DR: This paper introduces a new paradigm for dashcam-based accident anticipation. Instead of predicting a vague, frame-level "risk score," the model predicts the exact future time steps when a collision might occur (up to 2.0s ahead). Coupled with a more realistic evaluation metric that heavily penalizes false alarms, the proposed Transformer-based approach significantly outperforms existing methods in providing timely, reliable collision warnings.

The Problem: Ambiguous Supervision and Flawed Metrics

Advanced Driver Assistance Systems (ADAS) use accident anticipation models to warn drivers of impending collisions. Historically, these models are trained using binary supervision: all frames in an accident video are labeled as "risky" (1), and all frames in safe videos are labeled as "safe" (0). The model then outputs a single risk score for the current frame.

This approach has two major flaws:

  1. Ambiguous Supervision: Risk is not a static binary state; it varies continuously as a hazard develops. Labeling an entire video as "1" confuses the model and leads to unreliable learning.
  2. Flawed Evaluation Metrics: Previous works reported incredibly high Time-To-Accident (TTA) metrics (e.g., >3 seconds). However, the authors discovered this was often because models were "crying wolf"—triggering false alarms before a hazard even appeared on screen. Traditional metrics counted these lucky false alarms as valid early warnings. Furthermore, high recall is useless in the real world if the system constantly beeps at the driver (high False Alarm Rate, or FAR).

The Solution: Temporal Occurrence Prediction (TOP)

To solve these issues, the authors shift the objective from current-frame risk scoring to Temporal Occurrence Prediction (TOP). Instead of asking if the current frame is risky, the model asks: "Will an accident happen exactly 0.1s from now? What about 0.5s? 2.0s?"

Comparison of previous works and the proposed Temporal Occurrence Prediction paradigm.

The architecture consists of two main components:

  • Snippet-Level Encoder: Instead of processing single frames with RNNs (the standard approach), the authors use a 3D CNN (SlowOnly) to process short, 5-frame snippets. This jointly captures spatial and temporal dynamics, giving the model a better understanding of object speeds and trajectories.
  • Transformer-Based Temporal Decoder: The decoder uses learnable temporal queries—each corresponding to a specific future time horizon (e.g., 0.1s, 0.2s, ..., 2.0s ahead). It simultaneously predicts the likelihood of an accident occurring at each of these future steps.

During training, the model is supervised using the exact timestamp of the accident, providing a much sharper and more accurate learning signal than blanket video-level labels.

Fixing the Evaluation: The False Alarm Reality Check

Predicting when an accident will happen provides a much stronger, more interpretable training signal than predicting if the current scene is generally "risky." To prove this, the authors overhauled the evaluation protocol.

Illustration of the flawed TTA metric in previous works versus the proposed corrected TTA.

By restricting TTA calculations to alarms that trigger after a visible anomaly appears (the earliest moment a human could reasonably predict a crash), the authors eliminate the inflation caused by random early false alarms. Furthermore, they introduce a threshold for the False Alarm Rate (FAR). They only calculate recall and TTA if the FAR remains within an acceptable limit (e.g., $\le 10\%$). This ensures the model is evaluated on its practical usefulness, not just its theoretical recall.

Key Results

The authors evaluated their method on the large-scale MM-AU dataset (specifically the CAP and DADA subsets), manually refining annotations to ensure precise "anomaly appear" and "accident occur" timestamps.

  • Massive Short-Term Gains: On the CAP dataset, at exactly 0.5s before a crash, the model achieves an AUC of 0.6747, nearly doubling the previous state-of-the-art (GSC at 0.4177).
  • Precise Detection: At the 0.0s horizon (the exact moment of collision), the model achieves an AUC of 0.8381, crushing the baseline of 0.4357.
  • Realistic TTA: Under a strict FAR constraint ($\le 10\%$), the model achieves a mean TTA of 0.8644 seconds on CAP and 0.8848 seconds on DADA. While lower than the inflated >3s reported in older papers, this represents genuine, causally-linked early warning time.
  • Qualitative Success: The model reliably anticipates sudden lane changes, abrupt braking, and vulnerable road users (like cyclists) emerging from blind spots.

Limitations and Future Work

The authors acknowledge that while their method excels in the critical moments just before a crash (<1.0s), its performance drops at longer horizons (e.g., 1.5s to 2.0s). Capturing highly subtle early precursors remains a significant challenge. Additionally, even with strict FAR constraints, spurious alerts can still occur in highly complex visual scenes. Future work will likely focus on improving long-horizon anticipation and further suppressing false alarms to maintain driver trust.

Summary updated

BibTeX
@inproceedings{zhao2025accident,
  author = {Tianhao Zhao and Yiyang Zou and Zihao Mao and Peilun Xiao and Yulin Huang and Hongda Yang and Yuxuan Li and Qun Li and Guobin Wu and Yutian Lin},
  title = {{Accident Anticipation via Temporal Occurrence Prediction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=7N6pJb16sh},
}
Figure