Table of Contents
Fetching ...

Transparency in Sleep Staging: Deep Learning Method for EEG Sleep Stage Classification with Model Interpretability

Shivam Sharma, Suvadeep Maiti, S. Mythirayee, Srijithesh Rajendran, Raju Surampudi Bapi

TL;DR

This work tackles automatic sleep-stage classification from single-channel EEG by introducing an end-to-end deep learning framework that combines SE-ResNet-based feature extraction with stacked Bi-LSTM temporal context modeling. It advances interpretability through 1D-GradCAM visualizations that align with sleep experts' insights, and demonstrates an 8x training-time improvement via a stride-based efficiency strategy. Evaluations on SleepEDF-20, SleepEDF-78, and SHHS show superior macro-F1 and accuracy compared with state-of-the-art baselines, establishing a practical, clinically relevant approach. The combination of robust performance and explainability supports potential deployment in clinical sleep assessment and monitoring, with future work focusing on improving N1 detection.

Abstract

Automated Sleep stage classification using raw single channel EEG is a critical tool for sleep quality assessment and disorder diagnosis. However, modelling the complexity and variability inherent in this signal is a challenging task, limiting their practicality and effectiveness in clinical settings. To mitigate these challenges, this study presents an end-to-end deep learning (DL) model which integrates squeeze and excitation blocks within the residual network to extract features and stacked Bi-LSTM to understand complex temporal dependencies. A distinctive aspect of this study is the adaptation of GradCam for sleep staging, marking the first instance of an explainable DL model in this domain with alignment of its decision-making with sleep expert's insights. We evaluated our model on the publically available datasets (SleepEDF-20, SleepEDF-78, and SHHS), achieving Macro-F1 scores of 82.5, 78.9, and 81.9, respectively. Additionally, a novel training efficiency enhancement strategy was implemented by increasing stride size, leading to 8x faster training times with minimal impact on performance. Comparative analyses underscore our model outperforms all existing baselines, indicating its potential for clinical usage.

Transparency in Sleep Staging: Deep Learning Method for EEG Sleep Stage Classification with Model Interpretability

TL;DR

This work tackles automatic sleep-stage classification from single-channel EEG by introducing an end-to-end deep learning framework that combines SE-ResNet-based feature extraction with stacked Bi-LSTM temporal context modeling. It advances interpretability through 1D-GradCAM visualizations that align with sleep experts' insights, and demonstrates an 8x training-time improvement via a stride-based efficiency strategy. Evaluations on SleepEDF-20, SleepEDF-78, and SHHS show superior macro-F1 and accuracy compared with state-of-the-art baselines, establishing a practical, clinically relevant approach. The combination of robust performance and explainability supports potential deployment in clinical sleep assessment and monitoring, with future work focusing on improving N1 detection.

Abstract

Automated Sleep stage classification using raw single channel EEG is a critical tool for sleep quality assessment and disorder diagnosis. However, modelling the complexity and variability inherent in this signal is a challenging task, limiting their practicality and effectiveness in clinical settings. To mitigate these challenges, this study presents an end-to-end deep learning (DL) model which integrates squeeze and excitation blocks within the residual network to extract features and stacked Bi-LSTM to understand complex temporal dependencies. A distinctive aspect of this study is the adaptation of GradCam for sleep staging, marking the first instance of an explainable DL model in this domain with alignment of its decision-making with sleep expert's insights. We evaluated our model on the publically available datasets (SleepEDF-20, SleepEDF-78, and SHHS), achieving Macro-F1 scores of 82.5, 78.9, and 81.9, respectively. Additionally, a novel training efficiency enhancement strategy was implemented by increasing stride size, leading to 8x faster training times with minimal impact on performance. Comparative analyses underscore our model outperforms all existing baselines, indicating its potential for clinical usage.
Paper Structure (31 sections, 8 equations, 9 figures, 4 tables)

This paper contains 31 sections, 8 equations, 9 figures, 4 tables.

Figures (9)

  • Figure 1: (a) Proposed Model Architecture (b) Description of SE block in SE-Resnet.
  • Figure 2: Notion of window and stride when the window size is 3 and stride is 2.
  • Figure 3: Representation of electrode placement of EEG. Green represents the electrode used, grey represents the used reference electrodes (in Table \ref{['tab:mergedTable']}), Red represents unused electrodes for this study.
  • Figure 4: Normalized Confusion matrices of the proposed model with window size-9 and stride-1 on the Fpz-Cz channel of SleepEDF-20 and SleepEDF-78 datasets and on C4-A1 channel of SHHS dataset, respectively. Each column in the confusion matrices represents predicted sleep stages, and each row represents the sleep stage annotations provided by experts. The dark color of the element on the diagonal represents better classification performance of respective categories.
  • Figure 5: : Performance (MF1 and ACC values) of the model for different sizes of Window and Stride. (a) For Window sizes 3, 5, 7, 9 and 11. (b) For Stride varied from 1 to 5.
  • ...and 4 more figures