Robust Two-Stream Multi-Feature Network for Driver Drowsiness Detection

Qi Shen, Shengjie Zhao, Rongqing Zhang, Bin ZhangarXiv 2020

Abstract

Drowsiness driving is a major cause of traffic accidents and thus numerous previous researches have focused on driver drowsiness detection. Many drive relevant factors have been taken into consideration for fatigue detection and can lead to high precision, but there are still several serious constraints, such as most existing models are environmentally susceptible. In this paper, fatigue detection is considered as temporal action detection problem instead of image classification. The proposed detection system can be divided into four parts: (1) Localize the key patches of the detected driver picture which are critical for fatigue detection and calculate the corresponding optical flow. (2) Contrast Limited Adaptive Histogram Equalization (CLAHE) is used in our system to reduce the impact of different light conditions. (3) Three individual two-stream networks combined with attention mechanism are designed for each feature to extract temporal information. (4) The outputs of the three sub-networks will be concatenated and sent to the fully-connected network, which judges the status of the driver. The drowsiness detection system is trained and evaluated on the famous Nation Tsing Hua University Driver Drowsiness Detection (NTHU-DDD) dataset and we obtain an accuracy of 94.46%, which outperforms most existing fatigue detection models.

Introduction

Drowsy driving remains a critical safety concern globally, contributing significantly to road fatalities. While computer vision offers a non-intrusive way to monitor driver alertness, real-world application is hindered by two primary challenges. First, environmental susceptibility: systems often fail under varying lighting conditions or when drivers wear accessories like sunglasses. Second, the lack of temporal context: traditional models often treat drowsiness as a static image classification problem. However, fatigue is a dynamic process; for instance, a static image of an open mouth could represent either talking or yawning. Without understanding the "motion signature" over time, accuracy remains limited.

Methodology

The researchers propose a Robust Two-Stream Multi-Feature Network that treats fatigue as a temporal action. The pipeline is structured into four main stages:

1. Localization and Preprocessing

The system utilizes the Multi-task Cascaded Convolutional Neural Network (MTCNN) to detect the driver's face and extract three critical "key patches": the eyes, mouth, and head. To mitigate the effects of poor or uneven lighting, Contrast Limited Adaptive Histogram Equalization (CLAHE) is applied. This technique enhances local contrast, ensuring that features remain visible even when obscured by shadows or sunglasses.

Figure 1: Localized patch focusing on the mouth during a yawn. The system extracts such patches to reduce noise and focus on fatigue-relevant features.

2. Two-Stream Feature Extraction

For each localized patch, the network processes two distinct data streams:

  • Spatial Stream: Analyzes original RGB image sequences to capture appearance.
  • Temporal Stream: Analyzes optical flow, which captures the pattern of motion between consecutive frames.

3. 3D Convolutions and Attention

By employing 3D Convolutional layers, the network can learn features across both spatial and temporal dimensions. This allows the model to recognize the specific rhythm of a blink or the progression of a yawn. Furthermore, Squeeze-and-Excitation (SE) blocks are integrated into the eye sub-network as an attention mechanism, prioritizing the most informative feature channels for detecting early-stage fatigue.

Datasets and Evaluation

The system was rigorously tested using the National Tsing Hua University Driver Drowsiness Detection (NTHU-DDD) dataset. This benchmark is particularly valuable because it includes diverse driving scenarios, such as night driving and drivers wearing various types of sunglasses across different ethnicities.

Figure 2: Representative samples from the NTHU-DDD dataset, showcasing the variety of lighting conditions, driver appearances, and facial states the model must navigate.

Key Results and Insights

The proposed model achieved a state-of-the-art accuracy of 94.46% on the NTHU-DDD dataset, significantly outperforming existing models like MSTN (85.52%) and DB-LSTM (93.6%).

Ablation studies highlighted several key findings:

  • Motion is Essential: The two-stream approach (RGB + Optical Flow) improved accuracy by 3-5% compared to using spatial data alone, proving that the motion signature is a vital differentiator.
  • Preprocessing Impact: CLAHE was found to be indispensable; without it, performance dropped by nearly 4% in challenging lighting conditions.
  • Temporal Window: A 3-second window (30 frames) was identified as the optimal duration for capturing sufficient temporal context without excessive computational overhead.

Conclusion

By reframing drowsiness detection as a temporal action problem and utilizing a multi-feature two-stream architecture, this research provides a robust solution for real-world driver monitoring. While challenges like extreme occlusion and the need for computational optimization for embedded systems remain, the high accuracy and resilience to environmental factors mark a significant step forward in automotive safety technology.

Summary updated

BibTeX
@misc{shen2020robust,
  author = {Qi Shen and Shengjie Zhao and Rongqing Zhang and Bin Zhang},
  title = {{Robust Two-Stream Multi-Feature Network for Driver Drowsiness Detection}},
  year = {2020},
  eprint = {2010.06235},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.06235},
}
Figure