Key PointsQuestion
Can the artificial neural network (ANN) predict risk for neonatal metabolic bone disease (MBD) in the prenatal and postnatal periods?
Findings
In this diagnostic study of 10 801 participants, among 5 ANN models with different exposures, the models including significant prenatal and postnatal factors and postnatal factors alone had the best ability to predict infants at risk for MBD.
Meaning
These findings suggest that the ANN, using prenatal and postnatal factors, could be an efficient tool for identifying neonates at risk for BMD.
Importance
Early recognition of metabolic bone disease (MBD) in infants is necessary but difficult; an appropriate tool to screen infants at risk of developing MBD is needed.
Objectives
To develop a predictive model for neonates at risk for MBD in the prenatal and postnatal periods and detect the pivotal exposed factors in each period.
Design, Setting, and Participants
A diagnostic study was conducted from January 1, 2012, to December 31, 2021, in Shanghai, China. A total of 10 801 pregnant women (singleton pregnancy, followed up until 1 month after parturition) and their infants (n = 10 801) were included. An artificial neural network (ANN) framework was used to build 5 predictive models with different exposures from prenatal to postnatal periods. The receiver operating characteristic curve was used to evaluate the model performance. The importance of each feature was examined and ranked.
Results
Of the 10 801 Chinese women who participated in the study (mean [SD] age, 29.7 [3.9] years), 7104 (65.8%) were local residents, 1001 (9.3%) had uterine scarring, and 138 (1.3%) gave birth to an infant with MBD. Among the 5 ANN models, model 1 (significant prenatal and postnatal factors) showed the highest AUC of 0.981 (95% CI, 0.970-0.992), followed by model 5 (postnatal factors; AUC, 0.977; 95% CI, 0.966-0.988), model 4 (all prenatal factors; AUC, 0.850; 95% CI, 0.785-0.915), model 3 (gestational complications or comorbidities and medication use; AUC, 0.808; 95% CI, 0.726-0.891), and model 2 (maternal nutritional conditions; AUC, 0.647; 95% CI, 0.571-0.723). Birth weight, maternal age at pregnancy, and neonatal disorders (anemia, respiratory distress syndrome, and septicemia) were the most important model 1 characteristics for predicting infants at risk of MBD; among these characteristics, extremely low birth weight (importance, 50.5%) was the most powerful factor. The use of magnesium sulfate during pregnancy (model 4: importance, 21.2%) was the most significant predictor of MBD risk in the prenatal period.
Conclusions and Relevance
In this diagnostic study, ANN appeared to be a simple and efficient tool for identifying neonates at risk for MBD. Combining prenatal and postnatal factors or using postnatal exposures alone provided the most precise prediction. Extremely low birth weight was the most significant predictive factor, whereas magnesium sulfate use during pregnancy could be an important bellwether for MBD before delivery.
Metabolic bone disease (MBD), a bone health disorder characterized by hypophosphatemia, hyperphosphatemia, and skeletal demineralization, is commonly observed in preterm infants who are deprived of fetal mineral accumulation.1-3 The incidence of MBD is related to birth weight and ranges from 16% to 40% in very low-birth-weight (VLBW, <1500 g) and extremely low-birth-weight (ELBW, <1000 g) infants.1
Metabolic bone disease may be due to both prenatal and postnatal factors that cause disturbances in calcium and phosphorus metabolism, such as maternal nutrient availability, placental insufficiency, drugs that induce bone resorption, parenteral nutrition, and neonatal disorders.2-4 Skeletal manifestations of MBD include osteopenia, osteoporosis, rickets, and pathologic fractures in severe cases. In addition to a subsequent increase in bone fragility, MBD can also impair both long- and short-term longitudinal growth of long bones.5,6 The negative effect on bone mineralization may delay somatic development and increase susceptibility to other chronic diseases in adulthood.7
Screening of infants at risk of developing MBD is necessary, although diagnostic methods vary widely in different countries and institutions.8,9 In addition, the late onset of clinical symptoms and signs combined with the lack of specific biochemical markers make early recognition of MBD challenging.3,10 Although numerous epidemiologic studies7,11-13 have identified several risk factors for MBD during the neonatal period, little work has evaluated the prediction of their development. In addition, traditional risk prediction models are limited in forecasting the probability of an outcome,14 especially a multifactorial disease with a context of large, high-dimensional, and imbalanced data set.15 However, they cannot quantify the importance of each feature on predicting the outcomes.16 Furthermore, contemporary research often investigates preterm infants, using relatively small sample sizes,17 with few having studied MBD among infants in general.18,19
Because clinical data acquired during the time frame covered by a research period may not include all relevant risk factors, a set of accurate predictive tools for MBD applicable to different scenarios is needed. In recent years, the artificial neural network (ANN) technique, a highly flexible and accurate machine learning algorithm, has been widely used for diagnostic and prognostic prediction of various diseases.20,21 An ANN simulates the behavior of biological neurons to learn and model the nonlinear relationships between variables and allow computers to predict new data using the learned potential patterns.22 The output value is compared with that expected output. Learning proceeds by modifying the weight of the connections between neurons until a minimum error of the network is reached. After training, the ANN can generate outputs (prediction) on a new data set based on the accumulated knowledge. In some cases, ANN might provide a more accurate estimation than conventional approaches.23
We aimed to develop serial ANN models for the risk of MBD based on the hypothesis that exposures spanning the antenatal to postpartum periods that influence fetal bone formation might indicate infants at higher risk for MBD. The primary objective was to identify the optimal model for prediction; the secondary objective was to detect the pivotal exposed factors in each period by examining the impacts of each model’s features.
Study Design and Participants
After securing institutional review board approval from the Shanghai First Maternity and Infant Hospital and the Tongji University School of Medicine, a diagnostic study was conducted in a cohort of pregnant Chinese women from January 1, 2012, to December 31, 2021. All participants gave written informed consent before enrollment and the data collected from them were deidentified. Participants were recruited early in pregnancy and followed up until 1 month after parturition with clinical data recorded at each visit. This study followed the Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis (TRIPOD) reporting guideline.24
Inclusion criteria were as follows: (1) singleton pregnancy; (2) complete clinical data during the antenatal, delivery, and postpartum periods; and (3) surviving infants with detailed values of alkaline phosphatase. Metabolic bone disease was diagnosed as a peak serum alkaline phosphatase level greater than 500 U/L (to convert to microkatals per liter, multiply by 0.0167)18 72 hours after birth measured by the 2-amino-2-methyl-1-propanol method. Women who gave birth to an infant with MBD were selected as the case group.
Detailed calculation of the required sample size for this study is described in the eMethods in Supplement 1. We excluded 2559 participants with twin or triplet pregnancy and 3158 with missing data from any variables of interest. A total of 10 801 women and their infants were finally included in the analyses (eFigure 1 in Supplement 1).
Data Collection and Handling
We collected maternal and neonatal characteristics data from electronic health records for analysis (eTable 1 in Supplement 1). Characteristics included the following: (1) demographic data and previous pregnancy history: age at pregnancy, occupation, ethnicity (on resident’s identification card), region, prepregnancy body mass index (BMI), parity, and uterine scarring; (2) nutritional conditions during pregnancy: anemia, deficiencies of folic acid, ferritin, and vitamin D, and supplementation of corresponding nutrients (folic acid, iron, calcium, and vitamin D); (3) complications and comorbidities: placenta previa, placental abruption, gestational diabetes, gestational hypertension, kidney disease, and fever; (4) medication use during pregnancy: dexamethasone, magnesium sulfate, antibiotics, and furosemide; (5) birth outcomes: prematurity, sex, Apgar scores (range, 0-10), birth weight, and small for gestational age (birth weight <10th percentile at the same gestational age); and (6) neonatal disorders: respiratory failure, anemia, septicemia, hypoglycemia or hyperglycemia, respiratory distress syndrome (RDS), pneumonia, and hyperbilirubinemia. Continuous independent variables, including age at pregnancy, prepregnancy BMI, Apgar score, and neonatal birth weight, were converted into categorical variables to decrease the effect of extreme values.
To enhance the computational efficiency of the ANN model, logistic regression analysis was first performed to select important factors. We subsequently incorporated the putative predictive factors, those with P < .10, into a multivariable model using the forced entry method. The association of each factor with the risk of MBD was estimated with odds ratios (ORs) and 95% CIs. Variables with statistical significance (P < .05) were reserved to build the ANN model.
Dealing With Missing Data
Categorical values were presented as numbers (percentages) and were used to compare MBD and control groups using the χ2 test or Fisher exact test. To investigate the potential attrition bias from the missing data, we repeated this testing for all factors in the full singleton cohort with imputed data before proceeding with the main analyses. The missing data were estimated by multiple imputation by chained equations.
A feed-forward ANN framework was applied to construct predictive models. The model structure comprised 3 layers. The input layer had the factors we chose for model construction as neurons, and the output layer had 2 neurons (ie, MBD and non-MBD events). The hidden layer comprises weighted inputs as neurons and produces a classification of the predicted event in the output layer. The total sample was randomized into a training set (70%) for model development and a test set (30%) for validation. The number of hidden layer neurons was determined by 100 iterations, and the BFGS (Broyden, Fletcher, Goldfarb and Shanno) method was applied to determine optimal model parameters.
Predictive Model Evaluation
Under the ANN framework, model 1 was first built with significant factors selected from logistic regression models (significant prenatal and postnatal factors). We also constructed a set of ANN models with demographic characteristics and significant variables from different periods: (1) maternal nutritional conditions in model 2, (2) gestational complications and comorbidities and medication use in model 3; (3) all prenatal factors (in items 1 and 2) in model 4; and (4) postnatal factors (birth outcomes and neonatal disorders) in model 5 (eTables 2 and 3 in Supplement 1).
Model performance was reported by approaches of discrimination, calibration, and reclassification. The area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, positive predictive value, and negative predictive value were calculated. The optimal threshold value for the AUC to distinguish a predictive event was determined by the maximum Youden Index. The model with the highest AUC was considered to have the best discriminative ability. Net reclassification improvement (>0) was used to quantify the risk classification of 2 models with similar AUCs. Calibration plots were constructed to display the calibration performance of each model. We ranked the predictors included by feature importance based on the Gevrey method.
All analyses were performed using R software, version 4.2.2 (R Foundation for Statistical Computing). A 2-sided P < .05 was considered statistically significant in the analyses.
Participant Characteristics
Of the 10 801 Chinese women who participated in this study (mean [SD] age, 29.7 [3.9] years), 7104 (65.8%) were local residents, 10 600 (98.1%) were of Han ethnicity, and 1001 (9.3%) had uterine scarring (Table 1). A total of 5950 infants were male (55.1%) and 4851 (44.9%) were female. There were 138 neonates (1.3%) with MBD; among them, only 6 (4.3%) were term infants, whereas 8094 control neonates (75.9%) were term infants. Other factors during antenatal and postpartum periods are outlined in eTable 4 in Supplement 1. Distribution patterns of factors in the full singleton cohort with imputed data remained essentially unchanged (eTable 5 in Supplement 1).
Putative Predictive Factors
After maternal demographic characteristics were adjusted for, the risk of having MBD offspring was 2.31 (95% CI, 1.19-4.48; P = .01) times higher in women who had inadequate folic acid during pregnancy, 3.260 (95% CI, 1.80-5.92; P < .001) times higher in those with calcium supplementation, and 0.38 (95% CI, 0.22-0.64; P < .001) times lower if taking iron supplements. Magnesium sulfate use in pregnancy (OR, 1.80; 95% CI, 1.05-3.06; P = .03) and infants with low birth weight (OR, 5.49; 95% CI, 1.64-18.40; P = .006), anemia (OR, 3.04; 95% CI, 1.86-5.14; P < .001), septicemia (OR, 3.00; 95% CI, 1.51-5.96; P = .002), or RDS (OR, 6.06; 95% CI, 3.17-11.59; P < .001) were risk factors for developing MBD (Table 2).
A total of 9 significant variables were included in model 1 (significant prenatal and postnatal factors). Model 1 exhibited the highest AUC of 0.981 (95% CI, 0.970-0.992), followed by model 5 (postnatal factors; AUC, 0.977; 95% CI, 0.966-0.988), model 4 (all prenatal factors; AUC, 0.850; 95% CI, 0.785-0.915), model 3 (gestational complications and comorbidities and medication use; AUC, 0.808; 95% CI, 0.726-0.891), and model 2 (maternal nutritional conditions; AUC, 0.647; 95% CI, 0.571-0.723) (Table 3 and Figure 1). The net reclassification improvement was 0.205 (95% CI, 0.067-0.335) when comparing model 1 with model 5, illustrating a better discriminative ability of model 1. Model 1 had a comparable sensitivity to model 5 (both 0.951; 95% CI, 0.885-1.000) but a higher PPV (0.260; 95% CI, 0.190-0.330) than model 5 (0.140; 95% CI, 0.100-0.182), supporting that it could precisely identify neonates at higher risk for MBD with less misclassification of low-risk individuals. Compared with model 3, model 4 included more prenatal factors and had higher sensitivity (model 4: 0.829; 95% CI, 0.714-0.994 vs model 3: 0.683; 95% CI, 0.540-0.825), indicating a possibly stronger ability to recognize infants at risk for MBD before delivery. In addition, model 1 and model 5 were well calibrated according to the calibration plots (eFigures 2-6 in Supplement 1).
A list of factors included in each model and their importance is presented in eTable 6 in Supplement 1. The variable importance plot of model 1 (Figure 2) suggested that birth weight, maternal age at pregnancy, and neonatal disorders are the most important characteristics for predicting an infant at risk for MBD; among these factors, ELBW (importance, 50.5%) followed by VLBW (importance, 7.6%) were the most powerful predictive characteristics. The factors that ranked first were ELBW (importance, 15.1%) in model 1 and use of magnesium sulfate (importance, 21.2%) in model 4 (eTable 6 and eFigures 7-10 in Supplement 1).
In this diagnostic study, 5 ANN models were proposed using different exposed factors obtained from prenatal and/or postnatal periods to make early predictions regarding neonates at risk for MBD. Model 1 (significant prenatal and postnatal factors) and model 5 (postnatal factors) showed the best performance. If prenatal factors are unavailable, we recommend that model 1 and model 5 be used in clinical practice (postdelivery prediction) and model 4 (all prenatal factors) be used before delivery in the study population.
The 3 suggested predictive models had an excellent discriminative ability, with a superior AUC of 0.981 in model 1 and 0.977 in model 5. Currently, to our knowledge, no research has focused on making predictions for neonates at risk for MBD using machine learning techniques; therefore, we could not compare model performance. However, many researchers focused their attention on developing practical screening tools for bone diseases in adults, such as osteoporosis, using ANN methods and acknowledged its predictive power, especially in mass screening application.25,26 Another study27 found that ANN outperformed linear regression models in prediction of bone density among postmenopausal women when more variables were imported. However, it is challenging for ANN to scale up to recordings of thousands of neurons and to provide medical explanations pertaining to each independent variable as linear or logistic models do.28,29 In addition, ANN needs a long processing time for large neural networks. This study considered many factors (neurons), and the sample size had rigorous requirements when putting all these factors into ANN models. Therefore, only the variables selected by logistic regression analysis were used as input variables.
Our findings revealed that ELBW and VLBW had a significant influence on the risk of MBD during infancy. Previous studies7,19,30,31 identified birth weight along with gestational age as the strongest risk factors for MBD in preterm infants and recommended that infants with birth weights less than 1500 g be screened for MBD.32 Approximately 80% of fetal bone mineral accretion occurs during the last 3 months of pregnancy, and preterm neonates will miss, partially or fully, this critical period of bone growth.33 Prematurity, however, was not identified as a significant predictor in this study. We observed that 95.7% of neonates with MBD were preterm; therefore, birth weight might be more sensible than prematurity for prediction. Although the gestational age was not included in the analysis, its role might have been implied by prematurity combined with birth weight. We also found no association of uterine scarring, a potential risk factor for preterm delivery,34 with the risk of MBD.
Intrauterine mineral deficit can worsen in the postnatal period due to neonatal disorders responsible for associated bone loss.2,35 Consistent with previous results,36 we found that neonatal RDS, anemia, and septicemia were associated with increased risk of MBD, which could be a result of restriction in bone growth due to disease relevant therapies and induced stress responses.37,38 Among antenatal risk factors, the use of magnesium sulfate was the most significant factor associated with the risk of MBD in infants (model 4), highlighting its detrimental influence on neonatal bone health.39,40 Maternal magnesium can influence fetal parathyroid hormone balance and compete with calcium metabolism via crossing the placenta to fetus, consequently causing bone atrophy in neonates.40 The deficiency of folic acid may influence normal bone formation and growth,41 and maternal iron and calcium supplementation could help rule out or identify MBD development in neonates. Of note, we detected a calcium-associated risk for MBD through multivariable analysis. This risk may indicate largely inadequate calcium storage during gestation.
Strengths and Limitations
Our study had several strengths. To our knowledge, this was the first study to use artificial intelligence models for MBD risk prediction in very early life. Given the data availability in clinical settings, we developed a set of predictive tools tailored to different scenarios from antenatal to postnatal periods and selected the optimal ones for application. When available, more than 95% of MBD could be accurately predicted using fewer than 10 variables. The predictive model we developed is a rapid and effective tool that could be applied to daily clinical practice, such as by developing a computerized system for risk screening purposes. Another advantage was that we used data from a long-established cohort of pregnant women (2012-2021) with a large sample size (n = 10 801). The prospective design ensured the reliability of exposed factors obtained and their associations with MBD risk. On the basis of our results, we were able to identify some clinically relevant predictive factors, such as birth weight and maternal use of magnesium sulfate. Identification of these factors could allow for special monitoring of those with high-risk factors of MBD, such as infants with low birth weight and pregnant women who are at risk of delivering preterm or growth-restricted infants. Furthermore, MBD is not a condition limited to the preterm infant. Unlike most MBD reports, which focus on premature births,5,17,18 our results could be generalized to both term and preterm infants.
Some limitations should also be noted. First, because of the absence of a bone imaging method, the diagnosis of MBD was made by biochemical criteria based on serum alkaline phosphatase levels. However, radiographs only reveal bone mineralization when its reduction is up to 20% to 40%42 and are of limited use to in the early diagnosis of MBD. Second, postnatal mineral supply,30 type of feeding,43 parenteral nutrition,12 and some important nutrient intake during pregnancy (eg, phosphorus, magnesium, zinc, potassium, and protein) may also be involved in bone metabolism. These indicators require further research and generative evidence before claims are made. Given the study purpose and strong performance of our predictive models, we suggest that current data are sufficient to meet the goal. Third, this study included only women with singleton pregnancy in consideration of the complicated mechanism of multiple-birth pregnancy that may introduce unknown confounders and lead to unexplained results. Specialized, well-designed observational studies are needed to investigate the association of multiple births with the risk of MBD. Fourth, higher risk of mortality in preterm (compared with term) infants might bias the results. However, because of a high level of medical care, such survivorship bias might not exist in this study because the survival rate of neonates approaches 100% within 72 hours after birth at our institute, at which time infants are screened for MBD. Of note, these factors are applicable to the population of study but need to be tested in other populations and countries.
In this diagnostic study of 10 801 participants, ANN appeared to be a simple and efficient tool to identify neonates at risk of MBD and could therefore effectively help with preventive efforts. Combining prenatal and postnatal factors or using postnatal exposures alone provided the most precise prediction. The most important predictor was ELBW. The use of magnesium sulfate during pregnancy was a significant predictor for the risk of MBD when postnatal factors were unavailable. However, further investigations are warranted to validate these findings in other populations.
Accepted for Publication: November 29, 2022.
Published: January 23, 2023. doi:10.1001/jamanetworkopen.2022.51849
Open Access: This is an open access article distributed under the terms of the CC-BY License. © 2023 Jiang H et al. JAMA Network Open.
Corresponding Author: Jing Hua, MD, PhD (jinghua@tongji.edu.cn), and Hao Ying, MD, PhD (stephenying_2011@163.com), Department of Mother and Children’s Health Care, Shanghai First Maternity and Infant Hospital, School of Medicine, Tongji University, 2699 West Gaoke Rd, Shanghai 201204, China.
Author Contributions: Drs Hua and Ying had full access to all of the data in the study and take responsibility for the integrity of the data and the accuracy of the data analysis. Drs Jiang, Guo, and J. Li contributed equally to this work.
Concept and design: Guo, Du, Hua, Ying.
Acquisition, analysis, or interpretation of data: Jiang, Guo, J. Li, C. Li, Canavese, Baker.
Drafting of the manuscript: Jiang, Guo, Du, Canavese.
Critical revision of the manuscript for important intellectual content: All authors.
Statistical analysis: Jiang, Guo, C. Li.
Obtained funding: Du, Hua, Ying.
Administrative, technical, or material support: Guo, J. Li, Canavese, Hua, Ying.
Supervision: Guo, J. Li, Hua, Ying.
Conflict of Interest Disclosures: Dr Canavese reported serving as the general secretary of the European Paediatric Orthopaedic Society General Secretary and as a deputy editor for Orthopaedics & Traumatology: Surgery & Research outside the submitted work. No other disclosures were reported.
Funding/Support: This study was supported by grant 81673179 from the National Natural Science Foundation of China (Dr Hua), grant 21DZ2202000 from the Science and Technology Commission of Shanghai Municipality (Dr Hua), grant 2020YJZX0213 from the Shanghai Municipal Health Commission (Dr Hua), grant PW2020D-11 from the Pudong Municipal Health Commission (Dr Hua), and grant SHDC2020CR1047B from the Shanghai Shenkang Hospital Development Center (Dr Hua).
Role of the Funder/Sponsor: The funding sources had no role in the design and conduct of the study; collection, management, analysis, and interpretation of the data; preparation, review, or approval of the manuscript; and decision to submit the manuscript for publication.
Data Sharing Statement: See Supplement 2.
1.Rustico
SE, Calabria
AC, Garber
SJ. Metabolic bone disease of prematurity.
J Clin Transl Endocrinol. 2014;1(3):85-91.
PubMedGoogle Scholar 7.Avila-Alvarez
A, Urisarri
A, Fuentes-Carballal
J, Mandiá
N, Sucasas-Alonso
A, Couce
ML. Metabolic bone disease of prematurity: risk factors and associated short-term outcomes.
Nutrients. 2020;12(12):3786. doi:
10.3390/nu12123786
PubMedGoogle ScholarCrossref 14.Churpek
MM, Yuen
TC, Winslow
C, Meltzer
DO, Kattan
MW, Edelson
DP. Multicenter comparison of machine learning methods and conventional regression for predicting clinical deterioration on the wards.
Crit Care Med. 2016;44(2):368-374. doi:
10.1097/CCM.0000000000001571
PubMedGoogle ScholarCrossref 22.Kawakami
E, Tabata
J, Yanaihara
N,
et al. Application of artificial intelligence for preoperative diagnostic and prognostic prediction in epithelial ovarian cancer based on blood biomarkers.
Clin Cancer Res. 2019;25(10):3006-3015. doi:
10.1158/1078-0432.CCR-18-3378
PubMedGoogle ScholarCrossref 26.Wang
Y, Wang
L, Sun
Y,
et al. Prediction model for the risk of osteoporosis incorporating factors of disease history and living habits in physical examination of population in Chongqing, Southwest China: based on artificial neural network.
BMC Public Health. 2021;21(1):991. doi:
10.1186/s12889-021-11002-5
PubMedGoogle ScholarCrossref 27.Sadatsafavi
M, Moayyeri
A, Soltani
A, Larijani
B, Nouraie
M, Akhondzadeh
S. Artificial neural networks in prediction of bone density among post-menopausal women.
J Endocrinol Invest. 2005;28(5):425-431. doi:
10.1007/BF03347223
PubMedGoogle ScholarCrossref 36.He
XR, Liang
C, Yu
YQ,
et al. [Risk factors for metabolic bone disease of prematurity in very/extremely low birth weight infants: a multicenter investigation in China].
Zhongguo Dang Dai Er Ke Za Zhi. 2021;23(6):555-562.
PubMedGoogle Scholar 43.Körnmann
MN, Christmann
V, Gradussen
CJW,
et al. Growth and bone mineralization of very preterm infants at term corrected age in relation to different nutritional intakes in the early postnatal period.
Nutrients. 2017;9(12):1318. doi:
10.3390/nu9121318
PubMedGoogle ScholarCrossref