Skip to main content
JAMIA Open logoLink to JAMIA Open
. 2026 Aug 6;9(4):ooag061. doi: 10.1093/jamiaopen/ooag061

Identification of obesity risk factors in 3-12-year-old children and adolescents with prior respiratory tract infections via interpretable machine and deep learning models

Xiao-Qian Wang 1,#, Fang-Jie-Yi Zheng 2, Qiong Wang 3,4, Che Li 5, Wen-Qian Zhang 6, Zhi-Xin Zhang 7,8,, Wen-Quan Niu 9,
PMCID: PMC13445979  PMID: 42564828

Abstract

Backgrounds and Objectives

Childhood obesity and respiratory tract infections (RTIs) are 2 major global public health issues that frequently co-occur and are closely interrelated. Early detection of children with prior RTIs who are at high obesity risk is crucial for targeted interventions. This study integrates interpretable machine learning (ML) models and a deep learning network to develop an obesity risk prediction model in a large pediatric cohort.

Methods

Cross-sectional data from 6509 children and adolescents aged 3-12 years with prior RTIs in Beijing and Tangshan were fed to 12 ML models to predict childhood obesity (versus children with normal weight). Bayesian optimization was applied to fine-tune model hyperparameters. Prediction performance was assessed using 8 metrics. Key predictive features were identified by SHapley Additive exPlanations (SHAP). The validity of the optimal ML model was verified by the sequential neural network model.

Results

Of 12 ML models, LightGBM achieved the optimal performance (accuracy: 0.8844, area under the curve [AUC]: 0.9491). SHAP analysis identified 20 key predictors, including child age, paternal body mass index (BMI), maternal BMI, birth length, birthweight, gestational age, eating speed, complementary feeding initiation age, screen time, breastfeeding duration, bedtime, maternal age, nighttime sleep, outdoor activity, dental caries, sedentary time, food allergies, family history of diabetes, and sex. The deep learning sequence network model further validated the predictive value of these features (accuracy: 0.8023, AUC: 0.8117), and the SHAP-driven feature importance rankings were in close line with LightGBM.

Conclusions

Our LightGBM-based model enables effective prediction of obesity risk in children aged 3-12 years with prior RTIs, and the key features identified can inform early screening and facilitate personalized interventions.

Keywords: Childhood obesity, respiratory tract infection, machine learning, deep learning, SHapley Additive exPlanations

Introduction

Childhood obesity has become one of the most pressing global public health challenges, with its prevalence rising rapidly in both developed and developing countries.1 The World Health Organization (WHO) reports that the number of children and adolescents aged 5-19 years living with obesity globally surged from 11 million in 1975 to 340 million in 2023.2 In China, the 2020 National Nutrition and Chronic Disease Survey showed that the combined prevalence of overweight and obesity was 10.4% in children under 6 and 19% in those aged 6-17 years. It is estimated that Chinese children aged 0-19 are expected to bear substantial losses in disability-adjusted life years, with an estimated economic burden of $31.6 trillion and an average societal cost of $350 000 per affected child.3 Clinically, childhood obesity is associated with insulin resistance, hypertension, and psychosocial impairments.4–6 It is increasingly regarded as a pathological condition rather than merely a consequence of unhealthy lifestyles, and represents a key modifiable risk factor for numerous comorbidities, especially respiratory tract infections (RTIs).

RTIs are among the most prevalent pediatric disorders, characterized by high incidence, diverse etiologies, recurrent episodes, and prolonged recovery periods,7,8 and they severely compromise children’s physical and mental health9,10 and constitute a major health background for children at enhanced obesity risk. Notably, the latest Global Burden of Disease (GBD) study identified lower RTIs as the leading cause of death in children under 5. An 80-year follow-up cohort study revealed that over 20% of premature respiratory-related deaths in adults were directly attributable to lower RTIs during early childhood. Epidemiological evidence suggests that children and adolescents with a history of RTIs may be more susceptible to obesity.11 Potential underlying mechanisms include RTI-induced disruptions in metabolic homeostasis, alterations in dietary and physical activity patterns during recovery, or induction of chronic low-grade inflammation, all of which may contribution to weight gain. Conversely, obesity can impair respiratory function and increase RTI susceptibility, forming a bidirectional relationship that exacerbates health risks.12,13 However, the specific factors influencing obesity development in children and adolescents with prior RTIs remain poorly understood, representing a big gap in pediatric research.

It is widely recognized that obesity impacts respiratory health in children. In a study of 143 hospitalized children aged 1-5 years with acute RTIs, those with obesity had longer hospital stays, greater requirements of oxygen therapy, and higher rates of mechanical ventilation than their normal-weight counterparts.14 Other studies have demonstrated an inverse association between pulmonary oxygen uptake capacity and body mass index (BMI), with children with obesity exhibiting poorer baseline respiratory function and enhanced RTI susceptibility.

Currently, most prior studies have adopted conventional statistical methods to investigate factors associated with childhood obesity.15,16 Although these approaches can model complex nonlinear interactions among multiple risk factors, advanced analytical techniques offer substantial advantages. For example, machine learning (ML) enables the detection of complex patterns in high-dimensional data and identification of subtle risk characteristics; however, its limited transparency raises concerns in clinical practice and hinders translational application.

To produce more information, the present study integrated multiple interpretable ML models with a deep-learning neutral network to develop and validate an obesity risk prediction model among children and adolescents with prior RTIs from Beijing and Tangshan.

Methods

Study design and participants

This survey used a cross-sectional cluster sampling design and was conducted in Beijing and Tangshan, Hebei Province, between September 2020 and January 2022. The survey protocol adhered to the Declaration of Helsinki.

The first data collection wave was carried out from September to December 2020. Preschool-aged children were sampled from 4 of 16 districts in Beijing and 2 of 7 districts in Tangshan, with 5 kindergartens selected in each district (30 kindergartens in total). The second wave was in January 2022 among 8 primary schools in Pinggu District, Beijing.

Self-designed questionnaires were initially distributed to parents or guardians of 18 503 children and adolescents. After excluding 3519 children outside the 3-12-year age range, 14 984 children remained. An additional 1707 underweight and 2410 overweight children were then excluded, leaving 10 867 participants. Finally, 4358 children and adolescents without a reported history of RTIs were excluded, leaving 6509 children and adolescents with prior RTIs included in the final analysis.

Data collection

Data were collected using self-designed questionnaires. Prior to formal distribution, the reliability and validity of the questionnaire were assessed through a pre-test on 200 participants. The internal consistency was satisfactory, with Cronbach’s α coefficients exceeding 0.85.

Analytical data covers 5 domains: (1) Child demographic information: age (years), sex, and nationality; (2) Maternal pregnancy, childbirth, and early life factors: birthweight (grams), birth length (centimeters), gestational age (weeks), delivery mode, reason for caesarean section, birth order (induced abortion, spontaneous abortion, and normal pregnancy), maternal pregnancy order, twin status, feeding method within the first 6 months of life, breastfeeding duration (months), and age at introduction of complementary foods (months); (3) Child health status: food allergies, drug allergies, and number of decayed teeth; (4) Lifestyle-related factors: frequency of fast food consumption, frequency of sweet food consumption, frequency of late-night snacking, outdoor time (hours), sedentary time (hours), nighttime sleep duration (hours), eating speed (minutes), and screen time (minutes); and (5) Household characteristics: maternal age (years), paternal age (years), paternal educational attainment, maternal educational attainment, maternal BMI, paternal BMI, number of family members with diabetes, and annual household income.

RTI definition

The questionnaire also gathered information on children’s history of both upper and lower RTIs. Upper RTIs include colds, rhinitis, pharyngitis, and tonsillitis; lower RTIs include tracheitis/bronchitis and pneumonia. The number of episodes of each RTI in the past year was recorded. Children and adolescents with no episodes of either upper or lower RTIs were classified as having no history of RTIs.

Obesity definition

BMI was calculated as weight in kilograms divided by height in meters squared (kg/m2). The classification of different weight status categories was determined using children’s age-and sex-standardized BMI z-scores, calculated as the deviation of a child’s BMI from the population mean in standard deviations (SDs). Based on the 2006 WHO growth standards for children aged 0-5 years17 and the 2007 WHO growth reference for school-aged children aged 5-19 years (61-228 months), obesity as a BMI z-score > +2 SD.

Quality control

Given that the survey was administered online, ensuring data quality was essential. Prior to questionnaire distribution, trained personnel provided detailed explanations of all items to designated teachers, who subsequently disseminated the instrument to parents or guardians. During questionnaire completion, teachers consulted trained staff for clarification when necessary. The submitted data were exported from the “Wenjuanxing” free platform (https://www.wjx.cn/) into Microsoft Excel™ files and subjected to systematic review by trained personnel. Cases involving missing information or outliers were returned to the responsible teachers, who requested verification or supplementation from parents or guardians.

Statistical analysis

After checking the normality of continuous variables, those with normal distributions are expressed as mean ± SD, and with skewed distributions as median (interquartile range). Categorical variables are expressed as count and percent. Normally-distributed continuous variables were compared using Student’s t-test, and skewed continuous variables using the Mann–Whitney U test. Categorical variables were compared using the Fisher’s exact test or χ2 test, where appropriate. A 2-tailed P-value < .05 indicates statistical significance.

The data preprocessing workflow consisted of 4 sequential steps: (1) Missing value imputation: continuous variables with missing values were imputed using the mean, and categorical variables using the mode; (2) Collinearity reduction: For highly correlated feature pairs (Spearman’s correlation coefficient |ρ| ≥ 0.7), 1 variable was excluded based on lower clinical relevance; (3) Class imbalance handling: The Synthetic Minority Over-sampling Technique (SMOTE) was used to generate synthetic samples, thereby balancing the class distribution between normal-weight and obese children and adolescents; and (4) Data splitting: The dataset was randomly divided into a training set, a test set, and a validation set at a ratio of 7:2:1.

Twelve ML models were trained on the training set. Model performance was assessed, and hyperparameters were tuned on the validation set. The optimal model was applied to the independent test set to evaluate its generalization ability and robustness on new data. The models included Adaptive Boosting (AdaBoost), Decision Tree, Extra Random Trees, Extreme Gradient Boosting (XGBoost), Gradient Boosting, K-Nearest Neighbor (KNN), Light Gradient Boosting Machine (LightGBM), Linear Discriminant Analysis (LDA), Logistic Regression, Naive Bayes, Quadratic Discriminant Analysis (QDA), and Random Forest. Hyperparameters were tuned via Bayesian optimization combined with 5-fold cross-validation to ensure model stability. The optimal model was selected based on 8 evaluation metrics: 2 primary metrics (accuracy and area under the receiver operating characteristic [ROC] curve [AUC]) and 6 secondary metrics (sensitivity, specificity, positive predictive value [PPV], negative predictive value [NPV], F1-score, and Youden’s index).

The selected variables were fed into a deep sequential neural network to further evaluate their predictive performance. This network had 2 hidden layers, with the dataset partitioned into training and validation sets at a 7:3 ratio. Grid search was used for hyperparameter tuning to optimize model performance, and 5-fold cross-validation was used to assess model generalization ability. The same 8 aforementioned metrics were used to evaluate the performance of the deep sequential neural network.

To enhance the interpretability of both ML models and deep sequential neural network, SHapley Additive exPlanati (SHAP) was used. Based on Shapley values derived from game theory, this method quantifies each feature’s contribution to the model’s prediction outcome, converting opaque decision-making processes into transparent, interpretable feature importance scores. By calculating SHAP values, a global model interpretation was obtained to identify key features driving overall obesity risk prediction, and a comparative assessment of feature importance to predict obesity by comparing SHAP rankings across the optimal ML model and the deep sequential neural network. Local SHAP explanations offer deeper insights into the model’s reasoning for individual sample predictions.

The analytical pipeline was implemented using PyCharm (Community Edition 2024.3.4 x64) embedded with Python (Python Software Foundation, Version 3.6.1) under the Windows 10 operating system. Data balancing via SMOTE was performed using the DMwR package in the R coding platform (version 4.3.3).

Ethical considerations

Given the 2-wave design of this study, ethical approval was obtained separately from the Ethics Committee of the China–Japan Friendship Hospital and Beijing University of Chinese Medicine. Parents or guardians provided written informed consent. All data collection procedures adhered to local data protection requirements, with all study data stored on an access-restricted server accessible exclusively to the research team. To ensure participant confidentiality, personally identifiable information was anonymized by assigning unique identifiers before data analysis. This study was reported in line with the STROBE (Strengthening the Reporting of Observational Studies in Epidemiology) guidelines.

Results

Baseline characteristics

Table S1 shows the baseline characteristics of 6509 children and adolescents with prior RTIs. Of these, 5291 were classified as having normal weight, and 1218 as obese.

Figure S1 depicts the comparative distribution of normal-weight and obese children and adolescents before and after SMOTE-based inter-group balancing. Figure S2 displays the distribution of each characteristic. Analysis of the association between individual characteristics and childhood obesity revealed minimal between-group differences in obese and normal-weight children and adolescent across all evaluated characteristics (Figure S3).

Optimal ML model selection

Comparisons of continuous (Figure S4) and categorical (Figure S5) variables before and after missing imputation revealed no substantial distributional changes, indicating the coherence of the imputed datasets. After separate imputation, Spearman’s correlation analysis was performed to remove weakly associated features. Two highly correlated pairs were identified: child age vs fast-food frequency (ρ = -0.709) and parental age vs maternal age (ρ  =  0.839). Fast-food consumption frequency was retained due to its stronger association with childhood obesity (r = 0.241 vs r = 0.213 for age); maternal age was preserved given its relatively higher clinical relevance (correlation with obesity: 0.066 vs 0.058). All other feature pairs exhibited correlation coefficients below 0.7 (Figure S6). The SMOTE-processed dataset was then split into training, validation, and test sets at a 7:2:1 ratio.

Twelve ML models were evaluated using 8 metrics. For binary classification tasks, AUC is recognized as the most robust and widely used evaluation metric. Based on the AUC values, Gradient Boosting ranked first (0.9557), followed by Random Forest (0.9503), LightGBM (0.9491) and XGBoost (0.9449). ROC curves and AUC rankings with 95% confidence intervals are presented in Figure 1A and B.

Figure 1.

This figure is a composite diagram comprising three sub-figures (A, B and C), designed to comprehensively present the performance and feature analysis results of machine learning models. Sub-figure A consists of ROC curves, with each curve representing a machine learning model and indicating that the model possesses excellent discriminatory performance; Sub-figure B is a horizontal bar chart, which uses the length of the bars to provide a visual comparison of the AUC values across the models; Sub-figure C consists of line charts, each representing a model, and displays the values of various performance metrics for each model.

Performance Comparison of 12 Machine Learning Models using ROC Curves (Panel A), AUC Forest Plot with 95% Confidence Interval (Panel B), and Comparison of Other Performance Metrics (Panel C).

Gradient Boosting and LightGBM outperformed Random Forest across most secondary metrics; for example, accuracy was 0.8869 for Gradient Boosting, 0.8844 for LightGBM, and 0.8643 for Random Forest. Compared to XGBoost, Gradient Boosting and LightGBM achieved higher AUC values, while performance on the remaining 7 metrics was marginally low; for example, F1-score was 0.8598 for Gradient Boosting, 0.8571 for LightGBM, and 0.8640 for XGBoost. The remaining 9 models exhibited inferior performance than Gradient Boosting and LightGBM. Comprehensive comparisons of all evaluation metrics are shown in Figure 1C, with detailed numeric results listed in Table S2.

Calibration curves (Figure S7A) showed that LDA and logistic regression were closest to the ideal reference line, followed by XGBoost, decision tree, extra trees, and LightGBM. Clinical impact curves (Figure S7B) indicated that both gradient boosting and LightGBM had larger positive AUC values, confirming strong robustness and clinical utility. Confusion matrices for all models are present in Figure S8.

LightGBM was selected as the optimal ML model for 3 key reasons: (1) it represents an optimized implementation of Gradient Boosting, inheriting its core algorithmic principles; (2) it delivers comparable predictive performance to Gradient Boosting; and (3) it offers substantial advantages in training speed, computational efficiency, and memory usage.

Optimal ML model interpretation

The optimal LightGBM model was interpreted via SHAP from both global and local perspectives. Global feature importance was ranked in descending order of average SHAP values (Figure 3A), identifying the top 20 features influencing obesity risk prediction in children and adolescents with prior RTIs: child’s age, paternal BMI, maternal BMI, birth length, birthweight, gestational age, eating speed, complementary feeding initiation age, screen time, breastfeeding duration, bedtime, maternal age, nighttime sleep, outdoor activity, dental caries, sedentary time, food allergies, family history of diabetes, and sex.

Figure 3.

This figure is a composite chart of SHAP analyses for the LightGBM model and the sequential neural network model, comprising four sub-charts (A, B, C and D), which are used to explain the contribution and importance of features in the model’s predictions. Sub-charts A and C are bar charts displaying the average SHAP values for each feature, reflecting their overall influence; sub-charts B and D are scatter plots, where samples are represented by points. The relationship between feature values and SHAP values is indicated by red and blue colours, revealing whether the feature promotes (red) or inhibits (blue) the prediction.

Global SHAP Interpretation of Features Predicting Childhood Obesity under the Optimal LightGBM Model and Sequential Neural Network Model using SHAP Mean Ranking (Panel A and Panel C) and Bee Swarm Plot (Panel B and Panel D).

The SHAP swarm plot (Figure 3B) revealed that among modifiable lifestyle factors, children and adolescents with prior RTIs were more susceptible to obesity if they had faster eating speed, longer screen time, shorter outdoor activity duration, shorter nighttime sleep duration, fewer dental caries, and longer sedentary time.

To clarify the model’s individualized prediction process, local SHAP analyses were conducted using waterfall plots for individual cases in the validation set (Figure 4A and B). Pink bars denote features increasing the predicted obesity probability, while blue bars indicate features decreasing this probability; bar length reflects the magnitude of each feature’s contribution to the model’s final output. F(x) represents the model’s predicted probability for a specific individual, and E[f(x)] represents the model’s average output value in the absence of feature inputs. For an obese child (Figure 4A), the predicted probability was 0.8823. Eating speed, screen time, and birth length mitigated the increase in predicted probability, while maternal BMI, drug allergies, paternal BMI, sex, and age promoted an elevated prediction probability. Specifically, for modifiable features (denoted by pink bars), clinical interventions could be tailored; for example, guiding the child and their parents to engage in moderate physical activity to reduce weight and alter obesity status. For a non-obese child (Figure 4B), the predicted obesity probability was 0.1030. Bedtime, age, drug allergies, sedentary time, and food allergies reduced the predicted probability, while paternal BMI, sleep duration, birth length, and paternal educational attainment increased it. Integrating global SHAP insights with modifiable features, moderate increases in the child’s nighttime sleep duration are recommended to maintain a healthy BMI.

Figure 4.

A composite diagram that uses SHAP analysis to explain a machine learning model’s predictions for two samples. The top section displays side-by-side SHAP waterfall plots for Sample 1 (predicted as ‘diseased’) and Sample 2 (predicted as ‘healthy’), showing key features and their contribution values (arrows pointing right indicate an increased risk of disease, whilst arrows pointing left indicate a reduced risk). The SHAP decision tree below illustrates the cumulative impact of all features on the predicted probability.

SHAP Local Interpretability Waterfall Plots (Panels A and B) and Decision Plot (Panel C) Displaying Childhood Obesity under the Optimal LightGBM Model Using Machine Learning and Sequential Neural Network Models.

The SHAP decision graph (Figure 4C) visualizes individual prediction trajectories. Each line depicts an individual’s predictive process. Feature importance is ranked from top to bottom, with features ranked by importance from top to bottom (topmost features exert the greatest influence on outcomes). Lines extending to the right indicate features increasing predicted obesity probability, while leftward extensions denote decreasing probabilities. For the representative individual shown, the final predicted obesity probability ranged between 0.525 and 0.550; age, birth weight, birth length, eating speed, bedtime, outdoor activity duration, and gestational age increased the prediction probability, while screen time, age at introduction of complementary foods, nighttime sleep duration, maternal BMI, number of family members with diabetes, and breastfeeding duration reduced it.

The SHAP dependency heatmap for the optimal LightGBM model (Figure S9) clarifies feature contributions to individual predictions across the cohort. Each column represents an individual; observing the color across an entire column indicates whether a feature promotes (red) or diminishes (blue) the predicted disease status for that sample. Vertically, the heatmap quantifies each feature’s importance in the prediction process for an individual, while horizontally, it reveals variability in a feature’s influence across different individuals.

Performance assessment using deep sequential neural network

The predictive performance and SHAP-derived insights of the deep sequential neural network (trained on the 20 key features identified by ML models) were compared with those of the optimal LightGBM model. Evaluation using the 8 core metrics (Table S3) demonstrated that the deep sequential neural network achieved satisfactory performance in accuracy (0.8023) and AUC (0.8177), albeit slightly lower than the LightGBM model (accuracy: 0.9413; AUC: 0.9491). The AUC and Precision-Recall Curve (PRC) for the deep sequential neural network are presented in Figure 2.

Figure 2.

This figure shows the ROC curve and PRC curve for a sequential neural network model. On the left is the ROC curve (AUC = 0.8177); the orange curve lies significantly above the blue straight line, indicating that the model performs well in classification. On the right is the PRC (AP = 0.7844); the green curve lies clearly above the grey straight line, further demonstrating that the model achieves a good balance between recall and precision for positive samples.

ROC curve (Panel A) and PRC curve (Panel B) of the Sequential Neural Network Model on the Test Set.

The ranking of average SHAP values for the deep sequential neural network (Figure 3C) was broadly consistent with that of the LightGBM model (Figure 3A), with the exception that food allergies and drug allergies exhibited a SHAP value of 0 (ie, no predictive contribution) in the deep learning model. The direction of each feature’s influence on obesity prediction, as visualized in the SHAP swarm plot of the deep sequential neural network (Figure 3D), was also consistent with the LightGBM model (Figure 3B). These findings collectively confirm the strong and consistent predictive power of the 20 features identified by ML models.

Discussion

This study developed and compared multiple ML models to predict obesity risk among children and adolescents aged 3-12 years with prior RTIs, with the aim of identifying the optimal model. Notably, LightGBM outperformed other models, and its predication performance was verified using multiple evaluation metrics and further validated by a deep sequential neural network. Moreover, SHAP analysis was applied to screen and visualize a total of 20 key features. To our knowledge, this is the first study to combine ML for feature screening and deep learning for external validation, thereby enhancing both model robustness and the reliability of feature selection. This framework provides a novel strategy for obesity risk prediction and the development of personalized interventions in children and adolescents with prior RTIs.

Early management and targeted intervention for childhood obesity represent a priority in children and adolescents with prior RTIs, given the well-documented bidirectional interplay between RTIs and pediatric obesity.18,19 A spectrum of respiratory manifestations, including coughing, dyspnea, and chest distress, often persist for weeks to months following acute infection; in some cases, these symptoms fail to solve despite apparent clearance of the initial infection insult, ultimately progressing to chronic respiratory morbiodity.20,21 Chronic respiratory symptoms impose substantial functional limitations, constraining physical activity participation, prolonging sedentary behavior, and impairing both sleep quality and total sleep duration.22 Cumulatively, these behavioral and physiological disruptions accelerate the onset of excessive weight gain over time. Existing research demonstrates that obesity increases the risk of adverse respiratory symptoms in school-age children, even in the absence of documented prior RTIs.23,24 Excessive adiposity exerts deleterious effects on both static and dynamic respiratory function, with measurable impairments across key physiological indices including lung capacity, lung compartment mechanics, airway patency and function, and exercise tolerance.25,26 Additionally, obesity is associated with attenuated therapeutic responses to sleep apnea interventions, suggesting that delayed weight management may exacerbate respiratory control deficits and heighten susceptibility to obesity-related hypoventilation and subsequent secondary complications.27,28 Consequently, the present study aims to develop and validate optimal ML models to identify a minimal predictive features set capable of stratifying obesity in this high-risk pediatric cohort. This framework is designed to facilitate early, targeted screening and inform personalized intervention strategies, thereby enabling timely, precision-focused clinical management of pediatric obesity in children with prior RTIs.

Following comparative assessment of multiple evaluation metrics, LightGBM was selected as the optimal model for predicting obesity in children and adolescents with prior RTIs. Theoretically, LightGBM is a high-efficiency gradient boosting algorithm suitable for large-scale datasets and high-dimensional features; a deep sequential neural network was additionally applied to verify the predictive potency of the screened feature set. Deep sequential neural networks contain hidden layers to progressively extract higher-level data representations, enabling capture of latent underlying patterns.29,30 Valuation of the deep learning network and SHAP comparisons revealed minimal discrepancies in feature important rankings, reinforcing that the filtered features possess robust predictive efficacy for childhood obesity.

Via LightGBM-based SHAP interpretative analyses, multiple modifiable lifestyle behaviors were verified to exert strong predictive effects, including eating speed, screen time, outdoor activity time, nighttime sleep duration, and sedentary time were confirmed to have strong predictive power, consistent with prior findings. Notably, children and adolescents with prior RTIs may exhibit heightened susceptibility to unhealthy behavioral patterns, driven by reduced physical activity, sleep disturbances, or disrupted daily routines, which may further exacerbate the impacts of these factors on obesity risk. A considerable proportion of affected children also present with sleep-disordered breathing or fragmented sleep, which are closely linked to daytime fatigue, appetite dysregulation, and heightened obesity susceptibility.31 Reduced outdoor activity and poor sleep quality interact synergistically with prolonged screen time, accelerated eating speed, and consumption of high-energy foods, forming behavioral profiles that promote excessive weight gain.32 Sustained exposure to such behavioral patterns fosters entrenched detrimental lifestyle habits in children, driving a pronounced increase in obesity risk; these adverse health outcomes often persist into adulthood, predisposing individuals to severe chronic comorbidities including cardiovascular disease, type 2 diabetes mellitus, and hypertension.33,34 Moreover, our findings highlight that early-life factors serve as significant predictors of positive RTI history in pediatric populations. Greater birth length and higher birthweight are associated with a higher probability of childhood obesity, consistent with a meta-analysis revealing that low birth weight correlates with reduced long-term overweight risk, while high birth weight confers a higher likelihood of later-life overweight.35 Birth weight and prolonged gestational age typically exert direct impacts on postnatal body composition development and BMI elevation throughout childhood and adolescence, indicating that early growth velocity and intrauterine conditions are direct contributing factors to pediatric obesity.36

This study carries several limitations that warrant consideration. First, all enrolled participants were recruited from Beijing and Tangshan using a cross-sectional design, so caution must be exercised when generalizing the findings to other geographic regions or demographic populations. Second, constrained by questionnaire design, weight status was solely evaluated using BMI, without incorporation of supplementary anthropometric indices such as waist circumference or hip circumference. Third, the predictive models incorporated only 33 input features, meaning other unmeasured relevant variables may not have been captured in the analysis. Fourth, inherent uncertainties exist within the questionnaire data: reliance on self-reported RTI history may reduce the accuracy of identifying prior respiratory infections, and recall bias stemming from imprecise participant recollection could introduce measurement errors in completed survey responses. Fifth, external validation of the model has not yet been performed, which limits the robustness and generalizability of the study conclusions.

Conclusions

This study established a predictive model for obesity in children and adolescents aged 3-12 years with prior RTIs based on a cohort of 6509 pediatric subjects. The LightGBM model demonstrated superior performance relative to other ML models, with enhanced accuracy and AUC values. SHAP analysis was utilized to identify core predictive features associated with obesity risk, which were subsequently applied to train a deep sequential neural network. Follow-up SHAP assessment further validated that the screened 20 key features exhibited stable importance rankings and sufficient predictive capacity for identifying childhood obesity in this high-risk population.

Supplementary Material

ooag061_Supplementary_Data

Acknowledgements

We extend our heartfelt gratitude to all the children who participated in the study and their parents or guardians for their active cooperation, to the nursery or school teachers and healthcare professionals for their invaluable assistance, and to all the researchers for their dedicated efforts.

Contributor Information

Xiao-Qian Wang, Capital Institute of Pediatrics, Chinese Academy of Medical Sciences & Peking Union Medical College, Beijing 100020, China.

Fang-Jie-Yi Zheng, Center for Evidence-Based Medicine, Capital Center for Children’s Health, Capital Medical University, Capital Institute of Pediatrics, Beijing 100020, China.

Qiong Wang, Graduate School, Beijing University of Chinese Medicine, Beijing 100029, China; Department of Pediatrics, China-Japan Friendship Hospital, Beijing 100029, China.

Che Li, Center for Evidence-Based Medicine, Capital Center for Children’s Health, Capital Medical University, Capital Institute of Pediatrics, Beijing 100020, China.

Wen-Qian Zhang, Center for Evidence-Based Medicine, Capital Center for Children’s Health, Capital Medical University, Capital Institute of Pediatrics, Beijing 100020, China.

Zhi-Xin Zhang, Department of Pediatrics, China-Japan Friendship Hospital, Beijing 100029, China; Institute of Clinical Medical Sciences, China-Japan Friendship Hospital, Beijing 100029, China.

Wen-Quan Niu, Center for Evidence-Based Medicine, Capital Center for Children’s Health, Capital Medical University, Capital Institute of Pediatrics, Beijing 100020, China.

Author contributions

Xiaoqian Wang (Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Project administration, Software, Supervision, Visualization, Writing—original draft), Fangjieyi Zheng (Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Project administration, Software, Supervision, Visualization, Writing—original draft), Qiong Wang (Data curation, Formal analysis, Investigation, Methodology, Software, Supervision, Writing—review & editing), Che Li (Data curation, Formal analysis, Methodology, Software, Supervision, Writing—review & editing), Wenqian Zhang (Formal analysis, Methodology, Project administration, Supervision, Writing—review & editing), Zhixin Zhang (Conceptualization, Formal analysis, Funding acquisition, Methodology, Supervision, Visualization, Writing—review & editing), and Wenquan Niu (Conceptualization, Formal analysis, Funding acquisition, Methodology, Software, Supervision, Writing—review & editing)

Supplementary material

Supplementary material is available at [JAMIA Open] online.

Conflicts of interests

The authors declare that there is no conflict of interest regarding the publication of this article.

Funding

This work was supported by the National Natural Science Foundation of China (Project No. 42371429, “A Heterogeneity Study on the Impact of the COVID-19 Pandemic on Child Growth and Development in China”), the Public Service Development and Reform Pilot Project of Beijing Medical Research Institute (W. Niu) and the Capital’s Funds for Health Improvement and Research (Grant Number: 2024-2-1133).

Ethics approval and consent to participate

This study was approved by the Ethics Committee of China-Japan Friendship Hospital (2018-93-K67) and Beijing University of Chinese Medicine (2022BZYLL0906). The study was performed in accordance with the ethical standards as laid down in the 1964 Declaration of Helsinki and its later amendments. Written informed consent was provided by the parents or guardians of children enrolled.

Data availability

The data underlying this article are available in the Dryad, at https://datadryad.org/10.5061/dryad.gf1vhhn44.

References

  • 1. Zhang X, Liu J, Ni Y, et al.  Global prevalence of overweight and obesity in children and adolescents: a systematic review and Meta-Analysis. JAMA Pediatr. 2024;178:800-813. 10.1001/jamapediatrics.2024.1576 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Collaborators GBDD. Global, regional, and national burden of diabetes from 1990 to 2021, with projections of prevalence to 2050: a systematic analysis for the global burden of disease study 2021. Lancet. 2023;402:203-234. 10.1016/S0140-6736(23)01301-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Ma G, Meyer CL, Jackson-Morris A, et al.  The return on investment for the prevention and treatment of childhood and adolescent overweight and obesity in China: a modelling study. Lancet Reg Health West Pac. 2024;43:100977. 10.1016/j.lanwpc.2023.100977 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Sommer A, Twig G.  The impact of childhood and adolescent obesity on cardiovascular risk in adulthood: a systematic review. Curr Diab Rep. 2018;18:91. 10.1007/s11892-018-1062-9 [DOI] [PubMed] [Google Scholar]
  • 5. Lindberg L, Danielsson P, Persson M, Marcus C, Hagman E.  Association of childhood obesity with risk of early all-cause and cause-specific mortality: a Swedish prospective cohort study. PLoS Med. 2020;17:e1003078. 10.1371/journal.pmed.1003078 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Reilly JJ, Kelly J.  Long-term impact of overweight and obesity in childhood and adolescence on morbidity and premature mortality in adulthood: systematic review. Int J Obes (Lond). 2011;35:891-898. 10.1038/ijo.2010.222 [DOI] [PubMed] [Google Scholar]
  • 7. Turyasiima M, Kiconco G, Egesa WI, Twesigemukama S, Nduwimana M.  Prevalence and outpatient clinical diagnostic approaches for common acute respiratory tract infections in children under five years of age: a cross-sectional study. Pediatric Health Med Ther. 2024;15:49-57. 10.2147/phmt.S445908 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. de Benedictis FM, Bush A.  Recurrent lower respiratory tract infections in children. BMJ. 2018;362:k2698. 10.1136/bmj.k2698 [DOI] [PubMed] [Google Scholar]
  • 9. Jiang MY, Duan YP, Tong XL, et al.  Clinical manifestations of respiratory syncytial virus infection and the risk of wheezing and recurrent wheezing illness: a systematic review and meta-analysis. World J Pediatr. 2023;19:1030-1040. 10.1007/s12519-023-00743-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Lapi F, Marconi E, Rossi A, Cricelli C.  The burden of recurrent respiratory tract infections in adult population: a population-based study in primary care. Fam Pract. 2024;41:76-85. 10.1093/fampra/cmae009 [DOI] [PubMed] [Google Scholar]
  • 11. Suh G, Ley C, Parsonnet J.  Infectious diseases in children and body mass index in young adults. Emerg Infect Dis. 2012;18:1490-1492. 10.3201/eid1809.111821 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Yücel ÜÖ, Çalış AG.  The relationship between general and abdominal obesity, nutrition and respiratory functions in adult asthmatics. J Asthma. 2023;60:1183-1190. 10.1080/02770903.2022.2137038 [DOI] [PubMed] [Google Scholar]
  • 13. Littleton SW.  Impact of obesity on respiratory function. Respirology. 2012;17:43-49. 10.1111/j.1440-1843.2011.02096.x [DOI] [PubMed] [Google Scholar]
  • 14. Caceres C, Castillo M, Carrillo K, et al.  Overnutrition as a risk factor for more serious respiratory viral infections in children: a retrospective study in hospitalized patients. Endocrinol Diabetes Nutr (Engl Ed). 2023;70:476-483. 10.1016/j.endien.2023.05.014 [DOI] [PubMed] [Google Scholar]
  • 15. He QQ, Wong TW, Du L, et al.  Physical activity, cardiorespiratory fitness, and obesity among Chinese children. Prev Med. 2011;52:109-113. 10.1016/j.ypmed.2010.11.005 [DOI] [PubMed] [Google Scholar]
  • 16. Grigorakis DA, Georgoulis M, Psarra G, Tambalis KD, Panagiotakos DB, Sidossis LS.  Prevalence and lifestyle determinants of central obesity in children. Eur J Nutr. 2016;55:1923-1931. 10.1007/s00394-015-1008-9 [DOI] [PubMed] [Google Scholar]
  • 17. World Health Organization. Body mass index-for-age (BMI-for-age). HTTPS://WWW.WHO.INT/TOOLKITS/CHILD-GROWTH-STANDARDS/STANDARDS/BODY-MASS-INDEX-FOR-AGE-BMI-FOR-AGE
  • 18. Maccioni L, Weber S, Elgizouli M, et al.  Obesity and risk of respiratory tract infections: results of an infection-diary based cohort study. BMC Public Health. 2018;18:271. 10.1186/s12889-018-5172-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Yang W, Yang Y, Guo Y, Guo J, Ma M, Han B.  Obesity and risk for respiratory diseases: a Mendelian randomization study. Front Endocrinol (Lausanne). 2023;14:1197730. 10.3389/fendo.2023.1197730 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Vishnu NS, Sodhi MK, Aggarwal D, Puri S, Saini V.  Persistent respiratory symptoms and lung function abnormalities in recovered patients of COVID-19. Lung India. 2023;40:507-513. 10.4103/lungindia.lungindia_166_23 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Sonoda K, Nayak R.  Chronic cough: evaluation and management. Am Fam Physician. 2024;110:167-173. [PubMed] [Google Scholar]
  • 22. Sulit LG, Storfer-Isser A, Rosen CL, Kirchner HL, Redline S.  Associations of obesity, sleep-disordered breathing, and wheezing in children. Am J Respir Crit Care Med. 2005;171:659-664. 10.1164/rccm.200403-398OC [DOI] [PubMed] [Google Scholar]
  • 23. Scholtens S, Wijga AH, Seidell JC, et al.  Overweight and changes in weight status during childhood in relation to asthma symptoms at 8 years of age. J Allergy Clin Immunol. 2009;123:1312-1318.e2. 10.1016/j.jaci.2009.02.029 [DOI] [PubMed] [Google Scholar]
  • 24. Somerville SM, Rona RJ, Chinn S.  Obesity and respiratory symptoms in primary school. Arch Dis Child. 1984;59:940-944. 10.1136/adc.59.10.940 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Robinson PD.  Obesity and its impact on the respiratory system. Paediatr Respir Rev. 2014;15:219-226. 10.1016/j.prrv.2014.06.003 [DOI] [PubMed] [Google Scholar]
  • 26. Melo LC, Silva MA, Calles AC.  Obesity and lung function: a systematic review. Einstein (Sao Paulo). 2014;12:120-125. 10.1590/s1679-45082014rw2691 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. Xanthopoulos M, Tapia IE.  Obesity and common respiratory diseases in children. Paediatr Respir Rev. 2017;23:68-71. 10.1016/j.prrv.2016.10.002 [DOI] [PubMed] [Google Scholar]
  • 28. Jehan S, Zizi F, Pandi-Perumal SR, et al.  Obstructive sleep apnea and obesity: implications for public health. Sleep Med Disord. 2017;1(4):00019. [PMC free article] [PubMed] [Google Scholar]
  • 29. Kriegeskorte N, Golan T.  Neural network models and deep learning. Curr Biol. 2019;29:R231-r236. 10.1016/j.cub.2019.02.034 [DOI] [PubMed] [Google Scholar]
  • 30. Martinez C, Levin D, Jones J, et al.  Deep sequential neural network models improve stratification of suicide attempt risk among US veterans. J Am Med Inform Assoc. 2023;31:220-230. 10.1093/jamia/ocad167 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Di Palmo E, Filice E, Cavallo A,  et al.  Childhood obesity and respiratory diseases: Which link?  Children. 2021;8(3). 10.3390/children8030177 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Ali A, Al-Ani O, Al-Ani F.  Children’s behaviour and childhood obesity. Pediatr Endocrinol Diabetes Metab. 2024;30:148-158. 10.5114/pedm.2024.142586 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Barton M.  Childhood obesity: a life-long health risk. Acta Pharmacol Sin. 2012;33:189-193. 10.1038/aps.2011.204 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Bendor CD, Bardugo A, Pinhas-Hamiel O, Afek A, Twig G.  Cardiovascular morbidity, diabetes and cancer risk among children and adolescents with severe obesity. Cardiovasc Diabetol. 2020;19:79. 10.1186/s12933-020-01052-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Schellong K, Schulz S, Harder T, Plagemann A.  Birth weight and long-term overweight risk: systematic review and a meta-analysis including 643,902 persons from 66 studies and 26 countries globally. PLoS One. 2012;7:e47776. 10.1371/journal.pone.0047776 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Lin Y, Rankin R, McDonald S, et al.  Children’s birth weight and the risk of general obesity and central obesity in primary school children: a 4-year longitudinal study. Front Public Health. 2025;13:1469226. 10.3389/fpubh.2025.1469226 [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

ooag061_Supplementary_Data

Data Availability Statement

The data underlying this article are available in the Dryad, at https://datadryad.org/10.5061/dryad.gf1vhhn44.


Articles from JAMIA Open are provided here courtesy of Oxford University Press

RESOURCES