Skip to main content
QUICK REVIEW

[Paper Review] Automatic Sleep Stage Scoring with Single-Channel EEG Using Convolutional Neural Networks

Orestis Tsinalis, Paul M. Matthews|arXiv (Cornell University)|Oct 5, 2016
EEG and Brain-Computer InterfacesNeuroscience22 references259 citations
TL;DR

This paper trains a CNN to perform automatic sleep stage scoring from a single-channel EEG without hand-engineered features, achieving competitive mean F1, per-stage accuracy, and overall accuracy across 20-fold cross-validation on a public dataset.

ABSTRACT

We used convolutional neural networks (CNNs) for automatic sleep stage scoring based on single-channel electroencephalography (EEG) to learn task-specific filters for classification without using prior domain knowledge. We used an openly available dataset from 20 healthy young adults for evaluation and applied 20-fold cross-validation. We used class-balanced random sampling within the stochastic gradient descent (SGD) optimization of the CNN to avoid skewed performance in favor of the most represented sleep stages. We achieved high mean F1-score (81%, range 79-83%), mean accuracy across individual sleep stages (82%, range 80-84%) and overall accuracy (74%, range 71-76%) over all subjects. By analyzing and visualizing the filters that our CNN learns, we found that rules learned by the filters correspond to sleep scoring criteria in the American Academy of Sleep Medicine (AASM) manual that human experts follow. Our method's performance is balanced across classes and our results are comparable to state-of-the-art methods with hand-engineered features. We show that, without using prior domain knowledge, a CNN can automatically learn to distinguish among different normal sleep stages.

Motivation & Objective

  • Motivate automatic sleep stage scoring using deep learning without prior domain knowledge.
  • Develop a CNN that can operate on raw single-channel EEG signals.
  • Mitigate class imbalance to ensure balanced performance across sleep stages.
  • Evaluate generalization using cross-subject validation and robustness analyses against sleep quality and transition epochs.

Proposed method

  • Propose a two-stage CNN architecture with two convolution-pooling blocks, a stacking layer, and two fully-connected layers feeding a softmax classifier.
  • Input is raw EEG from Fpz-Cz (15000 timepoints for a 30 s epoch at 100 Hz) without preprocessing.
  • Use class-balanced random sampling by epoch during SGD to mitigate class imbalance.
  • Train and evaluate with 20-fold cross-validation where each fold tests one subject and trains on the remaining 19.
  • Analyze learned CNN filters by frequency content and activation patterns to compare with AASM manual guidance.
  • Compare end-to-end CNN performance with a previous hand-engineered feature approach and a fixed-filter (M-CNN) variant.

Experimental results

Research questions

  • RQ1Can a CNN learn discriminative sleep-stage features from raw single-channel EEG without hand-crafted features?
  • RQ2Does end-to-end CNN-based sleep staging balance performance across all sleep stages under class imbalance?
  • RQ3How do CNN-learned filters relate to established sleep-scoring criteria (AASM) across folds?
  • RQ4What is the generalization of CNN-based sleep staging across subjects and against varying sleep quality and transition rates?

Key findings

  • Mean F1-score across five stages: about 79–81% depending on metric and fold.
  • Mean per-stage accuracy around 80–82%; overall accuracy approximately 74%.
  • Best-identified stage was N3 (~90% correct), with REM and N2 around ~75% and Wake ~70% accuracy in aggregate.
  • Misclassifications were most common between N1 and W or N1 and R; other stage-pair confusions were relatively lower.
  • CNN-learned first-layer filters show frequency patterns (e.g., 1–1.5 Hz with 12.5–14 Hz for N3; 13–14.5 Hz with 2–4 Hz for N2) that align with AASM guidance, indicating interpretable learned features.
  • Filters learned across 5 folds show high-level similarities, suggesting consistency of learned representations across data splits.

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.