Source-linked AI summary

Deep Convolutional Neural Networks for Interpretable Analysis of EEG Sleep Stage Scoring

Albert Vilamala, Kristoffer H. Madsen, Lars K. Hansen

arXiv:1710.00633v1cs.CVstat.ML

TL;DR

Manual sleep-stage scoring is tedious, motivating automatic classification that remains interpretable and reliable across patients. The paper converts EEG into multitaper spectrogram images and applies transfer learning with a deep CNN, achieving state-of-the-art results while exposing influential time-frequencies.

  • Problem

    Manual sleep-stage scoring requires experts to inspect full PSG recordings, while evaluation is complicated by heterogeneous datasets and inadequate validation procedures.

  • Method

    The paper uses multitaper spectral estimation to create interpretable EEG spectrogram images, then applies and refines a CNN pretrained on natural-image recognition.

  • Results

    The framework classifies five sleep stages with 86% average accuracy on an independent test set, and VGG-FT aligns with the best existing model.

  • Takeaways & Limitations

    Sensitivity analysis provides interpretable images of the network’s reasoning and reports the time-frequencies used for each sleep-stage decision.

  • Takeaways & Limitations

    Sleep-scoring comparisons remain constrained by heterogeneous datasets and evaluation procedures that may lack proper cross-validation or independent test sets.

Abstract

from arXiv · show

Sleep studies are important for diagnosing sleep disorders such as insomnia, narcolepsy or sleep apnea. They rely on manual scoring of sleep stages from raw polisomnography signals, which is a tedious visual task requiring the workload of highly trained professionals. Consequently, research efforts to purse for an automatic stage scoring based on machine learning techniques have been carried out over the last years. In this work, we resort to multitaper spectral analysis to create visually interpretable images of sleep patterns from EEG signals as inputs to a deep convolutional network trained to solve visual recognition tasks. As a working example of transfer learning, a system able to accurately classify sleep stages in new unseen patients is presented. Evaluations in a widely-used publicly available dataset favourably compare to state-of-the-art results, while providing a framework for visual interpretation of outcomes.

1. SLEEP STAGE SCORING

Sleep-stage scoring is clinically useful but manually inspecting full polysomnography is tedious. The paper frames EEG scoring as visual classification, using interpretable spectrogram images and transfer learning to classify stages and expose influential time-frequencies.

  • Manual sleep-stage scoring requires experts to visually inspect PSG throughout the entire study, motivating automatic methods.
  • The paper tests transfer learning by feeding EEG time-frequency spectrogram images to a CNN pretrained on visual object recognition.The approach targets overfitting caused by limited data availability.
  • Sleep-scoring comparisons are complicated by heterogeneous datasets and flawed validation practices, including missing independent tests and subject-dependent random sampling.
  • The framework generates colour spectrograms with natural image-like features and maps influential network features back to the input for visual interpretation.Sensitivity analysis identifies the time-frequencies relevant to each sleep-stage decision.
  • Evaluation uses five AASM sleep stages and an independent test set from a publicly available database, with an average accuracy of 86%.

2. TRANSFER LEARNING WITH CONVOLUTIONAL NEURAL NETWORKS

Deep CNNs require extensive data, making training from scratch difficult in costly domains such as medical sciences. Transfer learning addresses this by reusing general lower-layer visual features while adapting higher layers to the target task.

  • Training deep CNNs from scratch is often infeasible in data-expensive domains such as medical sciences because these models require large datasets.
  • Transfer learning reuses representations learned from related data to support CNN training when target-domain data are limited.
  • CNN representations show a generality-specificity hierarchy: lower layers learn features such as Gabor filters and colour blobs, while higher layers become domain-specific.

3. METHODS

The method converts EEG sleep recordings into interpretable time-frequency images and analyzes them with a transfer-learned VGGNet, while sensitivity maps expose feature importance.

  • 3.1. Image creation: Multitaper spectral estimation reduces spectrogram bias and variance by applying multiple tapers and averaging their results.The resulting EEG representation is a time-frequency image used as the network input.
  • 3.2. Network architecture: VGGNet analyzes the generated images because its simplicity and flexibility suit the visual classification task.The architecture contains 16 weighted layers, with convolutional layers transferred from natural-image training and fully connected layers trained for sleep scoring.
  • 3.3. Network visualisation: Sensitivity analysis estimates each input feature’s relative importance for class discrimination from loss gradients with respect to the input.For EEG spectrograms, features correspond to RGB colour channels in image pixels.
  • 3.3. Network visualisation: Sensitivity maps are formed by placing the estimated feature-importance values into the corresponding RGB colour matrix.Automatic differentiation reduces their calculation to a simple function call.

4. EMPIRICAL EVALUATION

The evaluation uses Sleep-EDF recordings with subject-independent testing and compares feature-extraction and fine-tuned VGGNet variants, including their performance and visual sensitivity patterns.

  • 4.1. Experimental setup: The study evaluates two whole-night EEG recordings from 20 subjects in Sleep-EDF using leave-one-subject-out partitioning with separate validation and training subjects.Images are generated from Fpz-Cz recordings using specified multitaper settings and a 150-second bin containing the current, preceding, and following epochs.
  • 4.2. Results: VGG-FE classifies N3 most accurately at 89% of epochs, whereas N1 is hardest at 44%, with errors mainly assigned to R, W, and N2.Performance is summarized through raw and normalized confusion matrices and per-class metrics.
  • 4.2. Results: Fine-tuning improves sensitivity across classes, most prominently increasing N1 sensitivity by 12% while reducing N1 misclassification to W, R, and N2.Sensitivity also increases for R by 6% and N2 by 4%, while precision rises for N1, W, and R.
  • 4.2. Results: VGG-FT exhibits state-of-the-art results and aligns with the best model to date in comparisons with existing literature.Table 2 reports mean values within corresponding 95% confidence intervals.
  • 4.3. Visualisation: Sensitivity maps for subject 7 highlight stage-characteristic frequency patterns, including sigma and low-frequency activity for N2 and slow-wave activity for N3.The maps use the current epoch plus two preceding and two subsequent epochs, while R shows broad 0.5–9 Hz sensitivity.

5. CONCLUSIONS

The paper frames sleep-stage classification as visual recognition by combining multitaper colour images with object-recognition models, achieving state-of-the-art accuracy and interpretable sensitivity patterns.

  • 5. CONCLUSIONS: Multitaper colour images and object-recognition advances yield state-of-the-art sleep-stage classification accuracy.The framework also supports expert inspection of interpretable patterns and the network’s reasoning through sensitivity analysis.
  • 5. CONCLUSIONS: The approach may extend to other EEG or biological-domain tasks involving recorded time-frequency signals.The authors identify hyperparameter optimization and deeper VGGNet-layer analysis as directions for improvement.
Loading 1710.00633v1…