Minimizing Parameters, Maximizing Safety: A Deep Learning Approach to Real-Time Distracted Driver Identification

Georgios Markos Chatziloizos, Andrea Ancora, Christian Barat, Andrew I. ComportSPIRE 2024

Abstract: International audience

Introduction

Distracted driving—encompassing activities such as texting, grooming, and reaching for objects—is a leading cause of road accidents globally. While deep learning has revolutionized image recognition, deploying these models in real-time automotive safety systems presents a significant challenge. Most high-performing architectures, such as VGG16 or transformer-based models like DINOv2, are computationally "heavyweight," requiring substantial memory and processing power. In a fast-moving vehicle, even a few hundred milliseconds of latency in detecting a distraction can lead to catastrophic results. This research addresses the need for ultra-lightweight models that maintain high accuracy while operating efficiently on resource-constrained edge hardware.

Methodology

The authors propose two optimized architectures: CNN and CNNsmall. These models prioritize computational efficiency through specialized design elements:

  • MixNet-Inspired Blocks: By using depthwise separable convolutions and residual connections, the networks significantly reduce the number of mathematical operations compared to standard convolutional layers.
  • Squeeze-and-Excitation (SE) Mechanisms: These modules enable the network to focus on the most critical features in an image, such as hand positions or the presence of a phone, while ignoring irrelevant background noise within the vehicle cabin.
  • Swish Activation: Preliminary tests showed that the Swish activation function outperformed standard ReLU or GeLU, providing better performance for this classification task.
  • Optimization and Training: The models were trained using the Adam optimizer with an "Early Stopping" strategy to ensure robust generalization and prevent overfitting to the training data.

Datasets

The study utilizes the State Farm Distracted Driver Detection dataset, a standard benchmark for multi-class classification in automotive safety. The dataset consists of ten distinct categories of driver behavior.

Sample images from the State Farm Distracted Driver Detection dataset illustrating the ten classification categories.

The categories identified by the system include:

  1. Normal driving
  2. Texting (right hand)
  3. Talking on the phone (right hand)
  4. Texting (left hand)
  5. Talking on the phone (left hand)
  6. Operating the radio
  7. Drinking
  8. Reaching behind
  9. Hair and makeup (grooming)
  10. Talking to a passenger

Key Results and Discussion

The quantitative analysis reveals that massive model scale is not necessary for high-accuracy distraction detection. While the DINOv2 transformer achieved the highest accuracy (99.62%), the proposed CNN achieved a comparable 99.46% accuracy with only 0.2 million parameters—a 100x reduction compared to DINOv2’s 22 million.

Model Accuracy Parameters NPU Inference (ms)
DINOv2 99.62% 22.0 M 9.6
CNN (Proposed) 99.46% 0.2 M 0.5
CNNsmall (Proposed) 99.04% 0.05 M 0.2
VGG-16 90.2% 140.0 M -

Furthermore, the researchers benchmarked the models on the Qualcomm SA8255P automotive platform. The results demonstrated that the models are highly optimized for Neural Processing Units (NPUs). The CNNsmall model achieved a staggering 0.2ms inference time, making it ideal for real-time safety interventions where every millisecond counts.

Conclusion and Future Work

This study demonstrates that ultra-lightweight CNNs can match the performance of much larger models in specialized tasks like distracted driver identification. By identifying the specific cause of distraction, these systems enable more nuanced driver-assistance interventions. Future research will focus on expanding the model's scope to include fatigue and drowsiness detection, ensuring performance across diverse environmental conditions, and integrating these classifiers into full closed-loop safety systems.

Summary updated

BibTeX
@inproceedings{chatziloizos2024minimizing,
  author = {Georgios Markos Chatziloizos and Andrea Ancora and Christian Barat and Andrew I. Comport},
  title = {{Minimizing Parameters, Maximizing Safety: A Deep Learning Approach to Real-Time Distracted Driver Identification}},
  booktitle = {SPIRE},
  year = {2024},
}
Figure