NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Simulating clinical interventions with a generative multimodal model of human physiology

Guy Lutsker, Gal Sapir, Jordi Merino, Smadar Shilo, Anastasia Godneva, Eli Meirom, Shie Mannor, Hagai Rossman, Gal Chechik, Eran SegalarXiv 2026

TL;DR

HealthFormer is a 139-million-parameter decoder-only transformer that acts as a generative "world model" for human physiology by tracking health trajectories as tokenized sequences. Trained on dense, longitudinal data from over 15,000 individuals, it can forecast future health states, stratify disease risk, and simulate clinical interventions in silico without any task-specific fine-tuning.

What Problem Does This Paper Address?

Most clinical AI models rely on Electronic Health Records (EHRs), which provide sparse, episodic snapshots of a patient's state—usually captured only when they are already sick. This approach misses the continuous, subclinical physiological dynamics driven by daily diet, lifestyle, and environment, and severely under-represents healthy or pre-symptomatic populations.

Furthermore, existing medical foundation models are typically restricted to single modalities (e.g., just retinal images or just continuous glucose monitoring) and are structurally static, failing to capture how different organ systems interact over time. The authors introduce HealthFormer to bridge this gap, creating a unified generative framework capable of modeling multimodal, multi-system physiological trajectories across years.

Methods

HealthFormer treats an individual's physiological history as a time-ordered sequence of tokens, framing clinical forecasting as a next-token prediction task.

HealthFormer pre-training framework and token embedding strategy.

Key methodological highlights include:

  • Unified Tokenization: Continuous variables are discretized using quantile-based binning (e.g., 129 bins for glucose data), while categorical variables (medications, exercise types) are directly enumerated. This maps 667 distinct clinical parameters into a single global vocabulary of 13,057 tokens.
  • Multimodal Embedding Pipeline: At each sequence position, the input embedding is a sum of six components: token identity, a sinusoidal continuous value encoding (to preserve exact numerical precision), a modality embedding, a 7-dimensional temporal embedding (capturing hour, day, year, sleep state, etc.), positional encodings, and demographic context (age and sex).
  • Dedicated Query Mechanism: To predict a specific biomarker at a future timepoint, the target modality and future time embeddings are passed through a two-layer MLP and injected directly into the transformer's final hidden state. This allows parallel forecasting of multiple parameters in a single forward pass.
  • Composite Loss Function: The model optimizes a joint loss combining Gaussian-smoothed cross-entropy ($L_{soft}$), Z-score normalized mean absolute error ($L_{MAE}$), and a split-context longitudinal loss ($L_{split}$) that enforces bidirectional attention within historical visits but causal attention for future events.

Datasets

  • Primary Training Cohort: The Human Phenotype Project (HPP), a deeply phenotyped longitudinal study of 15,319 participants. Modalities span blood biomarkers, DEXA body composition, sleep physiology, continuous glucose monitoring (CGM), gut microbiome sequencing, wearables, and diet logs.
  • External Validation Cohorts: To test zero-shot generalization, the model was evaluated with frozen weights on four independent datasets:
  • UK Biobank (UKBB): 502,244 participants (74 shared modalities).
  • NHANES: 29,458 participants (37 shared modalities).
  • PNP3: A 6-month personalized nutrition randomized trial of 200 participants (29 shared modalities).
  • Framingham Heart Study: 4,434 participants (8 shared modalities).

Key Insights and Ideas

  • Physiology as a Language: The core conceptual leap is that human biology possesses an underlying "grammar." By tokenizing continuous physiological streams, a transformer can learn cross-system dynamics (e.g., how changes in the gut microbiome or sleep architecture affect cardiovascular markers months later) without explicit supervision.
  • Emergent Cross-Modal Associations: Without being trained on paired variables, the model naturally recovers population-level biological truths during self-supervised pre-training, such as accurately mapping body weight from pelvic bone area ($r = 0.97$) or waist circumference from respiratory disturbance index ($r = 0.91$).
  • In Silico Counterfactuals: By manipulating the input sequence—such as appending a token for a statin medication or modifying dietary fiber values—the model functions as an intervention simulator, generating downstream biomarker distributions that mirror real-world clinical trials.

Key Results

  • Zero-Shot Risk Stratification: When tested on the UK Biobank, downstream models using frozen HealthFormer embeddings outperformed established, specialized clinical risk scores (including Framingham CVD and PREVENT-ASCVD) across 27 of 30 incident-disease and mortality endpoints. It achieved a C-index of 0.826 for cardiovascular mortality and 0.834 for chronic kidney disease.
  • Predicting Individual Intervention Responses: In the held-out PNP3 personalized nutrition trial, HealthFormer successfully predicted individual 6-month biomarker changes. Incorporating progressive timeline context (CGM and diet logs) improved prediction accuracy monotonically, reaching a Pearson $r = 0.78$ for diastolic blood pressure changes.
Simulating full health trajectories and intervention outcomes with HealthFormer.
  • Replicating Randomized Controlled Trials (RCTs): Across 41 randomized intervention-outcome comparisons extracted from published literature, HealthFormer predicted the correct direction of effect in 100% of cases. Furthermore, the model's predicted mean effect size fell squarely within the empirical 95% confidence interval for 30 of those 41 trials.

Limitations and Future Work

  • Associational vs. Causal: HealthFormer is trained entirely on observational data. Its simulated trajectories represent prognostic stratifications under specific conditions rather than true causal counterfactual engines.
  • Regression to the Mean: The model systematically under-predicts large-magnitude changes caused by high-potency interventions (e.g., high-dose semaglutide or intensive statin regimens). This occurs because the training data (HPP) consists of a generally healthy population where massive biomarker shifts are rare.
  • Coarse Intervention Representation: The current vocabulary treats medications and behaviors as binary tokens, failing to capture granular clinical nuances like precise dosage, titration schedules, or patient adherence.
  • Future Directions: The authors point toward expanding the vocabulary to support explicit dosing, integrating raw high-frequency wearable waveforms (like raw ECG), and layering formal causal inference techniques (such as target-trial emulation) on top of the generative transformer substrate.

Summary updated

BibTeX
@misc{lutsker2026simulating,
  author = {Guy Lutsker and Gal Sapir and Jordi Merino and Smadar Shilo and Anastasia Godneva and Eli Meirom and Shie Mannor and Hagai Rossman and Gal Chechik and Eran Segal},
  title = {{Simulating clinical interventions with a generative multimodal model of human physiology}},
  year = {2026},
  eprint = {2604.27899},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.27899},
}
Figure