[Paper Review] The Patient is not a Moving Document: A World Model Training Paradigm for Longitudinal EHR
The paper argues that clinical models should simulate patient trajectories rather than merely predict next tokens, introducing SMB-Structure that combines supervised fine-tuning with a Joint-Embedding Predictive Architecture to learn latent trajectory dynamics from longitudinal EHR data.
Large language models (LLMs) trained with next-word-prediction have achieved success as clinical foundation models. Representations from these language backbones yield strong linear probe performance across biomedical tasks, suggesting that patient semantics emerge from next-token prediction at scale. However, this paradigm treats patients as a document to be summarized rather than a dynamical system to be simulated; a patient's trajectory emerges from their state evolving under interventions and time, requiring models that simulate dynamics rather than predict tokens. To address this, we introduce SMB-Structure, a world model for structured EHR that grounds a joint-embedding prediction architecture (JEPA) with next-token prediction (SFT). SFT grounds our model to reconstruct future patient states in token space, while JEPA predicts those futures in latent space from the initial patient representation alone, forcing trajectory dynamics to be encoded before the next state is observed. We validate across two large-scale cohorts: Memorial Sloan Kettering (23,319 oncology patients; 323,000+ patient-years) and INSPECT (19,402 pulmonary embolism patients). Using a linear probe evaluated at multiple points along the disease trajectory, we demonstrate that our training paradigm learns embeddings that capture disease dynamics not recoverable by autoregressive baselines, enabling SMB-Structure to achieve competitive performance on complex tasks characterized by high patient heterogeneity. Model weights are available at https://huggingface.co/standardmodelbio/SMB-v1-1.7B-Structure.
Motivation & Objective
- Motivate moving beyond next-token prediction to explicitly model patient state evolution under interventions.
- Ground a world-model in clinical semantics while learning trajectory dynamics.
- Evaluate a latent-space predictive objective (JEPA) together with SFT on large longitudinal cohorts.
- Demonstrate that latent dynamics capture information not recoverable by autoregressive baselines across diverse tasks.
Proposed method
- Introduce SMB-Structure comprising domain-specific clinical tokens, a bottleneck predictor, and a momentum encoder.
- Grounded latent-space prediction via JEPA by forecasting future embeddings from current state before observing future tokens.
- Combine SFT (next-token reconstruction) with JEPA (latent-space forecasting) in a joint objective, with a balancing ratio and an EMA target network.
- Employ a dual forward-pass training regime: SFT on unmasked sequences and JEPA on masked targets, followed by a single parameter update.
- Evaluate with linear probes on frozen embeddings across 68 downstream tasks from two cohorts (MSK and INSPECT).
Experimental results
Research questions
- RQ1Can latent-space trajectory forecasting (JEPA) capture disease dynamics not recoverable by next-token autoregression?
- RQ2Does grounding via supervised fine-tuning improve the quality of latent dynamics for long-horizon EHR tasks?
- RQ3How does exposure to diverse trajectory patterns (MSK + INSPECT) affect trajectory modeling and generalization?
- RQ4Is a curriculum grounding (SFT then JEPA) more effective than joint Hybrid training for learning dynamic representations?
Key findings
- JEPA-based objectives yield stronger trajectory-regularization, improving long-horizon predictions especially when training data spans diverse trajectories.
- Curriculum grounding (SFT followed by JEPA) outperforms Joint-Hybrid training, indicating objective interference when learned simultaneously.
- Latent dynamics learned by SMB-Structure generalize better across heterogeneous diseases than surface-token reconstruction alone.
- In short-horizon tasks, SFT can perform comparably, but long-horizon mortality and progression tasks benefit notably from latent-space forecasting.
- Exposure to rapid-evolution trajectories (INSPECT) boosts performance on slower-moving oncology tasks, supporting trajectory diversity as a regularizer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.