Automatic Detection of Microsleep Episodes With Deep Learning

Alexander Malafeev1,2, Anneke Hertig-Godeschalk3, David R Schreier3

  • 1Institute of Pharmacology and Toxicology, University of Zurich, Zurich, Switzerland.

Insights

This study developed deep learning algorithms to automatically detect microsleep episodes (MSEs) using EEG and EOG data. The AI models achieved performance comparable to human experts in identifying MSEs during the Maintenance of Wakefulness Test.

Area of Science:

  • Neuroscience
  • Artificial Intelligence
  • Sleep Medicine

Background:

  • Microsleep episodes (MSEs), brief sleep fragments (<15s), are subjectively perceived as sleepiness and characterized by EEG slowing.
  • The Maintenance of Wakefulness Test (MWT) assesses vigilance, but standard scoring (30s epochs) often excludes MSEs due to lack of criteria and laborious scoring.
  • Automatic detection of MSEs is needed to improve MWT analysis and understanding of sleepiness.

Purpose of the Study:

  • To develop and evaluate deep learning algorithms for the automatic detection of MSEs using raw electroencephalogram (EEG) and electrooculogram (EOG) data.
  • To compare the performance of these algorithms against human expert scoring of MWT data.

Main Methods:

  • Analysis of MWT data from 76 patients, with visual scoring of wakefulness, MSEs, microsleep episode candidates (MSEc), and episodes of drowsiness (ED) by experts.
  • Implementation of segmentation algorithms using Convolutional Neural Networks (CNNs) and a combination of CNNs with Long Short-Term Memory (LSTM) networks.
  • Training, validation, and testing of algorithms on data from 53, 12, and 11 patients, respectively.

Main Results:

  • The developed deep learning algorithms demonstrated good performance, approaching that of human experts in detecting wakefulness and MSEs.
  • Detection accuracy for MSEc and ED was poorer, mirroring low inter-expert reliability for these borderline sleep segments.
  • t-distributed stochastic neighbor embedding (t-SNE) visualization indicated that MSEs and wakefulness were largely separable, while MSEc and ED overlapped significantly.

Conclusions:

  • Deep neuronal networks can reliably detect MSEs from raw EEG and EOG data with performance comparable to human experts.
  • This provides a proof of principle for automated MSE detection, potentially enhancing MWT analysis and sleepiness assessment.
  • The developed algorithms and data are publicly available for further research.