TL;DR
Predicting whether an ICU patient is about to deteriorate is hard because hospital data is messy, sparse, and shaped as much by clinical routines (like shift changes) as by actual biology. TTE-JEPA solves this by training a "student" model to predict a "teacher" model's latent representation of the patient's next 48 hours—where the teacher is explicitly grounded in time-to-event (TTE) physiological queries (e.g., "will lactate cross 2 mmol/L within 8 hours?"). On over 110,000 ICU admissions, this clinically grounded target beats state-of-the-art deep learning models, matches gradient-boosted trees on AUROC, and transfers across hospitals with little to no extra data.
What Problem Does This Paper Address?
In an intensive care unit (ICU), clinicians continuously watch a stream of vital signs, lab results, and ventilator settings to anticipate organ failure. Most deep learning foundation models for electronic health records (EHRs) borrow their pretraining tricks from language and vision: predict the next hour's measurements or reconstruct masked values.
The catch? ICU data isn't like text or images. Measurements are irregularly sampled, and whether a lab is drawn often reflects hospital protocols rather than patient physiology. A next-state model gets rewarded for predicting that a blood gas will be drawn at shift change—wasting capacity on the observation process instead of the patient's clinical state.
Joint-Embedding Predictive Architectures (JEPAs) offer a clever workaround: instead of predicting raw future measurements, a student network predicts a latent representation of the future produced by a teacher network. Normally, JEPAs prevent the teacher from collapsing to a trivial constant vector using geometric tricks (like variance regularization or exponential moving averages). But in ICU data, a geometrically regularized target is still free to encode predictable hospital routines rather than meaningful physiology.
Methods
TTE-JEPA replaces geometric regularization with clinically grounded supervision of the teacher's representation:
- History Student: A causal Transformer (3 blocks, RoPE, SwiGLU) processes the patient's observed history up to an anchor hour $a$, along with static covariates (age, sex, etc.). Using 48 learned horizon-query tokens, it predicts latent representations $\hat{\mathbf{z}}_{a,1:48}$ for each of the next 48 hours.
- Future Teacher: A separate, smaller causal Transformer sees a corrupted version of the actual next 48 hours (excluding treatment variables so it doesn't overfit to center-specific care plans).
- Time-to-Event (TTE) Supervision: The live teacher is trained on 35 variable-specific heads to answer random threshold-crossing queries about future physiology (e.g., "does variable $k$ exceed threshold $\tau$ within horizon $o$?"). No downstream task labels are used.
- Disjoint Learning: The student is trained to match an Exponential Moving Average (EMA) copy of the teacher via normalized squared distance, while the live teacher is updated only by the TTE loss.
- Fine-Tuning: After pretraining, the teachers are discarded, the student is frozen, and small task-specific MLPs are trained on the student's predicted representation prefixes for downstream early event prediction.
Datasets
The authors harmonize two major public ICU databases onto a common hourly grid (130 features, with explicit missingness indicators):
- MIMIC-IV v3.1 (Beth Israel Deaconess Medical Center, US): 87,513 ICU admissions.
- AUMCdb (Amsterdam UMC, Netherlands): 22,774 ICU admissions.
Combined, this yields 110,287 admissions (88,103 train / 11,115 validation / 11,069 test), evaluated across eight clinical tasks: circulatory, respiratory, renal, and hepatic failure, hyperglycemia, sepsis, decompensation (death within 24h), and live discharge (within 24h).
Key Insights and Ideas
- Grounding beats geometry: Standard JEPAs (like HEPA with SIGReg or EMA-JEPA) can collapse or encode non-clinical structure. TTE supervision forces the latent space to retain clinically relevant information without needing any geometric regularization.
- Higher diversity, more information: In a latent-space audit, TTE-JEPA achieved a much higher effective rank (12.7% token-level, 8.1% anchor-level) than HEPA (2.8% / 2.8%) and EMA-JEPA (1.7% / 1.2%), while also retaining more task-relevant information ($I_{\text{LB}} = 0.145$ nats, or 39.6% of label entropy).
- Pooling helps both hospitals: Training on the harmonized pooled dataset improved performance on both AUMCdb and MIMIC-IV compared to training on either cohort alone.
Key Results
On the pooled test set (11,069 admissions, ~9.64 million anchors):
- Outperforming deep learning baselines: TTE-JEPA achieved a macro-averaged AUROC of 0.912 (95% CI: 0.909–0.918), beating EHRMamba (0.894), ICareFM (0.890), and HEPA (0.846).
- Competitive with XGBoost: TTE-JEPA matched XGBoost on AUROC (0.912 vs. 0.908) and achieved the highest F1 on 6 of 8 tasks, though it trailed XGBoost on macro AUPRC (0.696 vs. 0.715). Matching gradient-boosted trees on ~88k admissions is notable, as sequence models previously needed over a million admissions to do so.
- Zero- and few-shot transfer: A TTE-JEPA model trained on one hospital transferred zero-shot to the other and improved steadily with small amounts of target-domain fine-tuning, outperforming models trained from scratch on the same limited data. Transfer from the larger MIMIC-IV to AUMCdb was stronger than the reverse.
Limitations and Future Work
- Limited scope: The evaluation is retrospective and covers only two academic centers; the authors plan to incorporate additional cohorts like HiRID and eICU.
- Label overlap: While decompensation and live discharge are not direct TTE targets, several organ-failure endpoints overlap with variables used in TTE supervision, which limits claims about broad, general-purpose reusability.
- Measurement frequency: Because observed threshold crossings still depend on how often labs are drawn, the representations may not fully disentangle underlying physiology from clinical measurement practices. Prospective evaluation and calibration assessment are needed before clinical deployment.
Summary updated