- Open Access
Machine learning model for early prediction of acute kidney injury (AKI) in pediatric critical care
Critical Care volume 25, Article number: 288 (2021)
Acute kidney injury (AKI) in pediatric critical care patients is diagnosed using elevated serum creatinine, which occurs only after kidney impairment. There are no treatments other than supportive care for AKI once it has developed, so it is important to identify patients at risk to prevent injury. This study develops a machine learning model to learn pre-disease patterns of physiological measurements and predict pediatric AKI up to 48 h earlier than the currently established diagnostic guidelines.
EHR data from 16,863 pediatric critical care patients between 1 month to 21 years of age from three independent institutions were used to develop a single machine learning model for early prediction of creatinine-based AKI using intelligently engineered predictors, such as creatinine rate of change, to automatically assess real-time AKI risk. The primary outcome is prediction of moderate to severe AKI (Stage 2/3), and secondary outcomes are prediction of any AKI (Stage 1/2/3) and requirement of renal replacement therapy (RRT). Predictions generate alerts allowing fast assessment and reduction of AKI risk, such as: “patient has 90% risk of developing AKI in the next 48 h” along with contextual information and suggested response such as “patient on aminoglycosides, suggest check level and review dose and indication”.
The model was successful in predicting Stage 2/3 AKI prior to detection by conventional criteria with a median lead-time of 30 h at AUROC of 0.89. The model predicted 70% of subsequent RRT episodes, 58% of Stage 2/3 episodes, and 41% of any AKI episodes. The ratio of false to true alerts of any AKI episodes was approximately one-to-one (PPV 47%). Among patients predicted, 79% received potentially nephrotoxic medication after being identified by the model but before development of AKI.
As the first multi-center validated AKI prediction model for all pediatric critical care patients, the machine learning model described in this study accurately predicts moderate to severe AKI up to 48 h in advance of AKI onset. The model may improve outcome of pediatric AKI by providing early alerting and actionable feedback, potentially preventing or reducing AKI by implementing early measures such as medication adjustment.
AKI affects up to a quarter of pediatric critical care patients , and is independently associated with higher mortality, longer lengths of stay, and subsequent development of chronic kidney disease [2,3,4]. Currently, AKI is diagnosed using Kidney Disease Improving Global Outcomes (KDIGO) clinical practice guidelines, based on serum creatinine and urine output . However, since renal impairment typically precedes increases in creatinine, staging guidelines only detect AKI after renal injury or impairment has already set in. Whilst in pediatric intensive care units (PICU) there are often no specific treatments to reverse AKI after it has developed , some studies have shown that early improvements in renal function after AKI may lead to better outcomes [1, 5, 7]. Therefore, early prediction of AKI is important for identifying patients at risk of developing AKI and intervening early to improve outcomes. While AKI is multifactorial in PICU patients, it most commonly occurs following a period of renal hypoperfusion due to hypotension. Simple interventions which might improve renal function include ensuring adequate renal perfusion with intravascular filling or inotropes and avoiding or reducing nephrotoxic drugs. The Acute Dialysis Quality Initiative (ADQI) group recommended developing machine learning models for early prediction of moderate to severe AKI (Stage 2/3) between 48 and 72 h before diagnosis, and suggested that the prediction model should present information about patient measurements contributing to these risks and provide feedback to practitioners regarding potential actionable items . Many research groups have tackled early prediction of AKI using electronic health records (EHR) data [8,9,10,11], but no model so far explains the rationale behind specific predictions despite a clear need for explainable and actionable predictions [6, 12]. In pediatric patients where physiology differs greatly with age, developing a predictive model that learns age-appropriate signs of early AKI remains an additional challenge. This study aims to develop a prediction model of AKI for general pediatric critical care patients, running in real-time, that can detect subtle ongoing changes in patient physiology and alert caregivers about patients at high risk of AKI and provide interpretable context and suggested actions. The primary outcome is the ability to predict the onset of moderate to severe AKI 6 to 48 h before it develops. The same model is also assessed on secondary AKI-related outcome measures, including development of any AKI (Stage 1/2/3) and requirement of renal replacement therapy (RRT). To our knowledge, this is the first AKI prediction model built to explain each prediction, and the first multi-center validated model for general pediatric critical care AKI prediction.
The study cohort included patients from the PICU and cardiothoracic intensive care units (CTICU) of three independent tertiary-care pediatric intensive care centers. The first data set was from a US hospital (Hospital 1) between 2003 to 2011, the second was from a UK hospital (Hospital 2) between 2009 to 2015, and the third was from a US Hospital (Hospital 3) between 2014 to 2019. Records were de-identified for this study, and informed consent was waived as specified in Declerations.
Derivation and validation data
Patient data from each of the three centers were split into derivation (70%), validation (15%), and holdout testing (15%) datasets with no patient overlap. One single prediction model was designed and trained using derivation and validation data from all hospitals, and then validated on the holdout test data of each hospital.
Creatinine measurements were used to label AKI stages using KDIGO serum creatinine criteria . Baseline creatinine was determined by the mean normal creatinine level for age and gender group [14,15,16]. Urine output criteria were not used due to unreliable records. AKI onset times of patients who developed moderate to severe AKI were labeled as the time of measurement of the first creatinine contributing to AKI Stage 2 or higher; onset times of patients who developed Stage 1 AKI, but not Stage 2/3, were labeled as the time of measurement of the first creatinine contributing to Stage 1; onset times of patients who never developed AKI were selected as a random time during the stay. The following exclusion criteria were applied: (1) patients below one month (neonatal), above 21 years, or without a valid age record, (2) patients with AKI in the first 12 h of ICU stay, (3) patients with length of stay less than 24 h, and (4) if a single patient had multiple encounters, only one encounter was used while remaining encounters were excluded. The included encounter was the one with the highest stage of AKI or the longest length of stay if the highest AKI stage was the same in multiple encounters.
The primary outcome was prediction of Stage 2/3 AKI during the timeframe 48 to 6 h before onset. For the purpose of training the model on the primary outcome, patients without AKI or those with AKI Stage 1 were labeled as control patients. The trained model was also tested on secondary outcomes, including prediction of any AKI (Stages 1/2/3) and prediction of requirement of RRT.
The renal angina index (RAI), shown to be predictive of AKI at PICU admission , was used as a baseline comparator. RAI was calculated prior to AKI onset, as detailed in Additional file 1, and compared to model predictions.
Four types of data elements including vital signs, laboratory values, medication history, and ventilation parameters were extracted from the EHR and used as predictors to train and build the model. Statistics including mean, median, minimum, maximum, change, and last value in the past 30 h were derived for each predictor. For creatinine, an additional creatinine rate of change (CRoC) was determined by calculating the slope (mg/dL/hour) of a line least square fitted to the creatinine measurements within the previous 48 h. Medication data were divided into three categories: low nephrotoxic potential drugs, high nephrotoxic potential drugs, and vasoactive drugs as shown in Additional file 1. The number of times any medication from each category was administered in the previous week was summed and used as predictors. This led to a total of 250 candidate predictors, which were finalized to 15 model input predictors shown in Table 2 in a feature selection process described in Additional file 1.
Predictors were aggregated every six hours to generate AKI risk predictions. After model design and feature selection, the final model was trained on derivation and validation data spanning 48 to 24 h before AKI onset, and tested on holdout data 48 to 6 h before AKI onset. The model is able to make predictions when some predictors are missing in a given timeframe, removing the need for data imputation.
Statistical analysis methods
The model was developed following the Transparent Reporting of a Multivariate Prediction Model for Individual Prognosis or Diagnosis guidelines . The derivation and validation data were trained on an age-dependent ensemble machine learning model  shown in Fig. 1, which belongs to a class of models that make classifications based on the sum of an ensemble of simpler ‘weak classifiers’. A weak classifier is learned for each predictor and age pair to predict AKI risk given the measured value of that predictor, and can be thought of as a sophisticated lookup table based on the patient’s age and single predictor value, such as age and bilirubin. The model’s consideration of age-dependent risk makes it adaptable to a wide patient age range. Example weak classifiers for CRoC and high nephrotoxic potential drugs are shown in Fig. 1. Since the predicted AKI risk is a sum of all weak classifier predictions, the contribution of each non-age predictor can be separated and ranked for each prediction made. This enables the model to display the top predictors contributing to the highest risk for each prediction, thereby making the AKI risk predictions transparent and interpretable for the user. The predicted risk was adequately calibrated and evaluated by verifying that the calibration curve is close to the diagonal of AKI occurrence rate against predicted risk, as shown in Additional file 1.
The final cohort demographics including the combined derivation, validation, and holdout cohorts of each hospital are shown in Table 1. The model uses 15 input predictors plus age, as shown in Table 2.
The trained model predicts AKI well with AUROC increasing from 0.83 to 0.89 within the training prediction window of 48 to 24 h before AKI onset, decreasing slightly to 0.85 outside the training window, as shown in Fig. 2a. Performance metrics are shown in more detail in Additional file 1. Figure 2b shows that model performance between the two US hospitals (Hospital 1 and 3) were comparable, while the performance was worse on the UK hospital (Hospital 2), likely due to its smaller data size and differences in data characteristics (see Discussion). Performance was slightly better in older patients: in CDC-defined age groups of 1mos to 2 years, 2 to 12 years, 12 to 16 years, and 16 to 21 years, respectively, AUROC were 0.84, 0.90, 0.88, and 0.95. The model showed no performance difference between PICU and CTICU patients.
The trained model can identify 70% of RRT, 58% of AKI Stage 2/3, and 41% of any AKI patients during the prediction timeframe as quantified in Table 3. AKI alerts triggered by the model have a true positive (TP) to false positive (FP) ratio of one-to-one for any AKI, meaning that there was one FP prediction that did not go on to develop any AKI for each TP prediction, which corresponds to a positive predictive ratio (PPV) of 47%.
Moderate to severe AKI patients were identified with a median lead-time of 30 h. 16% of Stage 2/3 patients were identifiable 48 h before onset, increasing to 58% at 6 h to onset. For RRT patients, 70% were identified 6 h or earlier before AKI onset.
The majority of AKI patients predicted by the model received potentially nephrotoxic medications within the prediction timeframe: 40%, 70%, and 79% of TP patients received drugs with high, low, or any nephrotoxic potential within the prediction window, respectively.
Predictions for example patient
Figure 1 shows predictions for a de-identified patient whose serum creatinine measurements consistently increased but did not exceed KDIGO threshold until AKI onset at Time 0. Assuming the current time is 36 h before onset, bedside practioners have no knowledge of the unknown pending onset of AKI, and continue to give medications with nephrotoxic potential. The middle plot shows what the alert would look like to a caregiver: in addition to noting that the “patient has 90% risk of developing AKI in the next 48 h”, contextual information that the patient is “on aminoglycosides” and which measurements are the main contributors to the high risk are given. Suggested action to “review dose and indication” of medications is also displayed.
In comparison, RAI was less predictive of AKI with AUROC around 0.57 in Fig. 2a and b and sensitivity and specificity shown in Table 3. RAI was calculated without patient stem cell transplantation information, as detailed in Additional file 1.
The machine learning model described here results in a prediction tool for PICU, applicable to patients in a wide age range between 1 month to 21 years, and demonstrates a strong predictive performance up to 48 h in advance of Stage 2/3 AKI onset. The model was trained and validated on multi-center data from three independent PICUs. The model predicts 40% of any AKI episodes, 58% of all Stage 2/3 AKI episodes, and 70% of episodes requiring subsequent RRT, with a ratio of one-to-one false to true alerts relevant to any AKI, as shown in Table 3. The model outperforms a more simple comparator, the RAI, shown to be predictive of AKI in critically ill children . The model predicted onset of Stage 2/3 AKI a median of 30 h before its actual occurrence, thus providing a critical window of time for clinical interventions that might prevent the development of AKI or reduce its severity.
In a consensus paper published four years ago, the ADQI group called for forecasting Stage 2/3 AKI and clinically important AKI-related outcomes for the general critical care population . Notably, ADQI stated that the role of the tool is not only to provide feedback on renal risk, but also to present information about patient measurements contributing to these risks and provide feedback to practitioners regarding potential actionable items . To date, many studies have been published on AKI prediction, but none have focused on building a tool that provides information about the most relevant patient measurements as guidance for action. We built this model with transparency and actionability as main goals, intentionally staying away from ‘black-box’ neural network models that could have achieved better performance. It is also the first multi-center validated AKI prediction model for PICU.
This multi-center validated model demonstrates that there exists commonly available EHR data elements, consistent across institutions, that are useful for early-indication of AKI development before creatinine becomes elevated. The 15 predictors used in this model reflect an effort to balance between model transparency and performance: there is a sufficient number of predictors to inform patient state, but not so many to render the model un-interpretable and overfit. Predictors can be considered in three categories: (1) those that causally impact renal health, such as the admistration of nephrotoxic drugs and gentamicin trough values, (2) those that directly reflect renal health, such as CRoC, and (3) those that reflect a more general state of patient health, such as WBC. What is learned about each predictor can be clearly visualized (Fig. 1 weak classifier visualizations) to show what measurement values contribute to low and high AKI risk, allowing users to study the inner-workings of the model before using it in real-time.
Impacting clinical workflow and improving outcomes
Ultimately, the goal is to use model predictions to intervene early and prevent the development of AKI. The majority (79%) of predicted patients received potentially nephrotoxic medications after predictions were made but before AKI fully developed, which means that these medications could have been stopped, reduced, or replaced by alternate non-nephrotoxic medications where possible, after an early alert. The example patient shown in Fig. 1 exemplifies this: nephrotoxic medications continued to be administered after the patient was identified as high AKI risk by the model. The suggestion made 36 h early to “review dose and indication” of medications could have provided a critical time window towards early recovery.
When deploying predictive models to real-world settings, transparency, interpretability, and actionability are critical in gaining caregiver trust. By presenting not only the predicted risk, but also displaying the top contributing predictors for the alert along with their measured values, and suggested actions, the model allows caregivers to quickly check if the prediction matches their clinical intuition, as shown in Fig. 1. This addresses the need expressed by ADQI for a predictive model to present information about patient measurements contributing to the predicted risks and provide feedback to practitioners regarding potential actionable items .
Studies have shown that non-predictive real-time detection of guideline-based AKI reduces the rate of AKI occurrence , and we plan to conduct a similar prospective study of prediction-based AKI monitoring to further reduce AKI.
Performance variability across hospitals
The model performed worse on the UK hospital than US hospitals. This is due in part to an imbalance in data size—the UK hospital has a smaller cohort size compared to other hospitals—so the trained model picks up on pre-AKI data patterns more representative of the other two hospitals. UK hospital patients are younger than those of other hospitals as shown in Table 1. Younger patients were predicted less accurately by the model, so the lower performance could also be due to an over-representation of younger patients. We observed other differences in the data patterns between UK and US hospitals, discussed in more detail in Additional file 1. The dataset from the three hospitals cover different timeframes due to data availability, and should not impact results as management strategies have not evolved.
The baseline comparator RAI, using mainly creatinine to predict AKI , performed worse than the model. The better performance of the model is enabled by the use of additional patient information such as medication history and laboratory values. In addition, stem cell transplantation information, originally used in RAI  but not in the model, may have contributed to the higher performance of previously reported RAI compared to those computed here. Information fields not readily accessible in the EHR, including patient co-morbidities, diagnostic categories, and contextual information such as stem cell transplantation, were not included given that the goal was to build an all-come PICU model that can automatically assess AKI risk in real-time using only readily available information.
Due to the emphasis of the model on longer-term predictors such as laboratory values, and the disease progression rate of AKI, the model was designed to generate predictions every 6 h. This helps reduce alert fatigue by decreasing the overall possible number of alerts, as clinical decision support systems are recommended to be parsimonious and only alert on the most relevant or severe cases in order to reduce repeated alerts causing alert fatigue .
The models uses creatinine alone to stage AKI due to data availability. Up to 20% of AKI patients are diagnosed based on the urine output criteria alone , and the lack of urine criteria may have resulted in lower AKI rates than previously described. This impacts the model results in a few ways. First, the model is likely to have lower sensitivity on urine-staged AKI patients and miss more of them. Second, some false positive patients predicted incorrectly to have creatinine-staged AKI may be urine-staged patients, so the reported PPV may increase when urine-staged patients are taken into account. As urine-staged patients have worse outcomes, a future goal is to improve the model when urine data recording is made more reliable.
Though this is the first pediatric AKI prediction model tested on multi-center data, model generalizability is not fully resolved. Given the current retrospective validation results, more validation work needs to be done on larger non-US datasets. The best way to present and integrate the model into the workflow remains to be tested. Performance of the model against admission reason and patient comorbidities is unknown.
The machine learning model described in this study accurately predicts moderate to severe AKI up to 48 h in advance of AKI onset. The model was validated on three independent centers for general pediatric critical care patients, including PICU and CTICU, and across a wide age range from 1 month to 21 years. The model achieves good performance and may improve outcome of pediatric AKI in clinical settings by providing early alerting and actionable feedback.
Availability of data and materials
Datasets were acquired and de-identified at the respective institution before transferred securely to the research site. Data was approved for limited use by the Institutional Review Boards of the respective hospitals, and not publicly available.
Acute dialysis quality initiative
Acute kidney injury
Area under the receiver-operator curve
Electronic health records
- KDIGO guideline:
Kidney Disease Improving Global Outcomes guideline
Positive predictive value
Renal replacement therapy
White blood cell count
Kaddourah A, Basu RK, Bagshaw SM, Goldstein SL. Epidemiology of acute kidney injury in critically ill children and young adults. N Engl J Med. 2017;376(1):11–20.
Sanchez-Pinto LN, Goldstein SL, Schneider JB, Khemani RG. Association between progression and improvement of acute kidney injury and mortality in critically ill children. Pediatr Crit Care Med. 2015;16(8):703–10.
Palevsky PM, Liu KD, Brophy PD, Chawla LS, Parikh CR, Thakar CV, Tolwani AJ, Waikar SS, Weisbord SD. KDOQI US commentary on the 2012 KDIGO clinical practice guideline for acute kidney injury. Am J Kidney Dis. 2013;61(5):649–72.
Mammen C, Al Abbas A, Skippen P, Nadel H, Levine D, Collet JP, Matsell DG. Long-term risk of CKD in children surviving episodes of acute kidney injury in the intensive care unit: a prospective cohort study. Am J Kidney Dis. 2012;59(4):523–30.
Kellum JA, Lameire N, Aspelin P, Barsoum RS, Burdmann EA, Goldstein SL, Herzog CA, Joannidis M, Kribben A, Levey AS, MacLeod AM. Kidney disease: improving global outcomes (KDIGO) acute kidney injury work group. KDIGO clinical practice guideline for acute kidney injury. Kidney Int Suppl. 2012;2(1):1–138.
Sutherland SM, Chawla LS, Kane-Gill SL, Hsu RK, Kramer AA, Goldstein SL, Kellum JA, Ronco C, Bagshaw SM. Utilizing electronic health records to predict acute kidney injury risk and outcomes: workgroup statements from the 15th ADQI consensus conference. Can J Kidney Health Dis. 2016;3(1):11.
Levy MM, Macias WL, Vincent JL, Russell JA, Silva E, Trzaskoma B, Williams MD. Early changes in organ function predict eventual survival in severe sepsis. Crit Care Med. 2005;33(10):2194–201.
Sanchez-Pinto LN, Khemani RG. Development of a prediction model of early acute kidney injury in critically ill children using electronic health record data. Pediatr Crit Care Med. 2016;17(6):508–15.
Tomašev N, Glorot X, Rae JW, Zielinski M, Askham H, Saraiva A, Mottram A, Meyer C, Ravuri S, Protsyuk I, Connell A. A clinically applicable approach to continuous prediction of future acute kidney injury. Nature. 2019;572(7767):116–9.
Koyner JL, Carey KA, Edelson DP, Churpek MM. The development of a machine learning inpatient acute kidney injury prediction model. Crit Care Med. 2018;46(7):1070–7.
Flechet M, Güiza F, Schetz M, Wouters P, Vanhorebeek I, Derese I, Gunst J, Spriet I, Casaer M, Van den Berghe G, Meyfroidt G. AKIpredictor, an online prognostic calculator for acute kidney injury in adult critically ill patients: development, validation and comparison to serum neutrophil gelatinase-associated lipocalin. Intensive Care Med. 2017;43(6):764–73.
Rudin C. Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nat Mach Intell. 2019;1(5):206–15.
American College of Physicians. Annals of Internal Medicine. The TRIPOD Statement: Explanation and Elaboration. https://annals.org/aim/fullarticle/2088542/transparent-reporting-multivariableprediction-model-individual-prognosisdiagnosis-tripod-explanation.
Schneider J, Khemani R, Grushkin C, Bart R. Serum creatinine as stratified in the RIFLE score for acute kidney injury is associated with mortality and length of stay for children in the pediatric intensive care unit. Crit Care Med. 2010;38(3):933–9.
Schwartz GJ, Haycock GB, Chir B, Spitzer A. Plasma creatinine and urea concentration in children: normal values for age and sex. J Pediatr. 1976;88(5):828–30.
Bellomo R, Ronco C, Kellum JA, Mehta RL, Palevsky P. Acute renal failure–definition, outcome measures, animal models, fluid therapy and information technology needs: the Second International Consensus Conference of the Acute Dialysis Quality Initiative (ADQI) Group. Crit Care. 2004;8(4):R204.
Basu RK, Zappitelli M, Brunner L, et al. Derivation and validation of the renal angina index to improve the prediction of acute kidney injury in critically ill children. Kidney Int. 2014;85(3):659–67.
Bourdeaux C, Ghosh E, Atallah L, Palanisamy K, Patel P, Thomas M, Gould T, Warburton J, Rivers J, Hadfield J. Impact of a computerized decision support tool deployed in 2 intensive care units on acute kidney injury progression and guideline compliance: a prospective observational study. Crit Care. 2020;24(1):1–11.
Kesselheim AS, Cresswell K, Phansalkar S, Bates DW, Sheikh A. Clinical decision support systems could be modified to reduce ‘alert fatigue’while still minimizing the risk of litigation. Health Aff. 2011;30(12):2310–7.
Kaddourah A, Basu RK, Bagshaw SM, Goldstein SL. Epidemiology of acute kidney injury in critically ill children and young adults. N Engl J Med. 2017;376:11–20.
Philips Research internal funding.
Ethics approval and consent to participate
The study was approved by the Internal Committee for Biomedical Experiments (ICBE) at Philips. The UK dataset was exported as a Service Evaluation which was approved by Imperial College Healthcare NHS Trust—need for individual consent was waived. The US datasets were approved with waivers of informed consent by the Institutional Review Boards of Children’s Hospital Los Angeles (CHLA-19-00103) and Phoenix Children’s Hospital (IRB-19-103).
Consent for publication
CN serves as consultant to Philips Research.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Dong, J., Feng, T., Thapa-Chhetry, B. et al. Machine learning model for early prediction of acute kidney injury (AKI) in pediatric critical care. Crit Care 25, 288 (2021). https://doi.org/10.1186/s13054-021-03724-0
- Acute kidney injury
- Pediatric critical care
- Machine learning
- Predictive model