Skip to main content
Top
Published in: BMC Medical Informatics and Decision Making 1/2023

Open Access 01-12-2023 | Sleep Apnea | Research

SelANet: decision-assisting selective sleep apnea detection based on confidence score

Authors: Beomjun Bark, Borum Nam, In Young Kim

Published in: BMC Medical Informatics and Decision Making | Issue 1/2023

Login to get access

Abstract

Background

One of the most common sleep disorders is sleep apnea syndrome. To diagnose sleep apnea syndrome, polysomnography is typically used, but it has limitations in terms of labor, cost, and time. Therefore, studies have been conducted to develop automated detection algorithms using limited biological signals that can be more easily diagnosed. However, the lack of information from limited signals can result in uncertainty from artificial intelligence judgments. Therefore, we performed selective prediction by using estimated respiratory signals from electrocardiogram and oxygen saturation signals based on confidence scores to classify only those sleep apnea occurrence samples with high confidence. In addition, for samples with high uncertainty, this algorithm rejected them, providing a second opinion to the clinician.

Method

Our developed model utilized polysomnography data from 994 subjects obtained from Massachusetts General Hospital. We performed feature extraction from the latent vector using the autoencoder. Then, one dimensional convolutional neural network—long short-term memory (1D CNN-LSTM) was designed and trained to measure confidence scores for input, with an additional selection function. We set a confidence score threshold called the target coverage and performed optimization only on samples with confidence scores higher than the target coverage. As a result, we demonstrated that the empirical coverage trained in the model converged to the target coverage.

Result

To confirm whether the model has been optimized according to the objectives, the coverage violation was used to measure the difference between the target coverage and the empirical coverage. As a result, the value of coverage violation was found to be an average of 0.067. Based on the model, we evaluated the classification performance of sleep apnea and confirmed that it achieved 90.26% accuracy, 91.29% sensitivity, and 89.21% specificity. This represents an improvement of approximately 7.03% in all metrics compared to the performance achieved without using a selective prediction.

Conclusion

This algorithm based on selective prediction utilizes confidence measurement method to minimize the problem caused by limited biological information. Based on this approach, this algorithm is applicable to wearable devices despite low signal quality and can be used as a simple detection method that determine the need for polysomnography or complement it.
Literature
1.
go back to reference Krieger J, McNicholas WT, Levy P, De Backer W, Douglas N, Marrone O, et al. Public health and medicolegal implications of sleep apnoea. Eur Respir J. 2002;20(6):1594–609.CrossRefPubMed Krieger J, McNicholas WT, Levy P, De Backer W, Douglas N, Marrone O, et al. Public health and medicolegal implications of sleep apnoea. Eur Respir J. 2002;20(6):1594–609.CrossRefPubMed
2.
go back to reference Kline LR, Collop N, Finlay G. Clinical presentation and diagnosis of obstructive sleep apnea in adults. Uptodate com. 2017. Kline LR, Collop N, Finlay G. Clinical presentation and diagnosis of obstructive sleep apnea in adults. Uptodate com. 2017.
3.
go back to reference Harding SM. Complications and consequences of obstructive sleep apnea. Curr Opin Pulm Med. 2000;6(6):485–9.CrossRefPubMed Harding SM. Complications and consequences of obstructive sleep apnea. Curr Opin Pulm Med. 2000;6(6):485–9.CrossRefPubMed
4.
go back to reference Yaggi HK, Concato J, Kernan WN, Lichtman JH, Brass LM, Mohsenin V. Obstructive sleep apnea as a risk factor for stroke and death. N Engl J Med. 2005;353(19):2034–41.CrossRefPubMed Yaggi HK, Concato J, Kernan WN, Lichtman JH, Brass LM, Mohsenin V. Obstructive sleep apnea as a risk factor for stroke and death. N Engl J Med. 2005;353(19):2034–41.CrossRefPubMed
5.
6.
go back to reference McNicholas WT. Diagnosis of obstructive sleep apnea in adults. Proc Am Thorac Soc. 2008;5(2):154–60.CrossRefPubMed McNicholas WT. Diagnosis of obstructive sleep apnea in adults. Proc Am Thorac Soc. 2008;5(2):154–60.CrossRefPubMed
8.
go back to reference Loewen AH, Korngut L, Rimmer K, Damji O, Turin TC, Hanly PJ. Limitations of split-night polysomnography for the diagnosis of nocturnal hypoventilation and titration of non-invasive positive pressure ventilation in amyotrophic lateral sclerosis. Amyotrophic Lateral Sclerosis and Frontotemporal Degeneration. 2014;15(7–8):494–8.CrossRefPubMed Loewen AH, Korngut L, Rimmer K, Damji O, Turin TC, Hanly PJ. Limitations of split-night polysomnography for the diagnosis of nocturnal hypoventilation and titration of non-invasive positive pressure ventilation in amyotrophic lateral sclerosis. Amyotrophic Lateral Sclerosis and Frontotemporal Degeneration. 2014;15(7–8):494–8.CrossRefPubMed
10.
go back to reference Partinen M, Jamieson A, Guilleminault C. Long-term outcome for obstructive sleep apnea syndrome patients: mortality. Chest. 1988;94(6):1200–4.CrossRefPubMed Partinen M, Jamieson A, Guilleminault C. Long-term outcome for obstructive sleep apnea syndrome patients: mortality. Chest. 1988;94(6):1200–4.CrossRefPubMed
11.
go back to reference Aljadeff G, Gozal D, Schechtman VL, Burrell B, Harper RM, Davidson Ward SL. Heart rate variability in children with obstructive sleep apnea. Sleep. 1997;20(2):151–7.CrossRefPubMed Aljadeff G, Gozal D, Schechtman VL, Burrell B, Harper RM, Davidson Ward SL. Heart rate variability in children with obstructive sleep apnea. Sleep. 1997;20(2):151–7.CrossRefPubMed
12.
go back to reference Hernandez AB, Patil SP. Pathophysiology of central sleep apneas. Sleep and Breathing. 2016;20:467–82.CrossRefPubMed Hernandez AB, Patil SP. Pathophysiology of central sleep apneas. Sleep and Breathing. 2016;20:467–82.CrossRefPubMed
13.
go back to reference Alvarez D, Hornero R, Marcos JV, del Campo F. Multivariate analysis of blood oxygen saturation recordings in obstructive sleep apnea diagnosis. IEEE Trans Biomed Eng. 2010;57(12):2816–24.CrossRefPubMed Alvarez D, Hornero R, Marcos JV, del Campo F. Multivariate analysis of blood oxygen saturation recordings in obstructive sleep apnea diagnosis. IEEE Trans Biomed Eng. 2010;57(12):2816–24.CrossRefPubMed
14.
go back to reference John A, Nundy KK, Cardiff B, John D, editors. SomnNET: An SpO2 based deep learning network for sleep apnea detection in smartwatches. 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC); 2021: IEEE. John A, Nundy KK, Cardiff B, John D, editors. SomnNET: An SpO2 based deep learning network for sleep apnea detection in smartwatches. 2021 43rd Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC); 2021: IEEE.
15.
go back to reference Hafezi M, Montazeri N, Saha S, Zhu K, Gavrilovic B, Yadollahi A, et al. Sleep apnea severity estimation from tracheal movements using a deep learning model. IEEE Access. 2020;8:22641–9.CrossRef Hafezi M, Montazeri N, Saha S, Zhu K, Gavrilovic B, Yadollahi A, et al. Sleep apnea severity estimation from tracheal movements using a deep learning model. IEEE Access. 2020;8:22641–9.CrossRef
16.
go back to reference Tripathy R. Application of intrinsic band function technique for automated detection of sleep apnea using HRV and EDR signals. Biocybernetics Biomedical Engineering. 2018;38(1):136–44.CrossRef Tripathy R. Application of intrinsic band function technique for automated detection of sleep apnea using HRV and EDR signals. Biocybernetics Biomedical Engineering. 2018;38(1):136–44.CrossRef
17.
go back to reference Olsen M, Mignot E, Jennum PJ, Sorensen HBD. Robust, ECG-based detection of Sleep-disordered breathing in large population-based cohorts. Sleep. 2020;43(5):zsz276.CrossRefPubMed Olsen M, Mignot E, Jennum PJ, Sorensen HBD. Robust, ECG-based detection of Sleep-disordered breathing in large population-based cohorts. Sleep. 2020;43(5):zsz276.CrossRefPubMed
18.
go back to reference Wei K, Zou L, Liu G, Wang C. MS-Net: Sleep apnea detection in PPG using multi-scale block and shadow module one-dimensional convolutional neural network. Comput Biol Med. 2023;155:106469.CrossRefPubMed Wei K, Zou L, Liu G, Wang C. MS-Net: Sleep apnea detection in PPG using multi-scale block and shadow module one-dimensional convolutional neural network. Comput Biol Med. 2023;155:106469.CrossRefPubMed
19.
go back to reference Ravì D, Wong C, Deligianni F, Berthelot M, Andreu-Perez J, Lo B, et al. Deep learning for health informatics. IEEE J Biomed Health Inform. 2016;21(1):4–21.CrossRefPubMed Ravì D, Wong C, Deligianni F, Berthelot M, Andreu-Perez J, Lo B, et al. Deep learning for health informatics. IEEE J Biomed Health Inform. 2016;21(1):4–21.CrossRefPubMed
20.
go back to reference Mahmud T, Khan IA, Mahmud TI, Fattah SA, Zhu W-P, Ahmad MO. Sleep apnea detection from variational mode decomposed EEG signal using a hybrid CNN-BiLSTM. IEEE Access. 2021;9:102355–67.CrossRef Mahmud T, Khan IA, Mahmud TI, Fattah SA, Zhu W-P, Ahmad MO. Sleep apnea detection from variational mode decomposed EEG signal using a hybrid CNN-BiLSTM. IEEE Access. 2021;9:102355–67.CrossRef
21.
go back to reference Shanmugham A, Srivatsa BVA, Gopikrishnan K, Chandra VN, Kumar CS, editors. Sleep Apnea Detection Using ResNet. 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT); 2021: IEEE. Shanmugham A, Srivatsa BVA, Gopikrishnan K, Chandra VN, Kumar CS, editors. Sleep Apnea Detection Using ResNet. 2021 12th International Conference on Computing Communication and Networking Technologies (ICCCNT); 2021: IEEE.
22.
go back to reference John A, Cardiff B, John D, editors. A 1D-CNN based deep learning technique for sleep apnea detection in iot sensors. 2021 IEEE international symposium on circuits and systems (ISCAS); 2021: IEEE. John A, Cardiff B, John D, editors. A 1D-CNN based deep learning technique for sleep apnea detection in iot sensors. 2021 IEEE international symposium on circuits and systems (ISCAS); 2021: IEEE.
23.
go back to reference Force AAoSMT. Sleep-related breathing disorders in adults: recommendations for syndrome definition and measurement techniques in clinical research. The Report of an American Academy of Sleep Medicine Task Force. Sleep. 1999;22(5):667.CrossRef Force AAoSMT. Sleep-related breathing disorders in adults: recommendations for syndrome definition and measurement techniques in clinical research. The Report of an American Academy of Sleep Medicine Task Force. Sleep. 1999;22(5):667.CrossRef
24.
25.
go back to reference Geifman Y, El-Yaniv R. Selective classification for deep neural networks. Advances in neural information processing systems. 2017;30. Geifman Y, El-Yaniv R. Selective classification for deep neural networks. Advances in neural information processing systems. 2017;30.
26.
go back to reference Geifman Y, El-Yaniv R, editors. Selectivenet: A deep neural network with an integrated reject option. International conference on machine learning; 2019: PMLR. Geifman Y, El-Yaniv R, editors. Selectivenet: A deep neural network with an integrated reject option. International conference on machine learning; 2019: PMLR.
27.
go back to reference Nam B, Kim JY, Kim IY, Cho BH. Selective prediction with long short-term memory using unit-wise batch standardization for time series health data sets: algorithm development and validation. JMIR Med Inform. 2022;10(3): e30587.CrossRefPubMedPubMedCentral Nam B, Kim JY, Kim IY, Cho BH. Selective prediction with long short-term memory using unit-wise batch standardization for time series health data sets: algorithm development and validation. JMIR Med Inform. 2022;10(3): e30587.CrossRefPubMedPubMedCentral
28.
go back to reference Azimi H, Gilakjani SS, Bouchard M, Goubran RA, Knoefel F, editors. Automatic apnea-hypopnea events detection using an alternative sensor. 2018 IEEE sensors applications symposium (SAS); 2018: IEEE. Azimi H, Gilakjani SS, Bouchard M, Goubran RA, Knoefel F, editors. Automatic apnea-hypopnea events detection using an alternative sensor. 2018 IEEE sensors applications symposium (SAS); 2018: IEEE.
29.
go back to reference Leino A, Nikkonen S, Kainulainen S, Korkalainen H, Töyräs J, Myllymaa S, et al. Neural network analysis of nocturnal SpO2 signal enables easy screening of sleep apnea in patients with acute cerebrovascular disease. Sleep Med. 2021;79:71–8.CrossRefPubMed Leino A, Nikkonen S, Kainulainen S, Korkalainen H, Töyräs J, Myllymaa S, et al. Neural network analysis of nocturnal SpO2 signal enables easy screening of sleep apnea in patients with acute cerebrovascular disease. Sleep Med. 2021;79:71–8.CrossRefPubMed
30.
go back to reference Díaz García J, Brunet Crosa P, Navazo Álvaro I, Vázquez Alcocer PP, editors. Downsampling methods for medical datasets. Proceedings of the International conferences Computer Graphics, Visualization, Computer Vision and Image Processing 2017 and Big Data Analytics, Data Mining and Computational Intelligence 2017: Lisbon, Portugal, July 21–23, 2017; 2017: IADIS Press. Díaz García J, Brunet Crosa P, Navazo Álvaro I, Vázquez Alcocer PP, editors. Downsampling methods for medical datasets. Proceedings of the International conferences Computer Graphics, Visualization, Computer Vision and Image Processing 2017 and Big Data Analytics, Data Mining and Computational Intelligence 2017: Lisbon, Portugal, July 21–23, 2017; 2017: IADIS Press.
31.
go back to reference Yeom S, Choi C, Kim K, editors. AutoEncoder Based Feature Extraction for Multi-Malicious Traffic Classification. The 9th International Conference on Smart Media and Applications; 2020. Yeom S, Choi C, Kim K, editors. AutoEncoder Based Feature Extraction for Multi-Malicious Traffic Classification. The 9th International Conference on Smart Media and Applications; 2020.
32.
go back to reference Lea C, Flynn MD, Vidal R, Reiter A, Hager GD, editors. Temporal convolutional networks for action segmentation and detection. proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; 2017. Lea C, Flynn MD, Vidal R, Reiter A, Hager GD, editors. Temporal convolutional networks for action segmentation and detection. proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; 2017.
33.
go back to reference Thill M, Konen W, Bäck T, editors. Time series encodings with temporal convolutional networks. Bioinspired Optimization Methods and Their Applications: 9th International Conference, BIOMA 2020, Brussels, Belgium, November 19–20, 2020, Proceedings 9; 2020: Springer. Thill M, Konen W, Bäck T, editors. Time series encodings with temporal convolutional networks. Bioinspired Optimization Methods and Their Applications: 9th International Conference, BIOMA 2020, Brussels, Belgium, November 19–20, 2020, Proceedings 9; 2020: Springer.
34.
go back to reference Wang J, Yu L-C, Lai KR, Zhang X, editors. Dimensional sentiment analysis using a regional CNN-LSTM model. Proceedings of the 54th annual meeting of the association for computational linguistics (volume 2: Short papers); 2016. Wang J, Yu L-C, Lai KR, Zhang X, editors. Dimensional sentiment analysis using a regional CNN-LSTM model. Proceedings of the 54th annual meeting of the association for computational linguistics (volume 2: Short papers); 2016.
35.
go back to reference Potra FA, Wright SJ. Interior-point methods. J Comput Appl Math. 2000;124(1–2):281–302.CrossRef Potra FA, Wright SJ. Interior-point methods. J Comput Appl Math. 2000;124(1–2):281–302.CrossRef
36.
go back to reference Sadr N, de Chazal P. A comparison of three ECG-derived respiration methods for sleep apnoea detection. Biomedical Physics & Engineering Express. 2019;5(2): 025027.CrossRef Sadr N, de Chazal P. A comparison of three ECG-derived respiration methods for sleep apnoea detection. Biomedical Physics & Engineering Express. 2019;5(2): 025027.CrossRef
37.
go back to reference Halder B, Anjum T, Bhuiyan MIH. An attention-based multi-resolution deep learning model for automatic A-phase detection of cyclic alternating pattern in sleep using single-channel EEG. Biomed Signal Process Control. 2023;83: 104730.CrossRef Halder B, Anjum T, Bhuiyan MIH. An attention-based multi-resolution deep learning model for automatic A-phase detection of cyclic alternating pattern in sleep using single-channel EEG. Biomed Signal Process Control. 2023;83: 104730.CrossRef
38.
go back to reference Srivastava G, Chauhan A, Kargeti N, Pradhan N, Dhaka VS. ApneaNet: a hybrid 1DCNN-LSTM architecture for detection of obstructive sleep apnea using digitized ECG signals. Biomed Signal Process Control. 2023;84: 104754.CrossRef Srivastava G, Chauhan A, Kargeti N, Pradhan N, Dhaka VS. ApneaNet: a hybrid 1DCNN-LSTM architecture for detection of obstructive sleep apnea using digitized ECG signals. Biomed Signal Process Control. 2023;84: 104754.CrossRef
39.
go back to reference Ghassemi MM, Moody BE, Lehman L-WH, Song C, Li Q, Sun H, et al., editors. You snooze, you win: the physionet/computing in cardiology challenge 2018. 2018 Computing in Cardiology Conference (CinC); 2018: IEEE. Ghassemi MM, Moody BE, Lehman L-WH, Song C, Li Q, Sun H, et al., editors. You snooze, you win: the physionet/computing in cardiology challenge 2018. 2018 Computing in Cardiology Conference (CinC); 2018: IEEE.
40.
go back to reference Kathirvel P, Sabarimalai Manikandan M, Prasanna S, Soman K. An efficient R-peak detection based on new nonlinear transformation and first-order Gaussian differentiator. Cardiovasc Eng Technol. 2011;2:408–25.CrossRef Kathirvel P, Sabarimalai Manikandan M, Prasanna S, Soman K. An efficient R-peak detection based on new nonlinear transformation and first-order Gaussian differentiator. Cardiovasc Eng Technol. 2011;2:408–25.CrossRef
41.
go back to reference Sarkar S, Bhattacherjee S, Pal S, editors. Extraction of respiration signal from ECG for respiratory rate estimation. Michael Faraday IET International Summit 2015; 2015: IET. Sarkar S, Bhattacherjee S, Pal S, editors. Extraction of respiration signal from ECG for respiratory rate estimation. Michael Faraday IET International Summit 2015; 2015: IET.
42.
go back to reference Van der Maaten L, Hinton G. Visualizing data using t-SNE. Journal of machine learning research. 2008;9(11). Van der Maaten L, Hinton G. Visualizing data using t-SNE. Journal of machine learning research. 2008;9(11).
43.
go back to reference Sharma M, Kumbhani D, Tiwari J, Kumar TS, Acharya UR. Automated detection of obstructive sleep apnea in more than 8000 subjects using frequency optimized orthogonal wavelet filter bank with respiratory and oximetry signals. Comput Biol Med. 2022;144: 105364.CrossRefPubMed Sharma M, Kumbhani D, Tiwari J, Kumar TS, Acharya UR. Automated detection of obstructive sleep apnea in more than 8000 subjects using frequency optimized orthogonal wavelet filter bank with respiratory and oximetry signals. Comput Biol Med. 2022;144: 105364.CrossRefPubMed
44.
go back to reference Sharma P, Jalali A, Majmudar M, Rajput KS, Selvaraj N, editors. Deep-Learning based Sleep Apnea Detection using SpO2 and Pulse Rate. 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC); 2022: IEEE. Sharma P, Jalali A, Majmudar M, Rajput KS, Selvaraj N, editors. Deep-Learning based Sleep Apnea Detection using SpO2 and Pulse Rate. 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC); 2022: IEEE.
45.
go back to reference Bahrami M, Forouzanfar M, editors. Detection of sleep apnea from single-lead ECG: Comparison of deep learning algorithms. 2021 IEEE International Symposium on Medical Measurements and Applications (MeMeA); 2021: IEEE. Bahrami M, Forouzanfar M, editors. Detection of sleep apnea from single-lead ECG: Comparison of deep learning algorithms. 2021 IEEE International Symposium on Medical Measurements and Applications (MeMeA); 2021: IEEE.
46.
go back to reference Faust O, Barika R, Shenfield A, Ciaccio EJ, Acharya UR. Accurate detection of sleep apnea with long short-term memory network based on RR interval signals. Knowl-Based Syst. 2021;212: 106591.CrossRef Faust O, Barika R, Shenfield A, Ciaccio EJ, Acharya UR. Accurate detection of sleep apnea with long short-term memory network based on RR interval signals. Knowl-Based Syst. 2021;212: 106591.CrossRef
47.
go back to reference Van Steenkiste T, Groenendaal W, Deschrijver D, Dhaene T. Automated sleep apnea detection in raw respiratory signals using long short-term memory neural networks. IEEE J Biomed Health Inform. 2018;23(6):2354–64.CrossRefPubMed Van Steenkiste T, Groenendaal W, Deschrijver D, Dhaene T. Automated sleep apnea detection in raw respiratory signals using long short-term memory neural networks. IEEE J Biomed Health Inform. 2018;23(6):2354–64.CrossRefPubMed
49.
go back to reference Barandela R, Sánchez JS, Garcıa V, Rangel E. Strategies for learning in class imbalance problems. Pattern Recogn. 2003;36(3):849–51.CrossRef Barandela R, Sánchez JS, Garcıa V, Rangel E. Strategies for learning in class imbalance problems. Pattern Recogn. 2003;36(3):849–51.CrossRef
Metadata
Title
SelANet: decision-assisting selective sleep apnea detection based on confidence score
Authors
Beomjun Bark
Borum Nam
In Young Kim
Publication date
01-12-2023
Publisher
BioMed Central
Published in
BMC Medical Informatics and Decision Making / Issue 1/2023
Electronic ISSN: 1472-6947
DOI
https://doi.org/10.1186/s12911-023-02292-3

Other articles of this Issue 1/2023

BMC Medical Informatics and Decision Making 1/2023 Go to the issue