[Paper Review] A Machine Learning Approach to Automatic Classification of Eight Sleep Disorders
This study proposes a multi-channel deep learning model that classifies eight sleep disorders using raw polysomnographic signals (EEG, EMG, ECG, EOG), achieving over 95% sensitivity and specificity across all disorders. The model outperforms feature-based approaches by leveraging raw signal inputs, with explainability via heatmaps confirming clinically relevant frequency patterns.
In this research, we attempt to answer the following basic research questions: Is a machine learning model able to classify all types of sleep disorders with high accuracy? Among the different modalities of sleep disorder signals, are some more important than others? Do raw signals improve the performance of a deep learning model when they are used as inputs? Prior research showed that most sleep disorders belong to eight categories. To study the performance of machine learning models in classifying polysomnography recordings into the eight categories of sleep pathologies, we selected the Cyclic Alternating Pattern Sleep Database. We developed a multi-channel Deep Learning model where a set of Convolutional Neural Networks were applied to six channels of raw signals of different modalities, including three channels of EEG signals and one channel each of EMG, ECG , and EOG signals. To compare the performance of the DL model with other models, we designed a model that took spectral features, instead of raw signals, as its inputs. We first studied the "importance" issue of signal modalities using the RF algorithm. We found that ECG contributed most to the important features and EMG second, among the four signal modalities. We then studied the accuracy performance of the proposed machine learning models. We verified that the multi-channel DL-R model, which took raw signals as its inputs, outperformed all other models, with its sensitivity and specificity scores both being above 95 %. This accuracy performance is on a par with those published results which dealt with fewer types of sleep disorders. We adopted two popular heatmap-generating techniques, with which we confirmed that the DL model's superior performance was owing to the CNN network's ability to extract potent features from raw signals.
Motivation & Objective
- To develop a machine learning framework for automatic classification of eight common sleep disorders using polysomnography (PSG) data.
- To evaluate whether raw physiological signals improve deep learning model performance compared to hand-crafted spectral features.
- To identify the relative importance of different signal modalities (EEG, EMG, ECG, EOG) in classifying sleep pathologies.
- To assess the explainability of the deep learning model using heatmap visualization techniques.
- To compare the performance of deep learning models with traditional classifiers (SVM, Random Forest) on PSG data.
Proposed method
- A multi-channel 1D Convolutional Neural Network (CNN) processes six raw signals: three EEG, one EMG, one ECG, and one EOG channel.
- Two deep learning models are trained: DL-R (raw signals as input) and DL-F (spectral features as input).
- Random Forest is used to rank feature importance across signal modalities, identifying ECG and EMG as most discriminative.
- Grad-CAM and Grad-CAM++ are applied to generate heatmaps for model interpretability, visualizing frequency ranges and peak frequencies.
- Performance is evaluated using sensitivity and specificity across eight sleep disorder categories: Bruxism (Bru), Insomnia (Ins), Narcolepsy (Nar), Periodic Leg Movements (Plm), REM Behavior Disorder (Rbd), Sleep-Disordered Breathing (Sbd), Nocturnal Frontal Lobe Epilepsy (Nfl), and Normal (Nrm).
- The model is evaluated on the Cyclic Alternating Pattern (CAP) Sleep Database, comprising 108 polysomnographic recordings.
Experimental results
Research questions
- RQ1Can a deep learning model achieve high accuracy in classifying all eight major sleep disorders using raw polysomnographic signals?
- RQ2Which signal modality (EEG, EMG, ECG, EOG) contributes most to the classification performance?
- RQ3Does using raw signals as input improve deep learning model performance compared to using hand-crafted spectral features?
- RQ4Can heatmap visualization techniques explain the model’s predictions in alignment with clinical observations?
- RQ5How does the performance of the raw-signal-based deep learning model compare to traditional classifiers and feature-based deep learning models?
Key findings
- The DL-R model, which uses raw signals as input, achieved sensitivity and specificity above 95% for all eight sleep disorders, outperforming all other models.
- The DL-F model, which uses spectral features, showed particularly low sensitivity (62.9%) and specificity (87.1%) for patients with periodic leg movements (Plm), indicating high false positive and false negative rates.
- Random Forest analysis revealed that ECG signals contributed most to important features, followed by EMG, indicating their high discriminative power among the modalities.
- Heatmap analysis confirmed that the DL-R model learned frequency patterns consistent with clinical findings: Bruxism and Nocturnal Frontal Lobe Epilepsy showed strong low-frequency activity, while Insomnia was active in mid-to-high frequencies.
- The model demonstrated superior robustness, with the DL-R model achieving 99.6% sensitivity and 99.6% specificity for Bruxism, and 98.2% sensitivity and 95.9% specificity for Normal sleep.
- The study confirms that deep learning models trained on raw signals can achieve high accuracy and clinical interpretability, outperforming both traditional classifiers and feature-based deep learning models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.