In this systematic review, we found different sensors and signals based on CNN algorithms that have been used to detect sleep apnea. Electrocardiogram, SpO
2, and respiratory signals were the most utilized signals to detect sleep apnea. Electrocardiogram was frequently used as the single source sensor and was the most studied signal in studies. However, to detect sleep apnea from respiration, it was more common to combine multiple signals. The CNN1D classifier was the most frequently used classifier among various CNN subclasses. The highest accuracy (100%) was reported by Mostafa, using the SpO
2 signal and CNN1D classifier. In this study, the global classification of OSA was also reported (
11). The 99.8% accuracy was also achieved by Liang (
23) using the RR-interval signal in ECG and a combination of CNN and LSTM classifiers. The maximum sensitivity and specificity were achieved by Erdenebayar et al. (99% each) using ECG signals and CNN1D classifier (
24).
Studies that used ECG signals accomplished the highest performance in diagnostic tests. However, the majority of the studies that have used ECG signals were tested in public datasets, which are probably cleaner than ECGs in hospital and medical center settings. This could increase the performance of the algorithms in diagnostic tests (
30-
35,
73). Although sleep apnea is primarily a breathing disorder, respiratory and sound signals were not as successful as ECG and SpO
2 in diagnostic tests. In some parts, it is because the algorithms based on sound and respiratory signals are more susceptible to noises caused by environmental and cardiac sounds (
74). The AED database was the only database in the current study whose different features (i.e., ECG, SpO
2, and respiratory signals) have been used for detecting sleep apnea in different studies. Merely considering this database, there was no superiority of a signal in detecting sleep apnea over other signals. Additionally, the sleep recordings in the AED database are annotated per minute for detecting sleep apnea events (
75); however, most of the databases have annotations per second/sample, which follow the rules of the American Academy of Sleep Medicine (AASM) to annotate sleep recordings (
76). As respiratory events can be grouped in clusters, and one sleep minute can contain more than one apnea/hypopnea, this could affect the generalization of the results obtained in AED to other datasets and clinical settings.
Using a combination of respiratory signals did not improve the performance of the algorithms in diagnostic tests in comparison with singular SpO
2 signals, as usually one of the signals dominates the algorithm. Further studies are needed in this field to optimize the algorithms that use multiple respiratory signals to detect sleep apnea. However, algorithms that use fewer signals or a singular signal are preferred for their simplicity and ease of implementation (
77).
A variety of signals were combined in several studies to detect sleep apnea. For instance, for the diagnosis of obstructive apnea, Alarcon et al. combined SpO
2, heart rate, thoracic respiratory effort, and abdominal-respiratory effort; nevertheless, Jimenez-Garcia et al. combined SpO
2 and airflow signal (
54,
55). Since the test is closer to a full PSG by increasing the received signals, it is evident that the use of combined signals could increase the sensitivity and specificity of diagnosis. However, the use of combined signals might increase the complexity and cost of the diagnosis and the susceptibility to noise and artifacts. Therefore, the trade-off between the performance and the feasibility of using combined signals should be considered (
54,
78).
The convolutional neural network has recently been utilized to diagnose sleep apnea using photoplethysmography (PPG). By examining the changes in the PPG signal that represent the respiratory and cardiac activities, PPG can be utilized to identify sleep apnea (
60,
61). To determine the stages of sleep and the arousal events that occur during sleep, PPG can also record the autonomic nervous system’s modulation. Photoplethysmography is noninvasive, simple to use, and inexpensive compared to other sleep apnea diagnostic techniques. Photoplethysmography, however, has numerous disadvantages, including a sensitivity to noise, signal quality, and motion artifacts. Consequently, it is necessary to evaluate and compare PPG-based sleep apnea detection techniques to the gold standard, PSG (
79,
80). Due to the heterogeneity of the results, it is not clear yet whether CNN-based algorithms are more successful in distinguishing apnea and hypopnea together from normal cases, compared to apnea, hypopnea, or normal separately. There was also no significant difference between the accuracy of CNN methods in apnea diagnosis or determining apnea severity. It was also not possible to determine whether the accuracy and other results from online databases are better than in hospital settings. The reason for the latter is that some confounder factors (e.g., classification method, classifier, and window size) are involved, and a deduction could be possible if any other factors were the same when comparing the setting in which the study is conducted.
The majority of the studies used only one database; some of the subjects in these databases were used for the training phase, and the remaining were used for the test phase. The cross-validation between one or more databases was only applied in a few studies. Using one database without cross-validation can limit the generalization of the test results to other populations and settings (
14). This study suggests cross-validation with another population or database for future studies. This study also offers to perform a meta-analysis, including running all mentioned methods on the same hardware, to achieve a fair comparison in terms of accuracy and efficiency.
One-dimensional CNN was the most used classifier in the studies. Combining 2 or more classifiers does not necessarily increase the performance of the algorithms. Some algorithms achieved a good performance, although using a less complex model. To obtain an algorithm with the highest performance-to-complexity ratio is of special interest. However, further research in this field is needed to reach a definitive conclusion.
Sleep apnea disrupts normal brain signaling and activity. During episodes, lowered oxygen levels and higher carbon dioxide activate sensors in the brainstem. This triggers the brain’s attempt to restart breathing. Areas involved in controlling breathing, such as the medulla, pons, and amygdala, are impacted (
81). Electroencephalogram directly records these brain pattern changes. Convolutional neural networks are suited for EEG analysis since they can automatically learn the spatial and frequency characteristics distorted by sleep apnea (
53). Signals measured during sleep studies provide insight into apnea’s neurological effects. Electroencephalogram specifically demonstrates altered wave activity during sleep stages and increased waves with arousal (
82). Apneas also affect the timing of signals between EEG electrodes. Convolutional neural network architectures successfully capture abnormalities across electrodes using convolutional and pooling layers, enabling the detection of patterns tied to disrupted breathing (
83). Research has achieved over 80% apnea classification accuracy from CNN-processed multi-channel EEG, demonstrating their ability to accurately interpret impacted neural data (
84).
Low blood oxygen during apneas influences activity in brain centers controlling breathing. Sensors in the medulla and pons detect oxygen and carbon dioxide changes in blood and brain tissue. This disrupts typical breathing patterns during sleep. Convolutional neural networks learn features in oxygen data linked to these impacts, permitting apnea detection (
85). Convolutional neural networks model intricate relationships between oxygen fluctuations and subsequent brain activity.
Abnormal heart rate and rhythms on ECG also reflect neural influences. The autonomic nervous system regulates the heart through pathways originating in the brainstem. Repeated apneas prompt arousals and sympathetic changes are observed as arrhythmias (
86). Convolutional neural networks used on ECG can model these control systems and flag irregular rhythms signifying disrupted sleep. This offers insight into apnea’s effects on heart function via the brain-heart connection (
21).
Advances in CNN design have boosted AI’s ability to identify apnea-related brain changes. Deeper CNNs with more convolutional filters can model complex EEG/signal relationships (
53). Optimizing CNN structures might further aid in unraveling apnea’s neural mechanisms through data analysis (
84).
This systematic review provides some insights and suggestions for the future research direction for the diagnosis of sleep apnea using AI methods based on the current literature and the gaps identified in this field. The results of studies in this field can be used to develop home diagnostic tools for sleep apnea, aid clinicians in detecting sleep apnea, and provide a decision support system. Artificial intelligence-based methods demonstrated good feasibility for outpatient application and scalability. However, these methods cannot replace the PSG to date, and PSG is still the gold standard for the diagnosis of sleep apnea in clinical settings.
The current study had some limitations as follows: (1) the studies included in this systematic were heterogeneous and used different sets of signals and classifiers; as a result, conducting a meta-analysis was not possible; (2) this review included studies that used CNN-based algorithms; although the most common and precise type of classifier, it is not the only one; (3) a great number of included studies used online databases, which are public databases from research studies that have met a standardized procedure for recording, annotations, and diagnosis and, therefore, are cleaner than data from clinical settings. As a result, the conclusion regarding the use of AI-based methods for the screening of sleep apnea should be interpreted with caution.
5.1. Conclusions
Algorithms based on a CNN classifier and a singular signal to detect sleep apnea could be recommended as an easy and time-saving approach for aiding clinicians in detecting sleep apnea or home diagnosis. For now, PSG is the gold standard for the diagnosis of sleep disorders, such as sleep-related breathing disorders, in clinical settings. Further studies on the most efficient classifier and cross-validation with clinical settings are needed before AI-based methods can replace the classic approaches.