ECG-based automated detection of sleep apnea using deep neural networks and hidden markov models
Sara Qnatyan, Hojat Ghimatgar, Ahmad Keshavarz
Persian Gulf University
Key points
From the paper's conclusion- These results demonstrate the feasibility of a computationally efficient ECG-based framework for OSA screening, while further validation on independent external datasets, prospective clinical cohorts, and real-world home or wearable recordings is required before clinical or home-based deployment.
Abstract
Obstructive sleep apnea (OSA) is a common yet underdiagnosed disorder, and current diagnostic methods such as polysomnography are resource-intensive and inaccessible for many patients. Electrocardiogram (ECG)-based screening offers a more practical alternative, but the nonstationary nature of ECG signals and substantial inter-record and physiological variability limit diagnostic accuracy. Here we propose a deep learning framework that integrates multiple surface ECG-derived features—R-R intervals (RRI), ECG-derived respiration (EDR), and R-wave amplitude (RAMP)—from the PhysioNet Apnea-ECG database. Using a combined Convolutional Neural Network (CNN)–Transformer–Long Short-Term Memory (LSTM) architecture with a Hidden Markov Model (HMM) as a post-processing module, our method achieves an accuracy of 90.33% and specificity of 94.91% under record-wise five-fold cross-validation, while the record-wise A-Test robustness evaluation across K = 2 to K = 36 yielded an accuracy of 90.68% and a specificity of 94.26%. HMM post-processing increased accuracy by approximately 3.7–4.0% points, with larger improvements observed in sensitivity. These results demonstrate the feasibility of a computationally efficient ECG-based framework for OSA screening, while further validation on independent external datasets, prospective clinical cohorts, and real-world home or wearable recordings is required before clinical or home-based deployment.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Convolutional Neural Networks for Sleep Apnea Detection from Electrocardiographic SignalsElectronics · 2026
- A multifaceted approach for obstructive sleep apnea classification from ECG signal using deep learning.Npj biological timing and sleep · 2026
- Explainable CNN-BiLSTM Framework for Multi-Class Sleep Apnea Severity Detection Using Single-Lead ECG Signals: A Comprehensive Machine Learning Approach.Diagnostics (Basel, Switzerland) · 2026
- Prediction of Sleep Apnea Occurrence from a Single-Lead Electrocardiogram Using Stacking Hybrid Architecture with Gated Recurrent Neural Network Architectures and Logistic RegressionTechnologies · 2026
- Transformer-based deep learning approach for obstructive sleep apnea detection using single-lead ECGFrontiers in Artificial Intelligence · 2026
- SApneaNet: Adaptive Squeeze-and-Excitation-Based CNN-Transformer Network with AGFF for Sleep Apnea Event Detection Using ECG Images Under IoMT.Sensors (Basel, Switzerland) · 2026