Transformer-based deep learning approach for obstructive sleep apnea detection using single-lead ECG
Malak Abdullah Almarshad, Saad Muhammed Al-Ahmadi, Saiful Islam, Adel Soudani, Ahmed S. BaHammam
Imam Mohammad ibn Saud Islamic University · King Saud University
Key points
From the paper's conclusion- This study introduces a transformer-based deep learning approach using a single-lead electrocardiogram (ECG) for OSA detection.
Abstract
Obstructive sleep apnea (OSA) results from repeated collapses of the upper airway during sleep, which can lead to serious health complications. Although polysomnography (PSG) is the diagnostic gold standard, it is costly, labor-intensive, and associated with long waiting times. With the rapid evolution of automated scoring solutions and the emergence of machine learning (ML) and deep learning (DL) in many disciplines, there is a need for tools that use fewer signals and can provide accurate diagnoses. DL models can an process large amounts of data and often generalize effectively to new instances. This makes them a suitable choice for classifying continuous time series data. This study introduces a transformer-based deep learning approach using a single-lead electrocardiogram (ECG) for OSA detection. The proposed architecture, designed to handle raw signals with high sampling rates, preserves temporal continuity over unlimited durations. Without any preprocessing, the model tolerates high-noise raw data. The model is tested with different positional embedding techniques. Additionally, a novel positional encoding technique using an autoencoder is introduced. The proposed approach achieves a high F1 score, outperforming other published work by an average margin of more than 13%. In addition, the model classifies apnea episodes at one-second intervals, providing clinicians with nuanced insights.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ECG-based automated detection of sleep apnea using deep neural networks and hidden markov modelsScientific Reports · 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
- Convolutional Neural Networks for Sleep Apnea Detection from Electrocardiographic SignalsElectronics · 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
- An explainable spatial–temporal transformer framework with time-stretch encoding for cross-dataset sleep apnea detectionDiscover Applied Sciences · 2026