Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Sep 1;29(5):276.
doi: 10.1007/s11325-025-03442-9.

Artificial intelligence-based approaches for sleep-related breathing events identification using EEG and ECG signals

Affiliations

Artificial intelligence-based approaches for sleep-related breathing events identification using EEG and ECG signals

Nguyen Thi Hoang Trang et al. Sleep Breath. .

Abstract

Purposes: Sleep apnea or hypopnea is a sleep-related breathing disorder characterized by insufficient ventilation during sleep. Sleep apnea is classified into two major forms: obstructive sleep apnea (OSA) and central sleep apnea (CSA). The conventional diagnosis with Polysomnography (PSG) is time-consuming, uncomfortable, and costly in the clinical setting. To address these issues, wearable devices and AI techniques have been developed, utilizing single or multi-modal physiological signals. This study aims to deploy a multi-modal approach by analyzing both EEG and ECG signals derived from home sleep testing devices for OSA/CSA/hypopnea identification. A robust ensemble learning model is proposed to compare with the performance of the deep learning model in event classification.

Methods: EEG and ECG signals from 201 PSG were collected. Non-linear features extracted by wavelet transform methods and machine learning were used to develop a classification algorithm. ECG spectrograms and the deep learning model were also deployed to compare with traditional method. Two classification strategies including 3-class (OSA-hypopnea-normal, OSA-CSA-normal) and 2-class (OSA-hypopnea, OSA-CSA) were also examined.

Results: The highest classification performance was achieved using the combined signal-based model with 98.8% accuracy, 99.1% sensitivity, and 98.5% specificity for classifying OSA and CSA. When compared with the deep learning model, the classification accuracy of the combined signal-based machine learning model was significantly higher in almost all classification strategies.

Conclusion: The findings highlight the effectiveness of combining non-linear features from ECG and EEG signals for classifying various sleep-related breathing events. A proposed machine learning model provides significantly precise classification compared to a deep learning approach, offering improved reliability in-home sleep setting.

Keywords: Central sleep apnea; Deep learning; Hypopnea; Machine learning; Obstructive sleep apnea; Wavelet transform.

PubMed Disclaimer

Conflict of interest statement

Declarations. Competing interests: The authors have no competing interests to declare that are relevant to the content of this article and have no financial relationships to disclose. Ethics approvals: The study protocol was approved by the Board of Ethics in Biomedical Research at the University of Medicine and Pharmacy at Ho Chi Minh City (protocol number 585/UMP-BOARD).

Figures

Fig. 1
Fig. 1
The flowchart of the proposed classification algorithm. The process of sleep-related breathing events classification based on EEG and ECG signals consists of signal preprocessing, feature extraction and selection, and model construction. These signals are decomposed into different frequency sub-bands using wavelet transform technology which is a two-dimensional signal analysis to obtain time and frequency components simultaneously. In response to reducing feature dimensions, a feature selection method using Neighborhood Component Analysis (NCA) is applied to choose the optimal feature set. The obtained features were then utilized as inputs for the classifiers. Finally, we developed two distinct models: the first one used machine learning for classifying features derived from signal decomposition, while the deep learning approach employed direct ECG spectrograms for sleep-related breathing events classification. The models are evaluated with 5-fold cross-validation and compared to their performance. Additionally, two classification approaches include 3-class (OSA-hypopnea-normal; OSA-CSA-normal) and 2-class (OSA-hypopnea; OSA-CSA). SMOTE synthetic minority oversampling technique, DWT discrete wavelet transform, db Daubechies wavelet, HT Hilbert transform, IA instantaneous amplitude, IF instantaneous frequency, WIF weighted instantaneous frequency, WPA wavelet packet analysis, CWT continuous wavelet transform
Fig. 2
Fig. 2
Transform of a 30-second ECG epoch to ECG-spectrogram at 0.5–50 Hz
Fig. 3
Fig. 3
Performance in NREM and REM stages for 3-class classification using four different models. (A) The results of OSA, hypopnea, and normal classification. (B) The results of OSA, CSA, and normal classification. The bar chart compares the classification performance through EEG, ECG, combined EEG-ECG, and ECG spectrogram using EBT and ResNet50 by calculating the average percentage of accuracy, sensitivity, and specificity from each class in testing sets

References

    1. Gnoni V, Mesquita M, O’Regan D, Delogu A, Chakalov I, Antal A, Young AH, Bucks RS, Jackson ML, Rosenzweig I (2023) Distinct cognitive changes in male patients with obstructive sleep apnoea without co-morbidities. Frontiers in Sleep 2 - PMC - PubMed
    1. Mitra AK, Bhuiyan AR, Jones EA (2021) Association and risk factors for obstructive sleep apnea and cardiovascular diseases: A systematic review. Diseases 9 - PMC - PubMed
    1. Lal C, Weaver TE, Bae CJ, Strohl KP (2021) Excessive daytime sleepiness in obstructive sleep apnea. Mechanisms and clinical management. Ann Am Thorac Soc 18:757–768 - PMC - PubMed
    1. Bjornsdottir E, Keenan BT, Eysteinsdottir B, Arnardottir ES, Janson C, Gislason T, Sigurdsson JF, Kuna ST, Pack AI, Benediktsdottir B (2015) Quality of life among untreated sleep apnea patients compared with the general population and changes after treatment with positive airway pressure. J Sleep Res 24:328–338 - PMC - PubMed
    1. Lin Y, Wu Y, Lin Q, Wing YK, Xu L, Ge J, Wu Q, Li Z, Wu Q, Lin B, Wei S (2023) Objective sleep duration and All-Cause mortality among people with obstructive sleep apnea. JAMA Netw Open 6:e2346085–e2346085 - PMC - PubMed

LinkOut - more resources