[Paper Review] Driver Anomaly Detection: A Dataset and Contrastive Learning Approach
This paper introduces the Driver Anomaly Detection (DAD) dataset, the first video-based open-set recognition benchmark for driver monitoring, and proposes a contrastive learning approach to detect unseen anomalous driving behaviors. The method learns a metric space where normal driving embeddings are tightly clustered, enabling detection of novel anomalies via embedding deviation, achieving 0.9673 AUC on the test set.
Distracted drivers are more likely to fail to anticipate hazards, which result in car accidents. Therefore, detecting anomalies in drivers' actions (i.e., any action deviating from normal driving) contains the utmost importance to reduce driver-related accidents. However, there are unbounded many anomalous actions that a driver can do while driving, which leads to an 'open set recognition' problem. Accordingly, instead of recognizing a set of anomalous actions that are commonly defined by previous dataset providers, in this work, we propose a contrastive learning approach to learn a metric to differentiate normal driving from anomalous driving. For this task, we introduce a new video-based benchmark, the Driver Anomaly Detection (DAD) dataset, which contains normal driving videos together with a set of anomalous actions in its training set. In the test set of the DAD dataset, there are unseen anomalous actions that still need to be winnowed out from normal driving. Our method reaches 0.9673 AUC on the test set, demonstrating the effectiveness of the contrastive learning approach on the anomaly detection task. Our dataset, codes and pre-trained models are publicly available.
Motivation & Objective
- To address the challenge of detecting unseen anomalous driving behaviors in real-world scenarios, which existing datasets fail to model due to closed-set assumptions.
- To develop a robust, generalizable metric for distinguishing normal driving from diverse, previously unseen distracting actions.
- To create a large-scale, multi-view, multi-modal video benchmark (DAD dataset) that supports training and evaluation of open-set recognition models.
- To demonstrate the effectiveness of contrastive learning in learning discriminative representations for anomaly detection in driver monitoring.
Proposed method
- Proposes a contrastive learning framework that trains a deep neural network to pull together embeddings of normal driving clips while pushing apart embeddings of anomalous clips.
- Uses a Siamese network architecture with a contrastive loss function to optimize the embedding space, minimizing intra-class variance and maximizing inter-class margin.
- Employs a threshold-based inference strategy: any test clip with embedding distance > γ from the learned normal driving template is flagged as anomalous.
- Fuses features from front and top views and from depth and infrared modalities to improve robustness and representation quality.
- Applies post-processing via running average (k=6) on prediction scores to reduce temporal fluctuations.
- Trains models from scratch on the DAD dataset using various 3D CNN backbones, including ResNet-18 and MobileNetV2, to evaluate generalization and efficiency.
Experimental results
Research questions
- RQ1Can contrastive learning effectively learn a generalizable metric for detecting unseen anomalous driving behaviors?
- RQ2How does the performance of the model vary when detecting known (closed-set) vs. unseen (open-set) anomalous actions?
- RQ3To what extent does the amount and diversity of training data affect the model’s ability to generalize to novel anomalies?
- RQ4How do different network architectures and modality combinations impact detection performance and computational efficiency?
Key findings
- The proposed contrastive learning approach achieves an AUC of 0.9673 on the DAD test set, demonstrating strong performance in detecting unseen anomalous driving actions.
- The model generalizes effectively to open-set anomalies, with a specificity of 0.8252 on unseen classes, showing robustness beyond known distractor types.
- Performance improves with increased training data: using 100% of normal and anomalous driving data yields 0.9609 AUC, indicating that data quantity enhances embedding generalization.
- MobileNetV2 achieves 94.84% of ResNet-18’s AUC (0.9484 vs. 0.9609) while using only 11% of the parameters and 13% of the FLOPs, highlighting efficiency gains.
- Fusion of front and top views with depth and infrared modalities yields the best performance, confirming the value of multi-modal, multi-view data.
- Post-processing via running average (k=6) slightly improves performance, reducing score fluctuations and enhancing detection stability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.