Introduction
Predicting patient outcomes in the Intensive Care Unit (ICU) is a critical task for both patient care and hospital resource management. However, traditional predictive models often struggle with two major issues: the underutilization of rich, unstructured clinical notes and "semantic blindness" toward structured data. Most models treat categorical variables as arbitrary integers, losing the inherent medical meaning behind terms like "Hypertension" or "Diabetes." Furthermore, real-world Electronic Health Record (EHR) data is frequently prone to corruption from entry errors or system desynchronization.
This paper introduces a novel deep learning framework that addresses these gaps by treating EHR data—both structured and unstructured—as a multimodal language problem. By converting raw data into "medical prompts" and utilizing a pre-trained Transformer, the model achieves state-of-the-art performance while demonstrating significant robustness to data corruption.
Methods
The proposed framework follows a three-stage process to unify disparate data types into a shared semantic space.
1. Cell Embedding Generation (The "Prompt" Phase)
Instead of feeding raw numerical or categorical values directly into a neural network, the system uses medical language templates. For instance, a structured entry like "Age: 34" is transformed into a natural language sentence: "The patient is 34 years old at the time of surgery." This transformation allows the model to leverage the linguistic context and medical knowledge embedded in natural language.
2. Pre-trained Sentence Encoding
These generated prompts are processed through a frozen, pre-trained SimCSE model (a RoBERTa-based encoder). This step maps every data point—whether it was originally a number, a category, or a free-text clinical note—into a high-dimensional "language semantic space."
3. Modality Fusion and Prediction
A Transformer encoder receives these individual "cell embeddings" to learn the complex relationships between different features. Notably, the authors omit positional encodings, as the specific order of features in a medical table is less relevant than their semantic content. The resulting patient embedding is then passed to a feed-forward network for final classification (e.g., mortality prediction) or regression (e.g., length of stay).
Datasets
The model's efficacy was validated using two large-scale, real-world datasets:
- MIMIC-III: A widely used US-based dataset containing records for over 38,000 ICU patients.
- PASA (Perioperative Anaesthesia Subject Area): A dataset from Singapore General Hospital involving over 71,000 patients, providing a valuable Asian-centric perspective.
Key Insights
- Unifying Data as Text: By treating a spreadsheet like a narrative, the model utilizes the "common sense" medical knowledge inherent in pre-trained language models.
- Text as a Safety Net: Clinical free-text serves as a vital compensatory source. If structured fields like "Blood Pressure" are missing or corrupted, the model can often extract equivalent stability indicators from nursing notes.
- The Power of Pre-training: Ablation studies confirmed that the pre-trained sentence encoder is the most critical component. Replacing it with a randomly initialized encoder led to a significant drop in performance, proving the model relies on genuine semantic understanding.
Results and Robustness
The framework consistently outperformed leading baselines, including XGBoost, TabNet, and FT-Transformer:
- Mortality Prediction: Improved Balanced Accuracy (BACC) by 1.6% and AUROC by 0.8%.
- Resource Utilization: Reduced Mean Absolute Error (MAE) for Length of Stay (LOS) by 2.2% and Surgical Duration by 11.0%.
- Robustness: In stress tests where 20% of structured data was corrupted, this model's performance degraded significantly slower than competitors, highlighting its ability to rely on uncorrupted free-text.
Limitations and Future Work
The authors identify several areas for improvement. Currently, the model uses "hard prompts" (fixed templates); future iterations could explore "soft prompts"—learnable vectors—to optimize data representation. Additionally, the model currently analyzes "snapshots" of patient data and does not yet account for temporal trends, such as a heart rate changing over several hours. Finally, further external validation across diverse global hospital systems is recommended to ensure broad generalizability.
Summary updated