Dynamic Healthcare Embeddings for Improving Patient Care

Hankyu Jang, Sulyun Lee, D. M. Hasibul Hasan, Philip M. Polgreen, Sriram V. Pemmaraju, Bijaya Adhikari · DOI

Abstract

Modern healthcare systems generate vast amounts of longitudinal data, yet traditional machine learning models often fail to capture the dynamic, co-evolving nature of patient-provider interactions. This paper introduces DECENT (Dynamic Embedding of Healthcare Entities), a novel framework that generates time-evolving embeddings for patients, physicians, medications, and hospital rooms. By modeling these entities as a heterogeneous network that evolves through discrete interactions, DECENT significantly improves the prediction of critical clinical outcomes, including mortality risk and ICU transfers.

Introduction

Hospitals operate as complex ecosystems where patients, staff, and resources interact continuously. Standard clinical predictive models often rely on static snapshots of patient data, ignoring the temporal context and the influence of environmental factors. For instance, a patient's risk profile is not just a function of their baseline health but is actively shaped by the medications they receive, the doctors treating them, and even their physical location within the hospital. DECENT addresses this by creating "living" digital signatures (embeddings) that update in real-time as interactions occur.

Methodology

DECENT is designed as an auto-encoding heterogeneous co-evolving dynamic neural network. Unlike traditional models that update a single entity's state, DECENT employs a dual-update mechanism using Recurrent Neural Networks (RNNs). When an interaction occurs (e.g., a physician prescribes a medication to a patient), the embeddings for both entities are updated simultaneously to reflect the shared event.

Technical Innovations

  • Temporal Projection: To account for irregular intervals between hospital events, the model uses a projection operation that evolves embeddings based on the time elapsed since the last interaction.
  • Specialized Interaction Modules: The architecture includes dedicated modules for Physician (PM), Medication (MM), and Transfer (TM) interactions, allowing the model to capture the unique logic of different clinical workflows.
  • Domain-Specific Constraints (DECENT+): An enhanced version, DECENT+, incorporates static medical knowledge—such as medication hierarchies and hospital floor plans—into the loss function via graph Laplacians. This ensures that mathematically "close" embeddings correspond to clinically or spatially related entities.
The DECENT architecture illustrating the projection, reconstruction, and embedding update phases for heterogeneous healthcare entities.

Dataset and Experimental Setup

The framework was validated using high-resolution operational data from the University of Iowa Hospitals and Clinics (UIHC). The dataset encompasses over 6,000 patients and hundreds of thousands of interactions involving 575 doctors, 686 unique medications, and 557 hospital rooms. This rich, multi-modal data allowed for a comprehensive evaluation of how spatial and clinical interactions influence patient outcomes.

Key Results

DECENT was benchmarked against state-of-the-art models, including LSTM, RNN, and JODIE, across several critical tasks. The results demonstrate the superior predictive power of dynamic, heterogeneous embeddings:

  • Mortality Risk: DECENT achieved a 48.1% improvement in F1-score over the best-performing baseline (LSTM).
  • MICU Transfer Prediction: The model outperformed handcrafted domain-expert features by 6.4%. As shown in the ROC analysis, both DECENT and DECENT+ consistently maintain high True Positive Rates across various classifiers (Random Forest, Logistic Regression, and MLP) compared to standard graph embedding techniques like node2vec or DeepWalk.
  • Clinical Interpretability: t-SNE visualizations of the learned embeddings revealed that the model naturally clusters physicians by specialty and medications by class, confirming that the framework captures meaningful clinical relationships without explicit supervision.
ROC curves for MICU transfer prediction across three different classifiers, demonstrating the consistent performance advantage of DECENT and DECENT+ over baseline methods.

Discussion and Future Work

The success of DECENT highlights the importance of modeling healthcare as a dynamic, interconnected system. By treating interactions as the primary unit of information, the model gains a more nuanced understanding of patient risk.

Future research will focus on integrating unstructured data, such as clinical nursing notes, to further enrich the embeddings. Additionally, the team aims to develop an explainability module to provide clinicians with actionable insights—for example, identifying exactly which recent interaction or environmental factor triggered a spike in a patient's risk score. These advancements could pave the way for real-time clinical decision support systems that optimize patient safety and hospital resource allocation.

Summary updated

BibTeX
@inproceedings{jang2022dynamic,
  author = {Hankyu Jang and Sulyun Lee and D. M. Hasibul Hasan and Philip M. Polgreen and Sriram V. Pemmaraju and Bijaya Adhikari},
  title = {{Dynamic Healthcare Embeddings for Improving Patient Care}},
  booktitle = {ASONAM},
  year = {2022},
  doi = {10.1109/asonam55673.2022.10068627},
}
Figure