Electronics
Convolutional Neural Networks for Sleep Apnea Detection from Electrocardiographic Signals
By Julia López-Canay, Paloma Gómez-Zabal, Alberto Fernández-García and 3 others.
Abstract
Background
Obstructive sleep apnea (OSA) is a highly prevalent chronic respiratory disorder with important consequences for cardiovascular health and quality of life. Its often non-specific clinical presentation contributes to substantial underdiagnosis, while the logistical, technical, and economic complexity of conventional diagnostic procedures can lead to significant delays in diagnosis.
Methods
We propose a convolutional neural network (CNN)-based intelligent system for the automatic detection of OSA events from single-lead electrocardiogram (ECG) signals. Using the PhysioNet Apnea-ECG dataset, each ECG time segment was converted into a two-dimensional time–frequency representation through the Continuous Wavelet Transform (CWT), enabling OSA detection to be formulated as an image-classification problem. Three widely used CNN architectures—AlexNet, ResNet-18, and MobileNetV2—were trained using a transfer learning strategy and subsequently integrated through a soft-voting ensemble. The classification threshold was optimized using the Matthews Correlation Coefficient (MCC). Based on the resulting event classifications, the system estimates the patient’s Apnea–Hypopnea Index and assigns the corresponding OSA severity level.



