Skip to main content
QUICK REVIEW

[Paper Review] A Convolutional Network for Sleep Stages Classification

Isaac Fernández-Varela, Elena Hernández-Pereira|arXiv (Cornell University)|Feb 15, 2019
EEG and Brain-Computer InterfacesNeuroscience29 references5 citations
TL;DR

This paper proposes a deep learning ensemble of five 1D convolutional neural networks that automatically learn sleep stage features from raw polysomnographic signals (EEG, EOG, EMG), achieving a weighted kappa score of 0.83 on a 500-record SHHS dataset. The model outperforms prior methods in overall agreement while avoiding human-biased feature engineering, though it struggles with classifying N1 stage due to high expert disagreement.

ABSTRACT

Sleep stages classification is a crucial task in the context of sleep studies. It involves the simultaneous analysis of multiple signals recorded during sleep. However, it is complex and tedious, and even the trained expert can spend several hours scoring a single night recording. Multiple automatic methods have tried to solve these problems in the past, most of them by classifying a feature vector that is engineered for a specific dataset. In this work, we avoid this bias using a deep learning model that learns relevant features without human intervention. Particularly, we propose an ensemble of 5 convolutional networks that achieves a kappa index of 0.83 when classifying a dataset of 500 sleep recordings.

Motivation & Objective

  • To address the high inter-expert variability and time-consuming nature of manual sleep staging in polysomnography.
  • To overcome limitations of traditional methods that rely on handcrafted, dataset-specific features.
  • To develop a deep learning model that learns relevant features directly from raw biosignals, improving generalization across datasets.
  • To evaluate performance on a large, diverse dataset (SHHS, 500 recordings) using standard metrics including F1 score and Cohen’s kappa.
  • To identify failure modes, particularly misclassification of N1 stage, and suggest improvements like recurrent memory.

Proposed method

  • Uses a 1D convolutional neural network architecture to process raw time-series signals from five channels: two EEG, one EMG, and two EOG.
  • Applies signal filtering (0.5–30 Hz) and normalization to prepare raw biosignals before input.
  • Employs a tree-structured Parzen estimator (TPE) to optimize four hyperparameters across 50 configurations.
  • Trains an ensemble of five best-performing models selected from hyperparameter search to improve robustness and generalization.
  • Uses softmax classification with cross-entropy loss to predict five sleep stages: W, N1, N2, N3, REM.
  • Evaluates performance using precision, recall (sensitivity), F1 score, and Cohen’s kappa on a held-out test set.

Experimental results

Research questions

  • RQ1Can a deep learning model trained on raw polysomnographic signals achieve higher agreement with expert scoring than traditional feature-based methods?
  • RQ2How does the performance of an ensemble of 1D CNNs compare to prior state-of-the-art methods on standardized metrics like F1 and kappa?
  • RQ3Why is the N1 stage particularly difficult to classify, and does the model exhibit systematic misclassification patterns?
  • RQ4To what extent can hyperparameter optimization via tree-structured Parzen estimation improve model generalization?
  • RQ5Can the model be adapted to other datasets without re-engineering features?

Key findings

  • The ensemble model achieved a Cohen’s kappa score of 0.83 on the SHHS test set, outperforming most prior works in overall agreement.
  • The model achieved a high F1 score of 0.95 for the W (awake) stage, indicating strong performance for this class.
  • The F1 score for N1 was only 0.27, reflecting the model’s difficulty in classifying this stage, consistent with high expert disagreement.
  • Misclassification was most frequent toward N2, with 39% of N1 predictions incorrectly assigned to N2, indicating a systematic bias.
  • The model showed strong performance for N2 (F1: 0.88), N3 (F1: 0.84), and REM (F1: 0.86), with precision and sensitivity above 0.8 for all.
  • The results suggest that the model generalizes well across datasets and could be further improved by incorporating temporal dependencies via recurrent layers.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.