Next Article in Journal
Distribution Characteristics and Hazard Assessment of Ground Collapse in the Mining Activity Areas of the Turpan–Hami Basin
Previous Article in Journal
DEM-Based Traversability Map Generation for 2.5D Autonomous Multirobot Navigation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Gender-Aware Driver Drowsiness Detection Using Multi-Stream Shifted-Window-Based Hierarchical Vision Transformers

by
M. Faisal Nurnoby
1,* and
El-Sayed M. El-Alfy
1,2,3,*
1
Information and Computer Science Department, King Fahd University of Petroleum and Minerals (KFUPM), Dhahran 34464, Saudi Arabia
2
Computer Engineering Department, King Fahd University of Petroleum and Minerals (KFUPM), Dhahran 34464, Saudi Arabia
3
Interdisciplinary Research Center for Intelligent Secure Systems, King Fahd University of Petroleum and Minerals (KFUPM), Dhahran 34464, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2026, 16(7), 3353; https://doi.org/10.3390/app16073353
Submission received: 18 February 2026 / Revised: 19 March 2026 / Accepted: 24 March 2026 / Published: 30 March 2026

Abstract

Given its substantial contribution to traffic accidents, one of the main goals of intelligent driver-assistance systems has become the detection and mitigation of driver fatigue to enhance driving safety and comfort. Among various approaches, vision-based facial analysis using deep learning has emerged as an effective and non-intrusive method for identifying driver drowsiness, as a key manifestation of fatigue. However, current drowsiness detection models do not account for demographic factors like gender, even though recent research has shown gender behavioral differences such as eye closure duration, blink frequency, yawning patterns, and facial muscle relaxation. In this paper, we present a fine-grained multi-stream transformer architecture that incorporates gender-awareness and shifted-windows attention for spatial feature fusion. Integrating gender embedding, by modulating the region-based features, allows the model to effectively learn gender-conditioned drowsiness features to minimize bias and diluted representations. Using the NTHU-DDD dataset, we evaluated two-stream and three-stream variants for gender-aware and gender-agnostic across three facial region contexts: the face region with a 20% margin, bare face region, and key facial regions (face, eyes, and mouth). A comprehensive ablation study was conducted to identify the most effective model setup. The results demonstrate that incorporating gender embedding improves detection performance, achieving an accuracy of 95.47% on the evaluation set. Moreover, using the proposed three-stream model (SWT-DD-3S) produced better results.
Keywords: intelligent transportation systems (ITS); driver drowsiness detection (DDD); gender-aware; Swin Transformer intelligent transportation systems (ITS); driver drowsiness detection (DDD); gender-aware; Swin Transformer

Share and Cite

MDPI and ACS Style

Nurnoby, M.F.; El-Alfy, E.-S.M. Gender-Aware Driver Drowsiness Detection Using Multi-Stream Shifted-Window-Based Hierarchical Vision Transformers. Appl. Sci. 2026, 16, 3353. https://doi.org/10.3390/app16073353

AMA Style

Nurnoby MF, El-Alfy E-SM. Gender-Aware Driver Drowsiness Detection Using Multi-Stream Shifted-Window-Based Hierarchical Vision Transformers. Applied Sciences. 2026; 16(7):3353. https://doi.org/10.3390/app16073353

Chicago/Turabian Style

Nurnoby, M. Faisal, and El-Sayed M. El-Alfy. 2026. "Gender-Aware Driver Drowsiness Detection Using Multi-Stream Shifted-Window-Based Hierarchical Vision Transformers" Applied Sciences 16, no. 7: 3353. https://doi.org/10.3390/app16073353

APA Style

Nurnoby, M. F., & El-Alfy, E.-S. M. (2026). Gender-Aware Driver Drowsiness Detection Using Multi-Stream Shifted-Window-Based Hierarchical Vision Transformers. Applied Sciences, 16(7), 3353. https://doi.org/10.3390/app16073353

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop