Prediction of Obstructive Sleep Apnea Using Variational Autoencoder-Derived Features From 12-Lead ECG
Harvey, C.; Gupta, A.; Halder, B.; Thompson, J.; Mishra, S.; Gratton, M. K.; Stevens, D.; Noheria, A.; Mazzotti, D. R.
Show abstract
BackgroundObstructive sleep apnea (OSA) is a highly prevalent sleep disorder. Major risk factors include obesity, older age, and male sex. Given the well-established association between OSA and cardiovascular disease, markers of cardiovascular health derived from electrocardiography (ECG) may help identify individuals with undiagnosed OSA. This study evaluated whether 12-lead ECG features improve machine learning-based prediction of OSA beyond established clinical factors. MethodsWe conducted a retrospective cohort study of individuals who underwent diagnostic sleep studies at the University of Kansas Health System Sleep Disorders Center (2004-2025) and had a 12-lead ECG acquired within one year. Standard ECG features (intervals, amplitudes, voltage-time integrals, morphology descriptors) were extracted from the representative beat. Latent representations were derived using two variational autoencoder (VAE) models pretrained on >1 million ECGs: a 30-dimensional representative-beat VAE and a 90-dimensional full 10-second ECG VAE. Three LightGBM models were trained: clinical factors only (age, sex, weight, height, body mass index [BMI], Epworth sleepiness scale [ESS]), ECG features only, and a combined model. Feature selection and hyperparameter tuning were performed separately for each model within a 5-fold cross-validation scheme. The outcome was moderate-to-severe OSA (AHI[≥]15 events/h), evaluated by AUROC (bootstrapped 95% CI) in a 10% holdout test set. ResultsThe dataset included 7,699 individuals (52.2% women, mean age 58.0 {+/-} 14.2 years, BMI 33.6{+/-}8.2 kg/m{superscript 2}, ESS 8.8{+/-}5.1; 36.4% with moderate-to-severe OSA) Training AUROC (95% CI) was 0.71 (0.66-0.76) for the combined model, versus 0.65 (0.59-0.70) for the clinical-only model and 0.66 (0.61-0.72) for the ECG-only model. Holdout test AUROC was 0.78 (combined), 0.69 (clinical-only), and 0.71 (ECG-only). Feature importance identified age, BMI, weight, ECG VAE latent variables, height, sex, and P-wave voltage-time integral as relevant contributor to the predictions. ConclusionsLatent ECG features extracted by VAE improve prediction of moderate-to-severe OSA when combined with clinical factors.
Matching journals
The top 7 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Comparison of feature-based indices derived from photoplethysmogram recorded from different body locations during lower body negative pressure 91%
- Highly comparative time series analysis of oxygen saturation and heart rate to predict respiratory outcomes in extremely preterm infants 91%
- An Open-Access Simultaneous Electrocardiogram and Phonocardiogram Database 91%
Similar papers in this journal
- Using ECG Machine Learning for Detection of Cardiovascular Disease in African American Men and Women: the Jackson Heart Study 91%
- Accelerometer-derived sleep onset timing and cardiovascular disease incidence: a UK Biobank cohort study 91%
- Automated Diagnostic Reports from Images of Electrocardiograms at the Point-of-Care 90%
Similar papers in this journal
Similar papers in this journal
- Occurrence of relative bradycardia and relative tachycardia in individuals diagnosed with COVID-19 91%
- Predictive modeling of secondary pulmonary hypertension in left ventricular diastolic dysfunction 90%
- Comparisons of Heart Rate Variability Responses to Head-up Tilt With and Without Abdominal and Lower-Extremity Compression in Healthy Young Individuals: A Randomized Crossover Study 90%
Similar papers in this journal
- Is sleep apnea-hypopnea index relevant for impaired brain perfusion and desaturation in patients with severe obstructive sleep apnea syndromes? 94%
- Novel Digital Markers of Sleep Dynamics: A Causal Inference Approach Revealing Age and Gender Phenotypes in Obstructive Sleep Apnea 94%
- Kinematic signature of high-risk labored breathing revealed by novel signal analysis 92%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.