Identification of Comorbidities in Obstructive Sleep Apnea Using Diverse Data and a One-Dimensional Convolutional Neural Network
Abstract
1. Introduction
2. Related Work
3. Data Description and Preprocessing
3.1. Dataset Description
3.2. Signal Preprocessing
3.3. Feature Engineering
- t3–t1 mean: Defined as the average delay between the onset of FP0 cessation (t1) and the beginning of oxygen desaturation (t3). This parameter quantifies the latency between respiratory obstruction and its physiological manifestation in blood .
- t4–t2 mean: Defined as the average delay between the resumption of FP0 (t2) and the start of oxygen recovery (t4). This reflects the time needed for to normalize once breathing resumes.
- : The mean duration of FP0 cessation episodes, computed directly from the FP0 signal between markers t1 (start of apnea) and t2 (end of apnea). This value represents the average length of respiratory arrest events.
- : The mean duration of oxygen desaturation episodes, calculated as the time interval between t3 (start of desaturation) and t4 (end of desaturation). It provides a measure of how long remains depressed during events.
- : The average desaturation difference, i.e., the difference between the initial value and the minimum value reached during all detected desaturation events throughout the night. This quantifies the drop in oxygen during the night.
- mean slope: The average slope of the desaturation curves, calculated as / during the fall phase of all events. It describes the rate of decline in , distinguishing between abrupt and gradual desaturations.
3.4. Analysis of Data
3.5. Limitations of Data
4. Methods
4.1. Problem Definition
4.2. 1D-CNN Architecture
4.3. Class Imbalance Handling
4.4. Evaluation Metrics
5. Results
Analysis of the 1D-CNN Model and Comparison with Baseline Model Approach
6. Discussion
7. Limitations and Future Work
8. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Benjafield, A.V.; Ayas, N.T.; Eastwood, P.R.; Heinzer, R.; Ip, M.S.M.; Morrell, M.J.; Nunez, C.M.; Patel, S.R.; Penzel, T.; Pépin, J.; et al. Estimation of the global prevalence and burden of obstructive sleep apnoea: A literature-based analysis. Lancet Respir. Med. 2019, 7, 687–698. [Google Scholar] [CrossRef]
- Iannella, G.; Pace, A.; Bellizzi, M.G.; Magliulo, G.; Greco, A.; De Virgilio, A.; Croce, E.; Gioacchini, F.M.; Re, M.; Costantino, A.; et al. The Global Burden of Obstructive Sleep Apnea. Diagnostics 2025, 15, 1088. [Google Scholar] [CrossRef]
- Abrishami, A.; Khajehdehi, A.; Chung, F. A systematic review of screening questionnaires for obstructive sleep apnea. Can. J. Anesth. 2010, 57, 423. [Google Scholar] [CrossRef] [PubMed]
- Deviaene, M.; Varon, C.; Testelmans, D.; Buyse, B.; Van Huffel, S. Assessing cardiovascular comorbidities in sleep apnea patients using SpO2. In Proceedings of the 2017 Computing in Cardiology (CinC); IEEE: New York, NY, USA, 2017; pp. 1–4. [Google Scholar] [CrossRef]
- Chadia, K.; Archontogeorgis, K.; Drakopanagiotakis, F.; Bonelis, K.; Anevlavis, S.; Steiropoulos, P. Clinical and Sleep Characteristics and the Effect of CPAP Treatment on Obese Patients with Obstructive Sleep Apnea and Asthma—A Retrospective Study. Healthcare 2025, 13, 2240. [Google Scholar] [CrossRef] [PubMed]
- Gentile, S.; Monda, V.M.; Guarino, G.; Satta, E.; Chiarello, M.; Caccavale, G.; Mattera, E.; Marfella, R.; Strollo, F. Obstructive Sleep Apnea and Type 2 Diabetes: An Update. J. Clin. Med. 2025, 14, 5574. [Google Scholar] [CrossRef]
- Tondo, P.; Hoxhallari, A.; Lacedonia, D.; Magaletti, P.; Sabato, R.; Foschino Barbaro, M.P.; Scioscia, G. The CORE syndrome: An overlap of severe asthma, obstructive sleep apnea, rhinosinusitis, and esophageal reflux. Sleep Breath. 2024, 28, 1761–1765. [Google Scholar] [CrossRef]
- Kainulainen, S.; Töyräs, J.; Oksenberg, A.; Korkalainen, H.; Sefa, S.; Kulkas, A.; Leppänen, T. Severity of desaturations reflects OSA-related daytime sleepiness better than AHI. J. Clin. Sleep Med. 2019, 15, 1135–1142. [Google Scholar] [CrossRef]
- Demko, B.G. The Evolution of Oral Appliance Therapy for Snoring and Sleep Apnea: Where Did We Come From, Where Are We, and Where Are We Going? Sleep Med. Clin. 2018, 13, 467–487. [Google Scholar] [CrossRef] [PubMed]
- Marin, J.M.; Carrizo, S.J.; Vicente, E.; Agusti, A.G. Long-term cardiovascular outcomes in men with obstructive sleep apnoea-hypopnoea with or without treatment with continuous positive airway pressure: An observational study. Lancet 2005, 365, 1046–1053. [Google Scholar] [CrossRef]
- Bahammam, A.; Gacuan, D.; George, S.; Acosta, K.L.; Pandi-Perumal, S.R.; Gupta, R. Polysomnography I: Procedure and Technology. In Synopsis of Sleep Medicine; Apple Academic Press Inc.: Palm Bay, FL, USA, 2016; pp. 443–456. [Google Scholar] [CrossRef]
- Gottlieb, D.J.; Punjabi, N.M. Diagnosis and management of obstructive sleep apnea: A review. JAMA 2020, 323, 1389–1400. [Google Scholar] [CrossRef]
- Slowik, J.M.; Sankari, A.; Collen, J.F. Obstructive Sleep Apnea. In StatPearls; StatPearls Publishing: Treasure Island, FL, USA, 2025. [Google Scholar] [PubMed]
- Lipton, Z.; Kale, D.; Elkan, C.; Wetzel, R. Learning to Diagnose with LSTM Recurrent Neural Networks. arXiv 2015, arXiv:1511.03677. [Google Scholar]
- Pattipati, M.; Gudavalli, G.; Zin, M.; Dhulipalla, L.; Kolack, E.; Karki, M.; Devarakonda, P.K.; Yoe, L. Continuous Positive Airway Pressure vs Mandibular Advancement Devices in the Treatment of Obstructive Sleep Apnea: An Updated Systematic Review and Meta-Analysis. Cureus 2022, 14, e21759. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
- Hussein, O.; Alkhader, A.; Gohar, A.; Bhat, A. Home Sleep Apnea Testing for Obstructive Sleep Apnea. Mo. Med. 2024, 121, 60–65. [Google Scholar] [PubMed] [PubMed Central]
- Espinosa, M.A.; Ponce, P.; Molina, A.; Borja, V.; Torres, M.G.; Rojas, M. Advancements in Home-Based Devices for Detecting Obstructive Sleep Apnea: A Comprehensive Study. Sensors 2023, 23, 9512. [Google Scholar] [CrossRef]
- Zovko, K.; Šerić, L.; Perković, T.; Belani, H.; Šolić, P. IoT and health monitoring wearable devices as enabling technologies for sustainable enhancement of life quality in smart environments. J. Clean. Prod. 2023, 413, 137506. [Google Scholar] [CrossRef]
- Hüsken, M.; Stagge, P. Recurrent neural networks for time series classification. Neurocomputing 2003, 50, 223–235. [Google Scholar] [CrossRef]
- Afsa, I.; Ansari, M.Y.; Paul, S.; Halabi, O.; Alataresh, E.; Shah, J.; Hamze, A.; Aboumarzouk, O.; Al-Ansari, A.; Dakua, S.P. Development and Validation of a Class Imbalance-Resilient Cardiac Arrest Prediction Framework Incorporating Multiscale Aggregation, ICA and Explainability. IEEE Trans. Biomed. Eng. 2025, 72, 1674–1687. [Google Scholar] [CrossRef]
- Liu, S.; Fu, B.; Wang, W.; Liu, M.; Sun, X. Dynamic Sepsis Prediction for Intensive Care Unit Patients Using XGBoost-Based Model With Novel Time-Dependent Features. IEEE J. Biomed. Health Inform. 2022, 26, 4258–4269. [Google Scholar] [CrossRef]
- Kim, Y.; Koo, J.; Lee, S.; Song, H.; Lee, M. Explainable AI Warning Model Using Ensemble Approach for In-Hospital Cardiac Arrest Prediction: A Retrospective Cohort Study. J. Med. Internet Res. 2023, 25, e48244. [Google Scholar] [CrossRef]
- Kobir, M.; Machado, P.; Lotfi, A.; Haider, D.; Ihianle, I. Enhancing Multi-User Activity Recognition in an Indoor Environment with Augmented Wi-Fi Channel State Information and Transformer Architectures. Sensors 2025, 25, 3955. [Google Scholar] [CrossRef]
- Hossen, M.K.; Peng, Y.T.; Shao, A.; Chen, M. An ODE based neural network approach for PM2.5 forecasting. Sci. Rep. 2025, 15, 24830. [Google Scholar] [CrossRef]
- Xie, J.; Wang, Z.; Yu, Z.; Ding, Y.; Guo, B. Prototype Learning for Medical Time Series Classification via Human–Machine Collaboration. Sensors 2024, 24, 2655. [Google Scholar] [CrossRef]
- Sirrianni, J.; Sezgin, E.; Claman, D.; Linwood, S. Medical Text Prediction and Suggestion Using Generative Pretrained Transformer Models with Dental Medical Notes. Methods Inf. Med. 2022, 61, 195–200. [Google Scholar] [CrossRef] [PubMed]
- Tian, M.; Chen, B.; Guo, A.; Jiang, S.; Zhang, A. Reliable generation of privacy-preserving synthetic electronic health record time series via diffusion models. J. Am. Med Inform. Assoc. JAMIA 2024, 31, 2529–2539. [Google Scholar] [CrossRef] [PubMed]
- Huo, Z.; Booth, J.; Monks, T.; Knight, P.; Watson, L.; Peters, M.; Pagel, C.; Ramnarayan, P.; Li, K. Dynamic mortality prediction in critically Ill children during interhospital transports to PICUs using explainable AI. Npj Digit. Med. 2025, 8, 108. [Google Scholar] [CrossRef]
- Lin, P.K.; Chiu, Y.H.; Huang, C.J.; Wang, C.Y.; Pan, M.L.; Wang, D.W.; Liao, H.Y.; Chen, Y.S.; Kuan, C.H.; Lin, S.Y.; et al. PADAr: Physician-oriented artificial intelligence-facilitating diagnosis aid for retinal diseases. J. Med Imaging 2022, 9, 044501. [Google Scholar] [CrossRef] [PubMed]
- Sharmila, V.J.; Jemi, F.D. Deep Learning Algorithm for COVID-19 Classification Using Chest X-Ray Images. Comput. Math. Methods Med. 2021, 2021, 9269173. [Google Scholar] [CrossRef]
- Alp, S.; Akan-R.Farshi, T.; Bhuiyan, M.S.; Disbrow, E.; Conrad, S.; Vanchiere, J.; Kevil, C.; Bhuiyan, M.A.N. Joint transformer architecture in brain 3D MRI classification: Its application in Alzheimer’s disease classification. Sci. Rep. 2024, 14, 8996. [Google Scholar] [CrossRef]
- Ahmad, S.; Ahmad, Z.; Kim, J.M. A Centrifugal Pump Fault Diagnosis Framework Based on Supervised Contrastive Learning. Sensors 2022, 22, 6448. [Google Scholar] [CrossRef]
- Rahaman Wahab Sait, A.; Alkhurayyif, Y. Lightweight hybrid transformers-based dyslexia detection using cross-modality data. Sci. Rep. 2025, 15, 17054. [Google Scholar] [CrossRef]
- Jovic, A.; Frid, N.; Brkic, K.; Cifrek, M. Interpretability and accuracy of machine learning algorithms for biomedical time series analysis—A scoping review. Biomed. Signal Process. Control 2025, 110, 108153. [Google Scholar] [CrossRef]
- Saikumar, K.; Rajesh, V.; Srivastava, G.; Lin, J.C.W. Heart disease detection based on internet of things data using linear quadratic discriminant analysis and a deep graph convolutional neural network. Front. Comput. Neurosci. 2022, 16, 964686. [Google Scholar] [CrossRef]
- Heydarian, M.; Doyle, T.E.; Samavi, R. MLCM: Multi-Label Confusion Matrix. IEEE Access 2022, 10, 19083–19095. [Google Scholar] [CrossRef]
- Kimura, A.; Mitsukura, Y.; Oya, A.; Matsumoto, M.; Nakamura, M.; Kanaji, A.; Miyamoto, T. Objective characterization of hip pain levels during walking by combining quantitative electroencephalography with machine learning. Sci. Rep. 2021, 11, 3192. [Google Scholar] [CrossRef]
- Patil, S.; Kukreja, D. Deep Reinforced Cognitive Analytics Algorithm (DRCAM): An Advanced Method to early detection of Cognitive skill impairment using Deep Learning and Reinforcement Learning. MethodsX 2025, 14, 103277. [Google Scholar] [CrossRef] [PubMed]
- Khan, A.; Basit, M.S.; Farooq, O.; Khan, Y.U.; Shameem, M. Mitigating the class imbalance effect in Sleep Apnea Classification. In Proceedings of the 2023 International Conference on Recent Advances in Electrical, Electronics & Digital Healthcare Technologies (REEDCON); IEEE: New York, NY, USA, 2023; pp. 530–535. [Google Scholar] [CrossRef]
- Sheta, A.; Turabieh, H.; Thaher, T.; Too, J.; Mafarja, M.; Hossain, M.S.; Surani, S.R. Diagnosis of Obstructive Sleep Apnea from ECG Signals Using Machine Learning and Deep Learning Classifiers. Appl. Sci. 2021, 11, 6622. [Google Scholar] [CrossRef]
- Kumar, C.B.; Bhongade, A.; Gandhi, T.K.; Panigrahi, B.K. Recognition of Obstructive Sleep Apnea from a Single Lead Electrocardiogram Signal Using a ResNet Model. In Proceedings of the 2023 14th International Conference on Computing Communication and Networking Technologies (ICCCNT); IEEE: New York, NY, USA, 2023; pp. 1–5. [Google Scholar] [CrossRef]
- Kumar, C.B.; Mondal, A.K.; Bhatia, M.; Panigrahi, B.K.; Gandhi, T.K. Self-Supervised Representation Learning-Based OSA Detection Method Using Single-Channel ECG Signals. IEEE Trans. Instrum. Meas. 2023, 72, 1–15. [Google Scholar] [CrossRef]
- Zhang, Y.; Shi, Y.; Su, Y.; Cao, Z.; Li, C.; Xie, Y.; Niu, X.; Yuan, Y.; Ma, L.; Zhu, S.; et al. Detection and severity assessment of obstructive sleep apnea according to deep learning of single-lead electrocardiogram signals. J. Sleep Res. 2025, 34, e14285. [Google Scholar] [CrossRef]
- Khan, A.; Biswas, S.K.; Chunka, C. An Optimized Obstructive Sleep Apnea Detection Model Using Particle Swarm Optimization and Machine Learning. In Proceedings of the 2025 10th IEEE International Conference on Integrated Circuits, Design, and Verification (ICDV); IEEE: New York, NY, USA, 2025; pp. 1–6. [Google Scholar] [CrossRef]
- Khan, A.; Biswas, S.K.; Chunka, C.; Barman, S. Ensembled Obstructive Sleep Apnea Detection Using Extra Tree Ensemble Technique. In Proceedings of the 2024 2nd International Conference on Advancement in Computation & Computer Technologies (InCACCT); IEEE: New York, NY, USA, 2024; pp. 342–347. [Google Scholar] [CrossRef]
- Satapathy, S.K.; Pattnaik, S.; Rath, R. Automated Sleep Staging Classification System Based On Convolutional Neural Network Using Polysomnography Signals. In Proceedings of the 2022 IEEE Delhi Section Conference (DELCON); IEEE: New York, NY, USA, 2022; pp. 1–10. [Google Scholar] [CrossRef]
- Jain, S.; Singhal, A.; Rai, J.K.; Sharma, P. Polysomnography based Sleep Stage Classification using Deep Learning for Sleep Apnea Pediatric Subjects. In Proceedings of the 2025 4th OPJU International Technology Conference (OTCON) on Smart Computing for Innovation and Advancement in Industry 5.0; IEEE: New York, NY, USA, 2025; pp. 1–7. [Google Scholar] [CrossRef]
- Shalini, M.; Gagan, K.M.; Dillon, D.P.; Arshad Irfan, S.; Sasirekha, S.P.; Mekala, N. SomnoDx: A Real-Time Deep Learning Framework for Multimodal Sleep Disorder Diagnosis. In Proceedings of the 2025 3rd International Conference on Self Sustainable Artificial Intelligence Systems (ICSSAS); IEEE: New York, NY, USA, 2025; pp. 840–846. [Google Scholar] [CrossRef]
- Jirakittayakorn, N.; Manupibul, U.; Wongsawat, Y.; Mitrirattanakul, S. RespNet: A Dual-Network Approach for Automated OSA Severity Classification Utilizing PSG Type III Signals. IEEE Access 2024, 12, 148538–148552. [Google Scholar] [CrossRef]
- Hanif, U.; Leary, E.; Schneider, L.; Paulsen, R.; Morse, A.; Blackman, A.; Schweitzer, P.; Kushida, C.; Liu, S.; Jennum, P.; et al. Estimation of Apnea-Hypopnea Index Using Deep Learning On 3-D Craniofacial Scans. IEEE J. Biomed. Health Inform. 2021, 25, 4185–4194. [Google Scholar] [CrossRef]
- He, Z.; Xiao, Y.; Wu, X.; Liang, Y.; Zhou, Y.; An, G. An Automatic Assessment Model of Adenoid Hypertrophy in MRI Images Based on Deep Convolutional Neural Networks. IEEE Access 2023, 11, 106516–106527. [Google Scholar] [CrossRef]
- Qiu, X.; Wang, C.; Li, B.; Tong, H.; Tan, X.; Yang, L.; Tao, J.; Huang, J. An audio-semantic multimodal model for automatic obstructive sleep Apnea-Hypopnea Syndrome classification via multi-feature analysis of snoring sounds. Front. Neurosci. 2024, 18, 1336307. [Google Scholar] [CrossRef] [PubMed]
- Singh, S.; Anisi, M.H.; Jindal, A.; Jarchi, D. Smart Multimodal In-Bed Pose Estimation Framework Incorporating Generative Adversarial Neural Network. IEEE J. Biomed. Health Inform. 2024, 28, 3379–3388. [Google Scholar] [CrossRef]
- Kuan, Y.C.; Hong, C.T.; Chen, P.C.; Liu, W.T.; Chung, C.C. Logistic regression and artificial neural network-based simple predicting models for obstructive sleep apnea by age, sex, and body mass index. Math. Biosci. Eng. MBE 2022, 19, 11409–11421. [Google Scholar]
- Javeed, A.; Berglund, J.S.; Dallora, A.L.; Saleem, M.A.; Anderberg, P. Predictive Power of XGBoost BiLSTM Model: A Machine Learning Approach for Accurate Sleep Apnea Detection Using Electronic Health Data. Int. J. Comput. Intell. Syst. 2023, 2023, 188. [Google Scholar] [CrossRef]
- Kim, Y.J.; Jeon, J.S.; Cho, S.E.; Kim, K.G.; Kang, S.G. Prediction Models for Obstructive Sleep Apnea in Korean Adults Using Machine Learning Techniques. Diagnostics 2021, 11, 612. [Google Scholar] [CrossRef] [PubMed]
- Troncoso-García, A.R.; Martínez-Ballesteros, M.; Martínez-Álvarez, F.; Lora, A.T. Explainable machine learning for sleep apnea prediction. Procedia Comput. Sci. 2022, 207, 2930–2939. [Google Scholar] [CrossRef]
- Shi, Y.; Ma, L.; Chen, X.; Li, W.; Feng, Y.; Zhang, Y.; Cao, Z.; Yuan, Y.; Xie, Y.; Liu, H.; et al. Prediction model of obstructive sleep apnea-related hypertension: Machine learning-based development and interpretation study. Front. Cardiovasc. Med. 2022, 9, 1042996. [Google Scholar] [CrossRef]
- Li, E.; Ai, F.; Liang, C. A machine learning model to predict the risk of depression in US adults with obstructive sleep apnea hypopnea syndrome: A cross-sectional study. Front. Public Health 2024, 11, 1348803. [Google Scholar] [CrossRef] [PubMed]
- Xu, Y.; Duan, S.; Yin, W.; Yang, Y.; Zhang, X.; Wang, J. Machine learning-enhanced prediction model for atrial fibrillation development in patients with concurrent type 2 diabetes and obstructive sleep apnea syndrome: A comorbidity perspective. Nutr. Metab. 2025, 22, 158. [Google Scholar] [CrossRef]
- Li, A.; Roveda, J.M.; Powers, L.S.; Quan, S.F. Obstructive sleep apnea predicts 10-year cardiovascular disease-related mortality in the Sleep Heart Health Study: A machine learning approach. J. Clin. Sleep Med. 2022, 18, 497–504. [Google Scholar] [CrossRef] [PubMed]
- Korompili, G.; Amfilochiou, A.; Kokkalas, L.; Mitilineos, S.A.; Tatlas, N.A.; Kouvaras, M.; Kastanakis, E.; Maniou, C.; Potirakis, S.M. PSG-Audio, a scored polysomnography dataset with simultaneous audio recordings for sleep apnea studies. Sci. Data 2021, 8, 197. [Google Scholar] [CrossRef]
- Philips Healthcare. Alice 6 LDe Diagnostic Sleep System. 2024. Available online: https://www.philips.com.bh/healthcare/product/HC1063311/alice-6-lde-diagnostic-sleep-system (accessed on 17 December 2025).
- Wikimedia Commons. Sleep. Available online: https://commons.wikimedia.org/wiki/File:Sleep_studies.jpg (accessed on 30 October 2025).
- VanderPlas, J. Python Data Science Handbook: Essential Tools for Working with Data. In Python Data Science Handbook: Essential Tools for Working with Data; O’Reilly Media: Sebastopol, CA, USA, 2016. [Google Scholar]
- Crenna, F.; Rossi, G.B.; Berardengo, M. Filtering Biomechanical Signals in Movement Analysis. Sensors 2021, 21, 4580. [Google Scholar] [CrossRef] [PubMed]
- Kawala-Sterniuk, A.; Podpora, M.; Pelc, M.; Blaszczyszyn, M.; Gorzelanczyk, E.J.; Martinek, R.; Ozana, S. Comparison of Smoothing Filters in Analysis of EEG Data for the Medical Diagnostics Purposes. Sensors 2020, 20, 807. [Google Scholar] [CrossRef]
- Larner, A.J. Effect Size (Cohen’s d) of Cognitive Screening Instruments Examined in Pragmatic Diagnostic Accuracy Studies. Dement. Geriatr. Cogn. Disord. Extra 2014, 4, 236–241. [Google Scholar] [CrossRef] [PubMed]
- Levendowski, D.J.; Hamilton, G.S.; St. Louis, E.K.; Penzel, T.; Dawson, D.; Westbrook, P.R. A comparison between auto-scored apnea-hypopnea index and oxygen desaturation index in the characterization of positional obstructive sleep apnea. Nat. Sci. Sleep 2019, 11, 69–78. [Google Scholar] [CrossRef]
- Kelleher, J.D. Deep Learning; MIT Press: Cambridge, MA, USA, 2019; Chapter 1; pp. 1–38. [Google Scholar]
- Kim, P. Matlab deep learning. Mach. Learn. Neural Netw. Artif. Intell. 2017, 130, 151. [Google Scholar]
- Albawi, S.; Mohammed, T.A.; Al-Zawi, S. Understanding of a convolutional neural network. In Proceedings of the 2017 International Conference on Engineering and Technology (ICET); IEEE: New York, NY, USA, 2017; pp. 1–6. [Google Scholar] [CrossRef]
- Gibaja, E.; Ventura, S. Multi-label learning: A review of the state of the art and ongoing research. Wiley Interdiscip. Rev. Data Min. Knowl. Discov. 2014, 4, 411–444. [Google Scholar] [CrossRef]
- Koyejo, O.O.; Natarajan, N.; Ravikumar, P.K.; Dhillon, I.S. Consistent multilabel classification. Adv. Neural Inf. Process. Syst. 2015, 28, 3321–3329. [Google Scholar]
- Du, J.; Chen, Q.; Peng, Y.; Xiang, Y.; Tao, C.; Lu, Z. ML-Net: Multi-label classification of biomedical texts with deep neural networks. J. Am. Med Inform. Assoc. JAMIA 2019, 26, 1279–1285. [Google Scholar] [CrossRef]
- Pereira, R.B.; Plastino, A.; Zadrozny, B.; Merschmann, L.H. Correlation analysis of performance measures for multi-label classification. Inf. Process. Manag. 2018, 54, 359–369. [Google Scholar] [CrossRef]
- Krstinić, D.; Braović, M.; Šerić, L.; Božić-Štulić, D. Multi-label classifier performance evaluation with confusion matrix. Comput. Sci. Inf. Technol. 2020, 1, 1–14. [Google Scholar]
- Koço, S.; Capponi, C. On multi-class classification through the minimization of the confusion matrix norm. In Proceedings of the Asian Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2013; pp. 277–292. [Google Scholar]
- Canbek, G.; Sagiroglu, S.; Temizel, T.T.; Baykal, N. Binary classification performance measures/metrics: A comprehensive visualized roadmap to gain new insights. In Proceedings of the 2017 International Conference on Computer Science and Engineering (UBMK); IEEE: New York, NY, USA, 2017; pp. 821–826. [Google Scholar]
- Labatut, V.; Cherifi, H. Evaluation of performance measures for classifiers comparison. arXiv 2011, arXiv:1112.4133. [Google Scholar] [CrossRef]
- Fawcett, T. An introduction to ROC analysis. Pattern Recognit. Lett. 2006, 27, 861–874. [Google Scholar] [CrossRef]
- Zhang, W.; Li, X.; Chen, M.; Wang, R. Construction and validation of a machine learning-based risk prediction model for sleep quality in patients with obstructive sleep apnea. J. Sleep Res. 2025, 34, e13789. [Google Scholar] [CrossRef]
- Hemrajani, P.; Dhaka, V.S.; Rani, G.; Verma, S.; Kavita; Wozniak, M.; Shafi, J.; Ijaz, M.F. Integrating physiological signals for enhanced sleep apnea diagnosis with SleepNet. Sci. Rep. 2025, 15, 31715. [Google Scholar] [CrossRef] [PubMed]
- Bazoukis, G.; Bollepalli, S.C.; Chung, C.T.; Li, X.; Tse, G.; Bartley, B.L.; Batool-Anwar, S.; Quan, S.F.; Armoundas, A.A. Application of artificial intelligence in the diagnosis of sleep apnea. J. Clin. Sleep Med. 2023, 19, 1337–1363. [Google Scholar] [CrossRef]
- Shiina, K. Obstructive sleep apnea-related hypertension: A review of the literature and clinical management strategy. Hypertens. Res. 2024, 47, 3085–3098. [Google Scholar] [CrossRef]
- Javaheri, S.; Javaheri, S.; Somers, V.K.; Gozal, D.; Mokhlesi, B.; Mehra, R.; McNicholas, W.T.; Zee, P.C.; Campos-Rodriguez, F.; Martinez-Garcia, M.A.; et al. Interactions of Obstructive Sleep Apnea With the Pathophysiology of Cardiovascular Disease, Part 1: JACC State-of-the-Art Review. J. Am. Coll. Cardiol. 2024, 84, 1208–1223. [Google Scholar] [CrossRef]
- Maniaci, A.; Lavalle, S.; Parisi, F.M.; Barbanti, M.; Cocuzza, S.; Iannella, G.; Magliulo, G.; Pace, A.; Lentini, M.; Masiello, E.; et al. Impact of Obstructive Sleep Apnea and Sympathetic Nervous System on Cardiac Health: A Comprehensive Review. J. Cardiovasc. Dev. Dis. 2024, 11, 204. [Google Scholar] [CrossRef]
- Huang, H.; Chen, Z. Association between obstructive sleep apnea syndrome and type1/type2 diabetes mellitus: A systematic review and meta-analysis. J. Diabetes Investig. 2025, 16, 521–534. [Google Scholar] [CrossRef] [PubMed]
- Hoang, N.H.; Liang, Z. AI-driven sleep apnea screening with overnight blood oxygen saturation: Current practices and future directions. Front. Digit. Health 2025, 7, 1510166. [Google Scholar] [CrossRef] [PubMed]
- Kuo, N.Y.; Tsai, H.J.; Tsai, S.J.; Yang, A.C. Efficient Screening in Obstructive Sleep Apnea Using Machine Learning Models: Development and Validation Study. J. Med. Internet Res. 2024, 26, e51615. [Google Scholar] [CrossRef]















| Age | Gender | BMI | AHI | HeartRate | t3_t1_mean | t4_t2_mean | delta_t_FP0_mean | delta_t_SpO2_mean | mean_delta_SpO2 | mean_slope |
|---|---|---|---|---|---|---|---|---|---|---|
| 58 | 1 | 29.30 | 2.2 | 90.0 | 7.82 | 7.04 | 38.76 | 32.22 | 4.70 | 0.18 |
| 63 | 1 | 44.59 | 77.2 | 72.0 | 20.71 | 14.14 | 37.73 | 18.16 | 9.99 | 0.62 |
| 68 | 0 | 33.95 | 122.5 | 90.0 | 16.72 | 13.04 | 38.83 | 18.70 | 7.20 | 0.45 |
| 68 | 0 | 29.05 | 72.0 | 58.0 | 13.26 | 10.42 | 47.03 | 30.94 | 7.15 | 0.24 |
| 54 | 0 | 29.01 | 18.7 | 62.0 | 8.43 | 9.73 | 45.42 | 36.03 | 5.04 | 0.15 |
| ... | ... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
| 61 | 1 | 37.00 | 35.1 | 81.4 | 12.85 | 11.85 | 49.09 | 28.38 | 4.87 | 0.21 |
| 48 | 0 | 45.00 | 39.9 | 79.5 | 11.55 | 9.60 | 50.50 | 36.75 | 4.10 | 0.11 |
| 70 | 0 | 38.00 | 61.3 | 39.6 | 23.70 | 15.56 | 57.59 | 38.40 | 18.98 | 0.42 |
| 64 | 0 | 31.60 | 41.8 | 67.2 | 9.77 | 12.35 | 48.95 | 29.53 | 4.33 | 0.16 |
| 66 | 1 | 30.00 | 33.9 | 57.8 | 6.87 | 8.03 | 46.79 | 35.63 | 6.43 | 0.19 |
| Parameter | Unit | Lower Bound (Clinical Minimum) |
|---|---|---|
| Age | years | 18–90 |
| Gender | female = 1, male = 0 | 0–1 |
| BMI | kg/m2 | 18–60 |
| AHI | events/hour | 0–120 |
| Heart rate | beats/min | 40–120 |
| mean | seconds | >3–5% |
| mean | seconds | >3–5% |
| mean | seconds | ≥10 |
| mean | seconds | ≥10 |
| Mean ΔSpO2 | % | ≥3% |
| Mean slope | % | ≥0.02–0.05% |
| Additional Parameters | NO (Mean ± SD) | YES (Mean ± SD) | p Value | Effect Size (d) |
|---|---|---|---|---|
| Age | 54.08 (±11.82) | 58.33 (±10.89) | 0.060 | 0.383 |
| Gender [F = 1, M = 0] | 0.38 (±0.48) | 0.43 (±0.49) | 0.327 | 0.102 |
| BMI | 29.19 (±4.47) | 32.37 (±6.04) | 0.003 | 0.545 |
| AHI | 32.15 (±27.66) | 32.34 (±25.79) | 0.488 | 0.007 |
| Heart Rate | 74.43 (±21.39) | 67.09 (±14.44) | 0.063 | 0.464 |
| mean | 15.67 (±5.65) | 14.61 (±5.27) | 0.207 | 0.198 |
| mean | 14.77 (±4.93) | 13.07 (±4.78) | 0.069 | 0.353 |
| mean | 51.73 (±8.77) | 50.01 (±10.01) | 0.204 | 0.175 |
| mean | 33.02 (±4.98) | 32.96 (±5.25) | 0.479 | 0.011 |
| Mean ΔSpO2 | 6.93 (±4.11) | 6.45 (±2.99) | 0.296 | 0.150 |
| Mean slope | 0.24 (±0.15) | 0.23 (±0.12) | 0.381 | 0.080 |
| Additional Parameters | NO (Mean ± SD) | YES (Mean ± SD) | p Value | Effect Size (d) |
|---|---|---|---|---|
| Age | 53.96 (±10.95) | 60.65 (±10.40) | 0.000 | 0.626 |
| Gender [F = 1, M = 0] | 0.40 (±0.49) | 0.43 (±0.50) | 0.357 | 0.060 |
| BMI | 30.12 (±5.76) | 33.26 (±5.70) | 0.001 | 0.546 |
| AHI | 26.96 (±25.70) | 36.70 (±25.63) | 0.013 | 0.378 |
| Heart Rate | 70.52 (±17.25) | 66.50 (±14.74) | 0.072 | 0.252 |
| t3_t1_mean | 14.19 (±5.44) | 15.29 (±5.22) | 0.112 | 0.206 |
| t4_t2_mean | 12.89 (±4.84) | 13.73 (±4.82) | 0.151 | 0.173 |
| delta_t_FP0_mean | 49.70 (±8.82) | 50.80 (±10.57) | 0.248 | 0.112 |
| delta_t_SpO2_mean | 32.75 (±4.80) | 33.16 (±5.51) | 0.320 | 0.079 |
| mean_delta_SpO2 | 6.32 (±3.48) | 6.70 (±2.95) | 0.248 | 0.118 |
| mean_slope | 0.23 (±0.13) | 0.24 (±0.13) | 0.395 | 0.077 |
| Additional Parameters | NO (Mean ± SD) | YES (Mean ± SD) | p Value | Effect Size (d) |
|---|---|---|---|---|
| Age | 60.06 (±10.45) | 55.62 (±11.32) | 0.008 | 0.408 |
| Gender [F = 1, M = 0] | 0.35 (±0.48) | 0.47 (±0.50) | 0.083 | 0.244 |
| BMI | 33.22 (±6.08) | 30.71 (±5.56) | 0.006 | 0.428 |
| AHI | 36.85 (±27.21) | 28.56 (±24.55) | 0.031 | 0.317 |
| Heart Rate | 66.58 (±16.52) | 69.74 (±15.50) | 0.123 | 0.196 |
| t3_t1_mean | 14.23 (±5.08) | 15.24 (±5.52) | 0.133 | 0.190 |
| t4_t2_mean | 12.76 (±4.23) | 13.84 (±5.25) | 0.090 | 0.228 |
| delta_t_FP0_mean | 50.20 (±10.64) | 50.38 (±9.11) | 0.457 | 0.018 |
| delta_t_SpO2_mean | 33.32 (±5.35) | 32.69 (±5.06) | 0.237 | 0.120 |
| mean_delta_SpO2 | 6.63 (±2.74) | 6.44 (±3.54) | 0.359 | 0.061 |
| mean_slope | 0.24 (±0.13) | 0.23 (±0.12) | 0.357 | 0.079 |
| Additional Parameters | NO (Mean ± SD) | YES (Mean ± SD) | p Value | Effect Size (d) |
|---|---|---|---|---|
| Age | 57.28 (±10.68) | 57.91 (±11.53) | 0.367 | 0.057 |
| Gender [F = 1, M = 0] | 0.46 (±0.50) | 0.38 (±0.49) | 0.163 | 0.161 |
| BMI | 31.80 (±6.02) | 31.88 (±5.85) | 0.466 | 0.013 |
| AHI | 29.78 (±24.21) | 34.38 (±27.41) | 0.145 | 0.178 |
| Heart Rate | 68.21 (±12.20) | 68.40 (±18.62) | 0.472 | 0.012 |
| t3_t1_mean | 14.90 (±5.51) | 14.70 (±5.21) | 0.416 | 0.037 |
| t4_t2_mean | 13.27 (±5.18) | 13.42 (±4.55) | 0.427 | 0.030 |
| delta_t_FP0_mean | 49.98 (±9.60) | 50.57 (±10.01) | 0.361 | 0.060 |
| delta_t_SpO2_mean | 32.65 (±5.17) | 33.24 (±5.22) | 0.249 | 0.113 |
| mean_delta_SpO2 | 6.19 (±3.19) | 6.81 (±3.19) | 0.126 | 0.194 |
| mean_slope | 0.23 (±0.12) | 0.24 (±0.13) | 0.234 | 0.080 |
| GT | Recall | |||
|---|---|---|---|---|
| 4.0 | 0.0 | 4.0 | 0.50 | |
| 0.0 | 3.0 | 0.0 | 1.00 | |
| 0.5 | 2.5 | 7.0 | 0.70 | |
| Precision | 0.89 | 0.55 | 0.64 |
| 0.89 | 0.00 | 0.36 | |
| 0.00 | 0.55 | 0.00 | |
| 0.11 | 0.45 | 0.64 |
| 0.50 | 0.00 | 0.50 | |
| 0.00 | 1.00 | 0.00 | |
| 0.05 | 0.25 | 0.70 |
| Metric | Value | Definition | Interpretation |
|---|---|---|---|
| Subset accuracy | 0.286 | Exact match across all labels per sample. | Strictest metric, a sample counts as correct only if all labels are predicted correctly. Lower values are expected in multi-label tasks with partial hits. |
| Flat accuracy | 0.635 | Bit-level accuracy over all labels (flattened). | Indicates frequent partial correctness at the label (bit) level across samples. |
| Partial accuracy | 0.635 | Mean per sample label match ratio. | Aligns with flat accuracy, showing that, on average, about two-thirds of labels per sample are correct. |
| (F1-macro) | 0.533 | Unweighted mean F1 across labels. | Treats rare and frequent labels equally, lower due to class imbalance and harder labels. |
| (F1-micro) | 0.549 | Global F1 aggregating TP/FP/FN over all labels. | Reflects overall balance of precision/recall across the dataset. |
| (F1-weighted) | 0.551 | F1 weighted by label frequency. | Slight uplift vs. macro due to dominance of frequent labels. |
| AUC-ROC (macro) | 0.731 | Mean area under ROC curve across labels (one vs. rest). | Threshold independent discrimination, higher indicates better ranking of positives vs. negatives across labels. |
| AUC-PR (macro) | 0.750 | Mean area under precision–recall curve across labels. | More informative under class imbalance, higher indicates better detection of positives with fewer false alarms. |
| Hamming loss | 0.365 | Fraction of misclassified labels over all samples and labels. | Complement of flat accuracy (here ); lower is better. |
| Model | Subset Acc | Flat Acc | Partial Acc | F1- Macro | F1- Micro | F1- Weighted | AUC-ROC (Macro) | AUC-PR (Macro) | Hamming Loss |
|---|---|---|---|---|---|---|---|---|---|
| CNN (proposed) | 0.286 | 0.635 | 0.635 | 0.533 | 0.549 | 0.551 | 0.731 | 0.750 | 0.365 |
| CNN (baseline) | 0.143 | 0.508 | 0.508 | 0.348 | 0.392 | 0.318 | 0.459 | 0.599 | 0.492 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zovko, K.; Šerić, L.; Perković, T.; Pavlinac Dodig, I.; Pecotić, R.; Đogaš, Z.; Šolić, P. Identification of Comorbidities in Obstructive Sleep Apnea Using Diverse Data and a One-Dimensional Convolutional Neural Network. Sensors 2026, 26, 1056. https://doi.org/10.3390/s26031056
Zovko K, Šerić L, Perković T, Pavlinac Dodig I, Pecotić R, Đogaš Z, Šolić P. Identification of Comorbidities in Obstructive Sleep Apnea Using Diverse Data and a One-Dimensional Convolutional Neural Network. Sensors. 2026; 26(3):1056. https://doi.org/10.3390/s26031056
Chicago/Turabian StyleZovko, Kristina, Ljiljana Šerić, Toni Perković, Ivana Pavlinac Dodig, Renata Pecotić, Zoran Đogaš, and Petar Šolić. 2026. "Identification of Comorbidities in Obstructive Sleep Apnea Using Diverse Data and a One-Dimensional Convolutional Neural Network" Sensors 26, no. 3: 1056. https://doi.org/10.3390/s26031056
APA StyleZovko, K., Šerić, L., Perković, T., Pavlinac Dodig, I., Pecotić, R., Đogaš, Z., & Šolić, P. (2026). Identification of Comorbidities in Obstructive Sleep Apnea Using Diverse Data and a One-Dimensional Convolutional Neural Network. Sensors, 26(3), 1056. https://doi.org/10.3390/s26031056

