Enhancing Highway Safety: Accident Detection on the A9 Test Stretch Using Roadside Sensors

Walter Zimmer, Ross Greer, Xingcheng Zhou, Rui Song, Marc Pavel, Daniel Lehmberg, Ahmed Alaaeldin Ghita, Akshay Gopalkrishnan, Mohan Trivedi, Alois Knoll · DOI

Abstract

Accident detection is a critical component of Intelligent Transportation Systems (ITS), yet it remains challenging due to the rarity of real-world crash data. This paper introduces a hybrid detection framework that integrates physics-based kinematic rules with deep learning for robust, real-time accident identification. Utilizing roadside sensors on Germany's A9 motorway, the system provides a comprehensive "bird's-eye" view of traffic. Furthermore, the authors release the TUMTraf Accident Dataset (TUMTraf-A), containing over 93,000 3D bounding box annotations of real-world accidents, to facilitate the development of safer autonomous driving technologies.

Introduction

In autonomous driving and ITS, accidents are considered "long-tail" events—statistically rare but critically important. Training machine learning models to recognize these events is difficult because synthetic data often fails to replicate the complex physics of real-world crashes, such as smoke, fire, and vehicle deformation. Moreover, vehicle-based sensors often suffer from limited range and occlusions. This research addresses these gaps by leveraging roadside infrastructure to provide a wider, unobstructed perspective of highway traffic, enabling faster emergency response and improved safety for connected vehicles.

Methodology: A Hybrid Detection Framework

The proposed system employs a two-stage hybrid approach to balance computational efficiency with detection accuracy:

  1. Rule-Based Kinematic Filter: This initial stage monitors vehicle trajectories in real-time using six kinematic rules, including sudden velocity changes, proximity to leading vehicles, and Time-to-Collision (TTC) thresholds. This stage acts as a high-speed trigger, identifying potential incidents with minimal latency.
  2. Learning-Based Visual Verification: Once a potential accident is flagged, a YOLOv8 model—trained on the custom TUMTraf-A dataset—analyzes the camera feed. It searches for visual evidence of an accident, such as vehicle damage or fire, to filter out false positives caused by aggressive but safe driving maneuvers.

To ensure reliability, the system requires detection in at least three consecutive frames before issuing a final confirmation.

The TUMTraf Accident Dataset (TUMTraf-A)

A major contribution of this work is the TUMTraf Accident Dataset, a subset of a broader roadside sensing project. The dataset includes 48,144 frames captured at 10 Hz using four roadside cameras and LiDAR sensors.

Multi-view roadside sensor data with 3D bounding box annotations from the TUMTraf-A dataset.

The dataset features:

  • Scale and Detail: 294,924 2D boxes and 93,012 3D boxes across ten object classes.
  • Diversity: Includes rare high-speed crashes, overturned vehicles, and vehicle fires.
  • Compatibility: Data is provided in the OpenLABEL format for industry-standard interoperability.

Results and Performance

The framework demonstrated strong real-time performance on an NVIDIA RTX 3090. The rule-based component achieved a precision of 1.000, while the learning-based model ensured a recall of 1.000, meaning no accidents were missed.

Real-time accident detection sequence on the A9 motorway showing confidence scores across consecutive frames.

Processing speeds were impressive, with rule-based detection taking 10.41 ms per frame and learning-based verification taking 16.13 ms. During a 128-day evaluation period involving over 831,000 vehicles, the system successfully identified various incidents, including breakdowns and high-speed collisions.

Conclusion and Future Work

The hybrid approach effectively bridges the gap between physics-based reliability and deep learning-based visual understanding. While highly successful for longitudinal events, future work will focus on expanding the rule-based logic to better detect lateral collisions. Additionally, the researchers plan to integrate multi-modal sensor fusion (LiDAR and Radar) and explore trajectory forecasting to predict accidents before they occur.

Summary updated

Abstract

Road traffic injuries are the leading cause of death for people aged 5-29, resulting in about 1.19 million deaths each year. To reduce these fatalities, it is essential to address human errors like speeding, drunk driving, and distractions. Additionally, faster accident detection and quicker medical response can help save lives. We propose an accident detection framework that combines a rule-based approach with a learning-based one. We introduce a dataset of real-world highway accidents, featuring high-speed crash sequences. It includes 294,924 labeled 2D boxes, 93,012 labeled 3D boxes, and track IDs across 48,144 frames, captured at 10 Hz using four roadside cameras and LiDAR sensors. The dataset covers ten object classes and is released in the OpenLABEL format. Our experiments and analysis demonstrate the reliability of our method.
BibTeX
@misc{zimmer2025enhancing,
  author = {Walter Zimmer and Ross Greer and Xingcheng Zhou and Rui Song and Marc Pavel and Daniel Lehmberg and Ahmed Alaaeldin Ghita and Akshay Gopalkrishnan and Mohan Trivedi and Alois Knoll},
  title = {{Enhancing Highway Safety: Accident Detection on the A9 Test Stretch Using Roadside Sensors}},
  year = {2025},
  eprint = {2502.00402},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.00402},
}
Figure