EMERGE: Integrating RAG for Improved Multimodal EHR Predictive Modeling

Yinghao Zhu, Changyu Ren, Zixiang Wang, Xiaochen Zheng, Shiyun Xie, Junlan Feng, Xi Zhu, Zhoujun Li, Liantao Ma, Chengwei Pan · OpenReview

Abstract

The integration of multimodal Electronic Health Records (EHR) data has notably advanced clinical predictive capabilities. However, current models that utilize clinical notes and multivariate time-series EHR data often lack the necessary medical context for precise clinical tasks. Previous methods using knowledge graphs (KGs) primarily focus on structured knowledge extraction. To address this, we propose EMERGE, a Retrieval-Augmented Generation (RAG) driven framework aimed at enhancing multimodal EHR predictive modeling. Our approach extracts entities from both time-series data and clinical notes by prompting Large Language Models (LLMs) and aligns them with professional PrimeKG to ensure consistency. Beyond triplet relationships, we include entities' definitions and descriptions to provide richer semantics. The extracted knowledge is then used to generate task-relevant summaries of patients' health statuses. These summaries are fused with other modalities utilizing an adaptive multimodal fusion network with cross-attention. Extensive experiments on the MIMIC-III and MIMIC-IV datasets for in-hospital mortality and 30-day readmission tasks demonstrate the superior performance of the EMERGE framework compared to baseline models. Comprehensive ablation studies and analyses underscore the efficacy of each designed module and the framework's robustness to data sparsity. EMERGE significantly enhances the use of multimodal EHR data in healthcare, bridging the gap with nuanced medical contexts crucial for informed clinical predictions.

Introduction

Predicting patient outcomes is a cornerstone of modern healthcare, yet Electronic Health Records (EHR) present significant modeling challenges. These records are inherently multimodal, comprising structured, multivariate time-series data (e.g., vital signs, lab results) and unstructured clinical notes.

Existing deep learning models often encounter two primary obstacles: context blindness and the LLM gap. Many models treat medical codes and notes as isolated tokens, failing to capture the complex medical relationships—such as the correlation between specific lab abnormalities and disease states—that a clinician intuitively understands. Furthermore, while Large Language Models (LLMs) possess extensive medical knowledge, they are susceptible to hallucinations and struggle to process the sheer volume of text in a patient's full history. EMERGE addresses these issues by using Retrieval-Augmented Generation (RAG) to ground both data modalities in a professional medical knowledge base.

The EMERGE Framework

The EMERGE framework (Enhancing Multimodal EHR Predictive Modeling with RAG) implements a four-step pipeline designed to bridge raw data with clinical context.

The EMERGE framework architecture, illustrating the flow from time-series and clinical note data through RAG-based retrieval and generation to multimodal fusion.
  1. Entity Extraction: The system identifies potential medical issues from both data streams. For time-series data, a z-score method flags abnormal values. For clinical notes, an LLM (e.g., Qwen-7B) performs Named Entity Recognition (NER) to extract disease names.
  2. Knowledge Alignment: To ensure accuracy and prevent hallucinations, extracted entities are matched against PrimeKG, a comprehensive professional medical knowledge graph. Semantic embeddings and cosine similarity are used to verify that entities found in notes correspond to established medical concepts.
  3. RAG-Driven Summarization: Once entities are confirmed, EMERGE retrieves their definitions, descriptions, and relationship triplets from the KG. A long-context LLM distills this information into a concise, task-relevant summary of the patient’s health status.
  4. Adaptive Multimodal Fusion: The final stage employs an adaptive fusion network to integrate the RAG-generated summary with raw time-series and note embeddings for final prediction.

Adaptive Multimodal Fusion

A key technical contribution of EMERGE is its fusion mechanism. Rather than simple concatenation, the model utilizes a cross-attention network that allows different modalities to interact dynamically.

Detailed view of the Multimodal Fusion module, showing the cross-attention mechanism between text-based features (h_Text) and time-series features (h_TS).

This bi-directional attention allows time-series data to "query" the text data and vice versa. For instance, the model can correlate a spike in heart rate (time-series) with a textual diagnosis of tachycardia, ensuring the final prediction (Z) is informed by the interplay between all available information.

Experimental Results

EMERGE was evaluated on the MIMIC-III and MIMIC-IV datasets for two critical tasks: in-hospital mortality and 30-day readmission prediction. The framework consistently outperformed state-of-the-art baselines, including specialized EHR models like MedGTX and GraphCare.

  • Mortality Prediction: On MIMIC-III, EMERGE achieved an AUROC of 86.25, surpassing the best baseline of 85.97.
  • Readmission Prediction: On MIMIC-IV, it reached an AUROC of 80.61, demonstrating high stability and performance.
  • Data Sparsity Resilience: Notably, EMERGE maintained high accuracy even when trained on only 1% of the available data. This suggests that the external knowledge retrieved from PrimeKG effectively compensates for limited local training examples.

Conclusion

EMERGE demonstrates that grounding LLMs in professional knowledge graphs significantly enhances the predictive utility of multimodal EHR data. By transforming raw, noisy data into context-rich summaries, the framework provides a more nuanced understanding of patient health. While challenges remain regarding computational costs and the potential for static knowledge in KGs, EMERGE represents a significant step toward more reliable and context-aware clinical decision support systems.

Summary updated

BibTeX
@inproceedings{zhu2024emerge,
  author = {Yinghao Zhu and Changyu Ren and Zixiang Wang and Xiaochen Zheng and Shiyun Xie and Junlan Feng and Xi Zhu and Zhoujun Li and Liantao Ma and Chengwei Pan},
  title = {{EMERGE: Integrating RAG for Improved Multimodal EHR Predictive Modeling}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2024},
  url = {https://openreview.net/forum?id=Vy2ilfZ4nL},
}
Figure