Unsupervised machine learning analysis to identify patterns of <scp>ICU</scp> medication use for fluid overload prediction

Kelli Keats, Shiyuan Deng, Xianyan Chen, Tianyi Zhang, John W. Devlin, David J. Murphy, Susan Smith, Brian Murray, Rishikesan Kamaleswaran, Amoreena Most, Andrea Sikora, the Mrc‐icu Investigator TeamPharmacotherapy 2025

Abstract

Using ML approaches, a unique IV medication cluster was strongly associated with FO. Incorporation of this cluster improved the ability to predict development of fluid overload in ICU patients compared with traditional prediction models. This method may be further developed into real-time clinical applications to improve early detection of adverse outcomes.

Introduction

In the Intensive Care Unit (ICU), fluid management is a critical balancing act. Fluid overload (FO)—defined as a positive fluid balance exceeding 7% of admission body weight—is a common and dangerous complication associated with acute kidney injury, respiratory failure, and increased mortality. While clinicians carefully monitor primary fluid intake, a significant volume of "hidden" fluid enters patients through the diluents used for intravenous (IV) medications, such as antibiotics, sedatives, and vasopressors.

Traditional clinical models often struggle to account for the complexity and specific timing of these medication regimens. This study investigates whether unsupervised machine learning can parse complex Medication Administration Records (MAR) to identify "medication signatures"—latent patterns of drug use that signal a high risk of fluid overload before it becomes clinically apparent.

Methods

The researchers conducted a retrospective cohort study of 927 adult ICU patients admitted to the University of North Carolina Health System. To ensure data consistency, they utilized the ICURx Common Data Model (CDM), a framework designed to standardize ICU medication data for AI applications.

The analytical pipeline involved several sophisticated steps:

  1. Temporal Binning: The first 72 hours of each ICU stay were divided into 24 three-hour intervals. This allowed the model to treat the timing of a medication (e.g., Vancomycin at hour 3 vs. hour 12) as a distinct and relevant data point.
  2. Dimensionality Reduction: Principal Component Analysis (PCA) was used to reduce noise and identify the most significant underlying variables within the thousands of possible medication-time combinations.
  3. Unsupervised Clustering: A Restricted Boltzmann Machine (RBM)—a type of neural network adept at discovering hidden features in complex datasets—was used to group medication patterns into 10 distinct clusters.
  4. Predictive Modeling: The researchers then tested whether the proportion of medications from these clusters could improve a standard logistic regression model that already included the APACHE II score (a measure of ICU severity) and diuretic use.

Key Results and Insights

The study found that 13.7% of the patient cohort experienced significant fluid overload. The machine learning analysis revealed several critical insights:

  • The "Cluster 7" Signature: The RBM identified one specific group, Cluster 7, as a major predictor of FO. Patients in the fluid overload group received more than double the administrations from this cluster compared to those who did not (25.6 vs. 10.9). Cluster 7 was characterized by continuous infusions (such as vasopressors), specific antibiotics, and sedatives—medications often requiring large diluent volumes.
  • Improved Prediction Accuracy: Adding the Cluster 7 proportion to traditional clinical models significantly improved the Area Under the Receiver Operating Characteristic (AUROC) curve from 0.719 to 0.741 (p < 0.0001).
  • The 24-Hour Window: Medication patterns in the first 24 hours were the strongest predictors of subsequent fluid overload. This suggests a "window of opportunity" where clinicians might intervene by concentrating medications or restricting other fluids for high-risk patients.

Discussion and Limitations

This research demonstrates that machine learning can act as a powerful "feature extractor," turning messy spreadsheets of drug doses into actionable risk scores. Rather than replacing clinical judgment, these models can be integrated into existing workflows to provide real-time alerts.

However, the study has limitations. As a retrospective, single-center analysis, the findings show an association rather than a direct causal link. Furthermore, medication practices vary between hospitals, meaning the specific composition of a high-risk cluster might differ in other health systems. Future work will focus on prospective, real-time testing at the bedside and integrating these models directly into Electronic Health Records (EHR).

Conclusion

By identifying specific temporal patterns of IV medication use, unsupervised machine learning provides a more nuanced understanding of fluid overload risk in the ICU. This approach offers a promising path toward early detection and personalized fluid management strategies for critically ill patients.

Summary updated

Abstract

Using machine learning approaches, a unique medication cluster was strongly associated with FO. Incorporation of this cluster improved the ability to predict FO compared to traditional prediction models. Integration of this approach into real-time clinical applications may improve early detection of FO to facilitate timely intervention.
BibTeX
@inproceedings{keats2025unsupervised,
  author = {Kelli Keats and Shiyuan Deng and Xianyan Chen and Tianyi Zhang and John W. Devlin and David J. Murphy and Susan Smith and Brian Murray and Rishikesan Kamaleswaran and Amoreena Most and Andrea Sikora and the MRC‐ICU Investigator Team},
  title = {{Unsupervised machine learning analysis to identify patterns of <scp>ICU</scp> medication use for fluid overload prediction}},
  booktitle = {Pharmacotherapy},
  year = {2025},
  doi = {10.1002/phar.4642},
}

Loading related content...

Figure