Spectral analysis of ECG and SpO₂ for machine learning classification of Sleep-Disordered breathing
Abstract
PURPOSE: Sleep-disordered breathing (SDB), particularly obstructive sleep apnea (OSA), is prevalent in hospitalized patients, yet remains underdiagnosed due to limited screening tools. This pilot study aimed to develop and validate a machine-learning classifier using electrocardiogram (ECG) and pulse oximetry (SpO₂) waveforms to detect SDB, leveraging routinely collected physiological data to enable non-invasive, scalable screening in hospitalized patients. METHODS: We utilized data from the Multi-Ethnic Study of Atherosclerosis (MESA) Sleep cohort, which included full overnight polysomnography (PSG). A total of 122 participants were randomly selected, enriched for severe OSA cases. Spectral analysis of R-R intervals and SpO₂ variability was performed, and a support vector machine (SVM) classifier was trained using a subset of subjects (n = 30). Performance was evaluated in a validation set (n = 92) using standard classification metrics with 95% CIs calculated. RESULTS: The first-stage classifier (SVM-1) demonstrated high sensitivity (98.7%) and specificity (99.0%) in identifying respiratory events at the window level. The second-stage classifier (SVM-2) correctly classified OSA presence with 100% accuracy in the training set. When applied to the validation set, the combined model achieved a sensitivity of 72.3%, specificity of 73.3%, and F1-score of 73.1%. Performance was impacted by arrhythmias, and lack of direct respiratory effort measures. CONCLUSION: A machine-learning model using routinely collected ECG and SpO₂ data shows promise for SDB detection but may require additional cardiopulmonary parameters for clinical decision-making in the ICU. Further validation with data collected in real-world ICU settings is warranted.
Fields of Study & Subjects
Obstructive Sleep Apnea Research
Non-Invasive Vital Sign Monitoring
ECG Monitoring and Analysis
Publication details
- Journal / source
- Sleep And Breathing
- Volume
- 30
- Issue
- 1
- Pages
- 41–41
- Publication date
- 11 February 2026
- Language
- EN