Continuous imputation of blood gas and metabolic panel laboratory values in the intensive care unit using machine learning
Open Access
- 23 July 2026
- journal article
- research article
- Published by Springer Nature in Journal of Clinical Monitoring and Computing
- Vol. 40 (5) , 1091-1102
Abstract
We developed machine learning (ML) models to perform continuous hourly prediction of arterial blood gas (ABG) and basic metabolic panel (BMP) laboratory values in critically ill patients. We evaluated its impact on prediction of the need for renal replacement therapy (RRT). We compared the performance of the deep learning models using laboratory variables imputed hourly by our ML estimators versus models using laboratory variables imputed by a previous-value baseline. Our ML model incorporated various predictors, including previous laboratory values, administered medications, clinical events, fluid input/output, hemodynamics, and ventilator settings. Accuracy of laboratory imputations were compared using mean absolute error (MAE) and root mean squared error (RMSE). We trained bi-directional long short-term memory models (Bi-LSTM) to predict need for renal replacement therapy (RRT) that differed only in how laboratory variables were imputed over time. We compared performance using area under the receiver operating characteristics curve (AUROC) and area under the precision-recall curve (AUPRC). XGBoost achieved an average error reduction of 33% in MAE and 32% in RMSE across ABG variables, and 19% and 21% across BMP variables, respectively. Bi-LSTM models using our ML-based hourly laboratory estimates (AUROC 0.951, 95% CI 0.942–0.960; AUPRC 0.419, 95% CI 0.375–0.465) outperformed models using previous-value laboratory imputation (AUROC 0.923, 95% CI 0.910–0.935; AUPRC 0.343, 95% CI 0.301–0.386). Our real-time imputation models led to significant error reduction of most ABG and BMP targets, improving deep learning model performance for the need of RRT.Keywords
Funding Information
- National Institutes of Health
This publication has 25 references indexed in Scilit:
- Anemia as a potent marker of in-hospital mortality in patients admitted to the cardiac intensive care unit: Data from the Critical Care Cardiology Trials Network (CCCTN) RegistryJournal of Intensive Medicine, 2025
- MIMIC-IV, a freely accessible electronic health record datasetScientific Data, 2023
- Outcome in early vs late intubation among COVID-19 patients with acute respiratory distress syndrome: an updated systematic review and meta-analysisScientific Reports, 2022
- Allocating scarce intensive care resources during the COVID-19 pandemic: practical challenges to theoretical frameworksThe Lancet Respiratory Medicine, 2021
- Association of multiple glycemic parameters at intensive care unit admission with mortality and clinical outcomes in critically ill patientsScientific Reports, 2019
- Optimal timing of initiating continuous renal replacement therapy in septic shock patients with acute kidney injuryScientific Reports, 2019
- The “Rainbow” of Extra Blood Tubes—Useful or Wasteful Practice?JAMA Internal Medicine, 2017
- Comparison of imputation methods for missing laboratory data in medicineBMJ Open, 2013
- Reducing unnecessary lab testing in the ICU with artificial intelligenceInternational Journal of Medical Informatics, 2013
- Reduction in Red Blood Cell Transfusions Using a Bedside Analyzer in Extremely Low Birth Weight InfantsJournal of Perinatology, 2004