Skip to main content
QUICK REVIEW

[Paper Review] Combining Generative and Discriminative Neural Networks for Sleep Stages Classification

Endang Purnama Giri, Mohamad Ivan Fanany|arXiv (Cornell University)|Oct 6, 2016
EEG and Brain-Computer InterfacesNeuroscience7 references12 citations
TL;DR

This paper proposes a hybrid deep learning model combining a Deep Belief Network (DBN) for hierarchical feature extraction and Long Short-Term Memory (LSTM) networks for sequence modeling to improve sleep stage classification. The method achieves 98.75% accuracy on a benchmark dataset and 98.94% on a custom MKG dataset, outperforming the prior state of the art (91.31%) by leveraging temporal patterns in EEG, EOG, and EMG signals with handcrafted features as input.

ABSTRACT

Sleep stages pattern provides important clues in diagnosing the presence of sleep disorder. By analyzing sleep stages pattern and extracting its features from EEG, EOG, and EMG signals, we can classify sleep stages. This study presents a novel classification model for predicting sleep stages with a high accuracy. The main idea is to combine the generative capability of Deep Belief Network (DBN) with a discriminative ability and sequence pattern recognizing capability of Long Short-term Memory (LSTM). We use DBN that is treated as an automatic higher level features generator. The input to DBN is 28 "handcrafted" features as used in previous sleep stages studies. We compared our method with other techniques which combined DBN with Hidden Markov Model (HMM).In this study, we exploit the sequence or time series characteristics of sleep dataset. To the best of our knowledge, most of the present sleep analysis from polysomnogram relies only on single instanced label (nonsequence) for classification. In this study, we used two datasets: an open data set that is treated as a benchmark; the other dataset is our sleep stages dataset (available for download) to verify the results further. Our experiments showed that the combination of DBN with LSTM gives better overall accuracy 98.75\% (Fscore=0.9875) for benchmark dataset and 98.94\% (Fscore=0.9894) for MKG dataset. This result is better than the state of the art of sleep stages classification that was 91.31\%.

Motivation & Objective

  • To improve sleep stage classification accuracy by integrating generative and discriminative deep learning models.
  • To address the limitation of existing methods that treat sleep stages as independent instances rather than temporal sequences.
  • To evaluate the performance of a hybrid DBN-LSTM architecture on both benchmark and custom sleep datasets.
  • To compare the proposed model with prior state-of-the-art approaches, particularly DBN-HMM and other hybrid models.
  • To investigate the feasibility of using handcrafted features with deep learning for high-accuracy sleep staging.

Proposed method

  • Uses a Deep Belief Network (DBN) pre-trained in an unsupervised manner on 28 handcrafted features extracted from EEG, EOG, and EMG signals.
  • Employs the DBN as a hierarchical feature extractor, transforming raw features into higher-level representations.
  • Feeds the DBN-learned features into a Long Short-Term Memory (LSTM) network to model temporal dependencies across sleep stages.
  • Leverages LSTM’s ability to capture long-range sequential patterns in sleep stage transitions.
  • Trains the DBN using contrastive divergence on stacked Restricted Boltzmann Machines (RBMs), followed by fine-tuning with backpropagation.
  • Applies the combined DBN+LSTM model to two datasets: a public benchmark and a newly collected MKG dataset for validation.

Experimental results

Research questions

  • RQ1Can combining a generative model (DBN) with a sequential discriminative model (LSTM) improve sleep stage classification accuracy compared to existing methods?
  • RQ2How does the DBN+LSTM model perform on both benchmark and newly collected sleep datasets in terms of overall accuracy and F1-score?
  • RQ3What is the impact of modeling sleep stages as a sequence rather than independent instances on classification performance?
  • RQ4How do the classification results compare to the state of the art, particularly the 91.31% accuracy reported in prior work?
  • RQ5Which sleep stage pairs are most difficult to distinguish, and how does the model perform on these classes?

Key findings

  • The DBN+LSTM model achieved 98.75% overall accuracy and F1-score of 0.9875 on the benchmark dataset, significantly outperforming the prior state of the art (91.31%).
  • On the custom MKG dataset, the model reached 98.94% overall accuracy and F1-score of 0.9894, demonstrating robust generalization.
  • The confusion matrix for DBN+LSTM showed near-perfect classification for S3 (deep sleep) and REM stages, with over 98% accuracy on these classes.
  • The most challenging sleep stage pairs were S1 and S2 due to similar EOG and EMG waveform characteristics, and WAKE vs. S1 on the MKG dataset.
  • The LSTM component significantly improved performance over DBN+HMM, with higher F1-scores and more consistent predictions across folds.
  • Training time for the DBN pre-training phase was 42–45 minutes per fold, while the full training on the benchmark dataset took ~4 hours and ~17 hours on the MKG dataset, with inference taking only ~16 seconds on 20,000 samples.

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.