Integrating Genomics into Multimodal EHR Foundation Models

Jonathan Amar, Edward Liu, Alessandra Breschi, Liangliang Zhang, Pouya Kheradpour, Siying Li, Lisa Soleymani Lehmann, Alessandro Giulianelli, Matthew D. Edwards, Yugang Jia, David Nola, Raghav Mani, Pankaj Vats, Jesse Tetreault, Tiffany J. Chen, Cory Y McLeanML4H 2026 Poster 2026

TL;DR

Foundation models trained on Electronic Health Records (EHRs) can predict future diseases by treating a patient's medical history like a sentence and predicting the next "word" (medical event). This paper shows how to plug a patient's genetic risk—specifically, 3,481 Polygenic Risk Scores (PRS)—into such a model using cross-attention. The upshot: genetics gives the model a meaningful boost in predicting diseases like Type 2 Diabetes when a patient's medical chart is empty, though that advantage fades once a few years of clinical history accumulate.

What Problem Does This Paper Address?

Imagine trying to predict someone's health over the next decade. If you only look at their Electronic Health Record, you're reading a story that might be missing its opening chapters—especially for younger patients or people who rarely visit the doctor.

Recent EHR foundation models (like ETHOS and CoMET) have shown that autoregressive transformers can learn a lot from longitudinal medical events alone. But they are typically single-modality: they only see clinical codes, missing out on other rich sources of information like genomics. The authors ask: how do we integrate a static, non-sequential modality like Polygenic Risk Scores into an EHR foundation model in a principled way, and when does that genetic information actually help?

Methods

The authors build on a 155-million-parameter GPT-2 decoder trained from scratch on tokenized EHR trajectories (using a vocabulary of ~20,000 clinical and temporal tokens, with a 2,048-token context window).

To add genomics (GPT-PRS-CROSS), they take a vector of 3,481 Polygenic Risk Scores—each summarizing a person's genetic predisposition to a specific trait—and pass it through a 2-layer MLP to project it into 10 embedding vectors. The GPT-2 decoder then attends to these 10 genomic representations via cross-attention layers (adding ~99M parameters). Unlike prepending tokens to the input sequence, cross-attention keeps the genomic modality cleanly separated and allows modalities to be toggled on or off.

Overview of the EHR+PRS multimodal foundation model and relative AUC gains

They also introduce Path-Computed Probability (PCP) to score future disease risk from generated trajectories. Standard Monte Carlo (MC) estimation samples $N$ future trajectories and counts how often a disease appears, which only yields $N+1$ coarse risk levels. Instead, PCP tracks the model's exact next-token probability $p_i$ for the target disease tokens at each step $i$ along a sampled path, computing $1 - \prod_i (1 - p_i)$ and averaging across $N$ paths. This produces near-unique risk scores and much finer operating points on ROC curves.

Datasets

  • All of Us (AoU) Research Program (Controlled Tier v8): A diverse, longitudinal U.S. cohort emphasizing historically underrepresented populations. After filtering for sequence length (100–2,000 measurements) and removing rare measurement categories, the dataset includes ~150,000 participants (~1,500 tokens each on average), split 90:10 into training (~135,000) and held-out test (~15,000) sets.
  • Pan-UKB GWAS Summary Statistics: Used to compute 3,481 PRS per participant, using an LD reference panel of 10,000 unrelated European-ancestry individuals from the UK Biobank.

Key Insights and Ideas

  • Genetics matters most when the chart is blank: In a "no-history" setting (given only demographics and PRS), adding genomics significantly improves 10-year Type 2 Diabetes (T2D) prediction. However, as you feed the model 6 months, 1 year, and 3 years of actual EHR history, the PRS advantage steadily shrinks and becomes statistically insignificant by year 3. Once clinical signals appear, they overshadow genetic predisposition.
  • Zero-shot FMs shine in the low-label regime: Without any task-specific fine-tuning, the multimodal foundation model matches a supervised logistic regression model trained on 2,000–5,000 labeled examples. With enough labels (~10,000+), however, simple supervised baselines catch up and eventually surpass the zero-shot model.
  • Better trajectory scoring without more sampling: Using PCP instead of raw Monte Carlo frequencies dramatically boosts discrimination (+0.086 to +0.096 AUROC with just $N=10$ sampled roll-outs) because it extracts continuous probability information from every step of the generated path rather than throwing it away into binary counts.

Key Results

  • 10-Year T2D Prediction (No-History Task, $n=12,009$): Adding PRS to the EHR foundation model improved AUROC from 0.707 to 0.732 ($\Delta = +0.025$, $p < 0.0001$) and AUPRC from 0.269 to 0.311 (+15.5% relative gain).
  • Other Conditions: Point estimates for 10-year onset were directionally positive for Schizophrenia ($\Delta\text{AUROC} +0.017$), Depression ($+0.010$), and Coronary Artery Disease ($+0.007$), though not individually statistically significant.
  • Backbone Generalization: Testing the same setup on a Qwen-3 architecture (with RoPE and grouped-query attention) for 2-year T2D prediction showed that PRS integration also generalizes, boosting AUROC from 0.840 to 0.877.

Limitations and Future Work

  • Ancestry bias in PRS: The PRS were derived from European-biased GWAS and a European LD reference panel, which can reduce predictive accuracy in non-European populations. Subgroup analyses used self-reported race as a proxy, leaving a true genetic-ancestry analysis for future work.
  • Parameter-matched controls: The cross-attention model adds ~99M parameters to the 155M base model; a parameter-matched EHR-only control was only run at a smaller (~100M) scale, not at the full paper scale.
  • Calibration: Raw PCP scores rank risk well but are overdispersed (calibration slope ~0.30). Recalibrating on 1,000 labels fixes the slope (~1.02), and the authors point to RL post-training as a principled future fix.
  • Linear genetic compression: PRS compress complex genetics into linear scores, ignoring rare and structural variants. Future work could model specific genetic variants directly and incorporate dynamic modalities like wearables or clinical notes.

Summary updated

BibTeX
@inproceedings{amar2026integrating,
  author = {Jonathan Amar and Edward Liu and Alessandra Breschi and Liangliang Zhang and Pouya Kheradpour and Siying Li and Lisa Soleymani Lehmann and Alessandro Giulianelli and Matthew D. Edwards and Yugang Jia and David Nola and Raghav Mani and Pankaj Vats and Jesse Tetreault and Tiffany J. Chen and Cory Y McLean},
  title = {{Integrating Genomics into Multimodal EHR Foundation Models}},
  booktitle = {ML4H 2026 Poster},
  year = {2026},
  url = {https://openreview.net/forum?id=IjbgugCOpu},
}

Loading related content...

Figure