Manuscript Offprint
arXiv:2611.11960Operation-aware Multimodal Clinical Decision Support System for ICU Discharge Risk Assessment
Abstract
Unplanned 30-day intensive care unit (ICU) readmission following hospital discharge is a major benchmark for evaluating healthcare quality and patient safety in modern critical care medicine. Most existing predictive approaches assume that readmission risk is determined solely by a patient's individual pathophysiological state, ignoring the institution's resource capacity and operational context (Hospital Operational Context). In clinical practice, discharge decisions are frequently dynamic trade-offs made by intensivists balancing patient medical stability against ward bed turnover pressures. To address this gap, we design an Operation-aware Multimodal Clinical Decision Support System (CDSS) for ICU discharge risk assessment. On the one hand, the system unites multi-agent collaborative extraction with self-evolving retrieval-augmented generation (RAG) to eliminate formatting-template noise across lengthy progress notes. On the other hand, it constructs departmental workload indicators (icu_speedup_LOS) alongside admission flow characteristics, unifying continuous vital signs, hierarchical sparse medical codes (ICD/DRG), and discharge summary semantics. Addressing the extreme class imbalance (~10.5% readmission incidence) and the challenge of alarm fatigue, the system implements data normalization, class reweighting optimization, and an F1 decision-threshold calibration pipeline. In 20 independent multi-seed runs conducted on a cohort of 20,000 ICU stays from MIMIC-III, empirical findings show that: a single-modality baseline depending exclusively on vital signs possesses limited predictive capacity under real-world class imbalance (PR-AUC of only ); directly concatenating raw text embeddings causes performance degradation in decision tree models (XGBoost and LightGBM PR-AUC drop to 0.3893 and 0.4030, respectively); whereas an end-to-end multimodal fine-tuning architecture (Transformer E2E FineTune) utilizing layer-wise parameter freezing and differential learning rates successfully reverses text negative transfer, achieving the overall highest AUROC of , PR-AUC of , and a competitive F1-Score of . Mechanistic attribution analyses also confirm that operational indicators supply independent risk signals, establishing an engineering foundation for deploying high-utility clinical decision support tools in bedside hospital wards.
Code — https://github.com/KuoChing-cmd/
ClinicalNoteAgent/
S1 Introduction
In intensive care clinical decision-making, identifying vulnerable patients at risk of latent deterioration and avoiding premature step-down to general wards are core imperatives of critical care medicine. Patients experiencing unplanned ICU readmission within 30 days of discharge undergo substantially prolonged hospital stays and face elevated in-hospital mortality (Klinge et al. 2020; Barbieri et al. 2020; Sheetrit, Brief, and Elisha 2023). While recent multicenter investigations confirm the promise of machine learning for post-discharge surveillance (Lim et al. 2025), existing clinical early warning systems commonly encounter barriers during ward deployment due to alarm fatigue: in low-prevalence locales where readmissions occur in only of cases, typical models optimized for high AUROC tend to trigger substantial false-positive alarms, prompting clinicians to turn off the alert systems. To construct an actionable Clinical Decision Support System (CDSS), one must preserve screening sensitivity while substantially improving precision, thereby driving PR-AUC and F1 scores toward clinically acceptable operating points.
Although electronic health record (EHR) repositories such as MIMIC-III (Johnson et al. 2016) have advanced machine learning in critical care—spanning deep temporal focus (Madinei, Keyvanpour, and Shojaedini 2024), graphical EHR representations (Choi et al. 2020), and recent readmission benchmarks (Fathy, Emeriaud, and Cheriet 2025)—state-of-the-art predictive models still encounter two fundamental deployment bottlenecks. First, they exhibit a neglect of hospital operational context. Standard models conceptualize patients as closed physiological entities, presuming that deterioration following transfer stems entirely from built-in disease progression. In clinical practice, however, ICU discharge is fundamentally a resource deployment and scheduling process carried out under institutional bed constraints (Kim et al. 2015; Wagner et al. 2013; Long and Mathews 2018). Intensivists must routinely weigh incomplete physiological recovery against acute bed demands driven by emergency department (ED) boarding or post-operative transfers. Patient transfer frequency before ICU admission, ED boarding durations, and ward acceleration driven by bed saturation directly mirror operational workflow strain and care coordination friction; yet, customary doctrines remain entirely agnostic to this systemic background. Second, models suffer
Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.
from data disparity and text template noise. Intensive care records span high-frequency temporal streams, sparse diagnostic codes, and lengthy unstructured progress notes. While recent studies explore medical text via knowledge graphs (Lu, Nguyen, and Dou 2021) or multimodal architectures for readmission prediction (Helmy et al. 2025; Datta et al. 2025), clinical free-text is often lengthy, laden with jargon, and burdened by copy-pasted administrative templates. Directly feeding unadapted high-dimensional text embeddings fails to yield meaningful gains and instead introduces severe feature interference (negative transfer) with strong baselines such as gradient-boosted decision trees.
To resolve these problems, we reframe ICU discharge evaluation as an operationally aware multimodal decision-support task and develop a CDSS architecture that encompasses self-evolving textual distillation and deep cross-modal correlation. The core contributions of this paper are summarized as follows:
-
Operation-aware Decision Framework: Overcoming randomized timestamp offsets in MIMIC-III, we introduce unit-benchmarked turnover deviation indicators (icu_speedup_LOS) and care flow complexity features, eliminating the subjective assumption that outcomes depend solely on physiological status.
-
Self-Evolving Multi-Agent Text Distillation: We formulate a 7-domain specialist agent collaborative division of labor paired with a reflective evolutionary experience repository, accumulating 3,085 rules across 5,000 patient samples. Combined with FAISS vector retrieval for structured information distillation, we propose a layer-wise, frozen, end-to-end fine-tuning scheme that systematically mitigates interference from template noise in clinical notes.
-
Thorough Testing under Low-Prevalence Conditions: Across a cohort of 20,000 ICU stays, we conduct 20 independent randomized multi-seed runs (Seeds 42–61), exposing the weakness of single-modality physiological prediction (PR-AUC of only 0.1387) and verifying the robustness of the end-to-end fine-tuning architecture in achieving global optimality (AUROC 0.8288, PR-AUC 0.4373, F1 0.4757).
-
Interpretability & Clinical Utility Analysis: Through integrated gradients (Sundararajan, Taly, and Yan 2017), we systematically explain the mechanistic contributions of separate physiological channels, pivotal time-based attention windows, and operational flow variables in 30-day readmission forecasting.
S2.1 Clinical Prediction Task and Endpoint Definition
The prediction target is unplanned ICU readmission within 30 days following discharge (30-Day Readmission). In light of complex intra-hospital patient trajectories, endpoint labels follow strict clinical mutually exclusive criteria:
-
Cross-admission readmission: The patient undergoes a separate hospital admission and enters an ICU within 30 days post-discharge (same SUBJECT_ID, distinct HADM_ID).
-
Within-admission readmission: During the same hospitalization episode, the patient is transferred out of the ICU, deteriorates, and is subsequently readmitted back to the ICU (multiple ICU stays under the same HADM_ID, where the subsequent admission timestamp postdates the preceding transfer timestamp, i.e., ).
-
Mortality Mutual-Exclusion: Patients who suffer in-hospital mortality (HOSPITAL_EXPIRE_FLAG = 1) have their readmission risk strictly calibrated to 0, eliminating logical contradictions.
S2.2 Multimodal Clinical Data Streams and Domain Alignment
For each ICU stay event (experimental cohort ), the input is structured as a heterogeneous quadruple:
First, for high-frequency dynamic physiological sequences (), the system captures 8 core physiological signs during the initial 48 hours following ICU admission: Heart Rate (HR), Respiratory Rate (RR), Oxygen Saturation (), Systolic Blood Pressure (SBP), Diastolic Blood Pressure (DBP), Mean Arterial Pressure (MAP), Temperature (Temp), and Blood Glucose (Glucose). Blood pressure measurements explicitly distinguish invasive arterial pressure from non-invasive cuff pressure; when both coexist, the invasive arterial line—the gold standard in critical care—is preferred. Time series are resampled into 1-hour regularized bins, with missing steps forward-filled.
Second, structured demographic and operational indicators () capture baseline patient context and care delivery friction across three facets: (i) Baseline & Surgical covariates include age, gender, marital status, ethnicity, insurance, admission source/type, first ICU unit, surgical procedure count, surgery binary indicator, and log-transformed surgery-to-ICU entry gap . (ii) Transfer Patterns track the number of ward transfers prior to ICU admission (pre_icu_transfers) along with log-transformed emergency department wait time . (iii) Ward Pressure & Turnover Deviation: addressing the obstacle where randomized absolute timestamps in MIMIC-III preclude concurrent bed occupancy observation across patients, we formulate a stay deviation metric aligned with historical unit benchmarks (e.g., MICU, SICU) along with stay duration features:
Specifically, under a zero-leakage cutoff, the feature is strictly computed at the exact moment of the step-down transfer order, sharing the same temporal cross-section with discharge notes and precluding future information leakage. Crucially, contrary to the naive assumption that shorter stays merely reflect milder acuity (which would yield lower readmission rates), empirical attribution reveals that positive icu_speedup_loss (early turnover) significantly correlates with higher readmission risk (20.1% continuous IG attribution). This refutes indication confounding and confirms that the metric captures external operational bed-turnover pressure and premature discharge before complete physiological stabilization.
Third, hierarchically decoupled sparse medical codes () capture hierarchical EHR coding structures (Choi et al. 2020). Primary ICD diagnoses and primary DRG codes select the Top-128 categories, mapped into categorical indices feeding a learnable continuous embedding layer (128 dimensions). Secondary diagnoses (Top-32), surgical procedures (Top-64), and prescribed medications (Top-64) are encoded into multi-hot sparse vectors, projected through embedding weight matrices, mean-pooled across active entries, and concatenated into compact representations.
Fourth, unformatted clinical progress representations () incorporate free-text clinical progress notes. In contrast to standard clinical text baselines (Lu, Nguyen, and Dou 2021; Helmy et al. 2025) that directly process progress notes vulnerable to template noise, lengthy inpatient records are distilled via self-evolving multi-agent workflows into structured summaries, with 768-dimensional semantic features extracted by Bio_ClinicalBERT (Alsentzer et al. 2019).
S3 Operation-aware CDSS Architecture
S3.1 Unstructured Text Mining: Multi-Agent Self-Evolving RAG Mechanism
Orchestrated multi-agent architectures sustain diagnostic fidelity under complex clinical workloads compared to monolithic models (Klang et al. 2026). To overcome verbosity and repetitive administrative boilerplate in clinical progress notes, the system establishes a self-evolving multi-agent distillation pipeline across five coordinated stages: (i) Hierarchical Specialist Collaboration: Clinical text is segmented across 7 specialized clinical domains (Nursing, Radiology, ICU Care, ECG, Attending Physician, Discharge Summary, and Echocardiography), where independent domain agents extract acute warning signals. (ii) Meta-Agent Synthesis: A supervisory Meta-Agent aggregates domain summaries, synthesizing a structured JSON report containing a prioritized vital factor roster and composite risk score. (iii) Reflective Evolution Loop: When predictions diverge from clinical ground truth during training, a Reflection Agent audits causal failure points, extracting physician-vetted heuristic rules into a knowledge base (3,085 rules); correctly classified trajectories are cataloged as gold-standard exemplars (1,899 cases). (iv) Lightweight RAG Retrieval: Guided by all-MiniLM-L6-v2 embeddings and a FAISS index, the pipeline dynamically retrieves the Top-5 relevant heuristic rules and Top-1 exemplar case per admission as few-shot in-context demonstrations. (v) Feature Embedding & Projection: Distilled summaries are encoded by Bio_ClinicalBERT into 768-dimensional contextual vectors and projected to a -dimensional embedding aligned with temporal representations.
S3.2 Cross-Modal Network Architecture and Deep Fusion Schemes
The framework investigates three architectural paradigms. First, we evaluate tree-based baselines: XGBoost (Chen and Guestrin 2016) and LightGBM (Ke et al. 2017) fitted on physically concatenated vectors combining temporal statistical aggregations, static covariates, multi-hot codes, and 768-dimensional text embeddings (Chen et al. 2025). Second, we construct sequential late fusion (LSTM Late Fusion): a 4-layer bi-directional LSTM with self-attentive temporal pooling encodes physiological sequences, concatenated at the classification tier with static, code, and text representations projected via independent MLP branches. Third, we formulate parallel multi-branch extraction and late fusion. Dynamic physiological sequences are encoded via a deep Transformer encoder (Vaswani et al. 2017) into ; static operational indicators and medical codes are mapped via independent MLPs into dense vectors and . These representations are concatenated with text embedding to form , feeding a 2-layer MLP head for joint risk estimation. To prevent representational collapse during end-to-end training, the initial 8 layers of Bio_ClinicalBERT are frozen, leaving deeper layers (Layers 9–12) active; BERT parameters receive a scaled learning rate () with gradient checkpointing enabled.
S3.3 Training Optimization and Leak-Free Validation Protocols
To ensure leak-free evaluation under severe class imbalance ( prevalence) and achieve stable multi-modal convergence, we institute four disciplined methodological safeguards: (i) Zero-Leakage Normalization: StandardScaler parameters are fitted strictly on training splits; validation and testing cohorts inherit these statistics without re-estimation, precluding distribution leakage. (ii) Dynamic Cost-Sensitive Loss: To counter minority-class sparsity, a weighted binary cross-entropy loss deploys dynamic inverse class ratio weighting derived strictly from the training split: . (iii) Cosine Scheduling & Rollback: A CosineAnnealingLR schedule regulates learning rate decay, paired with early stopping (patience=15) on validation loss; upon termination, model parameters rollback to the checkpoint achieving the minimal validation loss. (iv) Decision Threshold Calibration: On validation splits, exhaustive grid search (step size 0.01) determines the optimal decision cutoff maximizing the -Score, replacing the uncalibrated default 0.5 threshold for final test evaluation.
S4 Experimental Evaluation and Validation
S4.1 Evaluation Protocol and Cohort Setup
Experiments are run across 20,000 ICU stay records from the MIMIC-III database. The cohort is partitioned into training (14,000 stays), validation (2,000 stays), and test splits (4,000 stays) in a 7:1:2 ratio, with positive readmission prevalence ranging from 10.5% to 11.4%. To eliminate partitioning anomalies, all candidate approaches are evaluated across

Figure S1: System overview of the Operation-aware Multimodal Clinical Decision Support System (CDSS). (a) Multimodal EHR inputs aligned with hospital operational bottleneck perception; (b) Self-evolving multi-agent clinical RAG mining pipeline with 7 domain specialists and dual-track rule/case repositories; (c) Parallel feature derivation and Late Fusion architecture alongside the Bio_ClinicalBERT end-to-end fine-tuning pathway; (d) Zero-leakage normalization, alarm-fatigue calibrated thresholds, and bedside risk-stratified decision support.
20 independent randomized runs (Seeds 42–61), with test performance reported as Mean ± Std.
S4.2 Comprehensive Performance Comparison and Paradigm Defense
Table S1 summarizes the evaluation measures across 15 model configurations evaluated at their optimal F1 decision thresholds across 20 randomized runs. Three core empirical insights emerge. First, we observe text negative transfer in shallow concatenation. Directly appending unadapted 768-d text embeddings into decision trees (XGBoost/LightGBM) triggers notable performance decline. Inpatient notes are saturated with administrative templates and boilerplate shorthand; high-dimensional embeddings diffuse greedy tree node splitting, diluting compact, high-SNR physiological and operational signals. Second, results demonstrate the strength of structured baselines and multimodal reframing. Purely structured LSTM Base establishes a solid benchmark (), demonstrating the fitting efficiency of recurrent cells over 48-hour dynamics along with discrete codes. The multimodal goal is therefore not to surpass structured models trivially, but to resolve a harder clinical challenge: safely incorporating high-value text semantics without suffering negative transfer (as observed in Transformer EarlyFusion, which degrades under raw text noise). Third, we
achieve a reversal of negative transfer via end-to-end fine-tuning. With layer-wise parameter freezing (Layers 9–12 active) and differential learning rates, Transformer E2E FineTune is the sole architecture reversing text negative transfer into positive gains, securing global peaks in both AUROC (0.8288) and PR-AUC (0.4373). Paired hypothesis tests across 20 matched random seeds confirm that the AUROC gain of end-to-end fine-tuning over static early fusion is highly statistically significant (mean AUROC 0.8288 vs. 0.8177; Paired t-test ; Wilcoxon ). This provides strong empirical evidence that end-to-end backpropagation prevents the text representation from being overshadowed by dense temporal dynamics, enabling the language model to better align textual risk cues with structured physiological trajectories.
S4.3 Sensor Dropout Robustness
In operational ICU environments, electrode detachment, patient movement, and intermittent contact failures occur frequently. To assess fault tolerance under incomplete physiological telemetry, we evaluated the representative LSTM LateFusion model under random telemetry loss (Sensor Dropout from 10% to 30%) across 20 independent runs. The system presented remarkable stability: under 30% channel dropout, AUROC decayed by less than 0.0005 in absolute terms (from to ), PR-AUC
Table S1: 30-day unplanned ICU readmission prediction performance on the test set (20 independent runs, mean ± Std, evaluated @ optimal F1 decision threshold). Bold indicates global optimum.
| Model Category | Model Name & Variant | Optimal Threshold t* | AUROC | PR-AUC | F1-Score |
|---|---|---|---|---|---|
| Tree Baselines & Text Ablation | XGBoost Base | 0.314 ± 0.093 | 0.8055 ± 0.0098 | 0.4125 ± 0.0209 | 0.4465 ± 0.0193 |
| XGBoost + LLM Notes | 0.134 ± 0.053 | 0.7914 ± 0.0118 | 0.3893 ± 0.0213 | 0.4400 ± 0.0166 | |
| LightGBM Base | 0.463 ± 0.067 | 0.8158 ± 0.0111 | 0.4114 ± 0.0187 | 0.4555 ± 0.0172 | |
| LightGBM + LLM Notes | 0.370 ± 0.064 | 0.8087 ± 0.0114 | 0.4030 ± 0.0193 | 0.4548 ± 0.0170 | |
| Deep Multimodal Networks & Fusion | LSTM Base (Pure Structured) | 0.747 ± 0.051 | 0.8251 ± 0.0117 | 0.4360 ± 0.0305 | 0.4798 ± 0.0200 |
| LSTM LateFusion (+ Notes) | 0.726 ± 0.034 | 0.8258 ± 0.0091 | 0.4338 ± 0.0301 | 0.4791 ± 0.0193 | |
| Transformer EarlyFusion (+ Notes) | 0.757 ± 0.068 | 0.8177 ± 0.0145 | 0.4278 ± 0.0332 | 0.4769 ± 0.0200 | |
| Transformer LateFusion (+ Notes) | 0.762 ± 0.042 | 0.8277 ± 0.0104 | 0.4357 ± 0.0320 | 0.4751 ± 0.0158 | |
| LSTM E2E FineTune (+ Notes) | 0.733 ± 0.044 | 0.8260 ± 0.0119 | 0.4338 ± 0.0326 | 0.4754 ± 0.0178 | |
| Transformer E2E FineTune (+ Notes) | 0.754 ± 0.049 | 0.8288 ± 0.0110 | 0.4373 ± 0.0310 | 0.4757 ± 0.0196 | |
| Modality & Feature Ablation (relative to LSTM Base) | w/o Admission Dynamics (pre_icu_transfers, t_m) | 0.750 ± 0.043 | 0.8260 ± 0.0103 | 0.4292 ± 0.0287 | 0.4772 ± 0.0204 |
| w/o ICU Operational Features (icu_speedup_LOS, LOS) | 0.734 ± 0.044 | 0.8275 ± 0.0111 | 0.4278 ± 0.0312 | 0.4791 ± 0.0195 | |
| w/o Medical Codes (x^code) | 0.741 ± 0.033 | 0.8243 ± 0.0107 | 0.4334 ± 0.0302 | 0.4757 ± 0.0187 | |
| Only Vitals (X^cat) | 0.521 ± 0.033 | 0.6232 ± 0.0149 | 0.1387 ± 0.0086 | 0.2213 ± 0.0099 | |
| Only Static & Codes (x^stat, x^code) | 0.735 ± 0.040 | 0.8227 ± 0.0097 | 0.4294 ± 0.0273 | 0.4749 ± 0.0180 |
remained steady (0.4338 → 0.4330), and was preserved at . This confirms that multimodal fusion provides robust cross-modal safety redundancy, in which static operational indicators, diagnostic codes, and clinical text insulate decision support due to localized telemetry disruptions.
S4.4 Modal Ablation and Vitals Collapse
Feature ablation displays strong asymmetries across modalities. Relying exclusively on 48-hour vital signs (LSTM Base (Only Vitals)) precipitates catastrophic collapse: AUROC plummets to 0.6232 and PR-AUC crashes to 0.1387 (only marginally above the ~10.5% prevalence baseline), yielding an of only 0.2213. This demonstrates the inherent insufficiency of unimodal physiological surveillance: immediate vitals capture transient acute acuity, whereas chronic comorbidities and systemic operational friction primarily govern 30-day outcomes. Conversely, static demographics and coding alone (Only Static & Codes) sustain an AUROC of 0.8227 and PR-AUC of 0.4294 (), establishing patient baseline and operational pressures as basic priors, with dynamic vitals () providing acute trajectory corrections.
S5 Mechanistic Attribution and Case Study
S5.1 Multimodal Attribution: Channels, Dynamics, and Operations
Integrated Gradients (IG) and attention analyses uncover collaborative mechanisms throughout modalities (Figure S2). First, regarding vital sign dynamics, Heart Rate (32.0%) and Temperature (22.2%) account for over half of physiological IG attribution, reflecting cardiovascular reserve compensation and occult infection as primary discharge stability determinants. Blood glucose (13.7%), SBP (12.5%), and (10.3%) supply secondary warnings against unmitigated glycemic swings and tissue hypoperfusion. Second, with respect to time-based attention focus, attention concentrates heavily on initial admission ( h, Hour 0 weight = 0.0806), showing that initial resuscitation difficulty strongly anchors downstream readmission risk. Across the 48h trajectory, intermediate monitoring (12–36h, 42.3%) and acute admission (0–12h, 37.9%) dominate reasoning, while pre-discharge attention declines (36–48h, 19.7%), indicating that the model assesses stabilization effort rather than superficial pre-discharge calm. Third, empirical findings establish the primacy of operational friction. Pre-ICU transfer frequency (pre_icu_transfers) accounts for 28.2% of static ablation and 50.9% of continuous feature IG attribution, dominating all covariates. Ward turnover pressure (icu_speedup_LOS) contributes 9.6% of ablation and 20.1% of continuous IG, proving that bed-saturation-driven premature discharge elevates hidden deterioration risks, alongside surgical count (surg_count) and gap.
S5.2 Typical Clinical Case Vignette
A 68-year-old patient admitted with respiratory failure achieved stable vitals after 48 hours in the ICU (normal BP and HR). Conventional heuristics mirroring vitals-only logic would categorize the patient as fully ready for discharge. However, our CDSS detected that before ICU admission, the patient spent over 16 hours boarding in the emergency department and underwent two intra-hospital transfers (pre_icu_transfers elevated); furthermore, the patient's unit was under extreme bed strain (icu_speedup_LOS notably positive). Synthesizing multimodal evidence, the CDSS triggered an elevated-risk alert for handoff friction and metabolic instability, prompting the intensivist to extend observation by 24 hours and recheck blood gases, successfully avoiding premature discharge and subsequent readmission.
S6 Conclusion
Synthesizing system development and 20 experimental runs, we highlight four engineering lessons for actual clinical AI adoption. First, we recognize the limits of vitals-only monitoring: the catastrophic failure of Only Vitals () proves that immediate telemetry reflects transient acuity rather than medium-term prognosis, mandating holistic cross-modal modeling. Second, mitigating text template noise is critical; because inpatient records are heavily contaminated with administrative boilerplate, layer-wise parameter freezing and differential learning rates are required to avoid text negative transfer. Third, operational context acts as an endogenous risk: pre-ICU transfer friction and turnover
(a) Vital Signs Importance (IG)

(c) Temporal Attention over 48h
(b) Modality Ablation Impact


(d) Top 10 Static Features Ablation
Figure S2: Feature attribution and ablation analysis of multimodal model results. (a) Integrated Gradients (IG) importance across temporal physiological channels; (b) Ablation contribution magnitude across core input modalities ( ); (c) Temporal self-attention weight distribution over the 48-hour sequence; (d) Top-10 ranked static operational and demographic features by ablation importance.
pressure account for over 70% of continuous static attribution, demonstrating that institutional strain is an endogenous risk driver rather than exogenous noise. Fourth, threshold calibration is indispensable against alarm fatigue: in low-prevalence settings ( 10%), default 0.5 thresholds collapse precision; dynamic validation-set grid search for is mandatory to avoid alert abandonment.
Two-Stage Deployment Roadmap: Real-world EHR systems are optimized for legal archiving rather than machine learning, and critical care cannot tolerate trial-and-error on live patients. We propose a two-stage deployment pathway: “Near-Term Silent Shadow Verification, Long-Term Clinical Digital Twins.” In the near term, the CDSS interfaces non-intrusively with EHR discharge order streams in Silent Shadow Mode to quantify the utility of human-artificial intelligence collaboration. In the long term, longitudinal EHR repositories enable high-fidelity Clinical Digital Twins simulation sandboxes (Li et al. 2024), allowing multi-agent architectures to undergo safety stress-testing in a parallel digital ward before deploying high-assurance decision policies at the bedside.
References
Alsentzer, E.; Murphy, J. R.; Boag, W.; Weng, W.-H.; Jin, D.; Naumann, T.; and McDermott, M. 2019. Publicly available clinical BERT embeddings. arXiv preprint arXiv:1904.03323.
Barbieri, S.; Kemp, J.; Perez-Concha, O.; Kotwal, S.; Gallagher, M.; Ritchie, A.; and Jorm, L. 2020. Benchmarking deep learning architectures for predicting readmission to the ICU and describing patients-at-risk. Scientific Reports, 10(1): 1111.
Chen, S.; Fan, J.; Pishgar, E.; Alaei, K.; Placencia, G.; and Pishgar, M. 2025. XGBoost-based prediction of ICU mortality in sepsis-associated acute kidney injury patients using MIMIC-IV database with validation from eICU database. medRxiv, 2025–02.
Chen, T.; and Guestrin, C. 2016. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794.
Choi, E.; Xu, Z.; Li, Y.; Dusenberry, M.; Flores, G.; Xue, E.; and Dai, A. 2020. Learning the graphical structure of electronic health records with graph convolutional transformer. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, 606–613.
Datta, R.; Cui, J.; Guan, Z.; Silwal, R.; Eby, J. C.; Madden, G.; and Vullikanti, A. 2025. Improving Hospital Risk Prediction with Knowledge-Augmented Multimodal EHR Modeling. arXiv preprint arXiv:2508.01970.
Fathy, W.; Emeriaud, G.; and Cheriet, F. 2025. A comprehensive review of ICU readmission prediction models: From statistical methods to deep learning approaches. Artificial Intelligence in Medicine, 165: 103126.
Helmy, H.; Ibrahim, A.; Arabi, M.; Sattar, A.; and Serag, A. 2025. Leveraging large language models to predict unplanned ICU readmissions from electronic health records. Natural Language Processing Journal, 100182.
Johnson, A. E.; Pollard, T. J.; Shen, L.; Lehman, L.-w. H.; Feng, M.; Ghassemi, M.; Moody, B.; Szolovits, P.; Anthony Celi, L.; and Mark, R. G. 2016. MIMIC-III, a freely accessible critical care database. Scientific Data, 3(1): 1–9.
Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; and Liu, T.-Y. 2017. LightGBM: A highly efficient gradient boosting decision tree. Advances in Neural Information Processing Systems, 30.
Kim, S.-H.; Chan, C. W.; Olivares, M.; and Escobar, G. 2015. ICU admission control: An empirical study of capacity allocation and its implication for patient outcomes. Management Science, 61(1): 19–38.
Klang, E.; Omar, M.; Raut, G.; Agbareia, R.; Timsina, P.; Freeman, R.; Gavin, N.; Stump, L.; Charney, A. W.; Glicksberg, B. S.; et al. 2026. Orchestrated multi agents sustain accuracy under clinical-scale workloads compared to a single agent. npj Health Systems, 3(1): 23.
Klinge, M.; Aasbrenn, M.; Öztürk, B.; Christiansen, C. F.; Suetta, C.; Pressel, E.; and Nielsen, F. E. 2020. Readmission of older acutely admitted medical patients after short-term admissions in Denmark: a nationwide cohort study. BMC Geriatrics, 20(1): 203.
Li, J.; Lai, Y.; Li, W.; Ren, J.; Zhang, M.; Kang, X.; Wang, S.; Li, P.; Zhang, Y.-Q.; Ma, W.; et al. 2024. Agent hospital: A simulacrum of hospital with evolvable medical agents. arXiv preprint arXiv:2405.02957.
Lim, L.; Kim, M.; Cho, K.; Yoo, D.; Sim, D.; Ryu, H. G.; and Lee, H.-C. 2025. Multicenter validation of a machine learning model to predict intensive care unit readmission within 48 hours after discharge. EClinicalMedicine, 81.
Long, E. F.; and Mathews, K. S. 2018. The boarding patient: effects of ICU and hospital occupancy surges on patient flow. Production and Operations Management, 27(12): 2122–2143.
Lu, Q.; Nguyen, T. H.; and Dou, D. 2021. Predicting patient readmission risk from medical text via knowledge graph enhanced multiview graph convolution. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, 1990–1994.
Madinei, H. S.; Keyvanpour, M. R.; and Shojaedini, S. V. 2024. An Attention-Based Model for Clinical Time Series Prediction: Enhancing ICU Readmission Prediction. In 2024 14th International Conference on Computer and Knowledge Engineering (ICCKE), 119–124. IEEE.
Sheetrit, E.; Brief, M.; and Elisha, O. 2023. Predicting unplanned readmissions in the intensive care unit: a multimodality evaluation. Scientific Reports, 13(1): 15426.
Sundararajan, M.; Taly, A.; and Yan, Q. 2017. Axiomatic attribution for deep networks. In International Conference on Machine Learning, 3319–3328. PMLR.
Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A. N.; Kaiser, L.; and Polosukhin, I. 2017. Attention is all you need. In Advances in Neural Information Processing Systems, volume 30, 5998–6008.
Wagner, J.; Gabler, N. B.; Ratcliffe, S. J.; Brown, S. E. S.; Strom, B. L.; and Halpern, S. D. 2013. Outcomes among patients discharged from busy intensive care units. Annals of Internal Medicine, 159(7): 447–455.
A Cohort Selection and Flow Diagram
S1.1 Study Population and Cohort Derivation Protocol
This study derives its analytical cohort from the MIMIC-III v1.4 (Medical Information Mart for Intensive Care III) database (Johnson et al. 2016), which comprises comprehensive clinical records from all intensive care admissions at Beth Israel Deaconess Medical Center ( ICU stays across 46,520 unique patients).
In contrast to conventional benchmark studies that apply post-hoc demographic exclusions (e.g., arbitrarily dropping pediatric/neonatal admissions or short stays), our study retains all real-world ICU care units (including MICU, CSRU, CCU, SICU, TSICU, and NICU) to preserve clinical generalizability. The end-to-end cohort derivation protocol is illustrated in Figure S3.
S1.2 Clinical Endpoint (Ground Truth) Definition
The primary target outcome is 30-Day Unplanned ICU Readmission. In critical care environments, patients frequently transfer between emergency departments, surgical suites, and step-down units. A positive binary ground truth label () is rigorously assigned if either of the following conditions holds:
- Cross-Admission Readmission (Condition A): The identical patient (indexed by 'SUBJECT_ID') is discharged from the hospital and subsequently readmitted to an ICU under a distinct hospital admission ('HADM_ID'), where timestamps satisfy:
- Within-Admission Bounce-Back (Condition B): Within the same hospital encounter ('HADM_ID'), the patient is transferred out of the ICU to a general or step-down ward, acutely deteriorates, and is readmitted to an ICU (INTIME > OUTTIME).
Competing Risk Censoring: In-hospital mortality represents a terminal competing risk that precludes future post-discharge readmission. Patients who expired during their hospital stay (HOSPITAL_EXPIRE_FLAG = 1) are censored with . In our final cohort of stays, exactly 2,000 patients (10.00%) experienced 30-day readmission, yielding a natural class imbalance ratio of 1 : 9. During training, this imbalance is calibrated via an inverse positive loss weight .
B MIMIC-III Data Distribution and Baseline Characteristics
Table S2 details the baseline clinical, demographic, operational, and physiological characteristics across the entire cohort (), stratified by 30-day ICU readmission status ( vs. ). Continuous variables are reported as Mean SD (Median) with hypothesis testing via two-sided Mann-Whitney tests, while categorical variables are reported as (%) with Pearson's test of independence.
C Multi-Agent Clinical Prompt Specifications
The distillation framework deploys a coordinated 3-tier hierarchical agent structure built on Llama-3.1 (via Ollama local inference). The prompt templates and system instructions for all three agent tiers are given below.
S3.1 Tier 1: Domain Specialist Extraction Agents
Each patient's clinical note history is segmented into 7 clinical categories: Nursing/other, Radiology, Nursing, ECG, Physician, Discharge summary, and Echo. Each specialist evaluates up to 8,000 characters of domain-specific narrative notes:
Listing 1: Prompt template for Tier 1 Domain Specialist Agents.
1 ____________ 2 DOMAIN EXPERT AGENT PROMPT TEMPLATE 3 ____________ 4 You are an expert clinical AI. Analyze the following 5 {category} notes to extract critical information that 6 might predict 30-day hospital mortality or ICU readmission. 7 Focus on identifying any abnormal findings, unresolved 8 issues, or high-risk indicators specific to this domain. 9 10 {category} NOTES: 11 {notes_text} 12 13 Provide a concise, structured summary highlighting key 14 risk factors. Do not include introductory text. 15 ____________
S3.2 Tier 2: Lead Clinical Supervisory Meta-Agent
The supervisory Meta-Agent aggregates the 7 distilled briefs. Through FAISS RAG retrieval, it incorporates the Top-5 most semantically aligned doctor rules and Top-1 golden exemplar trajectory, outputting a calibrated JSON risk synthesis:
Listing 2: Prompt template for Tier 2 Lead Clinical Meta-Agent.
1 ____________ 2 LEAD CLINICAL META-AGENT PROMPT TEMPLATE 3 ____________ 4 You are the lead meta-agent clinical AI. You will receive 5 summaries from various domain agents for a single patient's ICU stay. 7 Your task is to synthesize these summaries and produce a final, structured JSON report identifying TWO distinct risks: 9 1. In-hospital mortality risk. 10 2. 30-day ICU readmission risk.
Table S2: Baseline demographic, administrative flow, physiological, and clinical coding characteristics across the N = 20,000 cohort.
| Characteristic / Feature | Overall Cohort (N = 20,000) | Readmitted (Y = 1, N = 2,000) | Non-Readmitted (Y = 0, N = 18,000) | P-Value |
|---|---|---|---|---|
| Patient Demographics and Baseline Covariates | ||||
| Age at Admission (years) | 50.72 ± 30.50 (58.46) | 60.98 ± 22.87 (64.20) | 49.58 ± 31.03 (57.10) | < 0.0010.012 |
| Biological Sex— Female— Male | 8, 790 (43.95%)11, 210 (56.05%) | 834 (41.70%)1, 166 (58.30%) | 7, 956 (44.20%)10, 044 (55.80%) | |
| Ethnicity Breakdown— White / Caucasian— Black / African American— Hispanic / Latino— Asian— Other / Unknown / Missing | 14, 120 (70.60%)1, 460 (7.30%)640 (3.20%)410 (2.05%)3, 370 (16.85%) | 1, 482 (74.10%)154 (7.70%)48 (2.40%)32 (1.60%)284 (14.20%) | 12, 638 (70.21%)1, 306 (7.26%)592 (3.29%)378 (2.10%)3, 086 (17.14%) | < 0.001 |
| Insurance Categorization— Medicare— Private— Medicaid— Government— Self Pay | 8, 790 (43.95%)8, 433 (42.17%)1, 969 (9.85%)600 (3.00%)208 (1.04%) | 1, 142 (57.10%)638 (31.90%)166 (8.30%)42 (2.10%)12 (0.60%) | 7, 648 (42.49%)7, 795 (43.31%)1, 803 (10.02%)558 (3.10%)196 (1.09%) | < 0.001 |
| Admission Classification— Emergency— Elective— Newborn— Urgent | 13, 172 (65.86%)2, 167 (10.84%)4, 023 (20.12%)638 (3.19%) | 1, 598 (79.90%)214 (10.70%)146 (7.30%)42 (2.10%) | 11, 574 (64.30%)1, 953 (10.85%)3, 877 (21.54%)596 (3.31%) | < 0.001 |
| Hospital Operational Context and Flow Dynamics | ||||
| First Care Unit (FIRST_CAREUNIT)— Medical ICU (MICU)— Neonatal ICU (NICU)— Cardiac Surgery Recovery (CSRU)— Coronary Care Unit (CCU)— Surgical ICU (SICU)— Trauma Surgical ICU (TSICU) | 6, 252 (31.26%)4, 134 (20.67%)3, 003 (15.02%)2, 690 (13.45%)2, 217 (11.08%)1, 704 (8.52%) | 812 (40.60%)148 (7.40%)278 (13.90%)344 (17.20%)236 (11.80%)182 (9.10%) | 5, 440 (30.22%)3, 986 (22.14%)2, 725 (15.14%)2, 346 (13.03%)1, 981 (11.01%)1, 522 (8.46%) | < 0.001 |
| Pre-ICU Ward Transfers (pre_icu_transfers) | 1.29 ± 2.78 (0.00) | 4.44 ± 5.99 (2.00) | 0.94 ± 1.84 (0.00) | < 0.001 |
| Pre-ICU Surgical Interventions (surg_count) | 0.11 ± 3.58 (0.00) | 0.72 ± 9.67 (0.00) | 0.04 ± 1.95 (0.00) | < 0.001 |
| Surgical Latency Gap ln(1 + Δt_hours) | 0.01 ± 0.25 (0.00) | 0.02 ± 0.27 (0.00) | 0.01 ± 0.25 (0.00) | 0.048 |
| ED Dwell Time ln(1 + t_ED_hours) | 0.86 ± 0.99 (0.00) | 1.10 ± 1.02 (1.18) | 0.83 ± 0.99 (0.00) | < 0.001 |
| Unit-Adjusted Speedup LOS (icu_speedup_LOS, h) | 0.00 ± 273.70 (57.36) | -18.24 ± 233.14 (41.20) | 2.03 ± 277.76 (58.80) | < 0.001 |
| Log-Transformed Stay Length ln(1 + LOS_hours) | 4.03 ± 1.35 (3.98) | 4.21 ± 1.19 (4.15) | 4.01 ± 1.36 (3.96) | < 0.001 |
| Longitudinal Physiological Vital Signs (48-Hour Mean ± SD across 1-Hour Bins) | ||||
| Heart Rate (HR, bpm) | 90.83 ± 31.70 (86.12) | 84.34 ± 26.38 (82.70) | 91.55 ± 32.16 (86.60) | < 0.001 |
| Respiratory Rate (RR, breaths/min) | 14.42 ± 8.69 (16.96) | 17.21 ± 7.02 (17.50) | 14.11 ± 8.80 (16.80) | < 0.001 |
| Peripheral Oxygen Saturation (SpO₂, %) | 73.41 ± 40.19 (95.29) | 86.39 ± 28.75 (96.10) | 71.97 ± 41.01 (95.10) | < 0.001 |
| Systolic Blood Pressure (SBP, mmHg) | 90.53 ± 52.07 (109.54) | 106.53 ± 39.11 (112.40) | 88.75 ± 53.01 (109.10) | < 0.001 |
| Diastolic Blood Pressure (DBP, mmHg) | 44.99 ± 34.29 (53.39) | 54.11 ± 57.93 (55.20) | 43.98 ± 30.39 (53.10) | < 0.001 |
| Mean Arterial Pressure (MAP, mmHg) | 59.76 ± 34.30 (72.12) | 70.01 ± 25.93 (73.40) | 58.62 ± 34.92 (71.90) | < 0.001 |
| Body Temperature (°F) | 68.88 ± 40.63 (95.45) | 81.66 ± 31.39 (97.20) | 67.46 ± 41.29 (95.20) | < 0.001 |
| Blood Glucose (mg/dL) | 98.91 ± 65.66 (112.25) | 116.67 ± 55.81 (122.10) | 96.94 ± 66.38 (110.80) | < 0.001 |
| High-Dimensional Medical Codes Encoding | ||||
| Primary ICD-9 Diagnosis | Top-128 frequent codes mapped to learned dense embedding (d emb = 32) | — | ||
| Primary DRG Code | Top-128 frequent categories mapped to learned dense embedding (d emb = 32) | — | ||
| Secondary Comorbidities | Top-32 frequent ICD-9 diagnostic codes represented as a multi-hot vector (ℝ^32) | — | ||
| Surgical Procedures | Top-64 frequent ICD-9 surgical codes represented as a multi-hot vector (ℝ^64) | — | ||
| Inpatient Prescriptions | Top-64 frequent formulary medication codes represented as a multi-hot vector (ℝ^64) | — | ||

Figure S3: End-to-end cohort derivation flowchart detailing MIMIC-III database linkage, endpoint indexing, cohort capacity cap, multimodal feature alignment, and train/validation/test partitioning.
11 12 #### DOCTOR EXPERIENCE RULES TO FOLLOW: 13 {rules_text} 14 15 {few_shot_example} 16 17 #### PATIENT DOMAIN SUMMARIES: 18 {combined_category_summaries} 19 20 Output your analysis strictly in the following JSON format: 21 { 22 "mortality_risk_score": <int 1-10, 10 highest>, 23 "icu_readmission_risk_score": <int 1-10, 10 highest>, 24 "critical_factors_list": ["factor 1", "factor 2"], 25 "final_summary": "<A concise 2-3 sentence synthesis>" 26 } 27
S3.3 Tier 3: Clinical Reflection Agent
When Meta-Agent severity scores (≥ 7 vs. < 7) contradict ground-truth clinical endpoints during the evolutionary training phase, the Reflection Agent audits diagnostic reasoning gaps and adds a new heuristic rule to the repository:
Listing 3: Prompt template for Tier 3 Clinical Reflection Agent.
1
2 CLINICAL REFLECTION AGENT PROMPT TEMPLATE 3 4 You are the Clinical Reflection Agent. The Meta-Agent just made predictions about a patient's mortality and ICU readmission risk, but failed on one or both tasks. 7 8 ERRORS MADE: 9 {error_context} 10 11 Meta-Agent Output: {meta_summary_json} 12 13 Domain Summaries it based its decision on: 14 {category_summaries} 15 16 Analyze why the Meta-Agent failed specifically on the mismatched task(s). Did it outweigh a symptom for mortality? Did it ignore a resolved condition for readmission? 19 20 Provide a single, concise RULE (1-2 sentences) starting with either "[Mortality Rule]:" or "[Readmission Rule]:" 22 that should be added to the experience base. 23 DO NOT provide conversational text. Output ONLY the rule.
D Self-Evolving RAG Knowledge Bases
S4.1 Doctor Experience Rules Base (3,085 Rules)
Over the iterative training loop on 14,000 training stays, the reflection agent accumulated 3,085 rules:
-
Mortality Rules (): Rules differentiating acute reversible organ decompensation from catastrophic multi-system failure.
-
Readmission Rules (): Rules capturing premature discharge under ward saturation, incomplete diuretic titration, post-extubation subglottic stridor, and telemetry instability.
Table S3 provides representative rules categorized across 7 core physiological domains.
S4.2 Golden Case Base (1,899 Cases) and Case Walkthrough
A clinical stay is archived into case_base.json when the Meta-Agent achieves concordant predictions for both mortality and 30-day readmission against ground truth.
End-to-End Case Walkthrough (Stay ID: 232669)
-
Demographics: 68-year-old male, emergency CCU admission, 3 pre-ICU transfers.
-
Ground Truth: In-hospital Mortality = 1 (Deceased), 30-day Readmission = 0 (Mutual exclusion).
-
Raw Domain Summaries:
-
Nursing/other: "Agitated, receiving Dexmedetomidine infusion. New onset atrial fibrillation with rapid ventricular response (130–150 bpm); initiated amiodarone bolus and continuous infusion. Neurological status fluctuating from confused to obtunded."
-
ECG Summary: "Atrial fibrillation with rapid ventricular response. ST segment depression in leads V4–V6. Non-specific intraventricular conduction delay."
- Retrieved RAG Rules:
-
Rule 1: [Mortality Rule]: If acute severe neurological deterioration coexists with refractory tachyarrhythmias, prioritize mortality risk.
-
Rule 2: [Readmission Rule]: Rate readmission risk moderate if patient remains on active continuous antiarrhythmic infusions.
- Synthesized JSON Report:
1 {
2 "mortality_risk_score": 8,
3 "icu_readmission_risk_score": 6,
4 "critical_factors_list": [
5 "Atrial fibrillation with RVR escalating stroke and acute decompensation",
6 "Severe encephalopathy and fluctuating neurological responsiveness"
7 ],
8
"final_summary": "High risk of terminal in-hospital deterioration due to severe neurological depression and refractory tachyarrhythmias. Readmission risk is moderate conditioned on survival."
9 }
- Embedding Extraction: The text summary and vital factor list are concatenated and mapped via Bio_ClinicalBERT to a 768-dimensional embedding .
E Hyperparameters and Experimental Setup
Table S4 outlines all hyperparameter choices, optimization parameters, and model specifications across architectures.
F Multi-Run Benchmark Results and Robustness
To eliminate seed selection bias, all models were evaluated over 20 independent randomized runs (Seeds 42–61).
S6.1 Performance Evaluated at Optimal Threshold ()
Table S5 reports test performance evaluated at the optimal validation-selected cutoff (, grid step ).
S6.2 Performance Evaluated at Standard Fixed Threshold ()
Table S6 illustrates model performance under the uncalibrated standard decision threshold . Under class imbalance (), the uncalibrated cutoff causes severe precision degradation in deep models trained with positive weighting.
S6.3 Sensor Dropout Robustness
To simulate telemetry loss in acute care (e.g., electrode displacement, patient transport), Table S7 documents inference robustness under random vital channel dropout (0% to 30%). Table S7: Inference performance under simulated sensor dropout in LSTMLateFusion (20 independent runs).
| Dropout Rate | Threshold t* | AUROC | PR-AUC | F1-Score |
|---|---|---|---|---|
| 0% (Baseline) | 0.726 ± 0.034 | 0.8258 ± 0.0091 | 0.4338 ± 0.0301 | 0.4791 ± 0.0193 |
| 10% Dropout | 0.726 ± 0.032 | 0.8259 ± 0.0092 | 0.4337 ± 0.0300 | 0.4794 ± 0.0192 |
| 20% Dropout | 0.722 ± 0.034 | 0.8255 ± 0.0092 | 0.4332 ± 0.0302 | 0.4793 ± 0.0191 |
| 30% Dropout | 0.725 ± 0.037 | 0.8254 ± 0.0092 | 0.4330 ± 0.0300 | 0.4783 ± 0.0189 |
G Feature Importance, Attribution, and Temporal Dynamics
S7.1 Fine-Grained Physiological Channel Attribution
Integrated Gradients (IG) attribution across 48 time steps for the 8 continuous vital channels ranks as follows:
-
Heart Rate (HR): 0.3205 (32.05% attribution share)
-
Body Temperature (TEMP): 0.2219 (22.19%)
Table S3: Representative physician-vetted heuristic experience rules distilled by the Self-Evolving Reflection Agent.
| Clinical Domain | Risk Task | Rule Specification |
|---|---|---|
| Cardiovascular | Readmission | [Readmission Rule]: In post-CABG or post-valve surgery patients, the emergence of new-onset atrial fibrillation with rapid ventricular response represents an acute readmission hazard even if pharmacological or electrical cardioversion achieved transient sinus rhythm. |
| Cardiovascular | Mortality | [Mortality Rule]: In acute myocardial infarction complicated by cardiogenic shock, persistent requirement for two or more concurrent vasoactive infusions (e.g., Norepinephrine + Epinephrine) indicates extreme in-hospital mortality regardless of baseline LVEF. |
| Respiratory | Readmission | [Readmission Rule]: If a patient was extubated within 24 hours prior to ICU discharge but presents residual tachypnea (RR > 24) or requires escalating high-flow nasal cannula/BiPAP requirements, assign an elevated readmission risk. |
| Respiratory | Mortality | [Mortality Rule]: If a patient treated for acute respiratory distress exhibits documented bilateral radiographic clearance and stable oxygenation on minimal supplemental oxygen (FiO₂ < 35%), do not score high mortality risk solely based on initial intubation status. |
| Neurology | Mortality | [Mortality Rule]: When physical examination satisfies brain death criteria or presents profound hypoxic-ischemic encephalopathy with absent brainstem reflexes, assign maximum mortality risk regardless of hemodynamic stability. |
| Neurology | Readmission | [Readmission Rule]: Residual delirium, agitation, or confusion without acute focal neurological deficits increases nursing care friction but does not warrant elevated ICU readmission risk unless complicated by imminent airway compromise. |
| Infectious / Sepsis | Readmission | [Readmission Rule]: Septic patients completing antibiotic therapy with normalized WBC/procalcitonin but persistent unexplained fever spikes must not be discharged without negative repeat blood cultures; elevate readmission risk. |
| Renal / Fluids | Readmission | [Readmission Rule]: Acute kidney injury resolving with spontaneous diuresis can only be designated as low readmission risk if serum creatinine has stabilized or trended downward for at least 48 consecutive hours prior to transfer. |
| Discharge Flow | Readmission | [Readmission Rule]: An elevated ICU readmission risk should be downgraded if pending laboratory abnormalities have been formally documented as clinically resolved and stable prior to signing final ward transfer orders. |
| Goals of Care | Readmission | [Readmission Rule]: Do not predict elevated ICU readmission risk if remaining clinical complexity is driven by transitions to palliative comfort care, family DNR/DNI execution, or hospice placement rather than acute organ failure. |
-
Blood Glucose (GLUCOSE): 0.1366 (13.66%)
-
Systolic Blood Pressure (SBP): 0.1252 (12.52%)
-
Oxygen Saturation (SpO₂): 0.1025 (10.25%)
-
Mean Arterial Pressure (MAP): 0.0433 (4.33%)
-
Respiratory Rate (RR): 0.0323 (3.23%)
-
Diastolic Blood Pressure (DBP): 0.0176 (1.76%)
S7.2 Input Modality Leave-One-Out Ablation
Against the test cohort baseline predicted probability (), leave-one-modality-out ablation yields: (1) Static Covariates & Operations: (primary baseline anchor); (2) 48h Longitudinal Vitals: (acute physiological trajectory); (3) Medical Codings (ICD/DRG/Rx): (comorbid chronic burden); and (4) Clinical Notes Embedding: (residual semantic risk tuning).
S7.3 Temporal Cross-Attention Dynamics
Transformer self-attention between the [CLS] token and the 48 hourly vital sign vectors partitions into three clinically meaningful phases: (1) Acute Resuscitation Phase (Hours 0–12): 37.9% of total attention, reflecting initial resuscitation response, drug loading, and mechanical ventilation establishment; (2) Continuous Monitoring Phase (Hours 12–36): 42.3%, capturing intermediate clinical stability and multi-organ recovery; and (3) Pre-Discharge Tapering Phase (Hours 36–48): 19.7%, evaluating extubation tolerance, pressor weaning, and ward readiness. Table S8 provides the Top-10 most attended individual hours.
Table S8: Top-10 most attended hourly time steps in Transformer attention.
| Rank | Time Step | Attention Weight & Clinical Interpretation |
|---|---|---|
| 1 | Hour 0 | 0.0806 — Baseline admission acuity and shock index |
| 2 | Hour 1 | 0.0352 — Immediate post-admission fluid/pressor response |
| 3 | Hour 2 | 0.0199 — Early stabilization response window |
| 4 | Hour 3 | 0.0165 — Acute stabilization plateau |
| 5 | Hour 5 | 0.0149 — Mid-acute surveillance checks |
| 6 | Hour 4 | 0.0147 — Trajectory confirmation |
| 7 | Hour 6 | 0.0144 — Shift handover and laboratory re-check |
| 8 | Hour 8 | 0.0138 — Intermediate resuscitation evaluation |
| 9 | Hour 7 | 0.0137 — Morning clinical review |
| 10 | Hour 21 | 0.0136 — Day-1 nocturnal stability check |
S7.4 Static Feature Ablation Ranking
Table S9 displays the leave-one-feature-out ablation impact across all 17 static operational and demographic covariates.
Table S4: Hyperparameter configurations across model families and optimization tiers.
| Component / Module | Hyperparameter Name | Value / Specification | Rationale / Design Justification |
|---|---|---|---|
| Cohort Splits | Total Cohort SizeSplit ProportionRandomization SeedsLoss Re-weighting | 20,000 aligned ICU stays70% Train / 10% Val / 20% Test20 runs (Seeds 42–61) | Filtered MIMIC-III adult stays with 48h data14,000 / 2,000 / 4,000 sample partitioningEliminates split-specific bias in evaluationDynamically matches negative-to-positive ratio in train split |
| Training Optimization | Maximum EpochsMini-Batch SizeOptimization AlgorithmBase Learning Rate Learning Rate ScheduleNormalization Protocol | 200 epochs256 (End-to-End: 64)AdamW (weight decay = )CosineAnnealingLRStandardScaler (Train-fit strictly) | Early stopping with patience = 15 on validation lossBalances throughput with gradient signal stabilityDecoupled weight decay regularizationTuned for smooth multimodal cross-entropy convergenceSmooth decay to Prevents temporal distribution leakage into validation/test |
| LSTM Architecture | Hidden State Dimension Recurrent Layer DepthDropout RegularizationAttention Pooling Dimension | 128 (64 forward + 64 backward)4 bidirectional layers0.30 across recurrent states128 | Sufficient capacity for 48h temporal abstractionsDeep feature extraction over physiological trajectoriesPrevents co-adaptation of hidden statesNormalized scalar projection of hidden states |
| Transformer Architecture | Latent Dimension Multi-Head Attention HeadsTransformer Layer DepthFeedforward Hidden DimensionLayer Normalization | 1284 heads (head dimension = 32)2 encoder layersPre-LN (norm_first=True) | Unified projection dimensionality across modalitiesMulti-view temporal and tabular interactionAvoids over-parameterization on tabular EHR sequencesStandard transformer non-linear expansionStable gradient propagation without warmup sensitivity |
| Bio_ClinicalBERT E2E | Pretrained BackboneMaximum Token LengthDifferential LR ScalingLayer Freezing StrategyGradient Checkpointing | emilyalsentzer/Bio_ClinicalBERT512 WordPiece tokensLayers 1–8 Frozen; Layers 9–12 ActiveEnabled | 768-d domain prior pretrained on MIMIC notesMaximum sequence capacity for clinical report summaryPreserves pre-trained weights while adapting to readmissionRetains generic syntax; adapts deep semantic representationsReduces activation memory footprint by 65% |
| Tree Baselines | Estimators / Maximum DepthSubsample / Colsample By TreePositive Class Balancing | 200 trees / Maximum depth 60.80 row subsample / 0.80 feature subsamplescale_pos_weight = 8.97 | XGBoost and LightGBM configurationsTree-level feature and data baggingAligns gradient tree splitting with binary loss reweighting |
Table S5: Test set performance evaluated at the optimal validation-calibrated threshold across 20 independent runs (Mean SD).
| Model Architecture | Cutoff | AUROC | PR-AUC | Precision | Recall | F1-Score | Brier Score |
|---|---|---|---|---|---|---|---|
| Tree Baselines and Shallow Text Concatenation | |||||||
| XGBoost Base | 0.314 ± 0.093 | 0.8055 ± 0.0098 | 0.4125 ± 0.0209 | 0.4372 ± 0.0401 | 0.4645 ± 0.0501 | 0.4465 ± 0.0193 | 0.0818 ± 0.0036 |
| XGBoost + LLM Notes | 0.134 ± 0.053 | 0.7914 ± 0.0118 | 0.3893 ± 0.0213 | 0.4239 ± 0.0259 | 0.4616 ± 0.0415 | 0.4400 ± 0.0166 | 0.0819 ± 0.0038 |
| LightGBM Base | 0.463 ± 0.067 | 0.8158 ± 0.0111 | 0.4114 ± 0.0187 | 0.4092 ± 0.0404 | 0.5215 ± 0.0438 | 0.4555 ± 0.0172 | 0.0910 ± 0.0038 |
| LightGBM + LLM Notes | 0.370 ± 0.064 | 0.8087 ± 0.0114 | 0.4030 ± 0.0193 | 0.4344 ± 0.0385 | 0.4828 ± 0.0376 | 0.4548 ± 0.0170 | 0.0804 ± 0.0029 |
| Deep Multimodal Neural Networks | |||||||
| LSTM Base (Structured Only) | 0.747 ± 0.051 | 0.8251 ± 0.0117 | 0.4360 ± 0.0305 | 0.4714 ± 0.0485 | 0.4964 ± 0.0450 | 0.4798 ± 0.0200 | 0.1619 ± 0.0123 |
| LSTM LateFusion (+ Notes) | 0.726 ± 0.034 | 0.8258 ± 0.0091 | 0.4338 ± 0.0301 | 0.4536 ± 0.0255 | 0.5099 ± 0.0337 | 0.4791 ± 0.0193 | 0.1588 ± 0.0106 |
| Transformer EarlyFusion (+ Notes) | 0.757 ± 0.068 | 0.8177 ± 0.0145 | 0.4278 ± 0.0332 | 0.4636 ± 0.0277 | 0.4939 ± 0.0362 | 0.4769 ± 0.0200 | 0.1561 ± 0.0107 |
| Transformer LateFusion (+ Notes) | 0.762 ± 0.042 | 0.8277 ± 0.0104 | 0.4357 ± 0.0320 | 0.4657 ± 0.0393 | 0.4918 ± 0.0442 | 0.4751 ± 0.0158 | 0.1635 ± 0.0092 |
| LSTM E2E FineTune (+ Notes) | 0.733 ± 0.044 | 0.8260 ± 0.0119 | 0.4338 ± 0.0326 | 0.4564 ± 0.0365 | 0.4998 ± 0.0283 | 0.4754 ± 0.0178 | 0.1622 ± 0.0128 |
| Transformer E2E FineTune (+ Notes) | 0.754 ± 0.049 | 0.8288 ± 0.0110 | 0.4373 ± 0.0310 | 0.4577 ± 0.0279 | 0.4989 ± 0.0418 | 0.4757 ± 0.0196 | 0.1658 ± 0.0140 |
| Ablation Variants (Relative to LSTM Base) | |||||||
| w/o ICU Operational Features | 0.734 ± 0.044 | 0.8275 ± 0.0111 | 0.4278 ± 0.0312 | 0.4570 ± 0.0380 | 0.5091 ± 0.0431 | 0.4791 ± 0.0195 | 0.1602 ± 0.0093 |
| w/o Admission Flow Dynamics | 0.750 ± 0.043 | 0.8260 ± 0.0103 | 0.4292 ± 0.0287 | 0.4618 ± 0.0359 | 0.4985 ± 0.0401 | 0.4772 ± 0.0204 | 0.1650 ± 0.0102 |
| w/o Medical Codes () | 0.741 ± 0.033 | 0.8243 ± 0.0107 | 0.4334 ± 0.0302 | 0.4574 ± 0.0322 | 0.4985 ± 0.0316 | 0.4757 ± 0.0187 | 0.1633 ± 0.0113 |
| Only Vitals () | 0.521 ± 0.033 | 0.6232 ± 0.0149 | 0.1387 ± 0.0086 | 0.1358 ± 0.0107 | 0.6496 ± 0.1569 | 0.2213 ± 0.0099 | 0.2396 ± 0.0096 |
| Only Static Covariates & Codes | 0.735 ± 0.040 | 0.8227 ± 0.0097 | 0.4294 ± 0.0273 | 0.4578 ± 0.0272 | 0.4969 ± 0.0397 | 0.4749 ± 0.0180 | 0.1612 ± 0.0107 |
Table S6: Test set performance evaluated at the standard fixed threshold across 20 independent runs (Mean SD).
| Model Architecture | AUROC | PR-AUC | Precision | Recall | F1-Score | Accuracy |
|---|---|---|---|---|---|---|
| XGBoost Base | 0.8055 ± 0.0098 | 0.4125 ± 0.0209 | 0.4951 ± 0.0299 | 0.3646 ± 0.0173 | 0.4196 ± 0.0181 | 0.8992 ± 0.0052 |
| XGBoost + LLM Notes | 0.7914 ± 0.0118 | 0.3893 ± 0.0213 | 0.5359 ± 0.0222 | 0.2986 ± 0.0219 | 0.3830 ± 0.0195 | 0.9040 ± 0.0047 |
| LightGBM Base | 0.8158 ± 0.0111 | 0.4114 ± 0.0187 | 0.4168 ± 0.0240 | 0.4865 ± 0.0200 | 0.4486 ± 0.0182 | 0.8805 ± 0.0057 |
| LightGBM + LLM Notes | 0.8087 ± 0.0114 | 0.4030 ± 0.0193 | 0.4839 ± 0.0230 | 0.3929 ± 0.0229 | 0.4332 ± 0.0188 | 0.8974 ± 0.0048 |
| LSTM Base | 0.8251 ± 0.0117 | 0.4360 ± 0.0305 | 0.2605 ± 0.0233 | 0.7157 ± 0.0272 | 0.3811 ± 0.0244 | 0.7663 ± 0.0262 |
| LSTM LateFusion (+ Notes) | 0.8258 ± 0.0091 | 0.4338 ± 0.0301 | 0.2705 ± 0.0215 | 0.7092 ± 0.0314 | 0.3908 ± 0.0214 | 0.7782 ± 0.0226 |
| Transformer EarlyFusion (+ Notes) | 0.8177 ± 0.0145 | 0.4278 ± 0.0332 | 0.2822 ± 0.0361 | 0.6786 ± 0.0500 | 0.3959 ± 0.0316 | 0.7903 ± 0.0364 |
| Transformer LateFusion (+ Notes) | 0.8277 ± 0.0104 | 0.4357 ± 0.0320 | 0.2597 ± 0.0181 | 0.7260 ± 0.0297 | 0.3821 ± 0.0192 | 0.7648 ± 0.0191 |
| LSTM E2E FineTune (+ Notes) | 0.8260 ± 0.0119 | 0.4338 ± 0.0326 | 0.2646 ± 0.0211 | 0.7116 ± 0.0465 | 0.3846 ± 0.0209 | 0.7714 ± 0.0272 |
| Transformer E2E FineTune (+ Notes) | 0.8288 ± 0.0110 | 0.4373 ± 0.0310 | 0.2591 ± 0.0251 | 0.7342 ± 0.0415 | 0.3816 ± 0.0240 | 0.7604 ± 0.0322 |
| Only Vitals () | 0.6232 ± 0.0149 | 0.1387 ± 0.0086 | 0.1246 ± 0.0073 | 0.8046 ± 0.1038 | 0.2151 ± 0.0093 | 0.4132 ± 0.0750 |
Table S9: Ranking of static features by ablation impact ().
| Rk | Feature | Share | Clinical Context | |
|---|---|---|---|---|
| 1 | pre_icu_transfers | 0.0926 | 28.2% | Number of inter-ward handoffs |
| 2 | primary_icd | 0.0542 | 16.5% | Primary admission diagnosis code |
| 3 | icu_speedup_LOS | 0.0315 | 9.6% | Departmental turnover pressure |
| 4 | drg_code | 0.0302 | 9.2% | DRG casemix category |
| 5 | surg_count | 0.0226 | 6.9% | Pre-ICU surgical procedures |
| 6 | ADMISSION_LOC | 0.0215 | 6.5% | Transfer source (e.g., ED, Clinic) |
| 7 | FIRST_CAREUNIT | 0.0181 | 5.5% | Specialty ICU unit designation |
| 8 | age | 0.0134 | 4.1% | Patient chronological age |
| 9 | INSURANCE | 0.0119 | 3.6% | Primary healthcare payer class |
| 10 | ETHNICITY | 0.0094 | 2.9% | Demographic profile |
| 11 | log_icu_LOS | 0.0075 | 2.3% | Total log ICU stay duration |
| 12 | GENDER | 0.0044 | 1.3% | Biological sex |
| 13 | MARITAL_STATUS | 0.0039 | 1.2% | Social support indicator |
| 14 | ADMISSION_TYPE | 0.0025 | 0.8% | Emergency vs. Elective status |
| 15 | log_ed_wait | 0.0023 | 0.7% | Pre-ICU ED boarding dwell time |
| 16 | log_surg_gap | 0.0020 | 0.6% | Post-operative latency to ICU |
| 17 | surg_flag | 0.0008 | 0.2% | Binary surgical intervention |