End-to-end sleep apnea detection using single-lead ECG signal and 1-D residual neural networks

Roneel V. Sharan*, Shlomo Berkovsky, Hao Xiong, Enrico Coiera

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Purpose: Sleep apnea causes heart rate variability (HRV). HRV can be detected from the electrocardiography (ECG) signal and descriptors of HRV during sleep have been shown to be useful predictors of sleep apnea. In this work, we study the use of raw ECG signal and deep one-dimensional residual neural network (1-D ResNet) for end-to-end sleep apnea detection. Methods: Our method uses raw single-lead ECG signal as an input to a 1-D convolutional neural network (CNN) with residual connections, exploiting CNN’s ability to learn distinguishing signal characteristics directly from the ECG signal and thereby forgoing the need for human engineered signal processing, feature extraction, and feature selection. In addition, we use weighted cross-entropy loss to account for the imbalance of apnea and non-apnea segments in our dataset, Bayesian optimization for fine-tuning the network hyperparameters, and data from current and adjacent epochs for predicting the label of the current epoch. The final ECG-based apnea detection network is evaluated on a dataset of 70 overnight ECG recordings. Results: The proposed method achieved an accuracy of 93.05% (AUC = 0.9819) in detecting sleep apnea segments when considering adjacent epochs, thus, outperforming several baseline techniques. Furthermore, the method achieved 100% accuracy in separating sleep apnea recordings from normal recordings. Conclusion: Our simple yet robust approach to ECG-based apnea detection demonstrates high accuracy. It has the potential to improve detection and diagnosis of sleep apnea and improve quality of life and health outcomes for millions of people worldwide.

Original languageEnglish
Pages (from-to)758-766
Number of pages9
JournalJournal of Medical and Biological Engineering
Volume41
Issue number5
Early online date29 Jul 2021
DOIs
Publication statusPublished - Oct 2021

Keywords

  • Bayesian optimization
  • Electrocardiography
  • Heart rate variability
  • Obstructive sleep apnea
  • Residual neural network

Fingerprint

Dive into the research topics of 'End-to-end sleep apnea detection using single-lead ECG signal and 1-D residual neural networks'. Together they form a unique fingerprint.

Cite this