Abstract
Predicting in-hospital mortality is a critical component of clinical decision support in intensive care units (ICUs). However, existing predictive models often struggle to integrate disparate data sources, specifically structured electronic health record (EHR) data and unstructured clinical notes. This paper presents a novel Multimodal Transformer architecture designed to fuse these data types into a shared representation space. By treating each hour of a patient’s stay as a "token" in a sequence, the model captures complex temporal dependencies and achieves state-of-the-art performance on the MIMIC-III dataset. Furthermore, the model incorporates an interpretability suite using Integrated Gradients and Shapley values, providing clinicians with transparent, feature-level explanations for high-risk predictions.
Introduction
Modern healthcare systems generate vast amounts of data, yet much of this information remains siloed. Electronic Health Records (EHRs) typically consist of two distinct data streams: structured data (e.g., heart rate, blood pressure, and laboratory results) and unstructured data (e.g., narrative clinical notes written by physicians and nurses). While structured data is easily quantified for time-series analysis, clinical notes contain rich, nuanced context regarding a patient’s symptoms, behavioral changes, and responses to treatment that numerical data alone cannot capture.
Most existing mortality prediction models rely on simple concatenation for data fusion or ignore unstructured text entirely. Moreover, the "black box" nature of deep learning models often hinders clinical adoption; doctors require interpretable evidence to trust automated risk assessments. This research addresses these challenges by proposing a Multimodal Transformer that effectively fuses these data streams while maintaining high levels of interpretability.
Methods
The proposed architecture utilizes a Transformer-based framework to process the first 48 hours of an ICU stay as a sequence of 48 discrete tokens. The methodology consists of four primary components:
1. Clinical Note Embedding
To process unstructured text, the researchers utilized MIMIC BERT (MBERT), a specialized version of Clinical BERT. This model underwent domain-adaptive pretraining on biomedical corpora and task-adaptive fine-tuning specifically for the mortality prediction task, ensuring the model understands the specific linguistic patterns of clinical documentation.
2. Structured Variable Embedding
The model incorporates 17 key clinical variables, including the Glasgow Coma Scale (GCS), heart rate, and pH levels. These variables are pre-processed and embedded into a 76-dimension time-series vector for each hour of the observation window.
3. Multimodal Transformer Block
The core innovation lies in the fusion mechanism. At each hourly interval, the model fuses the MBERT note embeddings with the structured data embeddings. The Transformer’s self-attention mechanism allows the model to "look back" across the entire 48-hour trajectory, identifying critical shifts in patient status and the long-term dependencies between different clinical events.
4. Interpretability Suite
To ensure clinical utility, the authors employed two primary interpretability methods:
- Integrated Gradients (IG): Used to visualize word-level importance within clinical notes, highlighting terms like "pain" or "respiratory" that drive the model's risk score.
- Shapley Values: Used to rank the influence of structured features, such as oxygen saturation or GCS, on the final prediction.
Datasets
The study was conducted using the MIMIC-III (Medical Information Mart for Intensive Care) dataset. The cohort was partitioned into 14,068 training samples, 3,086 validation samples, and 3,107 test samples. Following standard benchmarks, the researchers extracted 17 clinical variables and matched them with time-stamped clinical notes from the initial 48 hours of ICU admission.
Results
The Multimodal Transformer significantly outperformed traditional baselines, including Long Short-Term Memory (LSTM) networks and unimodal models.
| Metric | Multimodal Transformer | LSTM Baseline | MBERT+LSTM Fusion |
|---|---|---|---|
| AUCPR | 0.538 | 0.460 | 0.508 |
| AUCROC | 0.877 | 0.821 | - |
| F1 Score | 0.490 | 0.392 | - |
The results demonstrate that the Transformer's attention mechanism is superior to recurrent neural networks (RNNs) at capturing the nuances of a patient's clinical trajectory over a 48-hour window.
Discussion and Interpretability
A key finding of this research is the validation of clinical logic through model interpretability. The words identified by Integrated Gradients (e.g., "fever," "agitation," "extubated") and the top-ranked Shapley features (GCS, Oxygen Saturation) align with established medical indicators of patient distress. This alignment suggests that the model is not merely finding statistical correlations but is capturing meaningful clinical signals.
However, the study also identified challenges regarding linguistic ambiguity. For instance, the word "care" can be neutral in the context of a "plan of care" but highly predictive of mortality when appearing in "withdrawal of care." Additionally, the model currently lacks a robust mechanism for handling negations (e.g., distinguishing between "crackles" and "no crackles"), which remains a priority for future development.
Conclusion
The Multimodal Transformer represents a significant step forward in integrating disparate EHR data types for mortality prediction. By treating time as a sequence of tokens and leveraging domain-specific BERT models, the architecture provides both high predictive accuracy and the transparency required for clinical environments. Future work will focus on improving negation handling and testing the model’s generalizability across different hospital systems and charting styles.
Summary updated