Conceptio › Archive › arXiv CS
arXiv CSopen access

Clin-JEPA: A Multi-Phase Co-Training Framework for Joint-Embedding Predictive Pretraining on EHR Patient Trajectories

2026 · arxiv_cs
arXiv CS · Papers · License: Open Access · 2026
Open Source ↗Direct PDF ↓
neural-networks
machine learning, deep learning, neural networks

Clin-JEPA: A Multi-Phase Co-Training Framework for Joint-Embedding Predictive Pretraining on EHR Patient Trajectories

arXiv:2605.10840v1 [cs.LG] 11 May 2026

Yixuan Yang∗ Mehak Arora Ryan Zhang Baraa Abed Junseob Kim Tilendra Choudhary Md Hassanuzzaman Kevin Zhu Ayman Ali Chengkun Yang Alasdair Edward Gent Victor Moas Rishikesan Kamaleswaran Duke University, Durham, NC, USA

Abstract We present C LIN -JEPA, a multi-phase co-training framework for joint-embedding predictive (JEPA) pretraining on electronic health record (EHR) patient trajectories. JEPA architectures have enabled latent-space planning in robotics and high-quality representation learning in vision, but extending the paradigm to EHR data—to obtain a single backbone that simultaneously forecasts patient trajectories and serves diverse downstream risk-prediction tasks without per-task fine-tuning— remains an open challenge. Existing JEPA frameworks either discard the predictor after pretraining (I-JEPA, V-JEPA) or train it on a frozen pretrained encoder (VJEPA 2-AC), leaving the encoder unaware of the rollout signal that the retained predictor must use at inference; co-training the encoder and predictor under a shared JEPA prediction objective would supply this grounding, but naïve cotraining is unstable, with representation collapse and online/target drift causing autoregressive rollout to diverge. C LIN -JEPA’s five-phase pretraining curriculum— predictor warmup, joint refinement, EMA target alignment, hard sync, and predictor finalization—addresses each failure mode by phase, stably co-training a Qwen3-8Bbased encoder and a 92M-parameter latent trajectory predictor. On MIMIC-IV ICU data, three independent evaluations support the framework: (1) latent ℓ1 rollout drift uniquely converges (−15.7%) over 48-hour horizons while baselines and ablations diverge (+3% to +4951%); (2) the encoder learns a clinically discriminative latent geometry (deteriorating-patient cohorts displace 4.83× further than stable patients in latent space, vs ≤2.62× for baseline encoders); (3) a single backbone outperforms strong tabular and sequence baselines on multi-task downstream evaluation. C LIN -JEPA achieves mean AUROC 0.851 on ICareFM EEP and 0.883 on 8 binary risk tasks (+0.038 and +0.041 vs baseline average).

1

Introduction

A patient’s stay in the intensive care unit (ICU) is a high-dimensional dynamical system: every hour brings new vital signs, laboratory values, and clinical interventions whose effects on patient state must be accounted for in both forecasting and risk prediction. Existing electronic-health-record (EHR) modelling approaches address only part of this problem. Token-autoregressive language models trained on tokenised EHR sequences [1–4] can generate plausible event trajectories, but treat the patient as a sequence of static text events and never explicitly model the underlying continuous physiological state. Per-task foundation models for the ICU [5] achieve strong task-level performance, ∗ Corresponding author: [email protected]

Code: https://github.com/YeungYathin/Clin-JEPA Preprint.

but require per-task feature engineering and fine-tuning with no unified representation that supports trajectory simulation. Recent latent world models in vision and robotics offer a promising direction. Joint-Embedding Predictive Architectures (JEPA) [6–8] pre-train representations by predicting masked or future content in a latent space rather than reconstructing pixels, and V-JEPA 2-AC [9] retains an action-conditioned predictor at inference to enable latent-space rollout for robotic planning. Adapting this paradigm to clinical EHR—where the analogous goal is a patient-state simulator that consumes free-text observations and interventions—is appealing but non-trivial. Existing JEPA designs leave the inference-time-simulator use case open. I-JEPA [7] and V-JEPA [8] discard the predictor after pretraining, so only the encoder is available downstream and trajectory simulation is impossible. V-JEPA 2-AC [9] retains the predictor but trains it on a frozen pretrained encoder, leaving the encoder unaware of the rollout signal that the retained predictor must use at inference. Co-training the encoder and predictor under a shared JEPA prediction objective would simultaneously close both gaps—producing an encoder whose representations are dynamically grounded for the predictor, and a predictor that operates in a representation space jointly optimized for it. However, naïve co-training is unstable: the encoder is dragged toward representation collapse by an untrained predictor, and the predictor’s autoregressive rollout diverges as it accumulates errors in a moving target latent space. We present C LIN -JEPA, a multi-phase co-training framework that closes this gap. Our contributions are: (1) a five-phase pretraining curriculum (predictor warmup, joint encoder–predictor refinement, EMA target alignment, hard sync, and predictor finalization) that stably co-trains a Qwen3-8B-based encoder with a retained latent trajectory predictor on MIMIC-IV ICU data [10]; (2) a text-based EHR representation that consumes raw clinical text and serves all downstream tasks from a single set of latent embeddings, requiring no missing-value imputation, no normalization, and no hand-engineered features; and (3) a three-axis empirical evaluation showing that C LIN -JEPA uniquely converges over a 48-hour autoregressive horizon, learns a clinically discriminative latent geometry that separates deteriorating from stable patient cohorts, and outperforms strong tabular and sequence baselines on two standard ICU benchmarks. The framework is summarized in Figure 1.

2

Related Work

Clinical foundation models for EHR. Pretrained models for EHR span early encoder-only architectures such as Med-BERT [11] (structured ICD code sequences) and GatorTron [12] (clinical-text encoder), generative or autoregressive trajectory models [1, 2, 13, 14], and reasoning-enhanced or instruction-tuned LLMs for EHR analysis [3, 4, 15]. Multi-task ICU foundation models [5, 16, 17] achieve strong task-level performance through zero-shot in-context evaluation or per-task fine-tuning; recent empirical analysis [18] documents cross-institution transferability challenges. Across these architectures, none provides an explicit latent dynamical state representation suitable for autoregressive trajectory simulation. JEPA paradigm. Joint-embedding predictive architectures (JEPA) [6] were realized for vision in I-JEPA [7] and V-JEPA [8], then extended with a retained action-conditioned predictor for robotic planning (V-JEPA 2-AC [9]), to language (LLM-JEPA [19]), and to vision-language (VL-JEPA [20]). The closest medical adaptation, SMB-Structure [21], jointly applies SFT and JEPA over masked future-token spans on longitudinal oncology EHR with an LLM encoder, but uses only the encoder’s embeddings for downstream tasks via linear probes. Latent world models for clinical decision support. A parallel line of work introduces explicit latent world models for ICU and oncology decision support. medDreamer [22] adopts a Dreamerstyle [23] RSSM trained from scratch with a discrete action space for sepsis policy learning. Latent Physiology as Language [24] models patients as a continuous-time latent SDE with EHR events as control inputs, trained jointly with reconstruction, masked imputation, and intervention-aware rollout-consistency objectives. CLARITY [25] pairs a LoRA-adapted MRI foundation encoder with an action-conditioned latent predictor on brain-tumor and breast-cancer MRI cohorts. The Qazi et al. [26] survey reviews this emerging paradigm. None of the above jointly grounds an LLM encoder against the rollout signal of a retained latent predictor — the gap C LIN -JEPA closes with a multi-phase co-training curriculum. 2

Five-Phase Co-Training Curriculum # Phase

Encoder LoRA

1 Warmup 2 Co-training 3 Alignment 4 Hard sync 5 Finalize

frozen trainable ⋆ frozen instant frozen

⋆ Phase 2 alone updates the online encoder LoRA, producing dynamically grounded representations under a shared JEPA prediction objective; surrounding phases prevent representation collapse and online/target drift. Full schedule in Tab. 1; five-paradigm ablation in §5.2.

Figure 1: The C LIN -JEPA framework. (Left) Three text inputs (demographics d, per-hour state st , action at ) are processed by a single shared encoder E — Qwen3-8B base (frozen) with LoRA adapters (trainable) — producing 4096-dim latent embeddings via last-token extraction. The latent trajectory predictor Pθ is a block-causal Transformer that consumes the interleaved sequence [zd , z1 , u1 , z2 , u2 , . . . , zT , uT ] and outputs ẑt+1 . The EMA target encoder Eξ (dashed purple, trainingonly) provides a stop-gradient anchor for the ℓ1 teacher-forcing loss; at inference, Eξ is discarded and E + Pθ run autoregressively, chaining ẑt+h back as next-step state input. (Right) Five-phase pretraining curriculum: only Phase 2 (⋆) updates the online encoder LoRA, with surrounding phases preventing the two failure modes that derail naïve co-training.

3

Clin-JEPA Framework

The C LIN -JEPA framework comprises two deployed components illustrated in Figure 1: an LLMbased encoder that maps EHR text into a continuous latent space, and a Transformer that autoregressively predicts patient trajectories in that latent space. §3.1 introduces the problem formulation and encoder; §3.2 details the latent trajectory predictor. 3.1

Problem Formulation and Patient State Encoding

A patient’s ICU stay constitutes a longitudinal EHR sequence of clinical events—observations (vital signs, laboratory measurements, severity scores) and interventions (medications, ventilator settings, procedures). We model each stay over a 72-hour window discretized into one-hour bins (consistent with the 24–72 h analysis windows commonly used in ICU forecasting literature [27, 28]). This yields a sequence of state–action pairs of length T ≤ 72 preceded by a static demographics descriptor d available at admission:  S = d, (s1 , a1 ), (s2 , a2 ), . . . , (sT , aT ) , (1) where st records all observations occurring during hour t in their original temporal order and at enumerates the clinical interventions active during hour t. We represent state st , action at , and demographics d as structured natural-language text fragments rather than fixed numerical vectors. This unifies heterogeneous EHR signals (vitals, labs, drugs, procedures) under a single text representation, leverages the LLM’s pretrained linguistic knowledge, and preserves human readability for clinical interpretation. The state text concatenates one hour’s clinical readings (such as vital signs, laboratory values, severity scores), e.g., “t=12h | Heart rate: 88 bpm. MAP: 62 mmHg. Lactate: 2.1 mmol/L. ...”. The action text enumerates active interventions and doses, e.g., “t=12h | Norepinephrine: 0.08 mcg/kg/min. Propofol: 40 mcg/kg/min. ...”. Within each hour we preserve every individual reading in its original temporal order—including repeated measurements of the same variable (e.g., MAP sampled multiple times during resuscitation)—as a lossless serialization that the encoder’s self-attention parses for intra-hour dynamics; the latent trajectory predictor (§3.2) then composes these per-hour embeddings into inter-hour dynamics. This representation requires no value imputation, no normalization, and no modality-specific featurization: missing readings are simply absent from the state text, and numeric values appear in their natural clinical units. 3

Each of the three text inputs (state st , action at , and demographics d) is independently mapped to a 4096-dimensional latent embedding by our encoder E: a Qwen3-8B language model whose base weights are frozen and adapted via lightweight LoRA adapters. The same shared encoder processes state, action, and demographics text via independent forward passes, with the last-token hidden state taken as the embedding: zt = E(st ),

ut = E(at ),

zd = E(d),

zt , ut , zd ∈ R4096 .

(2)

The LoRA adapters are first initialized via supervised next-token-prediction fine-tuning on perhour state and action text, then refined jointly with the latent trajectory predictor (§3.2) under the multi-phase co-training curriculum (§4). LoRA configuration and training compute are reported in §5.1. C LIN -JEPA’s central objective is to predict the patient’s future latent trajectory over an H-hour horizon given past context and a proposed action sequence, autoregressively in the encoder’s R4096 latent space:  ẑt+h = Pθ z̃1:t+h−1 , u1:t+h−1 , zd , h = 1, . . . , H, (3) where z̃ j = z j for j ≤ t (encoded ground truth) and z̃ j = ẑ j for j > t (the predictor’s own prior output, fed back at each rollout step), and Pθ is the latent trajectory predictor (§3.2). The encoded history {z1 , . . . , zt } together with the autoregressive rollout {ẑt+h }H h=1 jointly serves as the patient-state representation for downstream clinical tasks. 3.2

Latent Trajectory Predictor

The latent trajectory predictor Pθ is a Transformer encoder (∼92M parameters) that operates entirely in the 4096-dim encoder latent space. It consumes the demographics-state-action sequence [zd , z1 , u1 , z2 , u2 , . . . , zT , uT ] of length 2T + 1, where zd occupies position 0 as a global context token and (zt , ut ) pairs occupy positions (2t − 1, 2t). Before entering the Transformer, each encoder embedding is projected from R4096 to the predictor’s hidden dimension R1024 by one of three modality-specific linear maps—one for state, one for action, one for demographics: (s)

ht = Ws zt ,

(a)

ht

= Wa ut ,

hd = Wd zd ,

Ws ,Wa ,Wd ∈ R1024×4096 ,

(4)

(s) (a) and a learned absolute positional embedding is added to ht , ht , hd at each position.

Self-attention is block-causal (Figure 1, mask inset): demographics is globally visible; tokens within a timestep block attend bidirectionally; across blocks attention is strictly causal. An output linear projection yields the absolute next-state prediction ẑt+1 ∈ R4096 from each state position. At inference, Pθ is retained and rolls out autoregressively: each predicted ẑt+h is fed back as the state input for step t + h + 1, yielding the simulated trajectory {ẑt+h }H h=1 used for downstream clinical tasks (Eq. 3). Unlike token-LM autoregression, which samples a discrete token and feeds the sample back, our rollout feeds back the predicted continuous embedding directly—a deterministic conditionalmean composition that lets a single predictor cover all forecast horizons h=1, . . . , H with one shared model rather than training H horizon-specific predictors.

4

Multi-Phase Co-Training Pretraining

Building on the SFT-initialized encoder of §3.1, we jointly co-train the encoder LoRA adapters and the latent trajectory predictor under a shared JEPA prediction objective. This co-training is motivated by C LIN -JEPA’s deployment regime: unlike I-JEPA [7] and V-JEPA [8], which discard the predictor after pretraining, our predictor is retained at inference and rolls out autoregressively to simulate patient trajectories. For these rollouts to produce clinically faithful dynamics, the encoder cannot only learn statically rich features (the regime image and video JEPA optimize for); it must learn representations that are dynamically grounded — organized so that the predictor can compose them into long autoregressive trajectories. Sharing a single JEPA prediction objective between encoder and predictor is what produces this grounding, and it is what distinguishes our framework from V-JEPA 2-AC [9], where the predictor is trained on a frozen pretrained encoder and the encoder never sees the rollout signal. This co-training is, however, unstable in the shared latent space: a naïve implementation leads to two characteristic failure modes — representation collapse (the encoder degenerates to constant outputs 4

Table 1: The five-phase co-training curriculum; per-component ablation in §5.2. ≡ denotes parameter equality between online and target encoders. Phase

Encoder LoRA

Target encoder

Rollout regime

Purpose of this phase

1. Warmup

frozen

Native

2. Co-training

trainable

online ≡ target (init) EMA target, slow

3. Alignment

frozen

4. Hard sync

— (instant)

5. Finalize

frozen

Predictor warmstart on SFT-initialized encoder Encoder + predictor jointly refined under stable target Target encoder smoothly catches up to online Eliminate residual online–target mismatch Extended predictor training to convergence on stable encoder

EMA chases online target ← online

Teacher-forced Teacher-forced —

online ≡ target (post-sync)

Native

the predictor can match trivially) and online/target space drift (the predictor learns to forecast in a moving target latent space and diverges under autoregressive rollout). §4.1 formalizes the co-training objective and the EMA target encoder used to keep prediction targets stable; §4.2 introduces the five-phase schedule that prevents each failure mode by phase. 4.1

Co-Training Objective

The predictor is trained to minimize the ℓ1 distance between its predicted next-state embedding and the target encoder’s embedding of the actual next state. Letting V denote the set of valid (sample b, time t) pairs in a training batch, the teacher-forcing loss is LTF =

1 (b) target,(b) , ∑ ẑt+1 − zt+1 1 |V | (b,t)∈V

(5)

where ∥ · ∥1 denotes the ℓ1 norm summed over the embedding’s 4096 dimensions. The total per-step training loss combines this with a short autoregressive rollout loss, L = LTF + Lroll , where Lroll averages the same ℓ1 penalty over a 2-step autoregressive horizon (using the rollout in Eq. 3) to encourage stability under multi-step inference. Following prior JEPA work [7, 8], we use ℓ1 rather than MSE for robustness to heavy-tailed clinical laboratory distributions. Following the JEPA family [7–9], we maintain a separate target encoder that is architecturally identical to the online encoder (frozen Qwen3-8B with LoRA adapters) and updated as an exponential moving average of the online encoder’s parameters: θtarget ← τ θtarget + (1 − τ) θonline , applied at each optimizer step with momentum τ = 0.996 (matching I-JEPA’s default). The target encoder serves target only as a stop-gradient anchor for zt+1 , carries no projection head, and is discarded entirely at inference. The rollout loss admits two regimes depending on whether the online and target encoders agree. Native rollout (used when online ≡ target) chains the predictor’s own output back as the next-step state input, mirroring inference behaviour. Teacher-forced rollout (used in phases where online ̸= target) instead substitutes the real online embedding at each rollout step; this prevents a space-mismatch failure where chained predictor outputs (trained to land in target space) would be fed back into a pipeline that expects online-space inputs. 4.2

Five-Phase Curriculum

Table 1 summarizes the five-phase schedule, which we describe in turn. Phase 1 (Warmup). The predictor is trained alone against the frozen SFT-initialized encoder, warming up the cold predictor on initial trajectory dynamics before any encoder co-adaptation. Without this warmup, the cold predictor would, when the encoder unlocks in Phase 2, immediately exert a strong gradient pull dragging the encoder toward trivial constant embeddings — the representation-collapse failure mode. Phase 2 (Co-training). This is the central refinement step of the curriculum: the encoder LoRA adapters are unlocked and optimized together with the predictor under the same JEPA prediction objective, with teacher-forced rollout sidestepping the space mismatch described in §4.1. It is the only phase in which the predictor’s gradient signal reaches the encoder, and therefore the phase 5

where the encoder’s representations actually become dynamically grounded. Phase 3 (Alignment). The online encoder is re-frozen and the EMA target smoothly catches up to it. This soft alignment serves as a buffer before the explicit hard sync in Phase 4, preventing an abrupt parameter jump that would destabilize the predictor. Phase 4 (Hard sync). An instantaneous parameter copy from online to target eliminates any residual mismatch before native rollout resumes. Phase 5 (Finalize). The predictor is trained on the now-stabilized encoder under native autoregressive rollout — the same regime as inference — using the remaining compute budget to fully converge the predictor on the refined encoder representations. Each phase prevents a specific failure mode that emerges if it is removed; §5.2 reports a five-paradigm ablation empirically validating each component. Together, the co-training objective (§4.1) and five-phase curriculum (§4.2) constitute C LIN -JEPA’s complete pretraining recipe; §5 characterizes the resulting model’s behavior across three independent evaluation axes.

5

Experiments

We evaluate C LIN -JEPA on MIMIC-IV ICU [10] along three independent axes, in the order train → diagnose → apply: §5.2 proves the co-training paradigm is stable and converges, §5.3 diagnoses the latent geometry the encoder learns, and §5.4 applies the learned representation to downstream multi-task evaluation. All three axes independently support C LIN -JEPA over prior JEPA-family designs, ablations of our own curriculum, and strong tabular and sequence baselines. 5.1

Setup

Datasets. All experiments use MIMIC-IV ICU [10], with 84,497 stays from 64,874 unique patients. We split at the patient level (70/15/15 train/val/test): all ICU stays from a given patient are assigned to the same split, preventing patient-level data leakage between train, validation, and test. Per-hour state and action representations are constructed from MIMIC-IV’s raw tables and the official mimic-code derived concept tables; the complete list of source tables and observation/action features is provided in Appendix A. Each stay is windowed at 1-hour resolution following §3.1 (Tmax =72); stays exceeding 72 hours yield overlapping windows at stride 12 hours, totaling ∼197K training windows. Pretraining. C LIN -JEPA pretraining follows the five-phase curriculum of §4 (predictor warmup, cotraining, alignment, hard sync, finalize), executed on 8× NVIDIA H200 GPUs for ∼54 GPU-hours. Full optimizer and architecture hyperparameters are deferred to Appendix B. Downstream baselines. For downstream evaluation (§5.4), we compare against four standard strong baselines from the clinical-ML literature: Ridge regression, LightGBM [29], LSTM [30], and TCN [31], trained on raw clinical features. Curriculum ablation variants. For curriculum ablation (§5.2), we compare C LIN -JEPA against four training-paradigm variants: V-JEPA 2-AC style [9] (random-mask JEPA followed by AC-predictor training on the frozen encoder), SFT baseline w/o JEPA refinement (encoder uses only the §3.1 SFT-initialized LoRA), C LIN -JEPA w/o warmup (Phase 1 removed), and C LIN -JEPA w/o alignment (Phases 3 and 4 removed). All five paradigms share the SFT-initialized encoder and the same 92M predictor architecture; they differ only in the encoder training objective. 5.2

Co-Training Stability and Convergence

We measure training stability through two signals: rollout drift — the L1 distance between the predictor’s autoregressive output ẑC+h and the encoder’s true forward output zC+h over a 48-hour horizon, normalized by the h=1 value; and representation collapse — the standard deviation of encoder output (zstd , a standard self-supervised representation-collapse indicator [7, 8]), tracking whether the encoder degenerates to constant outputs. Across the five training paradigms defined in §5.1, only C LIN -JEPA produces a converging, non-collapsing latent trajectory. C LIN -JEPA uniquely converges over long horizons. Over the 48-hour rollout horizon, C LIN JEPA’s mean rollout error decreases by −15.7% relative to its h=1 value (Figure 2a), while V-JEPA 2-AC style is essentially flat (+3.4%) and the SFT baseline shows modest divergence (+6.8% median). Both ablations diverge catastrophically: removing warmup yields +367% drift accumulation, and removing alignment yields +4951%. The convergence pattern in C LIN -JEPA reflects an underlying clinical reality: most ICU patients in our test set transition toward a relatively stable physiological 6

V-JEPA 2-AC style (random mask) ( GROWS +3.3%)

1.0 0.8 0.6

1.2

L1(h) / L1(h=1)

L1(h) / L1(h=1)

L1(h) / L1(h=1)

1.2

IQR (p25 p75) mean median

1.4

1.0 0.8 0.6

0

10

20

30

40

Horizon h (hours)

50

SFT baseline w/o JEPA ( GROWS +1.2%) 1.4

1.4

1.2

1.2

1.2

1.0 0.8

IQR (p25 p75) mean median

0.6 0

10

20

30

40

50

Horizon h (hours)

Clin-JEPA w/o alignment ( GROWS +4950.8%)

Clin-JEPA w/o warmup ( GROWS +367.1%)

1.4

0

10

20

L1(h) / L1(h=1)

IQR (p25 p75) mean median

L1(h) / L1(h=1)

Clin-JEPA (ours) ( CONVERGES -15.7%) 1.4

1.0 0.8

IQR (p25 p75) mean median

0.6 30

40

Horizon h (hours)

50

0

10

20

30

40

1.0 0.8 0.6

50

Horizon h (hours)

IQR (p25 p75) mean median

0

10

20

30

40

Horizon h (hours)

50

(a) Error accumulation in predictor-simulated latent trajectories.

Two failure modes mapped: collapse axis × drift axis

SFT baseline w/o JEPA

0.7

Encoder output z_std

0.6 0.5

Clin-JEPA (ours) V-JEPA 2-AC style (random mask) Clin-JEPA w/o warmup Clin-JEPA w/o alignment

0.4 0.3 0.2 0.1 0.0

collapse threshold (0.05) 0

2000

4000

6000

Training step

8000

10000

Rollout drift growth L1(h=48)/L1(h=1) (log)

z_std trajectory during JEPA training

12000

102

COLLAPSED encoder

MIXED-SPACE drift

Clin-JEPA w/o alignment 101

Clin-JEPA w/o warmup V-JEPA 2-AC style

100 0.0

SFT baseline w/o JEPA

Clin-JEPA 0.1

0.2

0.3

0.4

0.5

0.6

Final encoder z_std (linear)

DESIRED 0.7

0.8

(b) Representation collapse and rollout drift as independent failure modes.

Figure 2: Co-training stability and convergence across five training paradigms. (a) Per-paradigm rollout error accumulation: mean drift trajectory with IQR shading (chosen over standard deviation for robustness to heavy-tailed drift in failure-mode paradigms) for each of the five training paradigms, evaluated at context C=24 on the held-out test split. Drift is the L1 distance between the predictor’s autoregressive output and the encoder’s true forward output, normalized by the h=1 value. (b) Left: zstd trajectory during JEPA refinement, exposing representation collapse for paradigms that lack the warmup phase. (b) Right: joint distribution of final zstd (x-axis) and drift accumulation (y-axis) across paradigms, showing collapse and drift are independent failure modes; only C LIN -JEPA occupies the desired (high-zstd , low-drift) quadrant. attractor near end-of-stay (recovery to baseline, transition to comfort care, or pre-discharge stable state), while early hours are dominated by acute decompensation and rapid intervention response. A predictor that has learned the underlying clinical dynamics should therefore predict late-horizon states more accurately than early-horizon ones — exactly the pattern C LIN -JEPA exhibits. Baselines and ablations that fail to learn the dynamics either drift or remain flat across horizon. Every component of the curriculum is necessary. Without warmup (V-JEPA 2-AC style and C LIN -JEPA w/o warmup), the encoder collapses during early JEPA refinement: zstd drops below 0.05 — about 7% of the SFT-pretrained baseline (zstd =0.700) and the operational threshold below which downstream linear probes fail to converge (Figure 2b, left). The two warmup-protected variants (C LIN -JEPA and C LIN -JEPA w/o alignment) maintain healthy zstd throughout training. Without alignment (C LIN -JEPA w/o alignment), the predictor instead learns to map online-space contexts to target-space outputs, then chains those outputs back as online-space inputs at the next rollout step, compounding error across the rollout horizon. Together, the drift evidence in Figure 2a and the collapse evidence in Figure 2b (left) expose two independent failure modes (Figure 2b, right): only C LIN -JEPA, with both warmup and alignment, occupies the desired (high-zstd , low-drift) quadrant. 5.3

Latent Geometry Diagnosis

§5.2 established that C LIN -JEPA trains stably; we now ask what its encoder learned. Following the JEPA family’s standard evaluation axis [7–9], we probe encoder representation geometry directly — the upstream bottleneck for our retained-predictor design (§3.2). From the test set, we identify two extreme phenotypes — 50 deteriorating patients (progressive organ failure: ∆SOFA ≥ 3 over 7

V-JEPA 2-AC (random mask)

Clin-JEPA (ours) 15

12.5 10.0

12

10

7.5

10

5

5.0

8

2.5

6

0.0

4

2.5

0

5

UMAP-1

10

15

2

70 60 50 40 30 20 10 0

0 5 2.5

0.0

2.5

5.0

UMAP-1

7.5

10.0

5

0

5

UMAP-1

10

15

UMAP-2

UMAP-2

16

SOFA rising ( 3) (n=50) SOFA stable (std 1) (n=50) 14

Hour in 72-h admission window

SFT baseline w/o JEPA 15.0

25 20 15 10 5 0 5 10 15

V-JEPA 2-AC (random mask)

SFT baseline w/o JEPA SOFA rising ( 3) (n=50) 25 SOFA stable (std 1) (n=50)

20

15

15

10

10

5

5

10

0

10

UMAP-1

Clin-JEPA (ours) 20

0

0

5

5

10

20

10

0

UMAP-1

15

10

10

0

10

UMAP-1

20

10

10 5

5 Rising (n=50)

Stable (n=50)

SOFA rising ( 3)

Rising (n=50)

Stable (n=50)

SOFA stable (std 1)

0

Rising (n=50)

Mean

Stable (n=50)

0.4 0.2 0.0

Cohort displacement Mean centroid ratio divergence

10.05

0.598 0.408

6.87

4.83×

0.6

5.74

10

0.8

Clin-JEPA (ours)

4.26

15

V-JEPA 2-AC (random mask)

0.058

15

1.0

2.50

20

20

SFT baseline w/o JEPA

1.2

1.95

25

20

0

p < 0.001

30

25

30

Clin-JEPA (ours) p = 2.73e-04 35

p 0.05

2.62×

V-JEPA 2-AC (random mask) p = 5.32e-01 30

p < 0.05

1.03×

SFT baseline w/o JEPA p = 2.74e-02 40

Score / Clin-JEPA score (1.0 = Clin-JEPA)

Net displacement |end start| (UMAP units)

(a) Trajectories. Per-encoder trajectories with cohort (b) Density contours. Admission (dotted) vs. endmeans highlighted along a time-coded color band (hour of-window (filled) cohort distributions; arrows mark 0→71). mean displacement.

Cohen's d

Peak centroid divergence

(c) Per-patient net-displacement distributions. One-sided (d) Four cross-encoder summary metrics: cohort Mann-Whitney U-test brackets and Cohen’s d. displacement ratio, mean centroid divergence, Cohen’s d on net displacement, and peak centroid divergence.

Figure 3: Latent-geometry diagnosis: deteriorating-vs-stable cohort discrimination across three encoder variants. Each subfigure (a–d) shows one analysis view comparing the same three encoders. Only C LIN -JEPA (ours) produces a clinically discriminative latent geometry. 72 h) and 50 stable patients (constant disease severity) — and project each patient’s per-hour 4096dim embeddings through per-encoder UMAP fits (Figure 3). Across all four analysis views, only C LIN -JEPA produces a clinically discriminative latent geometry. Visual separation is immediately apparent. Figure 3a traces 100 individual patient trajectories per encoder over the 72-hour window: under C LIN -JEPA, the deteriorating and stable cohort means visibly diverge as the window unfolds, while V-JEPA 2-AC style keeps both cohort means tightly clustered together and SFT drifts them apart without recognizable cohort-level structure. Figure 3b makes the same separation distributional: C LIN -JEPA’s admission contours (dotted) and end-of-window contours (filled) for the two cohorts barely overlap, with markedly asymmetric cohort-mean displacement arrows; the two baseline encoders show extensive admission/end overlap and near-symmetric arrow lengths. Quantification (panels c–d) confirms what is visible by eye. The deeper signature: stable patients staying put. The diagnostic of a clinically grounded encoder is not how far deteriorating patients move, but how steady stable patients are kept — a naïve encoder would let every patient’s latent representation drift from accumulated noise alone. The cohort displacement ratio — how far the deteriorating cohort centroid moves over 72 hours, divided by how far the stable cohort centroid moves — is 4.83× for C LIN -JEPA, 2.62× for V-JEPA 2-AC style, and 1.03× for SFT (Figure 3d). C LIN -JEPA barely moves stable patients while letting deteriorating patients traverse a long arc; SFT drifts both cohorts almost equally, suggesting its latent dynamics are dominated by representation noise rather than learned clinical structure. Per-patient net-displacement separation reaches Cohen’s d=0.598 (medium-large effect, p=2.7 × 10−4 ) for C LIN -JEPA, versus d=0.058 (n.s., p=0.53) for V-JEPA 2-AC style and d=0.408 (small-medium, p=0.027) for SFT (Figure 3c). Cohen’s d being standardized confirms the ∼10× gap over V-JEPA 2-AC is real, not a UMAP scale artefact. Discriminative power grows with observation horizon. C LIN -JEPA’s two cohort centroids reach maximum divergence of 10.05 UMAP units at hour 66 with a mean of 6.87 over the 72-hour window — the encoder distinguishes deterioration from stability most clearly near the end of the window. This temporal pattern mirrors the terminal-state convergence observed in §5.2: both reflect that C LIN -JEPA’s encoder has internalized the slow, integrative timescale of ICU progression. V-JEPA 2-AC style instead peaks early (hour 27, divergence 4.26) and converges back; SFT drifts apart slowly without clear progression (mean 2.50). V-JEPA 2-AC’s early-peak-then-collapse pattern 8

M M TCN nly) ure) nly) ure) nly) ure) ge Rid ightGB LST t-o fut t-o fut t-o fut L (his hist+ e (his hist+ s, his hist+ JEPA JEPA ( C styl tyle ( A (our ours, o / e w /o 2-A 2-AC s lin-JEP JEPA ( elin ne w PA C Clinbas baseli V-JE V-JEPA T F S SFT

0.25 0.20 0.15 0.10 0.05 0.00 0.05 0.10 0.15

Track 1: ICareFM 7 EEP (anchor 0.35) Track 2: 8 stay-level binary outcomes (anchor 0.50)

0.345 0.400 0.406 0.530 0.380 0.566 0.391 0.556 0.296 0.482 0.364 0.592 0.296 0.523 0.363 0.580 0.350 0.542 0.408 0.601

AUPRC from per-track anchor

Track 1: ICareFM 7 EEP Track 2: 8 stay-level binary outcomes

0.790 0.788 0.827 0.855 0.816 0.865 0.818 0.862 0.803 0.821 0.818 0.876 0.824 0.856 0.831 0.874 0.847 0.864 0.851 0.883

AUROC (anchor = 0.82)

0.125 0.100 0.075 0.050 0.025 0.000 0.025 0.050

M M TCN nly) ure) nly) ure) nly) ure) ge Rid ightGB LST t-o fut t-o fut t-o fut L (his hist+ e (his hist+ s, his hist+ JEPA JEPA ( C styl tyle ( A (our ours, o / 2-A 2-AC s in-JEP JEPA ( e w /o elin ne w PA Cl Clinbas baseli V-JE V-JEPA T F S SFT

Figure 4: Downstream multi-task evaluation across two clinical benchmarks. Mean AUROC (left) and AUPRC (right) per method; paired bars are Track 1 ICareFM EEP (solid) and Track 2 stay-level binary risk (hatched). C LIN -JEPA (ours) with zfull leads AUROC on both tracks and AUPRC on Track 2; Track 1 AUPRC ties the strongest baseline. has a structural cause: its bidirectional masked-reconstruction pretraining never sees the rollout signal, removing the incentive to preserve cohort separation under long-horizon AR composition. C LIN -JEPA’s curriculum is the only paradigm we tested whose discriminative power grows with horizon—the property an inference-time autoregressive simulator requires, quantified downstream in §5.4.

5.4

Downstream Multi-Task Evaluation

Setup. We apply the deployed C LIN -JEPA model (encoder + retained predictor) to two complementary clinical task families. Track 1 — ICareFM Early Event Prediction (EEP) [5] comprises 7 multi-criteria event-prediction tasks (circulatory, respiratory, kidney, liver, hyperglycemia, sepsis-3, decompensation) at horizons of 8–48 hours. Track 2 — a stay-level clinical risk benchmark [1–4] comprises 8 admission-anchored binary outcomes (six mortality variants, prolonged-stay-7d, and sepsis-ever) on 10,346 test stays. Both tracks fix the encoder context length to C=24 hours. Whereas the four baselines (§5.1) are retrained per-task on hand-engineered features, C LIN -JEPA’s deployed model serves all 15 tasks from a single set of latent embeddings without per-task fine-tuning. Probe. For each task, a shallow MLP probe (one hidden layer with ReLU) is trained on two feature configurations: a history-only variant zhist that pools the encoder’s embeddings of the 24-hour context (state, action, and statics), and a history-plus-future variant zfull = zhist ⊕ zfut , where zfut pools the encoder’s embeddings of the predictor’s autoregressive rollout over the remaining trajectory. The same probe architecture is used across all encoder variants and both task tracks for fair comparison. C LIN -JEPA leads both tracks. On Track 1 (Figure 4), C LIN -JEPA’s zfull reaches mean AUROC 0.851, exceeding the strongest baseline LightGBM (0.827) by +0.024 and both encoder ablations (V-JEPA 2-AC 0.831, SFT 0.818). On Track 2 it reaches 0.883, beating LSTM (0.865) by +0.018. Track 2 AUPRC follows the same ordering (0.601 vs. 0.566, +0.035); Track 1 AUPRC ties at the mean (0.408 vs. 0.406)—the AUROC–AUPRC divergence reflects LightGBM’s strength on low-base-rate threshold tasks. Per-task tables and 95% bootstrap CIs in Appendix C. The retained predictor adds value. The zhist → zfull transition isolates the predictor’s contribution: on Track 2, lift is +0.019 mean AUROC with C LIN -JEPA winning all 8 of 8 outcomes—confirming retained-predictor value beyond the §5.2 latent-rollout metric. Where the representation pays off. C LIN -JEPA’s gains concentrate on tasks that require composing heterogeneous trajectory information into a coherent clinical assessment: kidney injury (+0.111 AUROC vs. LightGBM), sepsis-3 (+0.057), and decompensation (+0.189) on Track 1, and prolongedstay-7d (+0.087 vs. LSTM) and sepsis-ever (+0.068) on Track 2. On simpler threshold-detection or acuity-driven tasks, feature-engineered baselines already extract close-to-sufficient signal from raw vital trends, and C LIN -JEPA matches them within bootstrap CI rather than dominating. The pattern is systematic: gains where temporal composition matters, ties where it does not. 9

6

Conclusion

We presented C LIN -JEPA, a multi-phase co-training framework for joint-embedding predictive pretraining on EHR patient trajectories. Our curriculum closes the gap left by prior JEPA designs that either discard the predictor or train it on a frozen encoder. To our knowledge, this is the first framework where a single clinical backbone delivers stable autoregressive rollout, clinically discriminative latent geometry, and competitive multi-task downstream performance from one set of latent embeddings.

Acknowledgments and Disclosure of Funding This work was supported by the National Institutes of Health under Award Numbers GM139967 and HL170175. Computational resources were provided by the Duke Compute Cluster (DCC) and the NCShare research-computing infrastructure. We thank the MIMIC-IV team at the MIT Laboratory for Computational Physiology and Beth Israel Deaconess Medical Center for making the dataset publicly available.

10

References [1] Nikita Makarov, Maria Bordukova, Papichaya Quengdaeng, Daniel Garger, Raul Rodriguez-Esteban, Fabian Schmich, and Michael P Menden. Large language models forecast patient health trajectories enabling digital twins. npj Digital Medicine, 8(1):588, 2025. [2] Pawel Renc, Yugang Jia, Anthony E Samir, Jaroslaw Was, Quanzheng Li, David W Bates, and Arkadiusz Sitek. Zero shot health trajectory prediction using transformer. NPJ digital medicine, 7(1):256, 2024. [3] Zhenbang Wu, Anant Dadu, Mike Nalls, Faraz Faghri, and Jimeng Sun. Instruction tuning large language models to understand electronic health records. Advances in Neural Information Processing Systems, 37: 54772–54786, 2024. [4] Yusheng Liao, Chaoyi Wu, Junwei Liu, Shuyang Jiang, Pengcheng Qiu, Haowen Wang, Yun Yue, Shuai Zhen, Jian Wang, Qianrui Fan, et al. Ehr-r1: A reasoning-enhanced foundational language model for electronic health record analysis. arXiv preprint arXiv:2510.25628, 2025. [5] Manuel Burger, Daphné Chopard, Gregor Lichtner, Malte Londschien, Fedor Sergeev, Moritz Fuchs, Hugo Yèche, Rita Kuznetsova, Martin Faltys, Eike Gerdes, et al. A foundation model for intensive care: Unlocking generalization across tasks and domains at scale. medRxiv, pages 2025–07, 2025. [6] Yann LeCun et al. A path towards autonomous machine intelligence version 0.9. 2, 2022-06-27. Open Review, 62(1):1–62, 2022. [7] Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, Yann LeCun, and Nicolas Ballas. Self-supervised learning from images with a joint-embedding predictive architecture. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 15619–15629, 2023. [8] Adrien Bardes, Quentin Garrido, Jean Ponce, Xinlei Chen, Michael Rabbat, Yann LeCun, Mahmoud Assran, and Nicolas Ballas. Revisiting feature prediction for learning visual representations from video. arXiv preprint arXiv:2404.08471, 2024. [9] Mido Assran, Adrien Bardes, David Fan, Quentin Garrido, Russell Howes, Matthew Muckley, Ammar Rizvi, Claire Roberts, Koustuv Sinha, Artem Zholus, et al. V-jepa 2: Self-supervised video models enable understanding, prediction and planning. arXiv preprint arXiv:2506.09985, 2025. [10] Alistair EW Johnson, Lucas Bulgarelli, Lu Shen, Alvin Gayles, Ayad Shammout, Steven Horng, Tom J Pollard, Sicheng Hao, Benjamin Moody, Brian Gow, et al. Mimic-iv, a freely accessible electronic health record dataset. Scientific data, 10(1):1, 2023. [11] Laila Rasmy, Yang Xiang, Ziqian Xie, Cui Tao, and Degui Zhi. Med-bert: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction. NPJ digital medicine, 4(1):86, 2021. [12] Xi Yang, Aokun Chen, Nima PourNejatian, Hoo Chang Shin, Kaleb E Smith, Christopher Parisien, Colin Compas, Cheryl Martin, Anthony B Costa, Mona G Flores, et al. A large language model for electronic health records. NPJ digital medicine, 5(1):194, 2022. [13] Zeljko Kraljevic, Dan Bean, Anthony Shek, Rebecca Bendayan, Harry Hemingway, Joshua Au Yeung, Alexander Deng, Alfred Balston, Jack Ross, Esther Idowu, et al. Foresight—a generative pretrained transformer for modelling of patient timelines using electronic health records: a retrospective modelling study. The Lancet Digital Health, 6(4):e281–e290, 2024. [14] Adibvafa Fallahpour, Mahshid Alinoori, Wenqian Ye, Xu Cao, Arash Afkanpour, and Amrit Krishnan. Ehrmamba: Towards generalizable and scalable foundation models for electronic health records. arXiv preprint arXiv:2405.14567, 2024. [15] Hejie Cui, Alyssa Unell, Bowen Chen, Jason Alan Fries, Emily Alsentzer, Sanmi Koyejo, and Nigam H Shah. Timer: Temporal instruction modeling and evaluation for longitudinal clinical records. npj Digital Medicine, 8(1):577, 2025. [16] Zekai Chen, Arda Pekis, and Kevin Brown. Building the ehr foundation model via next event prediction. arXiv preprint arXiv:2509.25591, 2025. [17] Pawel Renc, Michal K Grzeszczyk, Nassim Oufattole, Deirdre Goode, Yugang Jia, Szymon Bieganski, Matthew BA McDermott, Jaroslaw Was, Anthony E Samir, Jonathan W Cunningham, et al. Foundation model of electronic medical records for adaptive risk estimation. GigaScience, 14:giaf107, 2025.

11

[18] Michael C Burkhart, Bashar Ramadan, Zewei Liao, Kaveri Chhikara, Juan C Rojas, William F Parker, and Brett K Beaulieu-Jones. Foundation models for electronic health records: representation dynamics and transferability. arXiv preprint arXiv:2504.10422, 2025. [19] Hai Huang, Yann LeCun, and Randall Balestriero. Llm-jepa: Large language models meet joint embedding predictive architectures. arXiv preprint arXiv:2509.14252, 2025. [20] Delong Chen, Mustafa Shukor, Theo Moutakanni, Willy Chung, Jade Yu, Tejaswi Kasarla, Yejin Bang, Allen Bolourchi, Yann LeCun, and Pascale Fung. Vl-jepa: Joint embedding predictive architecture for vision-language. arXiv preprint arXiv:2512.10942, 2025. [21] Irsyad Adam, Zekai Chen, David Laprade, Shaun Porwal, David Laub, Erik Reinertsen, Arda Pekis, and Kevin Brown. The patient is not a moving document: A world model training paradigm for longitudinal ehr. arXiv preprint arXiv:2601.22128, 2026. [22] Qianyi Xu, Gousia Habib, Feng Wu, Dilruk Perera, and Mengling Feng. Meddreamer: Model-based reinforcement learning with latent imagination on complex ehrs for clinical decision support. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, pages 1693–1704, 2026. [23] Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. arXiv preprint arXiv:2010.02193, 2020. [24] Shane Lowe, Garrett Park, Liam Lee, and Parker Smith. Latent physiology as language: A state-space foundation model for multimodal icu and ehr representation learning. [25] Tianxingjian Ding, Yuanhao Zou, Chen Chen, Mubarak Shah, and Yu Tian. Clarity: Medical world model for guiding treatment decisions by modeling context-aware disease trajectories in latent space. arXiv preprint arXiv:2512.08029, 2025. [26] Mohammad Areeb Qazi, Maryam Nadeem, and Mohammad Yaqub. Beyond generative ai: World models for clinical prediction, counterfactuals, and planning. arXiv preprint arXiv:2511.16333, 2025. [27] Hrayr Harutyunyan, Hrant Khachatrian, David C Kale, Greg Ver Steeg, and Aram Galstyan. Multitask learning and benchmarking with clinical time series data. Scientific data, 6(1):96, 2019. [28] Sanjay Purushotham, Chuizheng Meng, Zhengping Che, and Yan Liu. Benchmarking deep learning models on large healthcare datasets. Journal of biomedical informatics, 83:112–134, 2018. [29] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boosting decision tree. Advances in neural information processing systems, 30, 2017. [30] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 9(8):1735–1780, 1997. [31] Shaojie Bai, J Zico Kolter, and Vladlen Koltun. An empirical evaluation of generic convolutional and recurrent networks for sequence modeling. arXiv preprint arXiv:1803.01271, 2018.

12

Appendix A

Source tables and feature inventory

This appendix documents the MIMIC-IV [10] source tables and the per-hour features used to construct the encoder’s state and action text inputs (§3.1). Source tables prefixed concepts.* are official mimic-code derived concept tables; remaining sources (inputevents, prescriptions, procedureevents, . . . ) are MIMIC-IV raw tables. Inclusion criteria. ICU stays included in the cohort satisfy: age ≥ 18, ICU length of stay ≥ 6 hours, and ≥ 1 observation event. Trajectory windows are capped at Tmax =72 hours (1-hour discretization); stays exceeding 72 hours yield overlapping windows at stride 12 hours. Table 2: Observation features (patient state) extracted from MIMIC-IV. Source tables prefixed concepts.* are official mimic-code derived concepts; raw tables are from MIMIC-IV directly. Domain

Source table

Category

Variables

vitalsign

concepts.measurement.vitalsign

vitals

bg

concepts.measurement.bg

blood_gas

chemistry

concepts.measurement.chemistry

labs

complete_blood_count

concepts.measurement.complete_blood_count

labs

coagulation

concepts.measurement.coagulation

labs

enzyme inflammation cardiac_marker gcs urine_output urine_output_rate

concepts.measurement.enzyme concepts.measurement.inflammation concepts.measurement.cardiac_marker concepts.measurement.gcs concepts.measurement.urine_output concepts.measurement.urine_output_rate

labs labs labs assessment output output

heart_rate, sbp, dbp, mbp, sbp_ni, dbp_ni, mbp_ni, resp_rate, temperature, spo2, glucose so2, po2, pco2, fio2, fio2_chartevents, ph, baseexcess, bicarbonate, totalco2, hematocrit, hemoglobin, chloride, calcium, potassium, sodium, lactate, glucose, aado2, aado2_calc, pao2fio2ratio albumin, globulin, total_protein, aniongap, bicarbonate, bun, calcium, chloride, creatinine, glucose, sodium, potassium hematocrit, hemoglobin, mch, mchc, mcv, platelet, rbc, rdw, rdwsd, wbc d_dimer, fibrinogen, thrombin, inr, pt, ptt a, l, l a, l, l a, l, l a, l, l urineoutput uo, urineoutput_6hr, urineoutput_12hr, urineoutput_24hr, uo_mlkghr_6hr, uo_mlkghr_12hr, uo_mlkghr_24hr, weight

Continued on next page. . .

13

(Table 2 continued) Domain

Source table

Category

Variables

kdigo_stages

concepts.organfailure.kdigo_stages

organ_failure

oxygen_delivery

concepts.measurement.oxygen_delivery

vitals

blood_differential

concepts.measurement.blood_differential

labs

height weight sofa

concepts.measurement.height concepts.demographics.weight_durations concepts.score.sofa

vitals vitals score

rhythm

concepts.measurement.rhythm

vitals

creat, creat_low_past_7day, creat_low_past_48hr, aki_stage_creat, uo_rt_6hr, uo_rt_12hr, uo_rt_24hr, aki_stage_uo, aki_stage_crrt, aki_stage, aki_stage_smoothed o2_flow, o2_flow_additional, o2_delivery_device_1 wbc, neutrophils_abs, lymphocytes_abs, monocytes_abs, eosinophils_abs, basophils_abs, bands, immature_granulocytes, nrbc height weight, weight_type sofa_24hours, respiration_24hours, coagulation_24hours, liver_24hours, cardiovascular_24hours, cns_24hours, renal_24hours heart_rhythm, ectopy_type, ectopy_frequency

Table 3: Action features (clinical interventions) extracted from MIMIC-IV. Source tables prefixed concepts.* are official mimic-code derived concepts; inputevents, prescriptions, etc. are MIMIC-IV raw tables. Domain

Source table

Category

Variables

vasoactive_agent

concepts.medication.vasoactive_agent

vasopressor

norepinephrine_equivalent_dose antibiotic

concepts.medication.norepinephrine_equivalent_dose concepts.medication.antibiotic

vasopressor antibiotic

ventilation ventilator_setting rrt

concepts.treatment.ventilation concepts.measurement.ventilator_setting concepts.treatment.rrt

ventilation ventilation_settings dialysis

crrt invasive_line

concepts.treatment.crrt concepts.treatment.invasive_line

dialysis procedure

dopamine, epinephrine, norepinephrine, phenylephrine, vasopressin, dobutamine, milrinone norepinephrine_equivalent_dose antibiotic, route ventilation_status a, l, l dialysis_present, dialysis_active, dialysis_type a, l, l a, l, l

Continued on next page. . .

14

(Table 3 continued) Domain

Source table

Category

Variables

neuroblock

concepts.medication.neuroblock

neuromuscular_blocker

drug_rate, drug_amount

15

B

Training hyperparameters

Table 4 lists all hyperparameters used in C LIN -JEPA pretraining (§4). The encoder LoRA is first SFT-initialized via per-hour next-token prediction on state and action text (§3.1), then refined jointly with the predictor under the five-phase curriculum (§4.2). Table 4: Full hyperparameters for C LIN -JEPA training pipeline. Stage / component

Parameter

Value

Encoder (architecture)

Base model LoRA rank r LoRA α LoRA target modules Trainable parameters Embedding extraction Max sequence length Attention impl.

Qwen3-8B (8.2B parameters, 4096-dim hidden) 16 32 q_proj, k_proj, v_proj, o_proj ∼30.7M (0.37% of base) last-token hidden state (4096-dim) 4096 tokens Flash Attention 2

Predictor (architecture)

Architecture Layers Hidden dimension Attention heads FFN dimension FFN dropout Attention dropout Positional encoding Output mode Total parameters

Transformer encoder, pre-norm GELU 6 1024 8 4096 0.15 0.10 learned absolute, max sequence length 149 absolute (not residual) 92.5M

SFT initialization

Optimizer Learning rate LR schedule Epochs Sample format

AdamW 1e-4 cosine 1 per-(stay, hour) state OR action text (independent samples)

JEPA pretraining (curriculum)

Optimizer Encoder learning rate Predictor learning rate LR schedule Weight decay Gradient clip (encoder) Gradient clip (predictor) Effective batch Total optimizer steps Phase schedule

AdamW 5e-5 5e-4 cosine, 2% warmup over total steps 0.04 0.5 1.0 64 trajectory windows per step (8 GPUs × 8 per-GPU) ∼11,776 (≈3.83 epochs over 197K-window train set) Phase 1 (warmup): 3072 steps; Phase 2 (co-training): 3072; Phase 3 (alignment): 1024; Phase 4 (hard sync): instantaneous; Phase 5 (finalize): 4608 2 steps ℓ1 teacher-forcing + 2-step rollout (Eq. 5) 0.996 (fixed in Phases 2 and 3) fp32 (online encoder bf16) 42 8× NVIDIA H200 ∼54 GPU-hours

Rollout horizon Loss EMA momentum τ EMA precision Random seed Hardware Wall-clock

16

C

Per-task downstream results

The main paper’s downstream evaluation (§5.4) reports mean AUROC and AUPRC across two task tracks. This appendix provides the full per-task tables with bootstrap 95% confidence intervals. Bolded cells indicate the per-column maximum; C LIN -JEPA’s two reported configurations are c2_full (encoder-pooled history only, denoted “hist-only”) and pfa_full (history + predictor-rollout future, denoted “hist+fut”). Table 5: Track 1: ICareFM 7 EEP tasks — AUROC (95% CI), C=24h. Higher is better. Best per task in bold; ties favored Clin-JEPA. Clin-JEPA (ours) achieves highest mean AUROC; baselines are v9 standard hyperparams (no sandbagging). Method

Circulatory 8h Respiratory 24h

Kidney 48h

Liver 48h

Hyperglycemia 8h

Sepsis-3 8h

Decomp 24h

Mean

Ridge LightGBM LSTM TCN SFT w/o JEPA (hist-only) SFT w/o JEPA (hist+fut) V-JEPA 2-AC (hist-only) V-JEPA 2-AC (hist+fut) Clin-JEPA (hist-only) Clin-JEPA (hist+fut)

0.955 [0.948,0.961] 0.975 [0.969,0.979] 0.965 [0.959,0.970] 0.964 [0.957,0.969] 0.881 [0.863,0.897] 0.882 [0.864,0.898] 0.877 [0.858,0.892] 0.876 [0.858,0.892] 0.894 [0.878,0.910] 0.894 [0.878,0.908]

0.696 [0.679,0.712] 0.686 [0.670,0.702] 0.718 [0.702,0.736] 0.723 [0.705,0.738] 0.790 [0.776,0.805] 0.802 [0.788,0.816] 0.793 [0.777,0.807] 0.810 [0.797,0.824] 0.787 [0.773,0.803] 0.797 [0.783,0.813]

0.948 [0.938,0.956] 0.960 [0.951,0.967] 0.953 [0.943,0.961] 0.952 [0.943,0.960] 0.889 [0.869,0.904] 0.886 [0.867,0.902] 0.897 [0.879,0.911] 0.900 [0.884,0.914] 0.911 [0.896,0.924] 0.911 [0.895,0.924]

0.647 [0.633,0.660] 0.846 [0.838,0.853] 0.681 [0.668,0.695] 0.676 [0.663,0.689] 0.749 [0.735,0.761] 0.743 [0.729,0.756] 0.726 [0.712,0.740] 0.724 [0.709,0.738] 0.811 [0.798,0.822] 0.809 [0.797,0.821]

0.693 [0.669,0.721] 0.723 [0.690,0.754] 0.738 [0.709,0.766] 0.752 [0.724,0.782] 0.744 [0.712,0.777] 0.691 [0.653,0.727] 0.747 [0.717,0.780] 0.757 [0.724,0.791] 0.776 [0.744,0.808] 0.780 [0.748,0.810]

0.809 [0.795,0.823] 0.804 [0.791,0.816] 0.862 [0.848,0.873] 0.869 [0.856,0.880] 0.976 [0.968,0.983] 0.991 [0.984,0.996] 0.974 [0.969,0.980] 0.993 [0.990,0.996] 0.976 [0.970,0.982] 0.993 [0.989,0.996]

0.790 0.827 0.816 0.818 0.803 0.818 0.824 0.831 0.847 0.851

0.783 [0.764,0.800] 0.794 [0.776,0.812] 0.791 [0.773,0.809] 0.790 [0.770,0.808] 0.593 [0.565,0.621] 0.729 [0.707,0.752] 0.755 [0.731,0.777] 0.759 [0.737,0.782] 0.773 [0.750,0.793] 0.773 [0.750,0.792]

Table 6: Track 1 (cont.): ICareFM 7 EEP tasks — AUPRC (95% CI), C=24h. Higher is better. AUPRC complements AUROC under low-prevalence outcomes (sepsis-3: 1.6%, decomp: 0.5%). Method

Circulatory 8h Respiratory 24h

Kidney 48h

Liver 48h

Hyperglycemia 8h

Sepsis-3 8h

Decomp 24h

Mean

Ridge LightGBM LSTM TCN SFT w/o JEPA (hist-only) SFT w/o JEPA (hist+fut) V-JEPA 2-AC (hist-only) V-JEPA 2-AC (hist+fut) Clin-JEPA (hist-only) Clin-JEPA (hist+fut)

0.719 [0.679,0.752] 0.788 [0.754,0.817] 0.758 [0.723,0.788] 0.759 [0.722,0.787] 0.342 [0.291,0.391] 0.338 [0.284,0.390] 0.325 [0.274,0.378] 0.316 [0.265,0.368] 0.370 [0.314,0.430] 0.368 [0.317,0.427]

0.222 [0.198,0.244] 0.187 [0.166,0.208] 0.221 [0.196,0.243] 0.241 [0.216,0.264] 0.285 [0.262,0.310] 0.301 [0.277,0.326] 0.295 [0.273,0.323] 0.324 [0.299,0.352] 0.277 [0.255,0.303] 0.285 [0.263,0.314]

0.709 [0.652,0.751] 0.803 [0.763,0.835] 0.774 [0.728,0.809] 0.778 [0.730,0.813] 0.543 [0.481,0.600] 0.526 [0.460,0.588] 0.547 [0.476,0.615] 0.549 [0.476,0.621] 0.644 [0.586,0.702] 0.635 [0.573,0.694]

0.251 [0.234,0.272] 0.570 [0.548,0.591] 0.284 [0.262,0.308] 0.281 [0.259,0.304] 0.387 [0.358,0.412] 0.376 [0.347,0.401] 0.352 [0.325,0.377] 0.350 [0.324,0.376] 0.491 [0.461,0.518] 0.489 [0.460,0.515]

0.022 [0.018,0.027] 0.026 [0.020,0.033] 0.027 [0.022,0.035] 0.028 [0.022,0.035] 0.043 [0.036,0.057] 0.038 [0.029,0.056] 0.050 [0.039,0.074] 0.052 [0.040,0.076] 0.060 [0.044,0.088] 0.059 [0.044,0.086]

0.214 [0.191,0.240] 0.159 [0.142,0.178] 0.310 [0.285,0.337] 0.354 [0.329,0.380] 0.349 [0.280,0.429] 0.752 [0.689,0.809] 0.267 [0.206,0.341] 0.705 [0.635,0.766] 0.352 [0.281,0.436] 0.759 [0.700,0.815]

0.345 0.406 0.380 0.391 0.296 0.364 0.296 0.363 0.350 0.408

0.278 [0.244,0.315] 0.311 [0.273,0.352] 0.286 [0.251,0.322] 0.299 [0.263,0.338] 0.121 [0.101,0.151] 0.217 [0.181,0.255] 0.236 [0.195,0.277] 0.243 [0.202,0.280] 0.254 [0.215,0.293] 0.258 [0.217,0.296]

Table 7: Track 2: 8 stay-level binary outcomes — AUROC (95% CI), C=24h, admission cohort. Higher is better. Predictor rollout adds value on 8/8 outcomes for Clin-JEPA (mean ∆=+0.019); largest gains on prolonged stay (+0.077) and sepsis ever (+0.026). Method

Hosp. mort.

True ICU mort.

Mort 7d

Mort 14d

Mort 30d

Mort 90d

Prolong. stay

Sepsis ever

Mean

Ridge LightGBM LSTM TCN SFT w/o JEPA (hist-only) SFT w/o JEPA (hist+fut) V-JEPA 2-AC (hist-only) V-JEPA 2-AC (hist+fut) Clin-JEPA (hist-only) Clin-JEPA (hist+fut)

0.802 [0.789,0.816] 0.866 [0.855,0.876] 0.883 [0.871,0.892] 0.879 [0.868,0.888] 0.850 [0.839,0.860] 0.869 [0.858,0.878] 0.859 [0.848,0.869] 0.870 [0.860,0.879] 0.867 [0.856,0.877] 0.875 [0.865,0.884]

0.828 [0.815,0.844] 0.897 [0.886,0.908] 0.907 [0.896,0.917] 0.905 [0.894,0.915] 0.889 [0.878,0.898] 0.906 [0.896,0.914] 0.893 [0.883,0.903] 0.904 [0.894,0.913] 0.896 [0.885,0.906] 0.909 [0.900,0.917]

0.800 [0.784,0.817] 0.882 [0.870,0.895] 0.895 [0.881,0.906] 0.894 [0.882,0.906] 0.602 [0.582,0.623] 0.888 [0.875,0.900] 0.872 [0.859,0.883] 0.885 [0.872,0.895] 0.877 [0.864,0.889] 0.890 [0.877,0.901]

0.795 [0.782,0.810] 0.860 [0.848,0.871] 0.877 [0.866,0.887] 0.875 [0.864,0.885] 0.861 [0.851,0.871] 0.867 [0.857,0.877] 0.859 [0.849,0.869] 0.867 [0.857,0.877] 0.865 [0.855,0.876] 0.870 [0.859,0.879]

0.783 [0.771,0.797] 0.843 [0.833,0.853] 0.861 [0.850,0.871] 0.858 [0.848,0.869] 0.845 [0.834,0.855] 0.854 [0.844,0.864] 0.844 [0.833,0.854] 0.850 [0.841,0.860] 0.849 [0.839,0.859] 0.854 [0.844,0.864]

0.779 [0.768,0.789] 0.824 [0.815,0.833] 0.844 [0.834,0.852] 0.840 [0.831,0.849] 0.828 [0.818,0.837] 0.835 [0.826,0.843] 0.827 [0.817,0.836] 0.831 [0.822,0.840] 0.834 [0.823,0.842] 0.836 [0.826,0.845]

0.741 [0.727,0.754] 0.822 [0.812,0.834] 0.833 [0.822,0.844] 0.829 [0.818,0.840] 0.838 [0.827,0.848] 0.915 [0.910,0.921] 0.839 [0.828,0.849] 0.918 [0.913,0.923] 0.842 [0.830,0.852] 0.919 [0.913,0.925]

0.774 [0.767,0.782] 0.842 [0.835,0.849] 0.821 [0.814,0.829] 0.816 [0.808,0.824] 0.858 [0.850,0.865] 0.877 [0.869,0.883] 0.856 [0.848,0.863] 0.867 [0.860,0.874] 0.884 [0.878,0.890] 0.910 [0.904,0.915]

0.788 0.855 0.865 0.862 0.821 0.876 0.856 0.874 0.864 0.883

Table 8: Track 2 (cont.): 8 stay-level binary outcomes — AUPRC (95% CI), C=24h, admission cohort. Higher is better. Bootstrap clustered by stay_id, nboot =500. Sepsis ever (50% prev.): AUPRC∼AUROC; mortality (7–20% prev.): AUPRC much lower. Method

Hosp. mort.

True ICU mort.

Mort 7d

Mort 14d

Mort 30d

Mort 90d

Prolong. stay

Sepsis ever

Mean

Ridge LightGBM LSTM TCN SFT w/o JEPA (hist-only) SFT w/o JEPA (hist+fut) V-JEPA 2-AC (hist-only) V-JEPA 2-AC (hist+fut) Clin-JEPA (hist-only) Clin-JEPA (hist+fut)

0.359 [0.331,0.392] 0.499 [0.463,0.529] 0.549 [0.517,0.582] 0.538 [0.503,0.569] 0.444 [0.416,0.479] 0.526 [0.497,0.554] 0.472 [0.444,0.506] 0.524 [0.497,0.553] 0.495 [0.464,0.526] 0.539 [0.511,0.568]

0.328 [0.295,0.364] 0.502 [0.463,0.540] 0.537 [0.504,0.578] 0.528 [0.490,0.565] 0.450 [0.416,0.487] 0.542 [0.513,0.575] 0.465 [0.429,0.501] 0.517 [0.485,0.551] 0.485 [0.450,0.519] 0.542 [0.509,0.574]

0.265 [0.236,0.302] 0.434 [0.395,0.474] 0.490 [0.452,0.532] 0.478 [0.435,0.520] 0.099 [0.088,0.114] 0.542 [0.506,0.574] 0.402 [0.364,0.439] 0.519 [0.485,0.550] 0.433 [0.393,0.468] 0.549 [0.513,0.580]

0.327 [0.301,0.359] 0.480 [0.444,0.515] 0.523 [0.492,0.556] 0.512 [0.478,0.544] 0.477 [0.446,0.506] 0.527 [0.498,0.553] 0.463 [0.432,0.492] 0.523 [0.493,0.552] 0.479 [0.446,0.509] 0.521 [0.489,0.550]

0.394 [0.370,0.423] 0.523 [0.494,0.552] 0.567 [0.539,0.594] 0.554 [0.524,0.580] 0.528 [0.501,0.554] 0.569 [0.545,0.590] 0.520 [0.494,0.549] 0.548 [0.523,0.573] 0.534 [0.507,0.560] 0.559 [0.533,0.583]

0.464 [0.443,0.489] 0.557 [0.533,0.582] 0.603 [0.579,0.624] 0.593 [0.568,0.614] 0.564 [0.541,0.588] 0.587 [0.565,0.609] 0.561 [0.539,0.585] 0.573 [0.552,0.595] 0.573 [0.550,0.596] 0.590 [0.567,0.612]

0.310 [0.290,0.334] 0.423 [0.401,0.452] 0.456 [0.433,0.486] 0.451 [0.425,0.479] 0.442 [0.418,0.470] 0.573 [0.549,0.601] 0.452 [0.428,0.482] 0.575 [0.551,0.605] 0.459 [0.434,0.487] 0.604 [0.578,0.632]

0.755 [0.744,0.767] 0.825 [0.814,0.835] 0.805 [0.794,0.815] 0.797 [0.786,0.808] 0.853 [0.843,0.863] 0.873 [0.864,0.881] 0.850 [0.840,0.860] 0.863 [0.853,0.872] 0.878 [0.869,0.886] 0.906 [0.898,0.912]

0.400 0.530 0.566 0.556 0.482 0.592 0.523 0.580 0.542 0.601

17

Record · ID 175258 · SHA-256 b6f5e5d1fb8947c4
Retrieved via Conceptio — every document is proof-bundled with source, license, and retrieval metadata.