Heart rate variability analysis in pediatric obstructive sleep apnea: Automated signal processing to identify biomarkers and help in the diagnosis
Abstract
Escuela de Doctorado
Full text
DOCTORAL PROGRAM OF INFORMATION AND TELECOMMUNICATION TECHNOLOGIES DOCTORAL THESIS: HEART RATE VARIABILITY ANALYSIS IN PEDIATRIC OBSTRUCTIVE SLEEP APNEA: AUTOMATED SIGNAL PROCESSING TO IDENTIFY BIOMARKERS AND HELP IN THE DIAGNOSIS THESIS PRESENTED BY ADRIÁN MARTÍN MONTERO TO APPLY FOR THE PH.D. DEGREE FROM THE UNIVERSITY OF VALLADOLID DIRECTED BY: DR. ROBERTO HORNERO SÁNCHEZ Y DR. GONZALO C. GUTIÉRREZ TOBAL. 2024 VALLADOLID, SPAIN
A mi familia
School of Telecommunications Engineering Department of Signal and Communications Theory and Telematic Engineering Research Stay for the International Mention City: Berlin (Germany) Institution: Charité - Universitätsmedizin Berlin Center: Interdisciplinary Center of Sleep Medicine Dates: 31/08/2022-02/12/2022 Duration: 94 days (3 months) Supervisor: Prof. Dr. Thomas Penzel National Research Stay City: Zaragoza (Spain) Institution: University of Zaragoza Research Group: Biomedical Signal Interpretation and Computational Simulation Dates: 15/01/2022-18/02/2022 Duration: 35 days (1 month) Supervisor: Prof. Dr. Pablo Laguna Lasaosa
Agradecimientos A lo largo de los últimos años, he sido testigo de que realizar una Tesis Doctoral es un proceso arduo del que, sin embargo, y a pesar de algunos altibajos, tengo que reconocer que he disfrutado mucho. Esto no hubiera sido así sin el apoyo de una serie de personas a las que lo menos que puedo hacer es dedicar aquí unas palabras. En primer lugar, a mis directores de tesis, el Dr. Roberto Hornero Sánchez y el Dr. Gonzalo C. Gutiérrez Tobal, por su supervisión, consejo y apoyo a lo largo de todo el proceso. Cuando llegué a este grupo de investigación, prácticamente no sabía lo que era un artículo científico. Gracias por abrirme los ojos desde el principio, haciéndome ver que esto no era un camino de rosas, pero que, si me decidía a recorrerlo, no iba a hacerlo solo. Si hemos llegado hasta aquí, ha sido gracias a vuestra sabiduría y experiencia. También, por qué no decirlo, habéis demostrado tener bastante paciencia. Ha sido un placer trabajar bajo vuestra dirección y espero que el placer haya sido mutuo. También tengo que extender el agradecimiento por el apoyo tanto científico como personal al resto de miembros del Grupo de Ingeniería Biomédica (GIB) con los que he coincidido durante esta etapa. A Jesús, Carlos, María G., Javier, Pablo, Saúl, Víctor R., Aarón, Víctor G., Marcos, Roberto R., María H., Víctor M., Eduardo, Sergio, Selene, Diego y, especialmente, a mis compañeros de la línea de investigación de apneas, Daniel, Fernando, Verónica, Jorge, Clara y Enrique. En este documento están plasmados los resultados del trabajo científico que hay detrás de todos estos años en el GIB, pero trabajar aquí es infinitamente más que eso. Me habéis ayudado con vuestro consejo profesional, pero también me habéis hecho sentir como en casa desde el primer día, haciendo que muchas veces venir a trabajar no pareciese trabajar. Ha sido un auténtico placer compartir con vosotros este proceso. También tengo que agradecer todo lo conseguido al Dr. David Gozal y a la 9
VI Acronyms HR Heart rate HRV Heart rate variability JCR Journal Citation Reports LDA Linear discriminant analysis LR+ Positive likelihood ratio LR- Negative likelihood ratio LSBoost Least-squares boosting LZC Lempel-Ziv complexity MLP Multi-layer perceptron MSE Mean squared error NPV Negative predictive value NREM Non-rapid eye movement OAHI Obstructive apnea-hypopnea index OSA Obstructive sleep apnea PNS Parasympathetic nervous system PPG Photoplethysmography PPV Positive predictive value PRV Pulse rate variability PSD Power spectral density PSG Polysomnography PTT Pulse transit time REM Rapid eye movement RMSSD Root mean square of the normal-to-normal successive differences ROC Receiving-operating characteristics RP Relative power Se Sensitivity SNS Sympathetic nervous system Sp Specificity SpO2Blood oxygen saturation SU Symmetrical uncertainty TAI Total arousal index TN True negatives TP True positives UofC University of Chicago WASO Wake after sleep onset WWSC Watchful waiting with supportive care XAI Explainable artificial intelligence
Contents Abstract I Acronyms V 1 Introduction 1 1.1 Compendium of publications: thematic consistency . . . . . . . . . 2 1.2 Framework: biomedical engineering, biomedical signal processing, and machine learning . . . . . . . . . . . . . . . . . . . . . . . . 9 1.3 Pediatric Obstructive Sleep Apnea (OSA) . . . . . . . . . . . . . . . 11 1.4 Pediatric OSA diagnosis: Polysomnography (PSG) . . . . . . . . . . 12 1.5 Literature review: cardiovascular signal analysis in pediatric OSA context ................................... 14 1.5.1 Cardiovascular signal processing methods to characterize pediatricOSA........................... 16 1.5.2 Pediatric OSA treatment effects in ANS . . . . . . . . . . . . 18 1.5.3 Automatic cardiovascular signal analysis to diagnose pediatricOSA ............................. 19 2 Hypotheses and objectives 21 2.1 Hypotheses ................................ 21 2.2 Objectives ................................. 22 3 Subjects and signals under study 25 3.1 Childhood Adenotonsillectomy Trial (CHAT) database . . . . . . . 26 3.1.1 CHAT database eligibility criteria . . . . . . . . . . . . . . . 27 3.2 University of Chicago (UofC) database . . . . . . . . . . . . . . . . . 28 3.2.1 UofC database eligibility criteria . . . . . . . . . . . . . . . . 29 4 Methods 31 4.1 ECG pre-processing and HRV extraction . . . . . . . . . . . . . . . . 33 VII
VIII Contents 4.2 Featureextraction............................. 35 4.2.1 Temporal domain . . . . . . . . . . . . . . . . . . . . . . . . . 35 4.2.2 Frequency domain . . . . . . . . . . . . . . . . . . . . . . . . 36 4.3 Featureselection.............................. 45 4.3.1 Fast Correlation-Based Filter (FCBF) . . . . . . . . . . . . . . 45 4.4 Patternrecognition ............................ 46 4.4.1 Binary classification . . . . . . . . . . . . . . . . . . . . . . . 46 4.4.2 Multiclass classification: Adaptive Boosting . . . . . . . . . 48 4.4.3 Regression: Least-Squares Boosting . . . . . . . . . . . . . . 50 4.5 Explainable Artificial Intelligence (XAI) . . . . . . . . . . . . . . . . 51 4.6 Causal Mediation Analysis (CMA) . . . . . . . . . . . . . . . . . . . 52 4.7 Statisticalanalysis............................. 56 4.7.1 Statistical tests . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.7.2 Diagnostic performance metrics . . . . . . . . . . . . . . . . 58 4.7.3 Measures of agreement . . . . . . . . . . . . . . . . . . . . . 60 4.7.4 Validation approaches . . . . . . . . . . . . . . . . . . . . . . 61 5 Results 65 5.1 Spectral analysis: novel OSA-specific frequency bands . . . . . . . . 65 5.2 Bispectralanalysis............................. 69 5.3 Causal mediation analysis . . . . . . . . . . . . . . . . . . . . . . . . 74 5.4 HRV segments characterization . . . . . . . . . . . . . . . . . . . . . 77 6 Discussion 83 6.1 Characterization of nocturnal HRV in children . . . . . . . . . . . . 83 6.1.1 Spectral analysis: novel OSA-specific spectral bands . . . . . 84 6.1.2 Bispectral analysis . . . . . . . . . . . . . . . . . . . . . . . . 85 6.1.3 Causal mediation analysis . . . . . . . . . . . . . . . . . . . . 87 6.1.4 HRV segments characterization . . . . . . . . . . . . . . . . . 88 6.2 Clinical utility of HRV characterization . . . . . . . . . . . . . . . . 90 6.2.1 Diagnostic performance . . . . . . . . . . . . . . . . . . . . . 90 6.2.2 Automatic classification of sleep stages . . . . . . . . . . . . 92 6.3 Comparison with previous research works . . . . . . . . . . . . . . 93 6.3.1 Characterization of HRV in pediatric OSA context . . . . . . 93 6.3.2 Evaluation of pediatric OSA treatment effects on HRV . . . 96 6.3.3 Comparison of machine-learning approaches . . . . . . . . . 98 6.4 Limitations of the study . . . . . . . . . . . . . . . . . . . . . . . . . 101
Contents IX 7 Conclusions 105 7.1 Contributions ...............................105 7.2 Conclusions ................................107 7.3 Future research lines . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 8 Papers included in the compendium of publications 111 A Scientific achievements 117 A.1 Publications ................................117 A.1.1 Papers indexed in the Journal Citation Reports (JCR) . . . . 117 A.1.2 International conferences . . . . . . . . . . . . . . . . . . . . 119 A.1.3 National conferences . . . . . . . . . . . . . . . . . . . . . . . 120 A.2 International internship . . . . . . . . . . . . . . . . . . . . . . . . . 122 A.3 Nationalinternship............................123 A.4 Grants ...................................124 A.5 Awardsandhonors............................125 B Resumen en castellano 127 B.1 Introducción................................127 B.2 Hipótesis y objetivos . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 B.3 Sujetosyseñales..............................130 B.4 Métodos ..................................131 B.5 Resultados y discusión . . . . . . . . . . . . . . . . . . . . . . . . . . 134 B.6 Conclusiones................................138 Bibliography 141 Index 153
List of Figures Figure 1.1 Overview of the key contributions made by the papers included in the compendium of publications comprising this Doctoral Thesis. . . . . . . . . . . . . . . . . . . . . . . 3 Figure 1.2 Examples of HRV from a OSA child in temporal and frequencydomain.......................... 15 Figure 4.1 Scheme of the overall methodology performed through the Doctoral Thesis. . . . . . . . . . . . . . . . . . . . . . . 32 Figure 4.2 Example of the pre-processing applied over an ECG and the R-peaks detection. . . . . . . . . . . . . . . . . . . . . . 34 Figure 4.3 Methodology applied to the extraction of pediatric OSA- specific frequency bands in the training set of Martín- Montero et al. (2021b)...................... 38 Figure 4.4 Diagram illustrating the framework of the causal mediationanalysis. .......................... 53 Figure 5.1 Bispectral matrix in the range 0-0.4 Hz averaged for each severity group in the training set. . . . . . . . . . . . . . . 70 Figure 5.2 Results of the feature-selection stage applying FCBF algorithm in the training set using 1000 bootstrap replicates. . 71 Figure 5.3 Boxplots representation of the features that were selected in the optimum BISPClassic subset, along with the p-value obtained from the corresponding Kruskal-Wallis test. . . . 71 Figure 5.4 Boxplots representation of the features that were selected in the optimum BISPSpeci f ic subset, along with the pvalue obtained from the corresponding Kruskal-Wallis test. 72 Figure 5.5 Differences at follow-up between resolved and unresolved children when evaluating both resolution mediators. 76 XI
XII List of Figures Figure 5.6 Boxplot distribution in the training set of the features in the temporal domain for every type of segment considered. 77 Figure 5.7 Boxplot distribution in the training set of the features in the frequency domain from the classic frequency bands for every type of segment considered. . . . . . . . . . . . . 78 Figure 5.8 Boxplot distribution in the training set of the features in the frequency domain from the OSA-specific frequency bands for every type of segment considered. . . . . . . . . 78 Figure 5.9 Confusion matrices in the test set for the tasks performed to assess the clinical applicability of the HRV segments characterization. ........................ 81 Figure 5.10 Evaluation of the relative feature importance for the modelsapplied. ........................... 82
List of Tables Table 3.1 Sociodemographic and clinical data from children of the CHATdatabase. ........................ 27 Table 3.2 Sociodemographic and clinical data from children of the UofCdatabase. ......................... 29 Table 5.1 Features for the four OSA severity groups in the training (UofC database) and test (nonrandomized group from CHAT database) sets. . . . . . . . . . . . . . . . . . . . . . 66 Table 5.2 Evaluation of the partial correlations in the test set (nonrandomized group from CHAT database) between features and the polysomnographic indices considered. . . . 67 Table 5.3 Diagnostic performance for each feature individually, as well as for the LDA models in the test set (nonrandomized group from CHAT database) from Martín-Montero et al. (2021b). .......................... 68 Table 5.4 Evaluation of the diagnostic performance for binary classification by each feature selected individually, as well as each MLP optimized model in the test set (nonrandomized group from CHAT database) from Martín-Montero et al. (2021a). .......................... 73 Table 5.5 Results from the CMA evaluating treatment effects on variations in HRV features (follow-up - baseline) through several mediators. . . . . . . . . . . . . . . . . . . . . . . . 75 Table 5.6 Cohen’s dvalues measuring the effect size linked to the comparison of the differences performed in the training set (subgroup from CHAT database) between each pair of type of segments included in Martín-Montero et al. (2023). 80 XIII
XIV List of Tables Table 5.7 Diagnostic yield achieved in the test set (subgroup from CHAT database) by the optimized LSBoost model for binary classification using the three AHI thresholds (1, 5 and 10 events/hour) in Martín-Montero et al. (2023). . . . 82 Table 5.8 Diagnostic yield achieved in the test set (subgroup from CHAT database) by the optimized AdaBoost model for individual sleep stage classification in the three stages considered (W, NREM and REM) in Martín-Montero et al. (2023). .............................. 82 Table 6.1 Diagnostic yield achieved by the different machinelearning models through the studies from the present Doctoral Thesis in the three AHI severity thresholds. . . . 91 Table 6.2 Methodological summary of the state-of-the-art research works focused on the characterization of HRV in pediatric OSA context, along with their relevant findings. . . . . . . 95 Table 6.3 Methodological summary of the state-of-the-art research works focused on the evaluation of the effects of pediatric OSAS treatment on HRV, along with their relevant findings. 97 Table 6.4 Highest diagnostic performance achieved in the state-of- the-art research works that have focused on the automated diagnosis of pediatric OSA using cardiovascular signals............................... 99 Tabla B.1 Datos demográficos y clínicos de los niños en la base de datosdeCHAT..........................131 Tabla B.2 Datos demográficos y clínicos de los niños en la base de datosUofC. ...........................132 Tabla B.3 Rendimiento diagnóstico alcanzado por los diferentes modelos de machine-learning a través de los estudios de la presente Tesis Doctoral en los tres umbrales de severidad deIAH. .............................137
Chapter 1 Introduction The present Doctoral Thesis is focused on the analysis of heart rate variability (HRV) to characterize and help diagnose pediatric obstructive sleep apnea (OSA). To this purpose, HRV signals have been analyzed through several approaches that have allowed us to evaluate the alterations that take place in the autonomic nervous system (ANS) in OSA presence. Thus, our methodologies have made possible to unravel patterns from HRV signal caused by the disease and unknown until date, being proposed as potential biomarkers of pediatric OSA. The outcomes derived from this research work have been published in four journals indexed in the Journal Citation Reports (JCR) from the Web of Science™. Therefore, this Doctoral Thesis is presented as a compendium of publications. Section 1.1 of this Doctoral Thesis offers an explanation of the thematic consistency of the included articles. In Section 1.2, the general context of biomedical engineering, biomedical signal processing, and machine learning are concisely outlined. Section 1.3 presents a description of pediatric OSA, including the associated risks and adverse consequences. The limitations of the gold standard for pediatric OSA diagnosis, polysomnography (PSG), are discussed in Section 1.4. Finally, Section 1.5 offers a comprehensive state-of-the-art review of previous research on the simplification of pediatric OSA diagnosis using cardiovascular signal analysis. 1
8 Chapter 1. Introduction Martín-Montero et al. (2023): Pediatric sleep apnea: Characterization of apneic events and sleep stages using heart rate variability. Adrián Martín-Montero, Pablo Armañac-Julián, Eduardo Gil, Leila Kheirandish-Gozal, Daniel Álvarez, Jesús Lázaro, Raquel Bailón, David Gozal, Pablo Laguna, Roberto Hornero and Gonzalo C. Gutiérrez-Tobal. Computers in Biology and Medicine, vol. 154, p. 106549, 2023. Impact factor in 2022 (last year available): 7.669, D1 in “MATHEMATICAL AND COMPUTATIONAL BIOLOGY” (JCR-WOS). Abstract: Heart rate variability (HRV) is modulated by sleep stages and apneic events. Previous studies in children compared classical HRV parameters during sleep stages between obstructive sleep apnea (OSA) and controls. However, HRV-based characterization incorporating both sleep stages and apneic events has not been conducted. Furthermore, recently proposed novel HRV OSA- specific parameters have not been evaluated. Therefore, the aim of this study was to characterize and compare classic and pediatric OSA-specific HRV parameters while including both sleep stages and apneic events. A total of 1,610 electrocardiograms from the Childhood Adenotonsillectomy Trial (CHAT) database were split into 10-minute segments to extract HRV parameters. Segments were characterized and grouped by sleep stage (wake, W; non-rapid eye movement, NREMS; and REMS) and presence of apneic events (under 1 apneic event per segment, e/s; 1-5 e/s; 5-10 e/s; and over 10 e/s). NREMS showed significant changes in HRV parameters as apneic event frequency increased, which were less marked in REMS. In both NREMS and REMS, power in BW2, a pediatric OSA-specific frequency domain, allowed for the optimal differentiation among segments. Moreover, in the absence of apneic events, another defined band, BWRes, resulted in best differentiation between sleep stages. The clinical usefulness of segmentbased HRV characterization was then confirmed by two ensemble-learning models aimed at estimating apnea-hypopnea index and classifying sleep stages, respectively. We surmise that basal sympathetic activity during REMS may mask apneic events-induced sympathetic excitation, thus highlighting the importance of incorporating sleep stages as well as apneic events when evaluating HRV in pediatric OSA.
1.2. Framework: biomedical engineering, biomedical signal processing, and machine learning 9 1.2 Framework: biomedical engineering, biomedical signal processing, and machine learning Biomedical Engineering is an interdisciplinary field that focuses on the application of engineering principles to understand, control, or modify biological systems. It also involves the monitoring of physiological functioning, as well as aiding in the diagnosis and treatment of patients (Bronzino and Peterson,2014). The scope of this field is broad and covers a wide range of activities such as designing therapeutic and rehabilitation devices and procedures, processing biomedical signals and medical images, creating biological products, or developing biomaterials. In recent years, interest in this interdisciplinary field has grown significantly due to the substantial benefits it offers, providing appropriate tools for the development of a more effective and efficient healthcare system (Bronzino and Peterson,2014). The present Doctoral Thesis have been aimed at the analysis of HRV signal to extract pertinent information related to pediatric OSA. Accordingly, the primary focus of this work lies within the domain of biomedical signal processing area. Biomedical signal processing has assumed a critical role in comprehending biological systems through an engineering perspective. The physiological systems of the human body generate a multitude of biomedical signals that reflect their temporal behavior (Bronzino and Peterson,2014). As such, by analyzing these signals, biomedical engineers can assess the physiological state of the user, identifying significant changes in the biological systems, and detecting pathological conditions. However, understanding the information embedded in raw biomedical signals is challenging and frequently beyond the capabilities of visual inspection. A processing stage, therefore, is needed to extract and decode relevant information. Signal processing techniques aim to extract features that characterize the signals as functions conveying information on the behavior or attributes of the underlying phenomena, using mathematical and information theory methodologies (Najarian and Splinter,2016;Rangayyan,2015;Sörnmo and Laguna,2005). Consequently, signal processing enables the automatic extraction of physiological signal features, which is crucial to understand the information obtained from biological systems. Subsequently, statistical techniques like hypothesis testing or CMA can be used to assess the dissimilarities in the behavior exhibited by features derived from healthy and pathological systems. Furthermore, this featureextraction step is the first stage for a methodology known as feature engineering,
10 Chapter 1. Introduction the ultimate goal of which is the development of automatic diagnostic methods (Najarian and Splinter,2016). Feature-engineering techniques are composed of three main stages. The first one is the aforementioned feature-extraction stage. Sometimes, this stage results in a considerable amount of information, which can lead to the evaluation of redundant information and an unnecessary high computational cost, i.e., suboptimal features set (Rangayyan,2015). When it occurs, the second stage of the feature-engineering approach, known as feature-selection stage, becomes necessary. In the feature-selection step, automatic statistically based techniques are used to search for significant and non-redundant information among the initial feature group, leading to an optimum feature set (Rangayyan,2015). Afterwards, the final information can be used in the third stage to train machinelearning models, providing prediction models for automatic diagnosis (Najarian and Splinter,2016;Rangayyan,2015). Machine learning is a specialized area of artificial intelligence that aims to create algorithms and statistical models capable of automatically learning and improving from experience without human intervention (Alpaydin,2014;Bishop, 2006). Machine-learning algorithms are designed to recognize patterns and relationships in extensive data sets and use that knowledge to make predictions or decisions about new data (Alpaydin,2014;Bishop,2006). In a supervised learning approach, this procedure involves training a model on a set of labeled data, where the output is already known, and then using the trained model to make predictions on new, unseen data, assigning a class among different categories (classification), or providing a continuous output (regression) (Alpaydin,2014). The development of machine-learning algorithms has been a significant driving force behind recent advances in artificial intelligence and has opened up new opportunities for automated decision-making and problem-solving. Notwithstanding, since its origins, machine-learning models have been perceived as a ’black box’, which is a clear drawback when the predictions are used in fields such as the health context (Adadi and Berrada,2018). To solve this limitation, in the last years the concept of ’eXplainable Artificial Intelligence’ (XAI) has gained relevance, as methodologies utilized to create transparency and comprehensibility in the decision-making process of artificial intelligence models for human interpretation (Adadi and Berrada,2018). The purpose of the present Doctoral Thesis was to provide an exhaustive characterization of the behavior of overnight HRV to obtain significant and valuable information of the alterations caused by pediatric OSA. Accordingly, all the pa-
1.3. Pediatric Obstructive Sleep Apnea (OSA) 11 pers of the compendium have addressed, at least, one of the feature-engineering stages aforementioned to help in the diagnosis of pediatric OSA or evaluate its treatment effects. Furthermore, in the last of these studies, XAI techniques have also been used (Martín-Montero et al.,2023). Therefore, the context abovepresented reflects the framework of this research work. 1.3 Pediatric Obstructive Sleep Apnea (OSA) OSA is a medical condition that occurs when the upper airway is blocked during sleep leading to apnea events, in which there is a total absence of airflow, or hypopnea events, in which there is partial obstruction only. OSA affects both adults and children, but there are significant differences that demands distinction between the two groups (Marcus et al.,2012). The American Academy of Sleep Medicine (AASM) has established rules for scoring apneic events (Berry et al., 2020), whereby an event is considered apneic when there is a complete absence or a reduction of over 90% of airflow for at least 10 seconds in adults. For hypopnea, the reduction in airflow should be between 30-90% for at least 10 seconds. To deal with this complications, the preferred treatment for OSA in adults is continuous positive airway pressure (CPAP) (Marcus et al.,2012;Vlahandonis et al.,2013). In contrast, for children, an event is scored when there is a minimum duration of 2 breathing cycles, instead of 10 seconds (Berry et al.,2020). Additionally, OSA in children is primarily caused by enlarged tonsils and adenoids, leading to the preferred treatment of adenotonsillectomy (AT). Given these differences in disease definition and management, it is essential to study OSA and its consequences in children and adults separately. OSA has been proven to threaten children quality of life, normal development, and cardiovascular health. The repeated occurrences of apneas and hypopneas result in intermittent hypoxia and hypercapnia, which can trigger systemic inflammation, impaired autonomic regulation, oxidative stress, and endothelial dysfunction (Bhattacharjee et al.,2009;Marcus et al.,2012). These factors contribute to the development of atherosclerosis and increase the risk of hypertension, myocardial infarction, stroke, and other cardiovascular disorders (Bhattacharjee et al.,2009;Marcus et al.,2012;Tauman and Gozal,2011). Additionally, children diagnosed with OSA have an increased likelihood of developing hypertension, obesity, and insulin resistance, all of which are significant cardiovascular risk factors (Smith and Amin,2019). These findings emphasize that OSA in children is not merely a respiratory disorder but also a significant risk factor
12 Chapter 1. Introduction for cardiovascular disease. Furthermore, OSA in children has also been linked to other adverse outcomes, such as cognitive impairment, decreased academic performance, or increased daytime sleepiness (Hunter et al.,2016). Therefore, the prompt identification and treatment of OSA in children are crucial to anticipate long-term complications. Apart from the aforementioned consequences, pediatric OSA also poses a significant menace to children due to its high prevalence and underdiagnosis. Epidemiological studies have reported that the prevalence of OSA in children ranges from 1.2% to 5.7%, with the highest prevalence occurring in preschool-aged children and up to 30% in certain high-risk groups, such as those with obesity or craniofacial abnormalities (Lumeng and Chervin,2008;Marcus et al.,2012). Despite these high numbers, it is estimated that 90% of children with OSA have not been diagnosed yet (Kheirandish-Gozal,2010). This combination of high prevalence and underdiagnosis highlights the substantial number of children who may experience adverse health effects due to OSA. 1.4 Pediatric OSA diagnosis: Polysomnography (PSG) The gold standard diagnostic test for pediatric OSA is overnight PSG, which requires the child to spend a night in a specialized pediatric sleep unit while multiple neurophysiological and cardiorespiratory signals are recorded using different body sensors (Marcus et al.,2012). These signals include electroencephalogram (EEG), electromyogram (EMG), electrooculogram (EOG), electrocardiogram (ECG), oronasal airflow (AF), abdominal and chest wall movements, respiratory effort, photoplethysmography (PPG), and continuous measurement of blood oxygen saturation (SpO2) from PPG (Jon,2009;Tan et al.,2014). Sleep medical specialists visually inspect the recordings for manual scoring of apnea and hypopnea events, and the number of apneas and hypopneas per hour of sleep, known as the apnea-hypopnea index (AHI), is used to diagnose and classify OSA severity in children (Berry et al.,2020). AHI thresholds of 1, 5, and 10 events per hour (e/h) are frequently utilized to classify the severity of obstructive sleep apnea (OSA) in children as none (AHI <1 e/h), mild (1 e/h ≤AHI <5 e/h), moderate (5 e/h ≤AHI <10 e/h), or severe OSA (AHI ≥10 e/h) (Hornero et al.,2017;Luz Alonso-Álvarez et al.,2011;Tan et al.,2014). It is noteworthy that these thresholds are more cautious than those used in adults to distinguish
1.4. Pediatric OSA diagnosis: Polysomnography (PSG) 13 between different levels of OSA severity (Kapur et al.,2017). Although PSG is widely regarded as the gold standard for diagnosing childhood OSA, it presents certain limitations. Due to the need for recording multiple signals, PSG is a complex test, requiring the child to spend at least one night in a sleep laboratory with qualified technicians present, resulting in high hospital expenses (Alonso-Álvarez et al.,2015;Tan et al.,2014). Visual scoring of apneic events is also labor-intensive and may lead to subjective diagnoses (Tan et al., 2015). In addition, PSG requires the attachment of multiple body sensors to children, which can be uncomfortable (Alonso-Álvarez et al.,2015;Jon,2009). Furthermore, the fact that children sleep in an unfamiliar environment may lead to sleep recordings that are not a true representation of natural sleep, thus resulting in the need to repeat the diagnostic test (Katz et al.,2012). The diagnosis and treatment of children affected by OSA are hindered by long waiting lists, complexity, cost, time required to analyze sleep signals, and the rest of drawbacks of the PSG aforementioned (Tan et al.,2015). As a result, there is a need for simplified screening tests to address the unavailability of PSG. The use of portable monitoring equipment has been proposed as the primary substitute for PSG in diagnosing pediatric OSA, addressing the limitations of the latter (Kaditis et al.,2016;Marcus et al.,2012). The devices used for sleep studies are categorized into four types, based on the number and type of the recorded signals, as defined by the Portable Monitoring Task Force of the AASM (Standards of Practice Committee of the American Sleep Disorders Association,1994): 1. Type I: is the conventional PSG equipment and is considered the gold standard to which the other types must be compared. This equipment is capable of recording up to 32 biomedical signals. 2. Type II: the comprehensive portable PSG, records at least seven channels that allows for the identification of sleep stages and the calculation of the AHI. The channels required to this purpose are AF, ECG or heart rate (HR), EEG, EMG (located on the chin), EOG, respiratory effort, and SpO2. 3. Type III: the modified portable sleep apnea testing, involves the recording of ventilation (i.e., at least two respiratory movement recordings or a respiratory movement along with AF), ECG or heart rate, and SpO2. These studies are also known as respiratory polygraphy. 4. Type IV: characterized by the continuous recording of one or two physiological signals, usually AF and/or SpO2. Any device that fails to satisfy the
14 Chapter 1. Introduction criteria of Type III is also classified under this type. Therefore, the advantages that portable monitoring offers compared to PSG are a reduction in the set of channels used, and its realization at children home, leading to a reduction in costs and complexity, and an increase in the comfortability of the test (Chiner et al.,2020;Tan et al.,2014). However, the American Academy of Pediatrics guidelines recommend caution when using alternative tests, as more conclusive evidence is needed about their efficacy (Marcus et al., 2012). Thus, there has been a search and development of alternative methods to simplify and accelerate pediatric OSA diagnosis before the consequences get worse (Alonso-Álvarez et al.,2015). 1.5 Literature review: cardiovascular signal analysis in pediatric OSA context The seek for alternative diagnostic methods for pediatric OSA has focused on analyzing a reduced set of signals involved in PSG (Gutiérrez-Tobal et al.,2022). In this regard, the evaluation of cardiovascular signals has gained relevance to characterize pediatric OSA and aid in its diagnosis. The rationale behind studying cardiovascular signals to evaluate OSA is that apneic events are typically associated with progressive bradycardia followed by an abrupt tachycardia at the end of the event (Guilleminault et al.,1984). While these cyclic variations are wellestablished in adults, they also occur in children, albeit with a high degree of variability depending on the presence, type, and duration of the apneic events, leading to increased cardiovascular risks (Aljadeff et al.,1997;Gozal et al.,2013; O’Driscoll et al.,2009;Vitelli et al.,2016). Therefore, these characteristic changes in heart rate during sleep reflect the direct impact of OSA on ANS behavior. The ANS plays a crucial role in regulating cardiac activity. This is composed of two branches: the sympathetic nervous system (SNS), and the parasympathetic nervous system (PNS). While SNS raises heart rate and contractility, PNS diminishes it (Acharya et al.,2006). The interplay between both branches maintains appropriate cardiac output and blood pressure in response to physiological demands, such as the above mentioned OSA alterations (Acharya et al.,2006;Gozal et al.,2013). Thus, evaluating ANS functioning during sleep can improve the understanding of the cardiovascular implications of childhood OSA. The most widespread method to assess ANS status non-invasively is HRV, a signal derived from ECG that quantifies the fluctuations in the time between consecutive heart-
1.5. Literature review: cardiovascular signal analysis in pediatric OSA context 15 beats, allowing the monitorization of both ANS branches modulation (Acharya et al.,2006). Figure 1.2 shows HRV signals for different situations that are displayed in both the time and frequency domains. It can be observed that there exists a distinct HRV pattern that appears during apneic events, which is not present during normal sleep (see Figures 1.2.a and 1.2.b). Additionally, the alterations due to these periodic patterns are captured through HRV spectral analysis, resulting in differences reflected in the power spectral density (PSD) (see Figure 1.2.c). Alternative to the ECG acquisition, several studies have examined the use of PPG signals. PPG is a non-invasive optical method that measures changes in blood volume through the skin surface. By using a light source and a detector, it is possible to measure pulse rate and blood oxygen saturation, being an easy- Figure 1.2. Examples of HRV from a OSA child corresponding to: (a) 5-minute segment of HRV during apneic events, (b) 5-minute segments of HRV without apneic events, (c) averaged PSD of all HRV segments across night, separated by those with presence of apneic events (black line) and those without apneic events (green line).
16 Chapter 1. Introduction to-acquire signal (Allen,2007). As PPG is related to arterial vasodilatation or vasoconstriction generated by the ANS, it can capture ANS alterations too (Allen, 2007;Gil et al.,2009). PPG has been widely investigated to extract pulse rate variability (PRV), which can serve as a surrogate measure of HRV (Georgiou et al., 2018). Similar to HRV, PRV is determined by the variation of the pulse-to-pulse intervals calculated from the PPG, allowing for the analysis of ANS alterations under different conditions (Georgiou et al.,2018;Mejía-Mejía et al.,2020). Finally, by combining the information provided by ECG and PPG signals, pulse transit time (PTT) has also been assessed. PTT refers to the time interval between the ECG R-peak and the corresponding wave-peak in the PPG signal (Mukkamala et al.,2015), and it can be influenced by factors such as continuous blood pressure or HR, being altered accordingly to the presence of apneic events (Katz et al.,2003; Lázaro et al.,2014). Given the usefulness of the cardiovascular signals mentioned above to assess ANS alterations, several studies have explored their potential for characterizing, evaluating the implications of treatment, and automatically diagnosing pediatric OSA. 1.5.1 Cardiovascular signal processing methods to characterize pediatric OSA The assessment of pediatric OSA through the analysis of cardiovascular signals has mainly relied on traditional metrics, particularly those derived from HRV in the frequency domain. The most widespread evaluated parameters in this domain are the activity in the LF and HF frequency bands, as well as the LF/HF ratio in HRV (Baharav et al.,1999;Liao et al.,2010a,b;Nisbet et al.,2013;Van Eyck et al.,2016;Vlahandonis et al.,2014;Walter et al.,2013;Wu et al.,2022). The LF band is believed to reflect both PNS and SNS activity, whereas HF is considered to reflect PNS activity (Acharya et al.,2006;Shaffer and Ginsberg,2017). Hence, LF/HF is commonly reported as an indicator of sympathovagal balance (Malik et al.,1996), although this assumption should be approached with caution (Stein and Pu,2012). In a less degree, some previous studies have also examined, alongside the previously mentioned parameters, the VLF band in both HRV (Kwok et al.,2011) and PRV (Dehkordi et al.,2016;Garde et al.,2014,2019), whose interpretation is more controversial, being assumed to reflect slow regulatory mechanisms (Shaffer and Ginsberg,2017). Also in the frequency domain, Horne et al. (2018) conducted a study comparing cardiovascular activity between normal weight and overweight children with OSA and controls by combining
1.5. Literature review: cardiovascular signal analysis in pediatric OSA context 17 HRV evaluation with averaged PTT across the night. In addition to the conventional frequency metrics, several studies have analyzed cardiovascular signals in the temporal domain to characterize pediatric OSA. The principle behind the assessment of HRV and PRV in the frequency domain is similar, as the former is based on R-R intervals and the latter on the pulse-to-pulse intervals. Thus, extracted from the normal-to-normal (NN) intervals from HRV (Liao et al.,2010a,b;Nisbet et al.,2013;Van Eyck et al.,2016) and PRV (Dehkordi et al.,2016;Garde et al.,2014), previous studies have analyzed its mean (mNN), directly influenced by mean HR, standard deviation (SDNN), as an overall ANS measure, and root mean square of its successive differences (RMSSD), mainly influenced by PNS (Malik et al.,1996). Although less common, several studies have also included the evaluation of the standard deviation of 5- min means of NN intervals (SDANN) and the percentage of differences between adjacent NN intervals that are over 50 msec (pNN50) in their analysis (Kwok et al., 2011;Wu et al.,2022), measuring long-term and short-term components of HRV, respectively (Malik et al.,1996). Besides the thoroughly cardiovascular analysis using conventional metrics from the temporal and frequency domain in pediatric OSA context, a non-linear approach has also been performed in the studies conducted by Aljadeff et al. (1997) and Vitelli et al. (2016) through Poincaré plots to investigate ANS imbalance in children suffering from OSA. The non-stationarity of PRV was also evaluated by Dehkordi et al. (2016) via detrended fluctuation analysis, in addition to the spectral analysis aforementioned. Despite some controversy in the findings among all the previous studies, there is a consistent trend of sympathetic dominance, along with parasympathetic inhibition, leading to a progressive sympathovagal imbalance during apneic events in pediatric OSA. However these findings were based on the conventional HRV metrics that were originally designed to assess the typical ANS behavior. In contrast, this Doctoral Thesis has introduced novel HRV metrics that are specifically designed to evaluate the alterations caused by pediatric OSA (Martín-Montero et al.,2021a,b). Several of the previous studies on cardiovascular activity in pediatric OSA have assessed alterations during sleep using a whole night approach (Aljadeff et al.,1997;Garde et al.,2014,2019;Liao et al.,2010a;Van Eyck et al.,2016;Vitelli et al.,2016). Notwithstanding, cardiac behavior varies between wakefulness and sleep and is influenced by sleep stages (Bonnet and Arand,1997;Qin et al.,2021). In this regard, some works have compared HRV patterns across sleep stages between children with OSA and healthy children to analyze alterations related to pediatric OSA. Among those assessing pediatric OSA across sleep stages, some
Chapter 3 Subjects and signals under study During the present Doctoral Thesis, we investigated two different databases of pediatric ECG recordings: a private and a public one. The private database, named University of Chicago (UofC) database, was obtained from the Comer Children’s Hospital of the University of Chicago (Chicago, IL, USA), while the public database was the CHAT database (Marcus et al.,2013;Redline et al.,2011). Both of them included ECG recordings of children ranging from 0 to 13 years of age who had clinical suspicion of OSA due to a range of symptoms, including snoring, apneas, excessive daytime sleepiness, and tonsillar hypertrophy, among others. The CHAT database consisted of 1612 sleep studies from multiple centers, while the UofC database included 981 children, all of them undergoing a complete overnight PSG at the pediatric sleep unit of the corresponding hospitals. Pediatric sleep studies were scored in two databases by trained medical sleep specialists in accordance with the AASM rules (Berry et al.,2012). The AHI was derived from these annotations to determine the severity of OSA in the pediatric subjects. Based on previous studies (Church,2012;Hornero et al.,2017;Tan et al.,2014), three frequent AHI thresholds (1, 5, and 10 e/h) were used to categorize the severity of OSA into four groups: no-OSA (AHI <1 e/h), mild OSA (1 ≤AHI <5 e/h), moderate OSA (5 ≤AHI <10 e/h), and severe OSA (AHI ≥ 10 e/h). Tables 3.1 and 3.2 provide details of both databases, including the total population, age, sex, body mass index (BMI), and the amount of children in each severity group. 25
26 Chapter 3. Subjects and signals under study 3.1 Childhood Adenotonsillectomy Trial (CHAT) database The CHAT database was a randomized, single-blind controlled trial comprising 1639 sleep studies from children between the ages of 5 and 10 years with symptoms of OSA at the onset of the study (Marcus et al.,2013;Redline et al., 2011). PSGs were conducted at six different pediatric sleep centers located in the United States (Boston Children’s Hospital, Boston, MA; Cardinal Glennon Children’s Hospital, St. Louis, MI; Cincinnati Children’s Medical Center, Cincinnati, OH; Montefiore Medical Center, Bronx, NY; Pennsylvania Children’s Hospital, Philadelphia, PA; Rainbow Babies and Children’s Hospital, Cleveland, OH) (Marcus et al.,2013;Redline et al.,2011). All children caretakers provided written consent for permission for the research, and assent was obtained from those children over the age of 7 years as part of the research protocol (Marcus et al., 2013). Out of the 1639 original sleep recordings, 1612 contained ECG recordings and fulfilled our studies requirements, thereby being used in the articles of the compendium. The dataset is internally split into three subsets: • Baseline group, comprised of 451 ECG recordings from children diagnosed with OSA, satisfying the eligibility criteria outlined in Section 3.1.1 to be randomized to early AT or WWSC strategies (Marcus et al.,2013;Redline et al.,2011). The complete set of 451 recordings was used in Martín-Montero et al. (2023). In contrast, and according to the study design, we included only those children who completed the entire trial in Martín-Montero et al. (2022). As a result, a subset of 404 out of the 451 ECG recordings was used in this research. • Follow-up group, formed by 404 ECG recordings from those children that performed a second nocturnal PSG, completing the entire trial procedure. This subset was used for the purpose of the studies presented in Martín- Montero et al. (2022) and in Martín-Montero et al. (2023). • Nonrandomized group, consisted of ECG recordings from 757 children who underwent an overnight PSG but did not meet the inclusion criteria (see Section 3.1.1) set in the primary CHAT studies (Marcus et al.,2013;Redline et al.,2011). The complete subset was used in both Martín-Montero et al. (2021a) and Martín-Montero et al. (2021b). However, two subjects were later removed from the subset based on a reviewer’s recommendation due to a
3.1. Childhood Adenotonsillectomy Trial (CHAT) database 27 low ECG sampling frequency of 50Hz. Hence, in Martín-Montero et al. (2023), 755 children from this group were included. The standardized procedure outlined in Redline et al. (2011) was followed during nocturnal PSG, which included the collection of ECG recordings through the use of gold cup electrodes or Ag/AgCl patches at sampling frequencies ranging from 200 to 512 Hz. The complete protocol for the CHAT database, with clinical trial identifier NCT00560859, can be found in the supplementary material of Marcus et al. (2013). Sociodemographic and clinical data from the database are presented in Table 3.1. 3.1.1 CHAT database eligibility criteria As aforementioned, the original CHAT study was developed to include both female and male children at ages ranging from 5.0 to 9.9 years with reported OSA. Accordingly, the inclusion criteria for the original study were as follows (Redline et al.,2011): • Children aged between 5 and 9.9 years at the screening moment. • Children with confirmed OSA, defined as those children presenting OAI ≥ 1 or AHI ≥2 after PSG evaluation, and with habitual snoring reported by their legal caretakers. • Children presenting tonsillar size ≥1 regarding to a standardized scale from 0 to 4. • Children considered candidates for surgical AT after otorhinolaryngological evaluation. Table 3.1. Sociodemographic and clinical data from children of the CHAT database. All no-OSA mild OSA moderate OSA severe OSA Subjects (n) 1612 346 798 253 215 (100%) (21.5%) (49.5%) (15.7%) (13.3%) Age (years) 7.0 7.0 6.8 7.0 6.6 [6.0, 8.0] [6.0, 8.3] [6.0, 8.0] [6.0, 8.0] [5.8, 8.0] Males (n) 774 163 380 123 108 (48.0%) (47.1%) (47.6%) (48.6%) (50.2%) BMI (kg/m2) 17.3 17.1 17.2 18.5 18.6 [15.6, 21.6] [15.5, 19.6] [15.6, 20.8] [15.4, 23.3] [15.9, 23.8] AHI (e/h) 2.5 0.6 2.2 7.1 17.1 [1.2, 6.0] [0.4, 0.8] [1.6, 3.3] [6.0, 8.5] [12.7, 26.7] Data are shown as median [25th percentile, 75th percentile], or number (percentage). AHI = apneahypopnea index, BMI: body mass index, OSA: obstructive sleep apnea.
28 Chapter 3. Subjects and signals under study Similarly, the exclusion criteria applied to remove children from the original study were the next (Redline et al.,2011): • Recurrent tonsillitis, defined as over three events in each of three years, five events repeated two consecutive years, or seven events in a year. • Children with craniofacial anomalies that could hamper general anesthesia or surgical AT. • Obstructive respiration during awake that requires immediate AT, evaluated by a physician. • Children suffering from severe OSA (OAI >20 or AHI >30) or significant hypoxemia (SpO2<90% during >2% sleep duration). • Normal values of AHI (OAI <1 or AHI <2). • Children evidencing significant cardiac arrhythmias after PSG evaluation. • Children with severe health conditions that could worsen because of the delay in AT application, such as cardiopulmonary affections,epilepsy or diabetes, among others. • Behavioral or psychiatric disorders that may lead to the initiation of medical treatments during trial duration. • Genetic, neurological, psychiatric or craniofacial alterations that could disturb airway, behavior or cognition. • Children under: ADHD or psychotropic drugs, hypnotics, antihypertensives, insulin or hypoglycemic agents, growth hormone, anticonvulsants, corticosteroids, anticoagulants. 3.2 University of Chicago (UofC) database The private UofC sample, which was also used in the realization of this Doctoral Thesis, comprises 981 ECG recordings of pediatric patients aged between 0 and 13 years. All children included in this database presented OSA symptoms, being derived to the pediatric sleep unit from the Comer Children’s Hospital of the University of Chicago Sleep Medicine (Chicago, IL, USA) to undergo an overnight PSG. A digital polysomnography system (Polysmith; Nihon Kohden
3.2. University of Chicago (UofC) database 29 America Inc., CA, USA) was used to conduct the PSGs, which enabled the registration of ECG signals at a sampling rate of either 200 Hz or 500 Hz. The study protocol of the UofC sample was approved by the Ethics Committee of the Comer Children’s Hospital (numbers of approval: (#11-0268-AM017, #09-115-B-AM031, and #IRB14–1241), and informed consent was obtained from the legal guardians of all participating children. This written consent provided by the legal caretakers conformed to the Declaration of Helsinki. The UofC database was used in Martín-Montero et al. (2021a), as well as in Martín-Montero et al. (2021b). In both studies, these sample serve as the training set of the research works. Sociodemographic and clinical data from the UofC database can be found in Table 3.2. 3.2.1 UofC database eligibility criteria For children to be referred for polysomnography in the UofC database, they had to meet the following inclusion criteria: • Children ranging from 0 up to 17 years of age. • Children under high suspicion of OSA because of showing one or several symptoms among snoring, apneas, arousals, excessive daytime sleepiness, restless sleep, hyperactivity, tonsillar hypertrophy, increase in neck circumference, developmental disorder depression and low self-esteem, enuresis, obesity, attention deficit, behavioral problems, and headache. • Legal caretakers of the children involved in the study gave their informed consent. Table 3.2. Sociodemographic and clinical data from children of the UofC database. All no-OSA mild OSA moderate OSA severe OSA Subjects (n) 981 173 401 178 229 (100%) (17.6%) (40.9%) (18.1%) (23.3%) Age (years) 6 7 6 5 4 [3, 9] [4, 10] [4, 9] [2, 8] [2, 8] Males (n) 602 107 247 109 139 (61.4%) (61.8%) (61.6%) (61.2%) (60.7%) BMI (kg/m2) 18.0 17.6 17.9 18.6 18.3 [16.1, 21.9] [15.6, 21.0] [16.1, 21.2] [16.5, 24.0] [16.1, 23.2] AHI (e/h) 3.8 0.5 2.5 6.8 19.1 [1.5, 9.3] [0.1, 0.8] [1.7, 3.5] [5.8, 8.3] [13.9, 31.1] Data are shown as median [25th percentile, 75th percentile], or number (percentage). AHI = apneahypopnea index, BMI: body mass index, OSA: obstructive sleep apnea.
30 Chapter 3. Subjects and signals under study Similarly, the following exclusion criteria were also applied: • Children suffering from other sleep disorders. • Children with crania-encephalic abnormalities, epilepsy, neuromuscular disease, genetic syndromes, and congenital cardiac or pulmonary disease. • Legal caretakers of the children involved in the study gave their informed consent. This consent included the aims of the study, a description about the diagnostic process and a clause stating that the inclusion of the children was voluntary.
Chapter 4 Methods This chapter provides a comprehensive overview of the methodology used during the Doctoral Thesis. Figure 4.1 depicts the overall methodology steps, beginning with ECG signal acquisition, followed by a pre-processing stage and a segmentation procedure (right branch) to meet the requirements of the different study approaches. Once the ECG has been optimized, the next step involves R-peak detection and HRV extraction. The information related to these initial steps are collected in Section 4.1. Following this pre-processing stage, the featureengineering approach starts with feature-extraction techniques. In this Doctoral thesis, time, spectral and bispectral analysis techniques have been used, all of them detailed through Section 4.2. Among all the analysis performed, only the bispectral analysis approach included a considerably large number of features, being likely that it included suboptimal feature sets, containing redundant and non-relevant information. For this reason, this is the only branch that contemplated a feature-selection stage, based on FCBF algorithm (see Section 4.3). Afterwards, Section 4.4 provides a comprehensive explanation of the different pattern recognition techniques fed with the different feature sets for pediatric OSA diagnosis or sleep stage classification. Later, Section 4.5 reflects the XAI techniques applied to enhance the understanding of the decisions made by some of the machine-learning algorithms considered. Additionally, one of the studies used spectral HRV characterization with a CMA analysis, described in Section 4.6, to assess whether OSA treatment had any causal effect on changes in HRV. Finally, Section Section 4.7 describes the statistical analysis methods used to evaluate the results. All the methods detailed in this chapter, but CMA, have been developed us- 31
32 Chapter 4. Methods Figure 4.1. Scheme of the overall methodology performed through the Doctoral Thesis. Green boxes indicates that the corresponding step of the protocol was applied per subject, while blue boxes means that the step was applied per segment. AdaBoost: adaptive boosting, ECG: electrocardiogram, FCBF: fast correlation-based filter, HRV: heart rate variability, LDA: linear discriminant analysis, LSBoost: least-squares boosting, MLP: multi-layer perceptron, OSA: obstructive sleep apnea, XAI: explainable artificial intelligence.
4.1. ECG pre-processing and HRV extraction 33 ing Matlab software (Mathworks Inc, Natick, MA, USA). The methodology applied in Martín-Montero et al. (2021b) was implemented in Matlab environment version R2018b. The computation of the methods from Martín-Montero et al. (2021a) and Martín-Montero et al. (2023) were implemented in Matlab version R2021b. This version of MATLAB software was also applied to perform the research presented in Martín-Montero et al. (2022), but CMA from this work was performed using R statistical software (v4.0.5; R Core Team 2021) through the R package developed by (Tingley et al.,2014). 4.1 ECG pre-processing and HRV extraction ECG recordings from the different databases used in this research were acquired during the PSG tests. The electrode was placed on the torso below the right clavicle, while the reference electrode was aligned to the left hip, following the AASM guidelines (Iber et al.,2007). The employment of this single modified ECG lead II using electrode torso placement rather than limb was first proposed by Mason and Likar (1966), as this montage allows to reduce artifacts due to movement (Mason and Likar,1966). The primary focus of this work was HRV, which is based on the detection of the QRS complex in the ECG. However, raw ECG signals often contain artifacts, such as motion or muscle noise, signal loss, or baseline wander, hindering QRS complex detection (Benitez et al.,2001). Accordingly, ECG signals underwent a pre-processing stage to remove noise, improve QRS detection, and standardize HRV signals. The pre-processing procedures applied to the ECG signals differed between the three first articles from the compendium and the last one, as they pursued different research objectives. In Martín-Montero et al. (2021a), Martín-Montero et al. (2021b) and Martín-Montero et al. (2022), a whole-night approach was adopted. Thus, the first step was to remove the initial and final 15 minutes, eliminating frequent artifacts during these periods. In addition, to ensure enough and representative data for each child included in the study, each ECG signal was required to contain at least 3 hours of sleep; otherwise, it was excluded from the study, consistent with previous research on pediatric OSA (Barroso-García et al.,2020,2021; Garde et al.,2014;Xu et al.,2019). Conversely, in Martín-Montero et al. (2023), a segment-level approach was taken, involving the split of the original ECG recordings into 10-minute segments prior to HRV computation (just following R peaks detection, explained below). The QRS complex detection algorithm used in all the studies was based on the
40 Chapter 4. Methods formation about the autocorrelation sequence, which is adequate for characterizing Gaussian signals, but does not capture phase relationships among frequencies or phase coupling (Chua et al.,2008,2010). HRV signals, along with many other biological signals, are nonlinear, non-Gaussian, and non-stationary (Chua et al., 2010). Indeed, the nonlinear dynamics of HRV signals could be exacerbated during sleep (Martín-González et al.,2018;Penzel et al.,2003). Additionally, OSA- induced cardiac changes may also contribute to increased HRV nonlinearity (Atri and Mohebbi,2015;Guilleminault et al.,1984;Martín-González et al.,2018;Penzel et al.,2003). As a result, PSD analysis may be insufficient to fully characterize changes in HRV series (Chua et al.,2008). In contrast, higher-order spectra (HOS) analysis incorporates both phase and amplitude information and can be used to evaluate diversions in Gaussianity, stationarity, and linearity (Chua et al., 2010). Specifically, the bispectrum is a type of HOS that is derived from the thirdorder cumulant of a random process, and provides a spectral decomposition of the skewness of the signal across frequency (Chua et al.,2010). Due to the ability of bispectral analysis to overcome PSD limitations, we performed bispectral HRV analysis in Martín-Montero et al. (2021a) to describe alterations due to the disease. The computation of the bispectrum is based on the two-dimensional Fourier transform of the third-order cumulant, and it can be mathematically defined as (Chua et al.,2008,2010): B(f1,f2) = X(f1)·X(f2)·X∗(f1+f2),f1,f2=0, ..., fN, (4.1) where X(f)is the discrete Fourier transform of a given signal, f1and f2are the frequency indices of the bispectral axes, and fNis the signal Nyquist frequency. The same configuration parameters used for spectral analysis were also applied for bispectrum computation, which included a Hamming window length of 210 samples, 50% overlapping, and FFT of 211 samples (Martín-Montero et al.,2021b, 2022). Following bispectrum computation, a normalization step was carried out to constrain all values in the bispectral matrix to a range between 0 and 1, dividing each value of the bispectral matrix by the sum of all its elements as follows (Barroso-García et al.,2021;Chua et al.,2010): BN(f1,f2) = B(f1,f2) BP ,f1,f2=0,..., fN, (4.2) where BP represents total bispectral power, computed as the sum of all the matrix values. The bispectral matrix, by definition, presents symmetric properties, allowing
4.2. Feature extraction 41 for the evaluation of a non-redundant triangular area called the region of interest. This triangular area, which is enough for whole bispectrum description, is bounded by 0 ≤f1≤f2≤f1+f2≤f N (Chua et al.,2008,2010). Previous studies in other research areas have performed bispectral HRV analysis within this non-redundant triangular region of interest (Atri and Mohebbi,2015;Chua, 2009;Chua et al.,2008). However, as the bispectral matrix axis ranges from 0 to fN, it is possible to define sub-regions within specific frequency ranges. Thus, we identified six sub-regions from the bispectral matrix, three based on classic frequency ranges (i.e., VLF, LF, and HF), and the remaining three based on the OSA- related frequency ranges, which were obtained in Martín-Montero et al. (2021b) (i.e., BW1, BW2, and BWRes). Of note, all bispectral regions but BWRes are located on the main diagonal of the bispectral matrix, while BWRes was defined by searching for the maximum value within the HF region and fixing its limits around this peak, it may or may not being centered in the main diagonal. Accordingly, those parameters (detailed below) that are based on the diagonal elements of the bispectral regions cannot be computed for this adaptive region, as they lose its physiological meaning. Once that the bispectral sub-regions were defined, we followed four different feature-extraction approaches to characterize them: bispectral region amplitude, bispectral region entropy, bispectral region moment, and weighted center of bispectrum (WCOB) region features. Additionally, a novel bispectral feature was introduced. Those parameters are described below. • Features derived from bispectral regions amplitudes: –Maximum amplitude (Bmax) quantified as the highest magnitude value found within each of the evaluated regions (Barroso-García et al., 2021): Bmax =max(|BN(f1,f2)|),f1, f2∈Ω, (4.3) where Ωis one out of the six regions under study. –Minimum amplitude (Bmin) computed as the lowest magnitude value within each of the considered regions (Barroso-García et al.,2021): Bmin =min(|BN(f1,f2)|),f1, f2∈Ω, (4.4) –Total bispectral power (Btotal), which enables to measure Gaussianity deviations, and is quantified as the sum of all the values within each
42 Chapter 4. Methods region (Barroso-García et al.,2021): Btotal =∑ f1,f2∈Ω |BN(f1,f2)|. (4.5) • Features derived from bispectral regions entropy: –Normalized bispectral entropy of first (BE1), second (BE2), and third order (BE3), which measure the irregularity of the bispectral distribution in each region based on Shannon’s entropy as follows (Barroso- García et al.,2021;Chua,2009): BEi=−∑ j∈Ω pj·log(pj),i=1,2,3, (4.6) where pis the amplitude distribution of the values of the region, computed as: pj=|BN(f1,f2)|i ∑ f1,f2∈Ω |BN(f1,f2)|i,i=1,2,3. (4.7) The bispectral entropies are sensitive to the degree of randomness in a process. Therefore, the changes in HRV irregularity resulting from OSA can be captured by the bispectral regions entropies (Atri and Mohebbi,2015). –Phase entropy (PE), which measures irregularity in the phase of the bispectral region, also based on Shannon’s entropy (Barroso-García et al.,2021;Chua et al.,2010). PE is analogous to the bispectral entropies in the sense that higher values indicate greater randomness, while a harmonious, recurrent and predictable process would have a PE of zero (Chua et al.,2008). PE is calculated by applying Shannon’s entropy to the normalized distribution of the phase angles in the region as (Barroso-García et al.,2021;Chua et al.,2010): PE =−∑ n∈Ω p(Ψn)·log(p(Ψn)) (4.8) where: p(Ψn) = 1 L∑ f1,f2∈Ω Ind(ϕ[BN(f1,f2)] ∈Ψn)|, (4.9) Ψn={ϕ| − π+2πn N≤ϕ<−π+2π(n+1) N}. (4.10)
4.2. Feature extraction 43 In the computation of the phase entropy, the indicator function Ind(·) is used to determine if the phase angle ϕis within the range of the histogram bins Ψn, where Ψnrepresents the n-th bin of the histogram. If ϕis within the range of Ψn, then Ind(·)equals 1, otherwise it equals 0. The value of Ncorresponds to the number of bins in the histogram. • Features derived from bispectral regions moments: –Sum of logarithmic amplitude values of each bispectral region (H1), the sum of logarithmic amplitude values of the diagonal components of each region (H2), and the first- and second-order spectral moments of the amplitude values of the diagonal components of each region (H3 and H4, respectively). These parameters were selected for their ability to capture nonlinear effects within the regions, measured as (Atri and Mohebbi,2015;Barroso-García et al.,2021): H1=∑ f1,f2∈Ω log(|BN(f1,f2)|), (4.11) H2=∑ fk∈Γdiag log(|BN(fk,fk)|), (4.12) H3=∑ fk∈Γdiag k·log(|BN(fk,fk)|), (4.13) H4=∑ fk∈Γdiag (k−H3)2·log(|BN(fk,fk)|), (4.14) where Γdiag represents the diagonal components of the bispectral region being evaluated (unless BWRes region). • Features derived from bispectral WCOB: –WCOB is a feature that reflects the interaction between different frequency components within a bispectral region. This is achieved by assigning a weight to each bispectral element (Ji-Wu Zhang et al.,2000; Wang et al.,2015). WCOB is made up of two vectors, f1mand f2m, which are used to measure the coupling focus of the bispectral region and summarize the interaction between frequencies. WCOB parameters are correlated with the bispectral maximum values, where a decrease in the values of f1mand f2mindicates a shift in activity towards lower frequencies (Barroso-García et al.,2021;Wang et al.,2015). The
44 Chapter 4. Methods two vectors extracted from the WCOB are computed as follows (Ji-Wu Zhang et al.,2000;Wang et al.,2015): f1m= ∑ f1,f2∈Ω f1·BN(f1,f2) ∑ f1,f2∈Ω BN(f1,f2), (4.15) f2m= ∑ f1,f2∈Ω f2·BN(f1,f2) ∑ f1,f2∈Ω BN(f1,f2), (4.16) • Novel bispectral feature: Relative Power of the diagonal. –Relative power of the diagonal (RPDiag), measured as the sum of the bispectral magnitudes of the diagonal elements of the region, after applying a normalization over the whole diagonal from the bispectral matrix. This novel bispectral feature, evaluated for the first time during the development of the present doctoral thesis, quantifies the relative bispectral amplitude within the diagonal of the region with reference to the whole bispectral diagonal (Diag), and is computed as: RPDiag =∑ fk∈Γdiag |DiagN(fk)|, (4.17) where DiagNis the normalized diagonal os the bispectral matrix after applying the following normalization: DiagN(fk) = DiagN(fk) DP ,fk=0, ..., fN(4.18) where DP is the power inside the diagonal of the region, computed as the sum of all the magnitude values of the Diag components. The diagonal elements are a specific case when f1=f2; therefore, this feature is intended to measure the phase coupling between the harmonic components of HRV signals, such that f3=f1+f2=2f1 and ϕ3=ϕ1+ϕ2=2ϕ1. Through the normalization, the sum of all diagonal elements is equal to 1, so evaluating RPDiag over a specific region reflects the proportion of total diagonal bispectral power contained within the region. Thus, the underlying principle of this feature is that the normalization applied allows to reflect shifts in the bispectral power concentration from other regions to those elements within
4.3. Feature selection 45 the diagonal of the region being evaluated. 4.3 Feature selection After characterizing HRV signals through feature extraction, a set of variables is obtained that may contain irrelevant or redundant information (Guyon and Elisseeff,2003). Extracting a large number of features does not necessarily improve pattern recognition results, as redundant or irrelevant features can adversely impact predictability and even lead to overfitting in the classifier (Guyon and Elisseeff,2003). To address this issue, a feature-selection stage can be included to obtain a more concise representation of the information and reduce input features for classifiers. Using feature-selection techniques not only enhances understanding of the feature-extraction process but also improves computation time, efficiency of classifiers, and prediction capability (Guyon and Elisseeff,2003). In Martín- Montero et al. (2021a), up to eighty features were initially extracted from the different bispectral regions. Consequently, the fast correlation-based filter (FCBF) algorithm was used to obtain two optimal subsets: one for the features extracted in the classic HRV bispectral regions and the other for the OSA-related regions. It is also noteworthy that, as explained below in Section 4.4.3, the least-squares boosting (LSBoost) algorithm used in Martín-Montero et al. (2023) for the pattern recognition stage also performs an internal de facto feature-selection process. 4.3.1 Fast Correlation-Based Filter (FCBF) The application of the FCBF algorithm has been extensively reported in the field of pediatric OSA diagnosis (Barroso-García et al.,2020,2021;Hornero et al.,2017; Jiménez-García et al.,2020;Vaquerizo-Villar et al.,2018a,b,c). This filter method operates through a two-stage process, where the symmetrical uncertainty (SU) is used to evaluate the relevance and redundancy of features. In the first stage, the algorithm calculates the SU between the feature vector Xiand a dependent variable Yto determine the relevance of the feature as follows (Yu and Liu,2004): SU(Xi,Y) = 2·(H(Xi)−H(Xi|Y) H(Xi) + H(Y)), (4.19) where H(Xi)and H(Y)denote the Shannon entropies of Xiand Y, respectively, and H(Xi|Y)represents the Shannon entropy of Xiwhen Yis observed. In pediatric OSA context, the dependent variable Yis usually the AHI. In the second stage, the redundancy of Xiis computed as SU(Xi,Xj), where Xjrepresents
46 Chapter 4. Methods other feature vector. Based on its relevance and redundancy, FCBF removes Xjif SU(Xi,Y)≥SU(Xj,Y), and SU(Xi,Xj)≥SU(Xj,Y)(Yu and Liu,2004). Consequently, the FCBF algorithm produces an optimum subset of non-redundant and relevant features. In this Doctoral Thesis, the FCBF algorithm was applied in Martín-Montero et al. (2021a) to select features subsets that were relevant and non-redundant using 1000 bootstrap-derived replicates from the corresponding training dataset. The features selected more than 500 times were included in the optimal subsets. 4.4 Pattern recognition The pattern recognition stage involved machine-learning techniques to extract complex patterns from the sets of features and make predictions based on this information (Alpaydin,2014;Bishop,2006). As the datasets considered is labeled, several supervised learning approaches were used for different purposes. Binary classification tasks were conducted using linear discriminant analysis (LDA) and multi-layer perceptron (MLP) to diagnose pediatric OSA based on different AHI thresholds. An adaptive boosting (AdaBoost) ensemble-learning method was used for multiclass classification to distinguish between wake, NREM, and REM sleep stages. Finally, in a regression task, a LSBoost model was developed to estimate the AHI of the children from HRV signals. 4.4.1 Binary classification 4.4.1.1 Linear Discriminant Analysis (LDA) The LDA classifier is a statistical approach used to distinguish between two or more classes of events or objects by identifying a linear combination of features that characterizes or separates them (Bishop,2006). The objective of the LDA algorithm is to decrease the dimensionality of the feature space by projecting the original data onto a new feature subspace while retaining as much class-discriminatory information as possible (Bishop,2006;Friedman,1989). To achieve this, a set of linear discriminant functions is determined, which maximizes the proportion of between-class variance to within-class variance (Bishop, 2006;Friedman,1989). When using LDA, the discriminant score for each class is calculated as follows (Friedman,1989;Marcos et al.,2009): yj(x) = µT j∑−1x−1 2µT j∑−1µj+lnP(Cj), (4.20)
4.4. Pattern recognition 47 where µjis the mean vector for class Cj,P(Cj)is the prior probability of Cj(i.e., the ratio of input feature vectors xjbelonging to Cj), and ∑is the covariance matrix. The resulting discriminant scores are then used to assign new instances into one of the pre-defined classes based on the decision boundaries established (Bishop,2006;Friedman,1989). In Martín-Montero et al. (2021b), two LDA models were trained for each of the binary severity AHI thresholds (1, 5 and 10 e/h). In each case, one of the models was developed based on the RPs in the classic HRV frequency bands, while the other model was developed based on the RPs in the OSA-specific frequency bands. 4.4.1.2 Multi-layer perceptron (MLP) neural network Artificial neural networks (ANNs) were developed to simulate biological systems information processing by mathematical models (Bishop,2006). ANNs are composed of basic interconnected processing units, also called neurons, which can learn complex patterns from the input data. Among the various types of ANNs, the multi-layer perceptron (MLP) is the most commonly used in the context of pediatric OSA (Gutiérrez-Tobal et al.,2022). MLP is a feed-forward ANN typically consisting of an input, a hidden, and an output layer. The neurons in MLP are known as perceptrons and each perceptron is connected to every perceptron in the subsequent layer, assigning a weight to each link. Perceptrons are defined by an activation function that performs a nonlinear conversion of the data (Bishop, 2006). In the input layer, the number of perceptrons corresponds to the number of features in the input data (N). The number of neurons in the hidden layer (NH) is a parameter that needs to be optimized. Each hidden layer neuron receives a linear combination of the outputs from the input layer neurons and provides a non-linear function of it as output (Bishop,2006). In the output layer, the number of perceptrons is adapted based on the task of the MLP. For binary classification, as in Martín-Montero et al. (2021a), a single perceptron is used, which receives the hidden layer outputs and provide the posterior likelihood of belonging to each severity group under study. The values of the output units are then calculated as (Bishop,2006): yk=go{ NH ∑ j=1 wjkgh{ N ∑ i=1 wijxi+bj}+bk}, (4.21)
48 Chapter 4. Methods where xiis the feature input vector, gh(·)and go(·)represent the activation functions of the perceptrons in the hidden and output layers, respectively, wik indicates the weight associated with the connection between the i-th input feature and the j-th hidden layer perceptron, and wjk represents the weight associated with the link that connects the j-th hidden layer perceptron to the output perceptron yk. Additionally, bjand bkare the biases of the hidden and the output layers, respectively. Furthermore, we introduced a regularization parameter (λ) in the tunning of the MLP weights to minimize overfitting (Bishop,2006), that was randomly initialized and optimized later. In Martín-Montero et al. (2021a), the two optimum subsets obtained from the FCBF algorithm were utilized to train MLP models for binary classification across each severity thresholds, with up to six MLP neural networks being optimized. The optimization of the hidden layer design parameters (i.e, NHand λ) was carried out by performing 1000 bootstrap replicates from the training set. The combination of NHand λvalues chosen for each model was the one that yielded the highest Cohen’s kappa coefficient (k) for each specific case. 4.4.2 Multiclass classification: Adaptive Boosting The concept of ensemble learning refers to the merging of multiple models to improve the overall performance beyond what each individual model can achieve (Freund and Schapire,1997;Witten et al.,2011). Boosting is one of the most profitable strategies for implementing ensemble-learning algorithms, as it can significantly enhance the prediction capability on new data (Bishop,2006;Witten et al.,2011). Boosting algorithms combine models iteratively to complement each other by fitting weighted votes assigned to the same type of base classifiers at each iteration (Bishop,2006;Witten et al.,2011). AdaBoost is an ensemblelearning boosting algorithm where weak classifiers are commonly used as base classifiers. Weak classifiers are preferred because complex classifiers may cause overfitting, thereby reducing the generalizability of the algorithm (Bishop,2006; Freund and Schapire,1997). Following a similar approach than in previous research in OSA context (Gutierrez-Tobal et al.,2019;Jiménez-García et al.,2020), in Martín-Montero et al. (2023), an AdaBoost algorithm with LDA as weak classifier was implemented. The AdaBoost algorithm functions by assigning a weight (wm i) at each iteration (m) to each observation (xi), i.e., the feature vector of each instance in the training group. The model for that iteration is then trained with the associated
4.4. Pattern recognition 49 weighted observation, and its performance is evaluated, with an error (ϵm) being computed. This error is used to assign the weighted vote (αm) of the classifier being trained in that iteration, with a smaller error resulting in a higher contribution to the final prediction (Witten et al.,2011). At the end of each iteration, the weights are updated, giving more importance to those observations that were misclassified, thus increasing the chance of proper classification in the next iteration (Freund and Schapire,1997;Witten et al.,2011). Various versions of the AdaBoost algorithm exist, each with a specific purpose. In Martín-Montero et al. (2023), we utilized AdaBoost.M2, the AdaBoost algorithm specifically designed for multiclass classification, for the purpose of classification of sleep stages. In this version of AdaBoost, the ϵmvalue is computed using the next equation (Freund and Schapire,1997): ϵm=1 2 N ∑ k=1 ∑ l=ltrue wm i,l(1−cm(xi,ltrue) + cm(xi,l)), (4.22) where lrefers to a categorical variable containing the different classes, ltrue indicates the original class assigned to xi, and cmrepresents the LDA confidence prediction for a feature vector and a given class. The predicted class is determined as the class that receives the largest sum of weighted votes from the LDA classifiers, with the weight of the predictions calculated as follows (Freund and Schapire,1997): αm=ln(βm), (4.23) where the calculation of βmis determined by ϵmas (1−ϵm) ϵm(Freund and Schapire, 1997). To minimize overfitting, a learning rate (ν) can also be introduced in the computation of βm. Thus, for the multiclass classification task addressed in this Doctoral Thesis, there were certain parameters for the design of the AdaBoost algorithm that required tuning. These parameters included the number of LDA classifiers used (NAB) and the regularization parameter ν. The optimization process was carried out by identifying the (NAB,ν) pair that maximized the multiclass kon the validation set. To do this, νwas increased from 0.1 to 1 in increments of 0.1, while NAB was modified from 1 to 10,000 in increments of multiples of 10, starting with 1 and increasing up to 9 in increments of 1, then from 10 to 100 in increments of 10, and so on.
56 Chapter 4. Methods tion (minsat) during night, and the total arousal index (TAI). To assess disease resolution, we incorporated two binary mediators: OSA resolution, which was equal to 1 for those subjects where follow-up OAHI ≤2 e/h and OAI ≤1 e/h were present, and 0 otherwise, and OSAO+Cresolution, which took into account the presence of central apneas, and was defined as follow-up AHI ≤2 e/h and apnea index (AI) ≤1 e/h. The R package developed by Tingley et al. (2014) was utilized to conduct all the computations. Initially, we assessed whether the effects on HRV were reliant on the treatment arms, obtaining that it did not occur. Thus, we assumed nointeraction, providing the averaged effect regardless treatment arm (Imai et al., 2010a,b). To control for as many baseline confounders as possible, we incorporated well-known confounders such as age, race, sex, BMI z-score, average HR, and tonsil size in the analysis. Finally, we tested the potential infringement of the sequential ignorability assumption by carrying out a sensitivity analysis using this software (Imai et al.,2010a,b). 4.7 Statistical analysis The present Doctoral Thesis used several techniques to describe and assess the results obtained from signal processing approaches. These methods include statistical tests, performance metrics for pediatric OSA diagnosis or sleep stage classification, measures of agreement, and validation approaches. 4.7.1 Statistical tests Statistical hypothesis tests are techniques used in statistical inference to determine if it is possible to extract conclusions about a population based on a sample of data (Jobson,2012). In this research, we initially evaluated the normality and homoscedasticity of the distributions under study through the use of the Lilliefors (Lilliefors,1967), and Levene (Levene,1960) tests, respectively. We obtained that not all the variables passed normality and homoscedasticity tests. Accordingly, non-parametric tests were performed through the realization of this Doctoral Thesis to identify statistically significant differences among the groups being studied (Jobson,2012). Thus, in the search of the pediatric OSA-related frequency bands in Martín-Montero et al. (2021b), Mann-Whitney Utest was used to evaluate the differences between the averaged PSDns of each two OSA severity groups. Regarding the assessment of differences in the HRV parameters,
4.7. Statistical analysis 57 the Mann-Whitney Utest was computed when comparing two different severity groups, the Wilcoxon signed rank test for intra-group comparisons, and the Kruskal-Wallis test to assess differences between more than two groups. The significance level was adjusted for the number of subjects, and different p-values were used across studies. In Martín-Montero et al. (2021a,b), where there were larger sample size (1738 subjects), the significance level was set at p< 0.01. In Martín-Montero et al. (2023,2022), the threshold of significance was set at p < 0.05. However, in Martín-Montero et al. (2023), although the database was slightly shorter than in the two first studies of the compendium, a segment-level approach was followed, thus increasing considerably the sample size used to assess differences. When it occurs, the p-value would not be enough for a comprehensive evaluation of the differences (Sullivan and Feinn,2012). Accordingly, our conclusions were based on the effect size computed using the non-parametric Cohen’s dmeasure, with differences interpreted as small (0.2 ≤d< 0.5), medium (0.5 ≤d<0.8), or large (d≥0.8) effect size (Cohen,1998;Sullivan and Feinn, 2012). Bonferroni correction was applied in Martín-Montero et al. (2023,2021a,b), while false discovery rate was used in Martín-Montero et al. (2022) when multiple comparisons were present. To obtain complementary information and aid in the physiological interpretation of the results, additional statistical techniques were utilized. Specifically, Spearman’s partial correlation coefficient (ρS) was chosen to evaluate the relationship between the HRV features and polysomnographic indices such as AHI, OAHI, OAI, ODI, minsat, TAI, the number of awakenings during the night (#Awakenings), the wake after sleep onset (WASO) time, and the percentage of sleep spent in different stages (%N1, %N2, %N3, and %REM). Using ρSalso allows for the control of possible confounding factors, such as age or the baseline confounders included in the CMA. Furthermore, boxplot representations were used as a graphical approach to illustrate the distribution of the HRV features computed through the different studies. When using boxplots, the box of the plot represents 50% of the data, with the lower portion of the box indicating the first quartile and the upper portion indicating the third quartile. Thus, boxplots are frequently used in data analysis, as they offer insights into the range and skewness of the features being represented.
58 Chapter 4. Methods 4.7.2 Diagnostic performance metrics Throughout the realization of this Doctoral Thesis, the diagnostic capabilities of individual HRV features, as well as the diagnostic yield of several models obtained from the different feature-engineering approaches were evaluated. Diagnostic performance was assessed using statistical measures that take into account the number of successfully or erroneously classified subjects. In a binary classification task, a confusion matrix can be constructed based on the following components (Flemons and Littner,2003): • True positives (TP), measured as the sum of positive subjects that have been successfully classified as positive (e.g., children with OSA classified as OSA positives). • True negatives (TN), measured as the sum of negative subjects that have been successfully classified as negative (e.g., children without OSA classified as OSA negatives). • False positives (FP), measured as the sum of negative subjects that have been erroneously classified as positive (e.g., children without OSA classified as OSA positives). • False negatives (FN), measured as the sum of positive subjects that have been erroneously classified as negatives (e.g., children with OSA classified as OSA negatives). Hence, by obtaining those values, the subsequent statistics parameters were selected as the main diagnostic performance metrics used to evaluate the diagnostic efficiency in the binary classification tasks using the three AHI thresholds aforementioned (1, 5 and 10 e/h) (Flemons and Littner,2003): • Sensitivity (Se). Percentage of subjects with the disease (AHI ≥threshold) successfully classified: Se =TP TP +FN ·100 (4.32) • Specificity (Sp). Percentage of subjects without the disease (AHI <threshold) successfully classified: Sp =TN TN +FP ·100 (4.33)
4.7. Statistical analysis 59 • Accuracy (Acc). Percentage of subjects successfully classified. For a binary classification problem, it is computed as follows: Acc =TP +TN TP +TN +FP +FN ·100 (4.34) • Area under the Receiver-Operating Characteristics curve (AUC). The effectiveness of diagnostic tests can be evaluated using the receiver operating characteristic (ROC) curve, which is a 2D parametric curve representing the trade-off between Se and 1 −Sp. The ROC curve is constructed by varying the decision threshold of the test, and the upper left corner of the curve represents an ideal classification result, where Se = 1 and 1 −Sp = 0 (Fawcett, 2006;Zweig and Campbell,1993). AUC is a measure used to summarize the ROC curve, computed as the area comprised between the curve and the abscissa axis. Accordingly, AUC values close to 1 indicate high diagnostic performance (Fawcett,2006;Zweig and Campbell,1993). In this doctoral Thesis, AUC has been measured as a diagnostic performance metric for the machine-learning models developed, and a ROC curve analysis has been performed to evaluate the individual diagnostic performance of some of the HRV features. This was done by selecting as optimum threshold the feature values that provides a ROC curve closer to the ideal classification point (in the training set) (Fawcett,2006;Zweig and Campbell,1993). Along with those parameters, in Martín-Montero et al. (2023) we decided to include some additional metrics to complement the evaluation of the clinical applicability of the LSBoost and AdaBoost models: • Multiclass accuracy Acck. The binary Acc definition can also be extended for a multiclass classification problem as the sum of instances rightly classified in each class, computed based on the main diagonal of the confusion matrix as: AccK=∑K i=1ni,i N·100 (4.35) where K is the number of classes, and Nis the sample size. For the LSBoost model, we computed the multiclass accuracy for four classes (Acc4), where each class was one of the four OSA severity levels defined. Regarding the AdaBoost model, we computed the three-class accuracy (Acc3), with each class being one out of the three sleep stages considered. • Positive predictive value (PPV), also known as precision. Percentage of
60 Chapter 4. Methods subjects successfully classified among all the subjects that has been classified as positives: PPV =TP TP +FP ·100 (4.36) • Negative predictive value (NPV). Percentage of subjects successfully classified among all the subjects that has been classified as negatives: NPV =TN TN +FN ·100 (4.37) • Positive likelihood ratio (LR+). Proportion of subjects from the positive group successfully classified in relation to the proportion of subjects from the negative group erroneously classified: LR+=Se 1−Sp (4.38) • Negative likelihood ratio (LR−). Proportion of subjects from the positive group erroneously classified in relation to the proportion of subjects from the negative group successfully classified: LR−=1−Se Sp (4.39) •F1−score. This diagnostic performance metric, especially useful when there exist imbalance between classes, is computed as the harmonic mean of precision (i.e., PPV), and recall (i.e., Se): F1−score =2·PPV ·Se PPV +Se =2TP 2TP +FP +FN (4.40) 4.7.3 Measures of agreement Agreement measures are computed to determine the level of consistency between the predicted and true labels of a sample set. These measures are useful in evaluating the precision of classification models and comparing the performance of different classifiers. Thus, besides to the diagnostic performance metrics, an additional agreement measure has been included in this Doctoral Thesis: • Cohen’s kappa coefficient (k). This statistic is a metric computed to evaluate the agreement between the classes observed and the predicted ones, while
4.7. Statistical analysis 61 taking into account the possibility of agreement occurring by chance. This measure is computed as (Cohen,1960): k=po−pe 1−pe(4.41) where porepresents the observed concordance between predicted and actual classes, and perepresents the likelihood of agreement occurring by chance. The range of kvalues is between -1 and 1, where a kvalue of -1 indicates total absence of agreement, k=1 means full agreement, and k=0 means that the agreement occurred by chance (Cohen,1960). In Martín-Montero et al. (2023), the kstatistic was used to evaluate the overall performance of the LSBoost model in pediatric OSA diagnosis, as well as for the AdaBoost model in sleep stage classification. Moreover, the optimization of the MLP models in Martín-Montero et al. (2021a) used this measure of agreement by selecting the combination of NH/NAB and λ/νthat maximizes kin each case. 4.7.4 Validation approaches Validation approaches are techniques frequently used to improve the reliability and generalization of research findings. It is a common practice to divide the available datasets into subsets to fit the required optimization steps and reduce the risk of overfitting (Witten et al.,2011). To meet these requirements, two validation techniques were used in this Doctoral Thesis. The hold-out method was used to divide the available databases into training-test sets (Martín-Montero et al.,2021a,b) or training-validation-test sets (Martín-Montero et al.,2023). Furthermore, in Martín-Montero et al. (2021a,2022), bootstrapping techniques were used for different purposes. •Hold-out validation. In order to ensure accurate validation of a model, it is recommended to use different sets to optimize the various stages of the methodology followed (Witten et al.,2011). The simplest form of the hold-out validation strategy involves fitting the model parameters using a training set and estimating the performance of the model using an independent test set (the hold-out group) (Bishop,2006;Witten et al.,2011). If the model fitting process requires more than one optimization phase, the dataset should be split into as many sets as needed (Witten et al.,2011). Typically, when it occurs, three subsets are used: the training set for adjusting
62 Chapter 4. Methods the model parameters, the validation set for fitting the hyperparameters, and the test set for independently assessing diagnostic yield. When there is insufficient data to use a different set for each phase, hold-out should be combined with additional validation techniques such as bootstrapping to ensure robustness and generalization of the obtained results. For instance, in Martín-Montero et al. (2021b), the private database was used as a training set, while the public database was the test set to increase the generalization of the results. In Martín-Montero et al. (2021a), the same division was applied for comparison purposes, but since the MLP models needed to optimize hyperparameters, bootstrapping was also used. Finally, in Martín- Montero et al. (2023), the dataset was divided into training-validation-test sets to optimize the LSBoost and AdaBoost models. Concretely, for the nonrandomized group, 75% of the subjects were allocated to the training set (comprising 567 recordings), 12.5% were assigned to the validation set (94 recordings), and the remaining 12.5% were designated to the test set (94 recordings). In the baseline and follow-up groups, among the 404 subjects undergoing a follow-up study, 50% were distributed to the training set (consisting of 404 recordings, 202 from baseline and 202 from follow-up), 25% were allocated to the validation set (101 recordings from baseline and 101 from follow-up), and the final 25% were included in the test set (comprising 101 recordings from baseline and 101 from follow-up). It is important to note that for each child with both baseline and follow-up recordings, both recordings were systematically incorporated into the same group to prevent any biases. The remaining 47 recordings from the baseline group without follow-up studies were included in the training set. •Bootstrapping. This validation technique involves generating Mbootstrap replicates on which to apply the proposed method (Efron and Tibshirani, 1994). A bootstrap replicate refers to a sample that is created by randomly resampling the original set with replacement. This means that some observations may be selected several times, while others may not be selected at all (Witten et al.,2011). Each bootstrap replicate has the same length than the original set, and the process is repeated Mtimes, corresponding to the number of replicates created. As a result, Mestimates will be generated for each statistical metric. In Martín-Montero et al. (2021a), bootstrapping was used for two different purposes. Firstly, in the feature-selection stage, the FCBF algorithm was implemented on 1000 bootstrap replicates of the train-
4.7. Statistical analysis 63 ing set, choosing as relevant those features selected over 500 times. Additionally, the optimization of the MLP hyperparameters was carried out on a different 1000 bootstrap replicates from the training group. Finally, in Martín-Montero et al. (2022) the confidence intervals of the CMA were established using 2000 non-parametric bootstrap iterations. In this chapter, the methodology applied throughout the realization of this Doctoral Thesis have been presented. In the following chapter, the most relevant results obtained with this methodology will be presented.
Chapter 5 Results The purpose of this chapter is to report the main findings of the Doctoral Thesis. The chapter is organized based on the various approaches that were applied as follows: 5.1 Spectral analysis and evaluation of the novel pediatric OSA-related frequency bands, 5.2 Bispectral analysis, 5.3 Causal mediation analysis, and 5.4 HRV segments characterization. As a result, the chapter is directly linked to the publications that compose the Doctoral Thesis compendium. 5.1 Spectral analysis: novel OSA-specific frequency bands In Martín-Montero et al. (2021b), we conducted a search for frequency bands that would be able to reflect the specific alterations that OSA cause in the ANS. As detailed in Section 4.2.2, the search led to three novel pediatric OSA-specific frequency bands (see Figure 4.3): BW1 (0.001-0.005 Hz), BW2 (0.028-0.074 Hz), and BWRes (0.04 Hz around maximum value within HF). This frequency bands were established in the UofC database, that was settled as training group in this study. Table 5.1 displays the obtained RPs for each severity group (median [interquartile range]) in both the training (UofC database) and test set (nonrandomized group from the CHAT database) for the classic and OSA-specific frequency ranges. The p-values resulting from the Kruskal-Wallis test have also been included. It can be observed that RPBW2,RPLF and LF/HF increased with the severity (p-value < 0.01 after Bonferroni correction), while RPBW1decreased in both sets. Additionally, RPBWRes and RPHF decreased with increasing OSA sever- 65
72 Chapter 5. Results Figure 5.4. Boxplots representation of the features that were selected in the optimum BISPSpeci f ic subset, along with the p-value obtained from the corresponding Kruskal- Wallis test. (a) BW2_RPDiag boxplot distribution and p-value, (b) BW2_BE1boxplot distribution and p-value, (c) BWRes_Bmin boxplot distribution and p-value, (d) BWRes_BE3 boxplot distribution and p-value. This figure has been taken from Martín-Montero et al. (2021a). from 22 to 50 in steps of 2, while the λvalues ranged from 0.5 to 10 in steps of 0.5. The combination of hyperparameters resulting in the highest kvalue was found to be NH=2 and λ=5 in four out of the six models (MLP1Classic,MLP5Classic, MLP5Speci f ic, and MLP10Speci f ic), NH=34 and λ=5 for the MLP10Classic model, and NH=38 and λ=5 in the MLP1Speci f ic model. Consequently, these specific hyperparameters were utilized to assess the diagnostic performance of all the developed MLP models. Table 5.4 presents the diagnostic performance reached by each of the developed MLP models, along with the individual diagnostic yield for each severity thresholds of the features included in the optimal subsets. Regarding the individ-
5.2. Bispectral analysis 73 Table 5.4. Evaluation of the diagnostic performance for binary classification by each feature selected individually, as well as each MLP optimized model in the test set (nonrandomized group from CHAT database). This table has been adapted from Martín-Montero et al. (2021a). Threshold: AHI = 1 e/h Feature/Model Se Sp Acc AUC VLF_f2m44.5 72.3 53.9 0.605 LF_BE242.1 72.7 52.4 0.581 HF_PE 42.9 63.3 49.8 0.550 BW2_RPDiag 50.9 64.8 55.6 0.629 BW2_BE147.1 59.4 51.3 0.559 BWRes_Bmin 40.5 57.4 46.2 0.482 BWRes_BE341.5 57.4 46.9 0.513 MLP1Classic 52.3 59.4 54.7 0.600 MLP1Speci f ic 76.3 38.3 63.4 0.627 Threshold: AHI = 5 e/h Feature/Model Se Sp Acc AUC VLF_f2m62.5 72.2 70.8 0.749 LF_BE256.3 74.4 71.7 0.670 HF_PE 45.5 72.1 68.2 0.628 BW2_RPDiag 60.7 77.7 75.2 0.747 BW2_BE156.3 70.1 68.0 0.671 BWRes_Bmin 58.9 45.3 47.3 0.567 BWRes_BE347.3 58.4 56.8 0.569 MLP5Classic 50.9 86.2 81.0 0.774 MLP5Speci f ic 62.5 84.2 81.0 0.791 Threshold: AHI = 10 e/h Feature/Model Se Sp Acc AUC VLF_f2m63.8 76.7 75.6 0.784 LF_BE258.0 81.5 79.4 0.740 HF_PE 53.6 72.1 70.4 0.663 BW2_RPDiag 68.1 76.0 75.3 0.789 BW2_BE147.8 76.0 73.4 0.692 BWRes_Bmin 56.5 50.6 51.1 0.557 BWRes_BE355.1 59.4 59.0 0.614 MLP10Classic 43.5 96.5 91.7 0.847 MLP10Speci f ic 66.7 91.6 89.3 0.841 VLF: very low frequency, LF: low frequency, HF: high frequency, MLP: multi-layer perceptron, AHI: apnea-hypopnea index, Se: sensitivity (%), Sp: specificity (%), Acc: accuracy (%), AUC: area under receiver-operating characteristic curve. For each AHI cutoff, the highest Acc and AUC has been highlighted in bold. ual features, BW2_RPDiag demonstrated the best overall performance. It achieved the highest Acc and AUC in the 1 e/h, the highest Acc in the 5 e/h, and the highest AUC in the 10 e/h thresholds. Notably, BW2_RPDiag exhibited a more balanced Se/Sp pair than LF_BE2, which had a higher Acc in the 10 e/h thresh-
74 Chapter 5. Results old. Additionally, all the MLP models outperformed the individual diagnostic ability of the features. The MLP models based on OSA-specific region features showed the highest diagnostic ability in the 1 and 5 e/h thresholds, while the MLP10Classic model outperformed the rest in the 10 e/h cutoff, albeit with a significantly unbalanced Se/Sp pair. 5.3 Causal mediation analysis In Martín-Montero et al. (2022), our aim was to assess whether changes in HRV parameters following OSA treatment could reliably identify variations in OSA severity indices or reflect OSA resolution. To accomplish this, we conducted a CMA, as described in Section 4.6, by averaging mediation effects across treatment arms. Through this analysis, we were able to evaluate the influence of the chosen mediator variables (OSA severity indices and resolution) on the features selected as outcomes (extracted from the HRV), as well as the extent of these impact (represented by ACME values). Additionally, it allowed us to identify the remaining effects unassociated with the mediators (termed as ADE). The results of the CMA are presented in Table 5.5, which shows the averaged values of ACME and ADE, along with their corresponding 95th percentile confidence intervals for each mediator and outcome considered in the study. The associated p-values can be consulted in Supplementary Table S11 from Martín-Montero et al. (2022). Notably, among all the evaluated parameters, only ∆RPBW2exhibited statistically significant ACMEs for all the mediators, and these effects were mediated in the negative direction. Moreover, ∆RPBW2was the only parameter that showed statistically significant ACME with OSA resolution, while obtaining non-statistically significant ADE effects with ∆Minsat and any of the resolution mediators. This highlights the importance of these mediators in the context of BW2. Regarding the OSAO+Cresolution mediator, apart from BW2 it also mediated changes in ∆(LF/HF). All the remaining parameters obtained ACME effects to some extent in at least one of the mediators considered, except for ∆RPVLF, which did not achieve any statistically significant ACME. After performing the CMA, we proceeded to examine whether changes mediated by the resolution mediators could differentiate the HRV activity of children who experienced OSA resolution compared to those who did not, following randomization. Accordingly, we evaluated differences at follow-up between children with resolved and unresolved OSA using both resolution criteria, focusing on parameters where the change in the mediator resulted in a statistically signifi-
5.3. Causal mediation analysis 75 Table 5.5. Results from the CMA evaluating treatment effects on variations in HRV features (follow-up - baseline) through several mediators. This table has been derived from Martín-Montero et al. (2022). Mediator ∆RPVLF ∆RPLF ∆RPLF ∆LF/HF ∆RPBW1∆RPBW2∆RPBWRes ∆AHI ACME -0.001 -0.007 ∗0.005 -0.033 0.002 -0.011∗0.003 (95% CI) (-0.008 to 0.006) (-0.011 to -0.002) (-0.001 to 0.011) (-0.062 to -0.007) (-0.001 to 0.005) (-0.017 to -0.007) (-0.001 to 0.008) ADE 0.047 ∗0.018 ∗-0.066 ∗0.204 ∗0.011 ∗0.015 ∗-0.045 ∗ (95% CI) (0.024 to 0.069) (0.008 to 0.027) (-0.086 to -0.047) (0.131 to 0.280) (0.003 to 0.018) (0.006 to 0.024) (-0.060 to -0.031) ∆OAHI ACME -0.001 -0.006 0.004 -0.029 0.003 -0.011∗0.002 (95% CI) (-0.007 to 0.005) (-0.010 to -0.002) (-0.002 to 0.010) (-0.059 to -0.004) (0.001 to 0.006) (-0.016 to -0.006) (-0.002 to 0.010) ADE 0.047 ∗0.017 -0.065 ∗0.200 ∗0.010 0.015 ∗-0.044 ∗ (95% CI) (0.025 to 0.069) (0.008 to 0.027) (-0.083 to -0.045) (0.125 to 0.280) (0.003 to 0.018) (0.006 to 0.023) (-0.059 to -0.030) OSAO+Cresol ACME -0.001 -0.001 0.002 -0.015 0.001 -0.003 0.001 (95% CI) (-0.006 to 0.003) (-0.004 to 0.001) (-0.002 to 0.007) (-0.040 to -0.003) (-0.001 to 0.003) (-0.005 to -0.001) (-0.003 to 0.004) ADE 0.046 ∗0.012 -0.063 ∗0.193 ∗0.012 ∗0.006 -0.043 ∗ (95% CI) (0.027 to 0.068) (0.003 to 0.022) (-0.082 to -0.045) (0.115 to 0.263) (0.005 to 0.019) (-0.003 to 0.016) (-0.056 to -0.029) OSA resol ACME -0.002 -0.001 0.001 -0.033 0.002 -0.005 -0.001 (95% CI) (-0.012 to 0.008) (-0.005 to 0.004) (-0.007 to 0.010) (-0.072 to 0.008) (-0.002 to 0.005) (-0.010 to -0.001) (-0.007 to 0.005) ADE 0.048 ∗0.012 -0.062 ∗0.199 ∗0.011 0.009 -0.041 (95% CI) (0.026 to 0.068) (0.002 to 0.022) (-0.082 to -0.043) (0.120 to 0.280) (0.003 to 0.019) (-0.001 to 0.018) (-0.055 to -0.026) ∆ODI ACME -0.001 -0.005 0.005 -0.027 0.002 -0.008 ∗0.003 (95% CI) (-0.006 to 0.005) (-0.009 to -0.002) (0.001 to 0.010) (-0.051 to -0.008) (-0.001 to 0.004) (-0.012 to -0.004) (0.001 to 0.007) ADE 0.046 ∗0.016 ∗-0.066 ∗0.198 ∗0.011 0.012 -0.045 ∗ (95% CI) (0.025 to 0.070) (0.007 to 0.025) (-0.084 to -0.048) (0.127 to 0.271) (0.004 to 0.019) (0.003 to 0.020) (-0.059 to -0.031) ∆Minsat ACME -0.002 -0.001 0.004 -0.010 0.001 -0.002 0.003 (95% CI) (-0.006 to 0.002) (-0.005 to 0.001) (0.001 to 0.008) (-0.027 to 0.002) (-0.001 to 0.002) (-0.005 to -0.001) (-0.001 to 0.007) ADE 0.048 ∗0.013 -0.064 ∗0.180 ∗0.012 0.006 -0.045 ∗ (95% CI) (0.027 to 0.067) (0.003 to 0.022) (-0.083 to -0.047) (0.110 to 0.256) (0.005 to 0.020) (-0.003 to 0.016) (-0.059 to -0.030) ∆TAI ACME -0.001 -0.008 ∗0.007 -0.028 0.002 -0.011∗0.005 (95% CI) (-0.006 to 0.005) (-0.012 to -0.004) (0.002 to 0.013) (-0.056 to -0.004) (0.001 to 0.005) (-0.016 to -0.006) (0.001 to 0.009) ADE 0.046 ∗0.019 ∗-0.067 ∗0.199 ∗0.011 0.015 ∗-0.047 ∗ (95% CI) (0.026 to 0.067) (0.010 to 0.028) (-0.086 to -0.049) (0.129 to 0.268) (0.003 to 0.018) (0.006 to 0.023) (-0.061 to 0.033) RP: relative power, VLF: very low frequency, LF: low frequency, HF: high frequency, AHI: apnea-hypopnea index, OAHI: obstructive AHI, OSAO+Cresol: obstructive and central apnea resolution, OSA resol: obstructive sleep apnea resolution, ODI: Oxygen desaturation index 3%, Minsat: minimum saturation level, TAI: total arousal index, ACME: average causal mediation effect, ADE: average direct effect, CI: confidence interval. Statistically significant ACME effects (p< 0.05) appears in bold. *p<0.001.
76 Chapter 5. Results cant ACME in each case. The results are presented in Figure 5.5, which displays the boxplot distributions of RPBW2at follow-up of each group for both mediators, as well as LF/HF for the OSAO+Cresolution mediator. As can be seen, RPBW2 was the only feature that exhibited a discernible distinction (p-value < 0.05) in HRV activity between children who experienced resolution of the disease and those who did not. Figure 5.5. Differences at follow-up between resolved and unresolved children when evaluating both resolution mediators. Only the boxplots distribution of the parameters that showed ACME effects with those mediators were evaluated. The p-values resulting from the Mann-Whitney Utests are also provided. (a) Differences in RPBW2using OSAO+Cresolution criteria.(b) Differences in LF/HF ratio using OSAO+Cresolution criteria. (c) Differences in RPBW2using OSA resolution criteria. This figure has been taken from Martín- Montero et al. (2022).
5.4. HRV segments characterization 77 5.4 HRV segments characterization The outcomes of the previous investigations primarily focused on examining the behavior of HRV throughout the entire night. In the last step, we wanted to assess how sleep stages and the presence of apneic events influence overnight HRV in the context of pediatric sleep apnea. To this end, in Martín-Montero et al. (2023), HRV 10-min segments were characterized and analyzed depending on the sleep stage (wake,W; NREM; and REM) as well as the number of apneic events contained within each segment (less than 1 event per segment, e/s; 1 to 5 e/s; 5 to 10 e/s; and above 10 e/s). Figures 5.6-5.8 depict the boxplot distributions in the training set for each segment type, representing the features extracted from the temporal domain, classic frequency bands, and OSA-related frequency bands, respectively. The corresponding p-values for the Mann-Whitney Utest conducted between each pair of segments can be found in Supplemental Table 1 from Martín-Montero et al. (2023). However, as explained in Section 4.7, given the large number of segments included in the study, differences are better quantified using Cohen’s dmeasure. Therefore, the Cohen’s dvalues for each comparison are presented in Table 5.6. In general terms, when comparing different severity segments within the same sleep stage, NREM segments exhibited a higher number of comparisons Figure 5.6. Boxplot distribution in the training set of the features in the temporal domain for every type of segment considered. (a) mHR boxplot distributions, (b) SDNN boxplot distributions, (c) RMSSD boxplot distributions. This figure has been derived from Martín- Montero et al. (2023).
78 Chapter 5. Results Figure 5.7. Boxplot distribution in the training set of the features in the frequency domain from the classic frequency bands for every type of segment considered. (a) RPVLF boxplot distributions, (b) RPLF boxplot distributions, (c) RPHF boxplot distributions, (d) LFnboxplot distributions. This figure has been derived from Martín-Montero et al. (2023). Figure 5.8. Boxplot distribution in the training set of the features in the frequency domain from the OSA-specific frequency bands for every type of segment considered. (a) RPBW1 boxplot distributions, (b) RPBW2boxplot distributions, (c) RPBWRes boxplot distributions. This figure has been derived from Martín-Montero et al. (2023). with substantial effect sizes (d≥0.5), while the effects were reduced during REM. This fact is also reflected in the boxplots (Figures 5.6-5.8), where REM trends followed similar patterns to NREM but less pronounced. Among the intra-sleep
5.4. HRV segments characterization 79 NREM stage comparisons, RPBW2showed the highest effect sizes in five out of six comparisons, indicating an increase in RPBW2with the presence of events (see Figure 5.8.b). This increase was also observed for mHR and SDNN in the temporal domain (see Figure 5.6), as well as in LFn (see Figure 5.7.b). Conversely, RPBWRes exhibited the opposite trend in these comparisons, showing medium or large effect sizes, as well as RPHF to a lesser extent. In the case of intra-sleep REM stage, Table 5.6 reflects that several parameters had negligible or small effect sizes (d≤0.2), with mHR and RPBW2exhibiting the highest effect sizes in these comparisons. Moving on to inter-sleep stage differences, in the absence of apneic events, only RPBW2showed negligible effect sizes between stages, while the largest differences were observed in RPBWRes (in W vs NREM and NREM vs REM comparisons) and mHR (in W vs REM comparison). When including apneic events, RPBWRes obtained the highest differentiation between NREM and REM for segments containing 1 to 5 e/s, while RPBW2regained relevance when comparing segments with 5 to 10 e/s, as well as those with above 10 e/s, consistently demonstrating the largest effect size. After completing the feature-extraction stage, the ten extracted features were used as input for the AdaBoost and LSBoost models to assess the clinical usefulness of HRV characterization. The validation set was selected to optimize the hyperparameters for both models, as explained in sections 4.4.2 and 4.4.3. The hyperparameters combinations that yielded the highest Cohen’s kvalue were as follows: λ=0.3 and NLSB =300 for the LSBoost model, and ν=0.1 and NAB =3000 for the AdaBoost model. Following the optimization of the models, their clinical applicability was evaluated. The LSBoost model was assessed for diagnosing pediatric OSA, while the AdaBoost model was evaluated for sleep stage classification. Confusion matrices in the test set for both tasks, along with the corresponding multiclass Acc and Cohen’s kvalues are presented in Figure 5.9. The performance of the LSBoost model was evaluated on a per-subject basis, while the performance of the AdaBoost model was computed per-segment. The darkness of the cells along the main diagonal in the confusion matrices indicates the performance of each model, with darker colors indicating better performance. The diagnostic metrics achieved by the LSBoost model in the test set for the per-subject binary classification task, considering each AHI cutoff, are presented in Table 5.7. Additionally, the diagnostic performance results of the AdaBoost model for sleep stage classification in the test set, considering individual sleep stages, are summarized in Table 5.8. Finally, to assess the role of each feature in both tasks, the results of the relative importance evaluation are displayed in Figure 5.10.
80 Chapter 5. Results Table 5.6. Cohen’s dvalues measuring the effect size linked to the comparison of the differences performed in the training set (CHAT database) between each pair of type of segments included in the study. This table has been derived from Martín-Montero et al. (2023). Intra-Stages NREM Segments Feature <1vs 1≤events <5<1vs 5≤events <10 <1vs ≥10 events 1≤events <5vs 5≤events <10 1 ≤events <5vs ≥10 events 5≤events <10 vs ≥10 events mHR 0.147 0.539∗∗ 0.634∗∗ 0.412∗0.516∗∗ 0.100 SDNN 0.318∗0.456∗0.745∗∗ 0.140 0.433∗0.312∗ RMSSD 0.076 0.065 0.123 0.011 0.050 0.068 RPVLF 0.610∗0.754∗0.579∗0.137 0.035 0.201 RPLF 0.325 1.007∗∗∗ 2.038∗∗∗ 0.628∗∗ 1.553∗∗∗ 0.733∗∗ RPHF 0.633∗∗ 1.042∗∗∗ 1.335∗∗∗ 0.452∗0.773∗∗ 0.413∗ LFn0.578∗∗ 1.233∗∗∗ 1.912∗∗∗ 0.584∗∗ 1.196∗∗∗ 0.625∗∗ RPBW10.440∗0.483∗0.072 0.028 0.337 0.391 RPBW20.546∗∗ 1.531∗∗∗ 3.106∗∗∗ 0.779∗∗ 2.017∗∗∗ 0.963∗∗∗ RPBWRes 0.608∗∗ 1.023∗∗∗ 1.272∗∗∗ 0.541∗∗ 0.859∗∗∗ 0.565∗∗ Intra-Stages REM Segments Feature <1vs 1≤events <5<1vs 5≤events <10 <1vs ≥10 events 1≤events <5vs 5≤events <10 1 ≤events <5vs ≥10 events 5≤events <10 vs ≥10 events mHR 0.242∗0.500∗∗ 0.904∗∗∗ 0.263∗0.671∗∗ 0.398∗ SDNN 0.036 0.043 0.148 0.082 0.190 0.115 RMSSD 0.070 0.000 0.028 0.071 0.101 0.031 RPVLF 0.142 0.194 0.064 0.054 0.080 0.142 RPLF 0.046 0.177 0.423∗0.134 0.473∗0.587∗∗ RPHF 0.156 0.202∗0.388∗0.049 0.243∗0.213∗ LFn0.097 0.043 0.503∗∗ 0.054 0.392∗0.459∗ RPBW10.067 0.084 0.134 0.017 0.203∗0.224∗ RPBW20.105 0.220∗0.875∗∗∗ 0.113 0.751∗∗ 0.573∗∗ RPBWRes 0.152 0.243 0.511∗∗ 0.103 0.401 0.379 Inter-Stages <1event Segments 1≤events <5Segments 5≤events <10 Segments ≥10 events Segments Feature W vs NREM W vs REM NREM vs REM NREM vs REM NREM vs REM NREM vs REM mHR 0.958∗∗∗ 0.755∗∗ 0.115 0.190 0.007 0.298 SDNN 0.223∗0.204∗0.023 0.343∗0.452∗0.709∗∗ RMSSD 0.126 0.279∗0.144 0.299∗0.243∗0.300 RPVLF 0.547∗∗ 0.441∗1.074∗∗∗ 0.597∗∗ 0.569∗∗ 0.647∗∗ RPLF 0.417∗0.261∗0.158 0.210∗0.927∗∗∗ 1.096∗∗∗ RPHF 1.233∗∗∗ 0.286 0.954∗∗∗ 0.480∗0.060 0.176 LFn1.168∗∗∗ 0.453∗0.728∗∗ 0.209∗0.465∗0.700∗∗ RPBW10.589∗∗ 0.008 0.739∗∗ 0.334∗0.313∗0.539∗∗ RPBW20.062 0.021 0.080 0.351∗1.005∗∗∗ 1.420∗∗∗ RPBWRes 1.460∗∗∗ 0.514∗∗ 1.133∗∗∗ 0.764∗∗ 0.361∗0.072 NREM: non-rapid eye movement, REM: rapid eye movement, mHR: mean heart rate, SDNN: standard deviation of normal-to-normal interval time series, RMSSD: root mean square of successive differences of NN intervals, RP: relative power, VLF: very low frequency, LF: low frequency, HF: high frequency, W: wake. Statistically significant differences (p< 0.05) appears in bold *Small effect (0.2 ≤d<0.5), **medium effect (0.5 ≤d<0.8), *** large effect (d≥0.8).
5.4. HRV segments characterization 81 Figure 5.9. Confusion matrices in the test set for the tasks performed to assess the clinical applicability of the HRV segments characterization. (a) Confusion matrix for the LSBoost model in the per-subject pediatric OSA diagnosis task. 1: no-OSA group (AHI <1 e/h), 2: mild OSA (1 ≤AHI <5 e/h), 3: moderate OSA (5 ≤AHI <10 e/h), 4: severe OSA (AHI ≥10 e/h). (b) Confusion matrix for the AdaBoost model in the per-segment sleep stage classification task. This figure has been adapted from Martín-Montero et al. (2023). Regarding the diagnosis of pediatric OSA, Figure 5.9.a shows that the LSBoost model tended to overestimate the AHI for the no-OSA group, achieving the worst proportion of correctly classified subjects, while moderate OSA subjects obtained the highest performance. The binary classification results presented in Table 5.7 demonstrate an overall improvement in diagnostic performance (higher AUC) with increasing severity cutoffs. These outcomes were primarily influenced by RPBW2, which accounted for the largest proportion of feature importance (72.01%, as shown in Figure 5.10.a). Following RPBW2,SDNN and RPLF were the next most influential features, accounting for 7.09% and 6.08% of the feature importance, respectively. Finally, for sleep stage classification task, Figure 5.9.b shows that, in general, REM segments obtained the highest proportion of well-classified segments. Nevertheless, when examining the individual sleep stage classification results (Table 5.8), REM sleep stage had the lowest precision (39.7%) despite a high recall (77.13%). On the other hand, NREM achieved the highest precision (94.55%) and F1−score (0.818) among the considered sleep stages. Regarding feature importance in this task, Figure 5.10.b highlights that RPBWRes was the feature with the greatest relative importance, accounting for 20.04% of the overall importance.
88 Chapter 6. Discussion in HRV activity between children who resolved OSA and those who did not for those features, it was found that resolution significantly affected only BW2. Although ∆LF/HF showed a statistically significant ACME with OSAO+Cresolution, there were no differences at follow-up between children with and without OSAO+Cresolution in LF/HF activity. It may be due to the higher ADE reached in the opposite direction, pointing to the presence of other factors that mask the effects of resolution on this feature. Therefore, BW2 activity was the only feature that allowed for differentiation between resolved and unresolved OSA children. In the light of these results, we propose BW2 as a potential biomarker for pediatric OSA resolution. 6.1.4 HRV segments characterization In Martín-Montero et al. (2023), we conducted a characterization of nocturnal HRV segments, considering both sleep stages and the presence of apneic events. The applied methodology allowed us to uncover that, when comparing segments with varying degrees of apneic event presence, the differences were more pronounced in NREM sleep compared to REM sleep. It is known that during NREM sleep there is a decrease in SNS activity and an increase in PNS activity, which is reversed during REM sleep and wakefulness (Qin et al.,2021). Also, increments of sympathetic activation occurs in children with OSA (Baharav et al.,1999;Qin et al.,2021). The results revealed that features related to SNS activity (RPBW2, mHR,SDNN, and RPLF) exhibited clear increases with the presence of apneic events within NREM sleep (see Figures 5.6-5.8). Nevertheless, these effects were reduced during REM sleep, with RPBW2and mHR being the only parameters showing considerable effect sizes in this sleep stage in three out of the six conducted comparisons. Interestingly, the reduction in differences between severity segments was observed during REM sleep, despite apneic events being more likely to occur in clusters during this stage (Qin et al.,2021). Thus, it appears that the inherent basal SNS excitation during REM sleep may mask the ANS alterations that occur as a result of apneic events. Therefore, considering that RPBW2 showed considerable effect size in all comparisons between severity segments during NREM sleep, and had the highest relative importance in the XAI technique of feature importance analysis for diagnosing pediatric OSA (see Figure 5.10), we emphasize the evaluation of BW2 activity as a reliable way to assess specific SNS activation due to pediatric OSA, especially when apneic events occur during NREM sleep.
6.1. Characterization of nocturnal HRV in children 89 The usefulness of RPBW2assessment in characterizing HRV changes in the presence of apneic events appears to diminish in their absence, yielding negligible effects between sleep stages for non-apneic segments. Notwithstanding, another OSA-specific frequency range defined in this Doctoral Thesis, RPBWRes, was the only parameter exhibiting medium to large effects in all sleep stage comparisons in the absence of apnea events. This can be attributed to the significant differences in respiratory patterns across sleep stages (Isler et al.,2016;Sazonova et al.,2006;Schechtman and Harper,1992;Terrill et al.,2012), as RPBWRes aims to reflect respiratory modulation in HRV. Respiratory control transitions from voluntary and automatic control during wakefulness to fully automatic control during sleep. It leads to regular respiratory patterns during NREM sleep and irregular respiration with brief breathing pauses occurring in healthy children during REM sleep (Marcus et al.,2008). Consistent with the effect size analysis, the application of LIME XAI technique to evaluate feature importance revealed that RPBWRes attained the highest relative importance in the AdaBoost model for sleep stage classification. These findings highlight the significance of respiration in distinguishing between sleep stages, with these alterations effectively captured through HRV spectral analysis in the RPBWRes parameter. The influence of respiration is further supported by the analysis of RPHF and LFn(influenced by activity in HF), which also reflects respiratory activity and reached high relative importance as well. The increased activity in HF and BWRes in NREM compared to wake and REM sleep in non-apneic segments evidenced an excitation of PNS in NREM compared to the other two stages evaluated. However, when these segments accounted with apneic events, it occurs a reduction in PNS activity (decreased RPBWRes and RPHF), reaching levels similar to REM in 5 ≤apneic events <10 e/s and ≥10 e/s segments. As a result of this decline, both features showed small or negligible effects sizes when differentiating NREM from REM. On the other hand, the increased presence of apneic events leads to RPBW2allowing to differentiate activity of severity segments between NREM and REM, and reaching large effect sizes between NREM and REM for the 5 ≤apneic events <10 e/s and ≥10 e/s segments. This result highlights the significance of BW2 to differentiate NREM and REM in presence of apneic events. Therefore, through these findings we have shown that both BWRes and BW2 novel OSA-specific frequency bands play crucial roles in differentiating sleep stages through HRV analysis in pediatric OSA context.
90 Chapter 6. Discussion 6.2 Clinical utility of HRV characterization In the previous section, the clinical relevance of HRV characterization in reflecting the effects of OSA treatment through the CMA analysis performed in Martín- Montero et al. (2022) was discussed, highlighting the potential of analyzing BW2 as a biomarker for OSA resolution. Additionally, the three remaining research works in the compendium of publications have examined the clinical applicability of HRV characterization for diagnosing pediatric OSA, and also to automatically classify sleep stages in Martín-Montero et al. (2023). 6.2.1 Diagnostic performance This Doctoral Thesis conducted various approaches to evaluate the ability of HRV characterization in diagnosing pediatric OSA. In Martín-Montero et al. (2021b), we compared the diagnostic ability of overnight HRV spectral analysis using classic frequency bands against OSA-specific frequency bands, performing binary classification based on the three commonly used AHI severity thresholds. In Martín-Montero et al. (2021a), we used the FCBF algorithm to develop two optimal subsets of HRV features. This study followed a similar approach to the first one, even using the same database and training/test division but focusing on bispectral analysis. Lastly, in Martín-Montero et al. (2023), we assessed the clinical utility of HRV segment characterization in diagnosing pediatric OSA by optimizing an LSBoost regression model to estimate AHI, also performing binary classification in the three AHI severity cutoff later. First of all, it is important to note that in both Martín-Montero et al. (2021b) and Martín-Montero et al. (2021a), the machine-learning models constructed by combining HRV features (LDA and MLP, respectively) outperformed the individual diagnostic performance of each feature. This highlights the usefulness of the feature-engineering approaches to integrate HRV information and aid in the diagnosis of pediatric OSA. For comparison purposes, Table 6.1 presents the results obtained by the machine-learning models developed in the three studies. Regarding intra-study comparisons, the LDA model constructed with HRV features from the novel OSA-specific frequency band outperformed the diagnostic yield of the model using classic HRV features across all three AHI cutoffs, only being surpassed in terms of Spin the 1 e/h threshold but showing a stronger unbalanced in the Se/Sp pair. Concerning bispectral feature models, consistent with the spectral analysis, the OSA-related region features models generally outper-
6.2. Clinical utility of HRV characterization 91 Table 6.1. Diagnostic yield achieved by the different machine-learning models through the studies from the present Doctoral Thesis in the three AHI severity thresholds. All results were obtained on the test set corresponding to each study, i.e., nonrandomized group from CHAT database in Martín-Montero et al. (2021b) and Martín-Montero et al. (2021a), and a subgroup formed by the different groups from CHAT database in Martín-Montero et al. (2023). Threshold: AHI = 1 e/h Study Model Se Sp Acc PPV NPV LR+LR−AUC F1-score Martín-Montero et al. (2021b) LDAClassic 25.70 81.30 44.50 72.90 35.90 1.37 0.91 0.559 0.326 LDASpeci f ic 37.70 80.10 52.00 78.80 39.70 1.89 0.778 0.597 0.437 Martín-Montero et al. (2021a) MLP1Classic 52.30 59.40 54.70 71.58 38.87 1.29 0.80 0.600 0.535 MLP1Speci f ic 76.30 38.30 63.40 70.74 45.16 1.24 0.62 0.627 0.693 Martín-Montero et al. (2023)LSBoost 90.76 23.40 80.07 86.26 32.35 1.18 0.39 0.651 0.885 Threshold: AHI = 5 e/h Study Model Se Sp Acc PPV NPV LR+LR−AUC F1-score Martín-Montero et al. (2021b) LDAClassic 46.40 72.20 68.40 22.50 88.60 1.67 0.74 0.633 0.553 LDASpeci f ic 48.20 80.80 76.00 30.30 90.00 2.51 0.64 0.696 0.590 Martín-Montero et al. (2021a) MLP5Classic 50.90 86.20 81.00 39.04 91.00 3.69 0.570 0.774 0.625 MLP5Speci f ic 62.50 84.20 81.00 40.70 92.82 3.96 0.45 0.791 0.706 Martín-Montero et al. (2023)LSBoost 66.67 61.17 63.18 49.66 76.16 1.72 0.54 0.677 0.569 Threshold: AHI = 10 e/h Study Model Se Sp Acc PPV NPV LR+LR−AUC F1-score Martín-Montero et al. (2021b) LDAClassic 50.70 75.30 73.10 17.10 93.80 2.05 0.65 0.685 0.599 LDASpeci f ic 62.30 84.30 82.30 28.50 95.70 3.97 0.45 0.774 0.709 Martín-Montero et al. (2021a) MLP10Classic 43.50 96.50 91.70 55.56 94.45 12.43 0.59 0.847 0.590 MLP10Speci f ic 66.70 91.60 89.30 44.23 96.48 7.94 0.36 0.841 0.764 Martín-Montero et al. (2023)LSBoost 40.00 92.03 84.12 47.37 89.53 5.02 0.65 0.742 0.434 AHI: apnea-hypopnea index, Se: sensitivity (%), Sp: specificity (%), Acc: accuracy (%), PPV: positive predictive value (%), NPV: negative predictive value (%), LR+: positive likelihood ratio, LR−: negative likelihood ratio, AUC: area under receiver-operating characteristic curve, LDA: linear discriminant analysis, MLP: multi-layer perceptron, LSBoost: least-squares boosting. formed the classic ones. At the AHI = 1 e/h cutoff, MLP1Speci f ic achieved higher Acc and AUC than MLP1Classic, albeit with an imbalanced Se/Sp pair. At the AHI = 5 e/h threshold, both models achieved the same Acc, but MLP5Speci f ic reached higher AUC and a more balanced Se/Sp pair. In the highest severity threshold, the MLP10Classic model achieved the topmost Acc and AUC values among the models in the study. However, MLP10Speci f ic achieved a more balanced Se/Sp pair at the expense of a slight decrease in Acc and AUC (see Table 6.1), also outperforming MLP10Classic model in terms of NPV,F1−score and LR−. These findings further support the notion that OSA-specific frequency bands in HRV analysis provide more specific information about pediatric OSA compared to the
92 Chapter 6. Discussion classic features utilized so far. Finally, in the last study, the diagnostic yield of the LSBoost model improved with increasing OSA severity but yielded moderate overall diagnostic performance. Therefore, the optimal approach to leverage the LSBoost model would involve implementing an automated methodology to exclude the presence of OSA in its most severe form, as it achieved a Sp of 92.03% and NPV of 89.53% at the AHI 10 e/h cutoff, along with detecting the presence of OSA in its mildest form, with a Se of 90.76% and PPV of 86.26% in the lowest severity threshold. Although the first two studies followed a whole-night HRV approach for pediatric OSA diagnosis, and the last study focused on segment-level analysis, all three studies conducted per-subject binary classification using the three AHI severity thresholds, allowing for comparison diagnostic performance results across the studies (see Table 6.1). The first two studies involved the UofC dataset as the training set and the nonrandomized group from CHAT database as the test set. When considering Acc and AUC as overall performance metrics, it is evident that the MLP models developed in the bispectral approach outperformed the LDA models using spectral analysis, consistently achieving the highest diagnostic yield throughout the entire Doctoral Thesis at the severity thresholds of 5 and 10 e/h. To address the possibility that this improvement could be attributed to the utilization of more sophisticated machine-learning techniques, Appendix B in Martín-Montero et al. (2021a) demonstrated that even with LDA models, the bispectral approach still outperformed spectral analysis. Hence, we propose that this improvement may also be attributed to the ability of bispectral analysis to capture the nonlinear dynamics present in overnight HRV in the presence of OSA, which are lost in spectral analysis. As mentioned, the overall diagnostic performance of the LSBoost model at the 5 and 10 e/h AHI cutoffs was lower than that of the MLP models. Notwithstanding, the LSBoost model achieved the highest diagnostic yield across the studies at the 1 e/h severity threshold in terms of Se,Acc,PPV,AUC, and F1−score, thus reinforcing the notion of the clinical utility of the LSBoost model constructed at the segment level to recognize OSA even in its mildest severity degree. 6.2.2 Automatic classification of sleep stages In addition to evaluating the clinical usefulness of HRV segment characterization for pediatric OSA diagnosis in Martín-Montero et al. (2023), this study also aimed to assess the ability of this methodology to classify sleep stages as W, NREM,
6.3. Comparison with previous research works 93 or REM sleep using an AdaBoost model. Initially, it is evident that the performance metrics for sleep stage classification surpass those of the OSA diagnostic approach (see Figure 5.9), reaching significantly higher multiclass classification metrics in terms of Cohen’s k(0.499 versus 0.166) and accuracy (Acc3= 71.82% versus Acc4= 41.89%). Among the sleep stages considered,the AdaBoost model reached the highest overall classification yield in NREM sleep (see Table 5.8), achieving a recall of 72.08% and precision of 94.55%. These findings are coherent with the results obtained during the characterization stage, where NREM sleep exhibited the greatest differences between severity segments. In the light of the results achieved in Martín-Montero et al. (2023), we suggested a potential two-stage clinical application using a single-channel approach in the context of pediatric OSA and based on a segment-level HRV characterization. The first stage would focus on detecting NREM segments through HRV analysis, given its superior performance metrics. Subsequently, the second stage would involve estimating AHI based on these NREM segments, as those were the segments that allowed for the best differentiation. 6.3 Comparison with previous research works To delve into the significance, novelty, and robustness of the findings obtained in this Doctoral Thesis, this section offers a comprehensive comparison with previous studies that have examined HRV in the context of pediatric OSA. Firstly, we present a comparison of our results with previous studies that have characterized HRV in pediatric OSA. Next, we compare our findings with prior research that has investigated the effects of OSA treatment on HRV. Lastly, we provide a comparison of the performance achieved in several research works that have employed cardiovascular signals for diagnosing pediatric OSA and classifying sleep stages. 6.3.1 Characterization of HRV in pediatric OSA context To the best of our knowledge, the research conducted by us in Martín-Montero et al. (2021b) represented the first work to identify HRV frequency bands specifically associated with pediatric OSA. Similarly, the application of bispectral HRV analysis in the context of pediatric OSA, as carried out in Martín-Montero et al. (2021a), was a novel approach. However, it is important to acknowledge the similarities between our work and previous studies that characterized overnight HRV
94 Chapter 6. Discussion using conventional parameters (i.e., temporal measures, such as mHR, SDNN or RMSSD, and spectral activity, measured as the relative power in the classic frequency ranges). The main findings of these previous studies have been collected in Table 6.2. The existing literature consistently reports an increase in LF activity and LF/HF ratio, along with a decrease in HF activity as the severity of OSA increases (Baharav et al.,1999;Horne et al.,2018;Liao et al.,2010a,b;Van Eyck et al.,2016;Walter et al.,2013). Moreover, prior studies have analyzed the effects of OSA on the ANS, showing incremented SNS activation due to intermittent hypoxia and hypercapnia (Narkiewicz and Somers,1997;Somers et al.,1998), as well as altered autonomic reactivity during wakefulness in children, indicating that the effects of OSA extend after the sleep period (O’Brien and Gozal,2005). These findings are coherent with the spectral analysis conducted and presented in Table 5.1, providing further support to the existing evidence that pediatric OSA disrupts HRV by elevating SNS activity and reducing PNS activity, leading to defective cardiac autonomic regulation. Furthermore, the lack of differences observed in RPVLF (as shown in Table 5.1) was also reported in prior studies evaluating this frequency band (Gil et al.,2009;Kwok et al.,2011). The segment-level characterization of HRV considering both sleep stages and the presence of apneic events was performed for the first time in the context of pediatric OSA in Martín-Montero et al. (2023). Nevertheless, it is possible to make comparisons with previous works that analyzed the behavior of classic HRV features across sleep stages. Kontos et al. (2020) examined HRV segments during sleep stages in healthy children and adolescents, obtaining comparable results to our findings in the absence of apneic events. They reported similar trends for mHR, which is actually the inverse of mean NN (the metric they evaluated), RPLF, and RPHF compared to our results in Figures 5.6 and 5.7 for non-apneic segments. Some previous studies comparing HRV segments between children with and without OSA excluded segments containing apneic events from their analysis, focusing solely on non-apneic segments. In this regard, three studies (Liao et al.,2010b;Vlahandonis et al.,2014;Walter et al.,2013) agreed in reporting a decrease in RPHF from NREM to REM in all severity groups evaluated (healthy, primary snorers, mild OSA, and moderate-severe OSA children). We observed a similar decrease in RPHF for non-apneic segments in our results (see Figure 5.7). Likewise, the study by Nisbet et al. (2013) evaluated HRV classical features across sleep stages, comparing different OSA severity groups while excluding apneic events from their analysis. They informed no differences in RPLF between groups, suggesting that the disease may not cause autonomic dysfunction in pre-
6.3. Comparison with previous research works 95 Table 6.2. Methodological summary of the state-of-the-art research works focused on the characterization of HRV in pediatric OSA context, along with their relevant findings. Study Aim Methodology Sleep stage Relevant findings Baharav et al. (1999)OSA effects on HRV Spectral analysis W, LS, SWS, REM Higher LF and LF/HF with OSA in all sleep stages Horne et al. (2018)OSA effects on HRV Spectral analysis W, N1, N2, N3, REM In NREM for OSA children, higher HR versus controls, and lower HF and higher LF versus normal weight PS Liao et al. (2010a)OSA effects on HRV Spectral and temporal analysis SDB decreased HF, RMSSD, SDNN and increased LF/HF and HR Liao et al. (2010b)OSA effects on HRV Spectral and temporal analysis W, NREM, REM Lower HF in SDB vs controls in REM. Overall decrease in HF and RMSSD from NREM to REM Van Eyck et al. (2016)OSA effects on HRV Spectral and temporal analysis Increase in LF/HF and mHR with OSA severity Walter et al. (2013)OSA effects on HRV Spectral analysis W, LS, SWS, REM In REM, all SDB severities showed lower LF and HF than controls. Overall decrease in LF and HF, and increase in LF/HF from NREM to REM Narkiewicz and Somers (1997)OSA effects on the ANS ANS evaluation during hypoxia and hypercapnia W, NREM, REM Increased SNS due to intermittent hypoxia and hypercapnia, more marked during REM Somers et al. (1998)OSA effects on the ANS ANS evaluation during hypoxia and hypercapnia Sympathoexcitation due to hypoxia and hypercapnia, more marked in apnea subjects O’Brien and Gozal (2005)OSA effects on the ANS Pulse arterial tonometry analysis in SDB children Wakefulness SDB children presented increased SNS activity during wakefulness, reflecting altered ANS regulation Gil et al. (2009)OSA effects on HRV Spectral analysis Increased sympathetic activity during DAP events. Absence of differences in VLF Kwok et al. (2011)OSA effects on HRV Spectral and temporal analysis Wakefulness No differences between OSA and controls in the frequency domain. Only pNN50 lower in OSA Kontos et al. (2020)HRV segments analysis Spectral and temporal analysis N1, N2, N3, REM In healthy children, decreased mNN and HF, and increased LF from NREM to REM Vlahandonis et al. (2014)OSA effects on HRV Spectral analysis LS, SWS, REM In all groups, increase in LF and LF/HF, and decrease in HF from NREM to REM. Also, reduced LF, HF and increase LF/HF four years later Nisbet et al. (2013)OSA effects on HRV Spectral and temporal analysis W, LS, SWS, REM Absence of differences in LF between groups, suggesting no autonomic dysfunction Wu et al. (2022)OSA effects on HRV Spectral and temporal analysis W, N1, N2, N3, REM In all sleep stages, higher mHR and LF/HF for OSA children Martín-Montero et al. (2021a)OSA effects on HRV OSA-specific spectral analysis Three novel OSA-specific frequency bands (BW1. BW2 and BWRes) provided improved characterization of pediatric OSA Martín-Montero et al. (2021b)OSA effects on HRV Bispectral analysis Two bispectral features subsets with complementary information about alterations in non- Gaussianity, nonlinearity and irregularity HRV behavior due to OSA Martín-Montero et al. (2023) OSA effects on HRV segments Spectral and temporal analysis W, NREM, REM Basal sympathetic activity during REM mask sympathetic activation during apneic events, which are better differentiated during NREM OSA: Obstructive sleep apnea, W: wake, LS: light sleep, SWS: slow wave sleep, REM: rapid eye movement, LF: low frequency, HF: high frequency, HR: heart rate, PS: primary snorers, SDB: sleep-disordered breathing, RMSSD: root mean square of beat-to-beat differences, SDNN: standard deviation of NN intervals, NREM: non-rapid eye movement, ANS: autonomic nervous system, DAP: decreases in the amplitude fluctuations of PPG, pNN50: percentage of differences between adjacent NN intervals that are over50 msec, VLF: very low frequency.
96 Chapter 6. Discussion school children. Notwithstanding, we found strong evidence of autonomic dysfunction in the presence of OSA, with apneic events modulating HRV activity. Therefore, the exclusion of events from their analysis may explain the lack of differences, thus supporting our approach in Martín-Montero et al. (2023), where we evaluated the appearance of apneic events to assess alterations in HRV throughout the night. On the other hand, there are other studies in the literature that included apneic events but combined segments with and without them in their analysis to evaluate HRV activity across sleep stages. Despite this difference, some similarities have been found. Baharav et al. (1999) examined HRV across sleep stages in healthy and OSA children, reporting greater RPLF and LF/HF in all sleep stages, aligning with our results for these features as the presence of apneic events increased. Horne et al. (2018) informed elevated HR in overweight OSA children compared to healthy children, as well as reduced RPHF in normal weight primary snorers within NREM. Similarly, they found greater RPLF in OSA children compared to overweight primary snorers. Considering that the presence of apneic events in the HRV segments analyzed for healthy children and primary snorers is significantly low, these results align with the trends observed in our study for those parameters as severity of the segments increased. Finally, in a recent study conducted by Wu et al. (2022) they obtained similar results to ours when studying HRV segments across sleep stages in healthy and OSA children, reporting increased mHR and LF/HF for OSA children in all sleep stages. 6.3.2 Evaluation of pediatric OSA treatment effects on HRV The design of the CHAT sleep study provided a suitable framework for numerous researchers to investigate the effects of pediatric OSA treatment in a broad set of biomedical signals, cardiovascular measures, and so on. However, prior to its conception, several studies also examined the impact of pediatric OSA treatment on HRV signal, primarily focusing on AT. Table 6.3 presents the main findings achieved in these previous research works. In a prospective trial, ¸Saylan et al. (2011) assessed HRV differences between 15 OSA children who underwent AT and 15 healthy children, revealing altered HRV in OSA children before AT that remained unchanged after the surgical procedure. In contrast to these findings, Kaditis et al. (2011) reported a reduction in RPLF, mainly representing a decrease in sympathetic tone, when comparing HRV activity before and after AT in 21 OSA children. In disagreement with the previous two studies, Muzumdar et al. (2011), who analyzed 18 OSA children, observed an increase in RPLF and RPHF
6.3. Comparison with previous research works 97 Table 6.3. Methodological summary of the state-of-the-art research works focused on the evaluation of the effects of pediatric OSAS treatment on HRV, along with their relevant findings. Study Aim Methodology Relevant findings ¸Saylan et al. (2011)AT effects on HRV Spectral analysis All spectral featured in OSA children altered before surgical process. Those parameters remained altered following AT Kaditis et al. (2011)AT effects on HRV Spectral analysis and BNP levels Increased mRR intervals and decreased BNP levels after AT Muzumdar et al. (2011)AT effects on HRV Spectral and temporal analysis Decrease in HR and LF/HF following AT, reflecting a decline in the proportion of sympathetic activity with OSA improvement Kirk et al. (2020) Noninvasive ventilation effects on HRV Spectral and temporal analysis 12-months noninvasive ventilation resulted in decrease in HR and no changes in HRV features Isaiah et al. (2020)OSA treatment effects on HRV Spectral and temporal analysis Changes founded in classic HRV features were not causally attributable to treatment effects Martín-Montero et al. (2022) OSA treatment effects on HRV Spectral and temporal analysis OSA treatment affects HRV through changes in severity and OSA resolution, mainly in OSA-specific BW2 frequency band AT: adenotonsillectomy, OSA: obstructive sleep apnea, BNP: brain natriuretic peptide blood, mRR: mean of RR intervals, HR: heart rate, LF/HF: low frequency/high frequency ratio. after AT, being greater in HF as also observed a decrease in LF/HF ratio. A more recent study conducted by Kirk et al. (2020) in 12 children with obesity also reported changes in LF/HF ratio following treatment with noninvasive ventilation, but only when assessing HRV around arousal events, with no overall changes in HRV observed 12 months after treatment application. As can be observed, there are discrepancies in the existing literature regarding the effects of pediatric OSA treatment on HRV activity. Among all the previously reported results in classic HRV parameters, our findings are only consistent with the observed increase in LF activity after surgical treatment reported by Muzumdar et al. (2011) (see Supplemental Figure S4 from Martín-Montero et al. (2023)). Nevertheless, it is important to note that there are several methodological differences between those studies and our research conducted in Martín-Montero et al. (2023). Notably, our study analyzed a significantly larger population from a multicenter database, thereby enhancing the robustness and generalizability of our findings. Finally, it is worth comparing our study with the previous work conducted by Isaiah et al. (2020), as they performed a similar CMA to assess the effects of pediatric OSA treatment on classical HRV features using the CHAT database. Interestingly, they reported no treatment effects on classical HRV features, regard-
104 Chapter 6. Discussion lead to changes in sleep architecture and may not fully represent the usual sleep pattern of the children (Álvarez et al.,2017;Kheirandish-Gozal,2010). Homebased respiratory polygraphy has been shown to be a feasible alternative for diagnosing pediatric OSA (Alonso-Álvarez et al.,2015;Chiner et al.,2020). Therefore, to ensure the reproducibility of the findings in this Doctoral Thesis, future studies should include the analysis of at-home OSA databases in children.
Chapter 7 Conclusions The four studies conducted during the course of this Doctoral Thesis share a common focus: the comprehensive characterization of ANS alterations resulting from pediatric OSA from HRV analysis. To achieve this objective, automatic signal processing methodologies based in novel HRV features were designed, implemented, and assessed. Specifically, OSA-related HRV features in the spectral and bispectral domain were proposed to investigate cardiac behavior in the presence of OSA and assess the effects of OSA treatment. Additionally, the clinical utility of these new HRV features was evaluated by using machine-learning models for the automatic diagnosis of pediatric OSA and the classification of sleep stages. The findings demonstrated that the newly proposed HRV features reflect ANS alterations associated with pediatric OSA, with these features being useful to evaluate the effects of OSA treatment and to aid in the diagnosis of the disease. Section 7.1 of this chapter highlights the primary contributions made in the research. Subsequently, Section 7.2 presents the conclusions drawn from the findings of this Doctoral Thesis. Lastly, in Section 7.3, future research lines are stated. 7.1 Contributions The primary contributions offered by the compendium of publications presented in this Doctoral Thesis are detailed below: 1) Definition of three novel pediatric OSA-specific spectral bands: BW1 (0.001-0.005 Hz), BW2 (0.028 - 0.074 Hz) and BWRes (0.04 Hz around maximum value within HF). These frequency ranges have been identified and thoroughly characterized, demonstrating their potential usefulness in as- 105
106 Chapter 7. Conclusions sessing HRV alterations and treatment outcomes. These new approaches also outperformed conventional methods in diagnosing pediatric OSA. 2) Characterization of HRV through bispectral features in the context of pediatric OSA. To the best of our knowledge, this is the first research to use bispectral HRV analysis for the characterization and diagnosis of pediatric OSA. It enabled the extraction of two distinct feature subsets, one from the regions bounded by the classic HRV frequency ranges, and the other one from the OSA-specific bispectral regions. Those feature subsets provided complementary and non-redundant information about the changes in the non-Gaussianity, nonlinearity, and irregularity patterns of HRV in the presence of OSA. Additionally, a novel bispectral parameter, RPDiag, has been introduced. 3) Establishment of causality relationships between changes in HRV metrics and OSA treatment effects. As far as we are concerned, this is the first study to attribute changes in HRV features directly to treatment effects, as measured by alterations in polysomnographic indices or the resolution of the disease. The findings from this analysis have led to the identification of BW2 as a potential biomarker of pediatric OSA resolution. 4) HRV segment characterization considering sleep stages and presence of apneic events. To the best of our knowledge, this is the first study to conduct a segment-level analysis of HRV behavior taking into account sleep stages and apneic events in pediatric OSA context. The evolution of novel OSA-specific HRV parameters through sleep stages have also been introduced in this research. 5) Evaluation of novel machine-learning models to diagnose pediatric OSA. Although the machine-learning methodologies applied in this Doctoral Thesis are not new, the models developed, as well as its application in the context of pediatric OSA are a novelty. These models utilize various types of novel HRV features, including spectral features for binary classification (LDA), bispectral features for binary classification (two MLP models), and classic as well as OSA-specific HRV features from 10-minute segments for regression (LSBoost). 6) Evaluation of a machine-learning model to classify sleep stages using HRV features in pediatric OSA population. Although it was previously
7.2. Conclusions 107 evaluated in healthy population, to the best of our awareness, this is the first time that a machine-learning model (AdaBoost) has been developed solely based on HRV features for the purpose of automatically classifying sleep stages in pediatric OSA context. 7) Evaluation of XAI techniques through feature importance metrics in the ensemble-learning model developed. To the best of our knowledge, this is also the first time that feature importance has been assessed in models aimed at diagnosing pediatric OSA (relative importance with the LSBoost model), and classifying sleep stages (LIME with the AdaBoost model). This evaluation has revealed that two of the novel HRV spectral features (RPBW2 and RPBWRes) hold the highest importance in these two tasks, increasing the explainability of the ensemble-learning models developed. 7.2 Conclusions In the previous sections, we have performed a thorough evaluation and discussion regarding the outcomes reached in this Doctoral Thesis. Thus, it facilitates the extraction of the principal conclusions, which are detailed here: 1) Novel pediatric OSA-specific HRV frequency band BW1 (0.001-0.005 Hz) is associated with macro sleep disruptions resulting from OSA, measured as WASO time and the number of awakenings during night. The treatment of this condition induces changes within this spectral range, which can be attributed to alterations in the OAHI. 2) Novel pediatric OSA-specific HRV frequency band BW2 (0.028-0.074 Hz) is strongly associated with the duration of apneic events. Treatment interventions for OSA result in changes within this frequency range, primarily driven by alterations in OSA severity, with decreases in the activity of this band reflecting a decrease of the severity. Furthermore, it was the only spectral band where changes were causally mediated by OSA resolution and allows to differentiate HRV activity between children with and without OSA resolution. Accordingly, it has been proposed as a potential biomarker of pediatric OSA resolution. Moreover, when considering only the HRV signal, this OSA-specific frequency band has proven to be highly valuable in automated diagnosis of pediatric OSA. 3) Novel individual pediatric OSA-specific HRV frequency band BWRes (0.04
108 Chapter 7. Conclusions Hz around individual respiratory peak) is related to oxygen desaturations and micro sleep disruptions. Treatment interventions for OSA induce changes within this frequency band, driven by variations in arousal indices. Moreover, this OSA-specific frequency band has proven to be highly useful in automatically classifying sleep stages in pediatric OSA using the HRV signal. 4) The findings from the bispectral analysis revealed that pediatric OSA is associated with increased linearity and Gaussianity of the HRV signal at very low frequencies. Additionally, the occurrence of apneic events induces a shift in the coupling pattern of overnight HRV, transitioning from frequencies below 0.02 Hz to higher frequencies, related to the duration of those events. Furthermore, the presence of OSA leads to a decrease in HRV irregularity at frequency components associated with BW2 and LF frequency ranges, while there is an increase in irregularity in frequency components associated with respiration. 5) Pediatric OSA leads to elevated sympathetic activity, which is evident in HRV patterns during the night. It is anticipated that sympathetic activity would be higher during the REM sleep stage due to the increased occurrence of apneic events in this stage. Surprisingly, the underlying sympathetic excitation resulting from apneic events appears to be masked by the basal sympathetic activation observed during REM sleep. Therefore, it becomes easier to discern these OSA-related alterations in HRV when analyzing data from NREM sleep stage. Consequently, we emphasize the significance of considering the presence of apneic events together with sleep stages when assessing HRV changes in the context of pediatric OSA. 6) The HRV analysis methods developed in this Doctoral Thesis have demonstrated their utility in aiding to the diagnosis of pediatric OSA. The MLP models, constructed using optimal bispectral feature subsets, achieved the highest performance for the AHI severity thresholds of 5 (Acc =81%, AUC =0.791) and 10 e/h (Acc =91.70%, AUC =0.847). The LSBoost model, on the other hand, exhibited the highest performance for the AHI severity cutoff of 1 e/h (Acc =80.07%, AUC =0.651), emphasizing the effectiveness of segment-level characterization in detecting the presence of OSA, even in its mildest form. Based on the aforementioned considerations, it can be concluded that the
7.3. Future research lines 109 characterization of HRV using the novel indices developed during the realization of the present Doctoral Thesis, and computed across the new pediatric OSA- specific frequency bands, enable a more specific assessment of the ANS alterations with OSA. In addition, the inclusion of these indices in pediatric OSA studies have the potential to contribute to the simplification of the diagnosis of the disease. 7.3 Future research lines Throughout the completion of this Doctoral Thesis, several issues have emerged that warrant further investigation in order to enhance our understanding and complementing the work presented here. Next, the following areas are identified as potential directions for future research to complement and expand upon our current findings: 1) The evaluation of the automatic signal processing methods stratifying by subgroups of children with diverse clinical and demographic characteristics, such as age, BMI, and gender. This approach will enable the identification of specific subgroups where optimal results can be attained. 2) To enhance the reliability and generalizability of our results, it is suggested to validate the developed methodology using ECG signals acquired through portable devices in an at-home approach. This validation will enable us to assess the performance of our methodology in a real-world setting, outside of a laboratory environment, thereby increasing the applicability and practicality of our findings. 3) Integration of the HRV signal with feature-extraction techniques from the EDR. The EDR signal offers a non-invasive means of monitoring respiration activity directly from the ECG, without the need for dedicated respiratory signals. By combining the information extracted from HRV with that obtained from the EDR, we can assess the complementary nature of these signals and potentially develop a unified approach for diagnosing pediatric OSA. This is particularly advantageous as both signals are derived from the ECG, simplifying the diagnostic process. 4) Another important future area for investigation is the assessment of the clinical utility of the HRV characterization conducted in this Doctoral Thesis for evaluating cardiovascular risks. This evaluation holds significance due
110 Chapter 7. Conclusions to the established association between cardiovascular risk and OSA. By examining the HRV features proposed in this research, we can gain insights into the cardiovascular effects of OSA and explore potential strategies to mitigate these effects. 5) The marked differences in the presence and duration of apneic events, along with the differences in the respiratory patterns between children and adult make inefficiently the application in adult population of the pediatric OSA- specific frequency bands developed during the realization of this Doctoral Thesis. However, the replication of the methodology followed to the identification of our novel bands of interest using an adult cohort would allow to unravel adult HRV OSA-specific frequency bands to gain insights into the characterization of the alterations in the ANS due to OSA in adults. 6) The inclusion of non-linear parameters would be valuable to explore in future research. These types of features have proven their usefulness in pediatric OSA context when applied to other biological signals. Accordingly, the implementation of features such as central tendency measure, Lempel-Ziv complexity, or sample entropy, would complement the feature-extraction techniques implemented in this research, while providing new insights into the ANS behavior in the context of pediatric OSA. 7) Finally, the utilization of novel deep-learning techniques, which are becoming increasingly important in the field of healthcare, can enhance the diagnostic capabilities of HRV. Deep-learning methods are typically applied to raw data, and their integration with advanced XAI techniques could be crucial for obtaining deeper insights into the impact of OSA on cardiac behavior. The incorporation of these approaches also would improve and maximize the diagnostic performance reached for pediatric OSA. In conclusion, this Doctoral Thesis focused on providing a comprehensive understanding of the ANS behavior in the context of pediatric OSA through HRV analysis. The applied methodology enabled us to ascertain that the assessment of HRV signals using novel pediatric OSA-specific spectral bands and features presented in this research offers a more specific evaluation of ANS alterations. Consequently, it has the potential to streamline the diagnosis of OSA in children.
Chapter 8 Papers included in the compendium of publications
112 Chapter 8. Papers included in the compendium of publications Martín-Montero et al. (2021b): Heart rate variability spectrum characteristics in children with sleep apnea. DOI: 10.1038/s41390-020-01138-2 Adrián Martín-Montero, Gonzalo C. Gutiérrez-Tobal, Leila Kheirandish-Gozal, Jorge Jiménez-García, Daniel Álvarez, Félix del Campo, David Gozal, and Roberto Hornero. Pediatric Research, vol. 89 (7), p. 1771-1779, 2021. Impact factor in 2021: 3.953, Q1 in “PEDIATRICS” (JCR-WOS). Abstract: Background: Classic spectral analysis of heart rate variability (HRV) in pediatric sleep apnea-hypopnea syndrome (SAHS) traditionally evaluates the very low frequency (VLF: 0-0.04 Hz), low frequency (LF: 0.04–0.15 Hz), and high frequency (HF: 0.15–0.40 Hz) bands. However, specific SAHS-related frequency bands have not been explored. Methods: One thousand seven hundred and thirty-eight HRV overnight recordings from two pediatric databases (0–13 years) were evaluated. The first one (981 children) served as training set to define new HRV pediatric SAHS-related frequency bands. The associated relative power (RP) were computed in the test set, the Childhood Adenotonsillectomy Trial database (CHAT, 757 children). Their relationships with polysomnographic variables and diagnostic ability were assessed. Results: Two new specific spectral bands of pediatric SAHS within 0–0.15 Hz were related to duration of apneic events, number of awakenings, and wakefulness after sleep onset (WASO), while an adaptive individual-specific new band from HF was related to oxyhemoglobin desaturations, arousals, and WASO. Furthermore, these new spectral bands showed improved diagnostic ability than classic HRV. Conclusions: Novel spectral bands provide improved characterization of pediatric SAHS. These findings may pioneer a better understanding of the effects of SAHS on cardiac function and potentially serve as detection biomarkers.
113 Martín-Montero et al. (2021a): Bispectral Analysis of Heart Rate Variability to Characterize and Help Diagnose Pediatric Sleep Apnea. DOI: 10.3390/e23081016 Adrián Martín-Montero, Gonzalo C. Gutiérrez-Tobal, David Gozal, Verónica Barroso-García, Daniel Álvarez, Félix del Campo, Leila Kheirandish-Gozal, and Roberto Hornero. Entropy, vol. 23 (8), p. 1016, 2021. Impact factor in 2021: 2.738, Q2 in “PHYSICS, MULTIDISCIPLINARY” (JCR-WOS). Abstract: Pediatric obstructive sleep apnea (OSA) is a breathing disorder that alters heart rate variability (HRV) dynamics during sleep. HRV in children is commonly assessed through conventional spectral analysis. However, bispectral analysis provides both linearity and stationarity information and has not been applied to the assessment of HRV in pediatric OSA. Here, this work aimed to assess HRV using bispectral analysis in children with OSA for signal characterization and diagnostic purposes in two large pediatric databases (0–13 years). The first database (training set) was composed of 981 overnight ECG recordings obtained during polysomnography. The second database (test set) was a subset of the Childhood Adenotonsillectomy Trial database (757 children). We characterized three bispectral regions based on the classic HRV frequency ranges (very low frequency: 0–0.04 Hz; low frequency: 0.04–0.15 Hz; and high frequency: 0.15–0.40 Hz), as well as three OSA-specific frequency ranges obtained in recent studies (BW1: 0.001–0.005 Hz; BW2: 0.028–0.074 Hz; BWRes: a subject-adaptive respiratory region). In each region, up to 14 bispectral features were computed. The fast correlation-based filter was applied to the features obtained from the classic and OSA-specific regions, showing complementary information regarding OSA alterations in HRV. This information was then used to train multi-layer perceptron (MLP) neural networks aimed at automatically detecting pediatric OSA using three clinically defined severity classifiers. Both classic and OSA-specific MLP models showed high and similar accuracy (Acc) and areas under the receiver operating characteristic curve (AUCs) for moderate (classic regions: Acc = 81.0%, AUC = 0.774; OSA-specific regions: Acc = 81.0%, AUC = 0.791) and severe (classic regions: Acc = 91.7%, AUC = 0.847; OSA-specific regions: Acc = 89.3%, AUC = 0.841) OSA levels. Thus, the current findings highlight the usefulness of bispectral analysis on HRV to characterize and diagnose pediatric OSA.
120 Appendix A. Scientific achievements trum to assess relationships between paediatric sleep apnoea and cognition", XV Mediterranean Conference on Medical and Biological Engineering and Computing (MEDICON 2019), ISSN: 1680-0737, pp. 1138-1146, Coimbra (Portugal), September 26 - September 28, 2019 , DOI: 10.1007/978-3-030- 31635-8_138. 6. Leila Kheirandish-Gozal, Gonzalo C. Gutiérrez-Tobal, Adrián Martín- Montero, Jesús Poza, Daniel Álvarez, Félix del Campo, David Gozal, Roberto Hornero, "Spectral EEG Differences in Children with Obstructive Sleep Apnea", American Thoracic Society International Conference 2019 (ATS 2019), Dallas (United States), May 17 - May 22, 2019, DOI: 10.1164/ajrccmconference.2019.199.1. 7. Gonzalo C. Gutiérrez-Tobal, Daniel Álvarez, Fernando Vaquerizo-Villar, Verónica Barroso-García, Adrián Martín-Montero, Andrea Crespo, Félix del Campo, Roberto Hornero,"Pulse rate variability analysis to enhance oximetry as at-home alternative for sleep apnea diagnosing", World Congress on Medical Physics & Biomedical Engineering (IUPESM 2018), ISBN: 978-981- 10-9037-0, pp-213-218, Prague (Czech Republic), June 3 - June 8, 2018, DOI: 10.1007/978-981-10-9038-7_39. A.1.3 National conferences 1. Clara García-Vicente, Gonzalo C. Gutiérrez-Tobal, Jorge Jiménez-García, Adrián Martín-Montero, David Gozal, Roberto Hornero, "ECG-ENET: Red neuronal convolucional explicable para la ayuda en el diagnóstico de la apnea del sueño infantil", XLI Congreso Anual de La Sociedad Española de Ingeniería Biomédica (CASEIB 2023), ISBN: 978-84-17853-76-1, pp. 14-17, Cartagena (Spain), November 22 - November 24, 2023. 2. Pablo Armañac-Julián, Adrián Martín-Montero, Jesús Lázaro, Spyridon Kontaxis, Daniel Álvarez, David Gozal, Roberto Hornero, Pablo Laguna, Gonzalo C. Gutiérrez-Tobal, Raquel Bailón, Eduardo Gil, "Caracterización de los Cambios en las Medidas de la HRV durante Episodios de Apnea del Sueño", XL Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2022), ISBN: 978-84-09-45972-8, pp. 448-451, Valladolid (Spain), November 23 - November 25, 2022. 3. Jorge Jiménez-García, Gonzalo C. Gutiérrez-Tobal, María García, Daniel Álvarez, Adrián Martín-Montero, Félix del Campo, Leila Kheirandish-Gozal,
A.1. Publications 121 David Gozal, Roberto Hornero, "Análisis de flujo aéreo y saturación de oxígeno en sangre mediante transformada wavelet para la detección de la apnea obstructiva del sueño infantil", XXXVIII Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2020), ISBN: 978-84-09-25491-0, pp. 315-318, Valladolid (Spain), November 25 - November 27, 2020. 4. Gonzalo C. Gutiérrez-Tobal, Leila Kheirandish-Gozal, Adrián Martín- Montero, Jesús Poza, Daniel Álvarez, Félix del Campo, David Gozal, Roberto Hornero, "Diferencias en el espectro del EEG nocturno en niños con apnea del sueño", XXVII Reunión Anual de la Sociedad Española Del Sueño (SES 2019), Vitoria (Spain), April 11 - April 13, 2019. 5. Adrián Martín-Montero, Gonzalo C. Gutiérrez-Tobal, Daniel Álvarez, Fernando Vaquerizo-Villar, Verónica Barroso-García, Jorge Jiménez-García, Leila Kheirandish-Gozal, Félix del Campo, David Gozal, Roberto Hornero, "Utilidad de nuevas bandas espectrales en la señal de HRV para ayudar en el diagnóstico de la apnea del sueño infantil", XXXVII Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2019), ISBN: 978-84- 09-16707-4, pp. 295-298, Santander (Spain), November 27 - November 29, 2019. 6. Jorge Jiménez-García, Gonzalo C. Gutiérrez-Tobal, María García, Daniel Álvarez, Verónica Barroso-García, Fernando Vaquerizo-Villar, Adrián Martín- Montero, Félix del Campo, Leila Kheirandish-Gozal, David Gozal, Roberto Hornero, "Evaluación de la información espectral de las señales de flujo aéreo y saturación de oxígeno en sangre para la ayuda al diagnóstico de la apnea del sueño infantil", XXXVII Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2019), ISBN: 978-84-09-16707-4, pp. 25-28, Santander (Spain), November 27 - November 29, 2019. 7. Gonzalo C. Gutiérrez-Tobal, Daniel Álvarez, Verónica Barroso-García, Fernando Vaquerizo-Villar, Adrián Martín-Montero, Andrea Crespo, Félix del Campo, Roberto Hornero, "Aplicación de la entropía espectral a la señal de variabilidad de pulso para incrementar el potencial de la oximetría en el diagnóstico de la apnea del sueño a domicilio", XXVI Reunión Anual de la Sociedad Española Del Sueño (SES 2018), Barcelona (Spain), April 26 - April 28, 2018. 8. Adrián Martín-Montero, Gonzalo C. Gutiérrez-Tobal, Jesús Poza, Daniel Álvarez, Fernando Vaquerizo-Villar, Verónica Barroso-García, Saúl J. Ruiz-
122 Appendix A. Scientific achievements Gómez, Leila Kheirandish-Gozal, Félix del Campo, David Gozal, Roberto Hornero, "Caracterización de la apnea del sueño infantil mediante nuevas bandas espectrales del EEG", XXXVI Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2018), ISBN: 978-84-09-06253-9, pp. 249-252, Ciudad Real (Spain), November 21 - November 23, 2018. 9. Saúl J. Ruiz-Gómez, Carlos Gómez, Jesús Poza, Pablo Núñez, Victor Rodríguez-González, Adrián Martín-Montero, Aarón Maturana-Candelas, Roberto Hornero, "Estudio del efecto de la conducción de volumen en medidas de conectividad funcional derivadas de la coherencia", XXXVI Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2018), ISBN: 978-84-09-06253-9, pp. 241-244, Ciudad Real (Spain), November 21 - November 23, 2018. 10. Pablo Núñez, Jesús Poza, Carlos Gómez, Saúl J. Ruiz-Gómez, Adrián Martín-Montero, Miguel A. Tola-Arribas, Mónica Cano, Roberto Hornero, "Estudio de la conectividad neuronal dinámica en la enfermedad de Alzheimer", XXXV Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2017), ISBN: 978-84-9082-797-0, pp. 341-344, Bilbao (Spain), November 29 - December 1, 2017. A.2 International internship Three-month research internship at the Charité - Universitätsmedizin Berlin, Germany. i.Purpose of the internship The main purpose of the three-month research stay was to extend the knowledge in the analysis of cardiovascular signal processing techniques in the context of pediatric OSA through the evaluation of the EDR signal. This signal can be combined with HRV to perform an ECG approach to help in the diagnosis of pediatric OSA. To achieve this goal, the next specific objectives were performed: (1) state-of-the-art revision mainly focused on previous works using EDR signals; (2) development and application of EDR signal processing techniques to extract the respiratory power index (RPI), previously used as an alternative to the AHI in adults; (3) combination of RPI adapted to children with HRV OSA-specific metrics to characterize pediatric OSA; (4) analysis and evaluation of the results obtained.
A.3. National internship 123 ii.Quality indicators of the institutions The internship took place at the International Center of Sleep Medicine (ICSM) of Charité - Universitätsmedizin Berlin, a prestigious research center specializing in signal processing related to sleep disorders. Charité - Universitätsmedizin Berlin is an internationally renowned and multicenter hospital complex with a rich history of over 300 years. It is home to a strong research community consisting of 3700 scientists. Notably, 11 Nobel laureates have been affiliated with the institution. The trainee also collaborated with the Cardiovascular Physics research group at Humboldt University in Berlin during the internship. In 2022, both Charité - Universitätsmedizin Berlin and Humboldt University of Berlin ranked between positions 51 and 75 in the Shanghai Ranking. The internship was supervised by Professor Thomas Penzel, the scientific chair of ICSM, who has an impressive publication record with over 250 JCR articles, book chapters, and books in the field of sleep medicine. He has received numerous prestigious awards, including the "Bial Award" for clinical medicine in Portugal in 2001, the "Bill Gruen Award" for Innovations in Sleep Research by the Sleep Research Society in 2008, and the "Somnus Award" by Schlafmagazin for outstanding service in sleep medicine in 2012. Professor Penzel has also supervised more than 19 Doctoral Theses to date, further demonstrating his expertise in the field. A.3 National internship One-month research internship at the Biomedical Signal Interpretation and Computational Simulation (BSICoS) research group from the University of Zaragoza, Spain. i.Purpose of the internship The primary objective of this research internship was to delve into cardiovascular signal processing techniques, which is a key area of expertise for the BSICoS research group, the host group for the internship. Thus, the purpose of the internship was directly aligned with the main focus of the present Doctoral Thesis. It was part of an intramural project titled Sleepy- Heart, conducted within the Centro de Investigación Biomédica en Red – Bioingeniería, Biomateriales y Nanomedicina (CIBER-BBN), with the aim of developing a screening tool for pediatric OSA using HRV to diagnose severely affected children and identify those at risk of developing cardio-
124 Appendix A. Scientific achievements vascular problems associated with OSA. Therefore, the research project topic was also closely connected to this Doctoral Thesis. Moreover, this research internship also allowed the strengthening of the research collaboration between BSICoS and the Biomedical Engineering Group at the University of Valladolid, where this Doctoral Thesis has been developed. As a result of the primary research conducted during the internship, several publications have emerged, including one JCR article (the fourth in the collection of articles presented here), two international conference papers, and one national conference document authored by members of these institutions. ii.Quality indicators of the institutions The internship was conducted at the Biomedical Signal Interpretation and Computational Simulation (BSICoS) research group from the University of Zaragoza in Spain. The primary focus of the group is to develop methods for biomedical signal processing, with a specific emphasis on personalized interpretation of cardiovascular, respiratory, and autonomic nervous system conditions, as well as their interactions. Their objective is to enhance the impact of information and communication technologies in healthcare and deepen the understanding of the functioning of biological systems through the analysis of noninvasive signals. To reach this goal, they collaborate with clinical teams and research groups that combine expertise from both areas. Since 1990, BSICoS research group has made significant contributions, publishing over 300 JCR articles, which attests to their expertise in the field of biomedical signal processing analysis. They are recognized as an esteemed international institution and one of the leading research groups in biomedical engineering in the country. Professor Pablo Laguna Lasaosa, the scientific chair of BSICoS and the supervisor of the internship, has played a prominent role in advancing the field of biomedical signal interpretation, particularly in the cardiovascular domain. He has co-authored more than 150 research papers, published over 300 international conference papers, and has provided guidance for 18 Ph.D. theses. A.4 Grants 09/2022: Erasmus + scholarship to perform a three-month internship (Berlin, Germany, 01/09/2022 - 01/12/2022), funded by the University of Val-
A.5. Awards and honors 125 ladolid with funds from the European Union. 07/2019: ’Ayuda para contratos predoctorales para la formación de doctores (FPI)’ grant (PRE2018-085219), funded by the Ministerio de Ciencia, Innovación y Universidades from the Spanish Government. A.5 Awards and honors 09/2019: Young Investigator Competition Award at the XV Mediterranean Conference on Medical and Biological Engineering and Computing (MEDICON 2019), for the conference paper entitled "Network analysis on overnight EEG spectrum to assess relationships between paediatric sleep apnoea and cognition", conducted by Gonzalo C. Gutiérrez-Tobal, Javier Gomez-Pilar, Leila Keirandish-Gozal, Adrián Martín-Montero, Jesús Poza, Daniel Álvarez, Félix del Campo, David Gozal and Roberto Hornero. 11/2018: First Jose María Ferrero Corral Award at the XXXVI Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2018), awarded by the Sociedad Española de Ingeniería Biomédica (SEIB), for the conference paper entitled "Caracterización de la apnea del sueño infantil mediante nuevas bandas espectrales del EEG", conducted by Adrián Martín-Montero, Gonzalo C. Gutiérrez-Tobal, Jesús Poza, Daniel Álvarez, Fernando Vaquerizo-Villar, Verónica Barroso- García, Saúl J. Ruiz-Gómez, Leila Kheirandish-Gozal, Félix del Campo, David Gozal and Roberto Hornero. 11/2017: First Jose María Ferrero Corral Award at the XXXV Congreso Anual de la Sociedad Española de Ingeniería Biomédica (CASEIB 2017), awarded by the Sociedad Española de Ingeniería Biomédica (SEIB), for the conference paper entitled "Estudio de la conectividad neuronal dinámica en la enfermedad de Alzheimer", conducted by Pablo Núñez, Jesús Poza, Carlos Gómez, Saúl J. Ruiz-Gómez, Adrián Martín- Montero, Miguel A. Tola-Arribas, Mónica Cano and Roberto Hornero.
Apéndice B Resumen en castellano B.1 Introducción La apnea obstructiva del sueño (AOS) pediátrica es un trastorno respiratorio del sueño que se caracteriza por periodos de interrupción total del flujo aéreo (conocidos como apneas), así como periodos de reducción significativa del flujo aéreo (conocidos como hipopneas) (American Thoracic Society,1996). Esta enfermedad tiene una alta prevalencia, padeciéndola alrededor del 6 % de la población pediátrica general (Marcus et al.,2012), y se ha asociado con un aumento en los problemas cardiovasculares, como la hipertrofia ventricular izquierda y derecha, alteraciones en la regulación autónoma de la frecuencia cardíaca y cambios en la presión sanguínea (Marcus et al.,2012). Además, la AOS también se ha relacionado con problemas cognitivos, incluyendo déficits en el aprendizaje y en el rendimiento académico (Hunter et al.,2016), lo que resalta la importancia de la detección temprana y el tratamiento para mantener la salud cardiovascular a largo plazo y el potencial académico de los niños. La prueba de referencia diagnóstica para la AOS es la polisomnografía (PSG) nocturna, durante la cual los niños tienen que pasar una noche en un laboratorio del sueño, tratándose de un proceso complejo, costoso y especialmente incómodo para ellos (Tan et al.,2014). Por ello, los inconvenientes ligados a la PSG han motivado la búsqueda de alternativas para diagnosticar la AOS pediátrica y estudiar sus consecuencias (Alonso-Álvarez et al.,2015;Marcus et al.,2012;Tan et al.,2014). Entre todas las alternativas al diagnóstico propuestas, la mayoría se han enfocado al análisis de un conjunto reducido de las señales adquiridas durante la PSG, centrándose principalmente en el análisis de la señal de saturación de oxígeno en la sangre (SpO2). No obstante, 127
128 Apéndice B. Resumen en castellano existe una escasez de evidencia en la literatura científica respecto al uso de señales biomédicas distintas a la SpO2, como por ejemplo las señales cardiovasculares, como una opción alternativa para el diagnóstico de la AOS (Gutiérrez-Tobal et al., 2022). En este sentido, en el marco de esta Tesis Doctoral se ha llevado a cabo una caracterización exhaustiva de la variabilidad de la frecuencia cardíaca (heart rate variability, HRV) con el objetivo de describir las alteraciones que ocurren en el sistema nervioso autónomo (SNA) debido a la AOS y ayudar a simplificar el diagnóstico de esta enfermedad. Los resultados obtenidos a partir de estas investigaciones han sido publicados en cuatro artículos científicos en revistas indexadas en el Journal Citation Reports (JCR) entre los años 2021 y 2023. En estas publicaciones, se emplearon técnicas de procesado de señales biomédicas (extracción de características, selección de características y reconocimiento de patrones) en mayor o menor grado para caracterizar la señal de HRV y obtener información innovadora en el contexto de la AOS pediátrica. En el primer artículo, se realizó un análisis espectral de la señal de HRV para identificar bandas de frecuencia específicas de la AOS (Martín-Montero et al.,2021b). En el segundo artículo, se utilizó el análisis biespectral, una técnica de análisis en el dominio de la frecuencia que permite observar alteraciones en la no Gaussianidad, no linealidad e irregularidad, con el fin de definir regiones basadas en los rangos de frecuencia clásicos y específicos de la AOS en la señal de HRV y caracterizar así las alteraciones asociadas a la AOS (Martín-Montero et al.,2021a). La utilidad de las nuevas características específicas de la AOS para reflejar los efectos del tratamiento de la enfermedad en la HRV se realizó en el tercer artículo mediante el empleo de análisis de mediación causal (Martín-Montero et al.,2022). Por último, en el cuarto artículo se realizó un análisis a nivel de segmento para caracterizar la señal de HRV utilizando métricas convencionales y métricas específicas desarrolladas en el contexto de esta Tesis Doctoral, con el fin de evaluar la influencia en el HRV de las diferentes fases del sueño junto con la presencia de eventos apneicos durante la noche (Martín-Montero et al.,2023). La evaluación de la utilidad clínica de los diferentes enfoques de caracterización de la HRV se realizó mediante una etapa de reconocimiento de patrones, empleando distintos modelos de machine-learning para el diagnóstico de AOS pediátrica (Martín-Montero et al.,2023,2021a,b), así como para la clasificación automática de fases del sueño (Martín-Montero et al.,2023).
B.2. Hipótesis y objetivos 129 B.2 Hipótesis y objetivos La presencia de eventos de apnea e hipopnea provoca oscilaciones recurrentes en la señal de la HRV. Estas variaciones cíclicas han sido previamente documentadas en adultos, manifestándose como patrones de bradicardia progresiva seguidos de una taquicardia abrupta al final de los eventos (Guilleminault et al.,1984). En niños también se han observado estos patrones, pero con una mayor variabilidad en función de las características de las pausas respiratorias (Aljadeff et al.,1997; Gozal et al.,2013;O’Driscoll et al.,2009;Vitelli et al.,2016). A pesar de estas alteraciones cardíacas directamente causadas por la enfermedad, el comportamiento periódico de la señal de HRV a causa de la AOS pediátrica ha sido estudiado tradicionalmente utilizando técnicas de análisis espectral dentro de los límites establecidos por las bandas de frecuencia clásicas de la HRV (Malik et al.,1996). Sin embargo, un estudio previo en adultos (Gutiérrez-Tobal et al.,2015) reveló que las alteraciones asociadas a la AOS se reflejan en un rango de frecuencia que se ubica entre las bandas clásicas de frecuencia muy baja (very low frequency, VLF) y baja frecuencia (low frequency, LF), lo cual sugiere la existencia de bandas de frecuencia específicas de la AOS en la HRV. Por lo tanto, al inicio de esta Tesis Doctoral, se planteó la hipótesis de que nuevos enfoques de extracción de características podrían permitir una caracterización más específica de los patrones de la HRV nocturna en niños. Las alteraciones observadas en el SNA como resultado de la AOS han generado investigaciones sobre el efecto del tratamiento de la enfermedad en las señales cardiovasculares. Varios estudios han informado de una reversión de las alteraciones de la AOS, principalmente manifestada como un retorno del tono simpático a niveles normales (Constantin et al.,2008;El-Hamad et al.,2017;Kaditis et al., 2011;Muzumdar et al.,2011). Dado que estos descubrimientos también se basaron en el análisis convencional de las señales cardiovasculares, se ha planteado la hipótesis de que las mejoras en la gravedad y resolución de la AOS pediátrica como resultado del tratamiento podrían inducir cambios en las características específicas de la HRV relacionadas con la AOS. En los últimos años se han realizado investigaciones sobre métodos automáticos como posibles alternativas al diagnóstico de la AOS mediante la PSG, con la mayoría de dichos estudios centrándose en características derivadas de la señal de SpO2(Gutiérrez-Tobal et al.,2022). Sin embargo, debido a la escasa presencia en la literatura de alternativas al diagnóstico de la AOS en niños utilizando señales distintas a la de SpO2, se plantea la hipótesis de que las nuevas características de HRV pueden proporcionar información complementaria que, en combinación con mo-