Vision-Language Models Can Identify Distracted Driver Behavior From Naturalistic Videos

Md. Zahid Hasan, Jiajing Chen, Jiyang Wang, Mohammed Shaiqur Rahman, Ameya Joshi, Senem Velipasalar, Chinmay Hegde, Anuj Sharma, Soumik Sarkar

TL;DR

This paper introduces a vision-language framework based on CLIP to identify distracted driving behaviors in naturalistic videos with minimal to no annotated training data. By leveraging semantic text prompts and temporal information, their "VideoCLIP" model achieves state-of-the-art accuracy and generalizes far better to unseen drivers than traditional, data-hungry convolutional neural networks.

What Problem Does This Paper Address?

Distracted driving is a global safety crisis, contributing to millions of traffic accidents annually. While computer vision offers a way to monitor driver behavior autonomously, traditional supervised methods (like standard CNNs) face two major hurdles:

  1. Data Intensity: They require massive amounts of human-annotated video data, which is time-consuming and expensive to produce.
  2. Generalization Gap: These models often "memorize" specific drivers or environments in the training set, causing them to fail when deployed in the real world with new drivers or different cabin layouts.

The authors aim to build a more efficient, "generalized" framework that can understand driving actions semantically rather than just mapping pixels to arbitrary labels.

Methods

The researchers leverage CLIP (Contrastive Language-Image Pre-training), a model already trained on 400 million image-text pairs, to bridge the gap between visual actions and natural language descriptions. They propose four distinct frameworks:

  • Zero-shotCLIP: Uses the pre-trained CLIP model directly without any new training. It compares image frames against text prompts like "driver is yawning while driving a car" to find the best match.
  • Single-frameCLIP: A frame-based model where the CLIP encoders are frozen, and only a lightweight linear classifier is trained on top. (See Single-frameCLIP architecture).
  • Multi-frameCLIP: Aggregates predictions from Single-frameCLIP across a sequence of frames using a majority voting strategy.
  • VideoCLIP: A more advanced video-based model that uses a 3D CNN backbone (S3D) to process 30-frame clips, allowing the model to capture the motion of an action rather than just a static pose.
Single-frameCLIP architecture

To ensure their results are robust, they use a "leave-a-set-of-drivers-out" validation method, meaning the model is tested on drivers it has never seen during training.

Datasets

The study evaluates the frameworks across four diverse public datasets:

  • DMD (Distracted Driver Monitoring Dataset): Includes RGB, Infrared (IR), and Depth modalities with 10 distraction categories.
  • SAM-DD: A large RGB dataset featuring 42 different drivers.
  • SynDD1: A synthetic-to-real dataset with 3 different camera views (dashboard, side, etc.).
  • StateFarm: A widely used image-only dataset from a Kaggle competition.

Key Insights and Ideas

  • Semantic Prompting is Powerful: Instead of using simple class IDs (e.g., "Class 1"), using full-sentence natural language prompts allows the model to tap into the "common sense" knowledge it gained during pre-training.
  • CLIP is a Data-Efficiency Champion: The authors found that their CLIP-based model maintains high performance even when the training data is slashed to just 20% of its original size. In contrast, traditional CNNs like AlexNet or ResNet see their accuracy plummet under the same conditions. (See Data efficiency comparison).
  • Temporal Context Solves Ambiguity: Many driving distractions look identical in a single frame (e.g., reaching for a phone vs. reaching for the radio). By looking at a sequence of frames (as shown in the Framework Overview), the models can distinguish these actions by their unique motion signatures.
Data efficiency comparison
Framework Overview

Key Results

The proposed frameworks consistently outperformed traditional baselines:

  • VideoCLIP achieved peak Top-1 accuracies of 98.44% on DMD and 97.86% on SAM-DD, significantly higher than recent baseline models.
  • Efficiency: VideoCLIP is remarkably lightweight, with fewer than 10 million parameters. This makes it much more suitable for real-time deployment in vehicles compared to massive video transformers like VideoMAE, which can have over 22 million parameters and much higher computational costs.
  • Zero-Shot Capability: Even without any training, Zero-shotCLIP achieved up to 66.52% accuracy on SAM-DD, proving that the model already "understands" what many distractions look like.

Limitations and Future Work

Despite the strong results, the authors note several areas for improvement:

  • Feature Overlap: The model still struggles to distinguish between actions with very similar movements, such as "reaching to backseat" versus "reaching to side."
  • Complex Scenarios: The current framework assumes distractions do not overlap. In reality, a driver might be talking on a phone and eating simultaneously.
  • Real-World Variability: While tested on public datasets, the models need further validation under extreme lighting conditions and varied hardware setups.
  • Future Directions: The team plans to integrate uncertainty estimation so the system can "know when it doesn't know," potentially alerting a safety system if its confidence in a distraction detection is too low.

Summary updated

BibTeX
@article{hasan2024vision,
  author = {Md. Zahid Hasan and Jiajing Chen and Jiyang Wang and Mohammed Shaiqur Rahman and Ameya Joshi and Senem Velipasalar and Chinmay Hegde and Anuj Sharma and Soumik Sarkar},
  title = {{Vision-Language Models Can Identify Distracted Driver Behavior From Naturalistic Videos}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2024},
  url = {https://openreview.net/forum?id=6HLjiRcE0U},
}
Figure