Prediction of in-hospital mortality of Clostriodiodes difficile infection using critical care database: a big data-driven, machine learning approach

Hao Du, Kewin Tien Ho Siah, Valencia Zhang Ru-Yan, Readon Teh, Christopher Yu En Tan, Wesley Yeung, Christina Scaduto, Sarah Bolongaita, Maria Teresa Kasunuran Cruz, Mengru Liu, Xiaohao Lin, Yan Tan, Mengling FengBMJ 2021

Abstract: Our machine learning derived CDI in-hospital mortality prediction model identified pertinent factors that can assist critical care clinicians in identifying patients at high risk of dying from CDI.

Introduction

Clostridioides difficile infection (CDI) is a leading cause of healthcare-associated diarrhea and carries a high mortality rate, particularly among elderly and ICU patients. While clinicians use several scoring systems (like ATLAS and CARDS) to assess severity, these tools often suffer from low discriminatory power and a lack of validation in diverse populations.

The challenge is that CDI progression is complex; traditional scores rely on a handful of variables, potentially missing subtle physiological signals. This study leverages "big data" and machine learning (ML) to determine if a more comprehensive, data-driven approach could provide earlier and more accurate warnings for clinicians.

Methodology

Datasets

The researchers utilized the MIMIC-III (Medical Information Mart for Intensive Care III) database, which contains de-identified health data from over 40,000 patients who stayed in the ICUs of Beth Israel Deaconess Medical Center between 2001 and 2012. From 61,532 ICU stays, the authors identified 1,315 unique CDI cases. MIMIC-III is considered a gold standard because it provides high-resolution, longitudinal data (hourly vitals, lab results, etc.) that allows for more granular modeling than typical administrative datasets.

Model Development

The study followed a retrospective design using three primary machine learning architectures:

  1. Logistic Regression (LR): Used as a baseline for linear relationships.
  2. Random Forest (RF): An ensemble method using multiple decision trees to handle non-linear data.
  3. Gradient Boosting Machine (GBM): A technique that builds trees sequentially, each one correcting the errors of the previous one.

To handle missing data, the team used mean imputation validated against Ridge Regression. They split the data into an 80% training set and a 20% testing set, using an RF-based feature selection method to identify the most predictive variables.

Results

The study cohort had an 18.33% in-hospital mortality rate. The ML models demonstrated significant predictive power (AUROC), with the GBM (0.72) and RF (0.71) models outperforming both LR (0.69) and traditional clinical scores like CARDS (0.57) and ATLAS (0.63).

Performance comparison of Logistic Regression, Random Forest, and Gradient Boosting Machine models, showing confusion matrices and key metrics.

As shown in the performance metrics above, by adjusting decision thresholds, the models achieved very high specificity (over 97%). This high specificity makes the models excellent at identifying "low-risk" patients, allowing clinicians to focus intensive resources on the small subset flagged as high-risk.

Discussion

Key Insights and Predictors

One of the most significant findings was the importance of lactate and bicarbonate levels. While these are standard markers for sepsis and metabolic acidosis, they are notably absent from most international CDI clinical guidelines. The ML models identified them as critical mortality factors across the board, alongside albumin, white blood cell count, and blood urea nitrogen (BUN).

Limitations and Future Work

The authors acknowledge several hurdles to immediate clinical adoption:

  • Generalizability: The data comes from a single academic medical center in the US with a majority Caucasian population.
  • Retrospective Bias: Treatment protocols may have evolved since the 2001–2012 data collection period.
  • The "Black Box" Problem: While accurate, the decision thresholds require further data-driven cross-validation to optimize clinical utility.
  • External Validation: The next crucial step is testing these models on independent datasets to ensure they are not overfitting to the specific quirks of the MIMIC-III database.

Conclusion

This research demonstrates that a data-driven approach can uncover unexpected predictor variables and connections that purely regression-based or intuition-based models might overlook. By identifying high-risk patients with greater specificity, machine learning models can assist critical care clinicians in managing the complex progression of CDI.

Summary updated

BibTeX
@inproceedings{du2021prediction,
  author = {Hao Du and Kewin Tien Ho Siah and Valencia Zhang Ru-Yan and Readon Teh and Christopher Yu En Tan and Wesley Yeung and Christina Scaduto and Sarah Bolongaita and Maria Teresa Kasunuran Cruz and Mengru Liu and Xiaohao Lin and Yan Tan and Mengling Feng},
  title = {{Prediction of in-hospital mortality of <i>Clostriodiodes difficile</i> infection using critical care database: a big data-driven, machine learning approach}},
  booktitle = {BMJ},
  year = {2021},
  doi = {10.1136/bmjgast-2021-000761},
}
Figure