Abstract
Many road accidents occur due to distracted drivers. Today, driver monitoring is essential even for the latest autonomous vehicles to alert distracted drivers in order to take over control of the vehicle in case of emergency. In this paper, a spatio-temporal approach is applied to classify drivers' distraction level and movement decisions using convolutional neural networks (CNNs). We approach this problem as action recognition to benefit from temporal information in addition to spatial information. Our approach relies on features extracted from sparsely selected frames of an action using a pre-trained BN-Inception network. Experiments show that our approach outperforms the state-of-the art results on the Distracted Driver Dataset (96.31%), with an accuracy of 99.10% for 10-class classification while providing real-time performance. We also analyzed the impact of fusion using RGB and optical flow modalities with a very recent data level fusion strategy. The results on the Distracted Driver and Brain4Cars datasets show that fusion of these modalities further increases the accuracy.
Introduction
In the era of semi-autonomous vehicles, the "human in the loop" remains the most critical safety component. Traditionally, monitoring a driver's state has been treated as a static image classification task—determining, for instance, if a driver is holding a phone at a specific instant. This research argues for a shift toward action recognition, utilizing the temporal flow of movement to achieve higher accuracy and more robust detection. By treating driver distraction as a sequence of events rather than isolated frames, systems can better distinguish between brief glances and sustained dangerous behaviors.
Methodology: Spatio-Temporal Action Recognition
The proposed approach utilizes a CNN-based spatio-temporal architecture designed for efficiency and real-time performance. The core innovation lies in sparse frame selection, which captures the "story" of a movement without the computational overhead of processing every frame in a high-frame-rate video.
As illustrated in the architecture above, the process involves:
- Sparse Sampling: The model selects a small number of frames ($N=4$ or $8$) spread across the action duration.
- Feature Extraction: Each selected frame is processed through a BN-Inception backbone pre-trained on ImageNet.
- Temporal Integration: Extracted features ($f_1$ to $f_n$) are concatenated into a single vector representing the action's progression over time.
- Classification: A fully connected layer and softmax function predict the driver's state across 10 categories, such as "Adjusting radio" or "Safe driving."
Enhancing Accuracy with Data-Level Fusion
To further improve robustness, the study explores Motion Fused Frames (MFFs). This strategy combines RGB data with Optical Flow (representing horizontal and vertical displacement) at the input layer. This explicitly provides the network with motion vectors, allowing it to "see" the direction and speed of the driver's movements.
While this fusion (RGBFlow) increases accuracy, the authors note that computing optical flow is computationally intensive. For real-world deployment on edge hardware, RGB-only models with temporal sampling currently offer the best balance of speed and power.
Experimental Results
The model was evaluated on the Distracted Driver Dataset and the Brain4Cars dataset. Key findings include:
- State-of-the-Art Accuracy: The model achieved 99.10% on the 10-class Distracted Driver Dataset, significantly outperforming previous VGG-16 (96.31%) and AlexNet (93.65%) benchmarks.
- Real-Time Performance: Inference takes only 10-12 ms on a single NVIDIA Titan XP, meeting the millisecond-latency requirements for automotive safety systems.
- Binary Safety Metrics: When used as a "Safe vs. Distracted" binary classifier, the model reached 99.05% accuracy with a recall of 99.82%, minimizing the risk of missed distractions.
- Generalization: 5-fold cross-validation confirmed the model performs well on unseen drivers, proving it does not simply overfit to specific individuals.
Conclusion
By transitioning from static image analysis to a spatio-temporal action recognition framework, this research demonstrates that temporal context is the "secret sauce" for high-accuracy driver monitoring. The proposed sparse sampling method achieves state-of-the-art results while maintaining the real-time speeds necessary for integration into modern vehicles. Future work will focus on incorporating Infrared (IR) and Depth sensors to ensure reliability in varied lighting conditions and investigating fluid transitions between different driving actions.
Summary updated