A Compact and Interpretable Convolutional Neural Network for Cross-Subject Driver Drowsiness Detection from Single-Channel EEG

Jian Cui, Zirui Lan, Yisi Liu, Ruilin Li, Fan Li +2 more
5/30/2021
eess.SPcs.HCcs.LG

Official code: cuijiancorbin/A-Compact-and-Interpretable-Convolutional-Neural-Network-for-Single-Channel-EEG (32 stars, Python, CC0-1.0, last commit 2022-03-09).

Abstract

Driver drowsiness is one of main factors leading to road fatalities and hazards in the transportation industry. Electroencephalography (EEG) has been considered as one of the best physiological signals to detect drivers drowsy states, since it directly measures neurophysiological activities in the brain.

Show full abstract

However, designing a calibration-free system for driver drowsiness detection with EEG is still a challenging task, as EEG suffers from serious mental and physical drifts across different subjects. In this paper, we propose a compact and interpretable Convolutional Neural Network (CNN) to discover shared EEG features across different subjects for driver drowsiness detection. We incorporate the Global Average Pooling (GAP) layer in the model structure, allowing the Class Activation Map (CAM) method to be used for localizing regions of the input signal that contribute most for classification. Results show that the proposed model can achieve an average accuracy of 73.22% on 11 subjects for 2-class cross-subject EEG signal classification, which is higher than conventional machine learning methods and other state-of-art deep learning methods. It is revealed by the visualization technique that the model has learned biologically explainable features, e.g., Alpha spindles and Theta burst, as evidence for the drowsy state. It is also interesting to see that the model uses artifacts that usually dominate the wakeful EEG, e.g., muscle artifacts and sensor drifts, to recognize the alert state. The proposed model illustrates a potential direction to use CNN models as a powerful tool to discover shared features related to different mental states across different subjects from EEG signals.

View on arXivView PDF

Code Implementations(1)

CC0-1.0

In this project, we propose a CNN model to classify single-channel EEG for driver drowsiness detection. We use the Class Activation Map (CAM) method for visualization. Results show that the model not only has a high accuracy but also learns biologically explainable features, e.g., Alpha spindles and Theta burst, as evidence for the drowsy state.

3211PythonMar 8, 20214 years agoCC0-1.0
cnn-pytorcheegvisualization

Similar Papers

Cite this paper

@article{cui2021compact,
  title  = {A Compact and Interpretable Convolutional Neural Network for Cross-Subject Driver Drowsiness Detection from Single-Channel EEG},
  author = {Jian Cui and Zirui Lan and Yisi Liu and Ruilin Li and Fan Li and Olga Sourina and Wolfgang Mueller-Wittig},
  year   = {2021},
  eprint = {2106.00613},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00613}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.00613.svg)](https://codeofpaper.com/paper/2106.00613)

Discussion