Autoregressive EHR Foundation Models with Multimodal Inputs

Yuxuan Liu, Joshua Placidi, Jinpei Han, Alfred John Balston, Marek Rei +1 more
7/24/2026
cs.LG
transformer-attention

No confident code implementation found for this paper.

Abstract

Autoregressive foundation models trained on tokenized electronic health records (EHRs) can support zero-shot clinical prediction, yet most operate on structured event codes alone, and do not incorporate multiple modalities in a principled way. We present a framework for conditioning such models on auxiliary clinical modalities, including ECG waveforms, chest X-ray images, and clinical notes, using modality-specific latent compression and gated cross-attention with temporal alignment.

Show full abstract

We investigate two key design choices: (1) how to compress long per-modality sequences (e.g., ECG time series) before they enter the multi-modal cross-attention. This feature may be essential to reduce compute overheads and may be beneficial for generalization; (2) how the choice of pretrained encoder for each modality impacts downstream performance. Through controlled ablations on MIMIC-IV, we show that the best latent-compression configurations outperforms both uncompressed cross-attention and mean pooling. Encoder choice has a clear within-modality effect, with stronger pretrained encoders consistently outperforming weaker alternatives. We further show that merely adding auxiliary modalities does not guarantee improvement on ICU mortality prediction over an EHR-only baseline. This implies that careful design of the fusion architecture and an appropriate evaluation in the clinical context are required.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026autoregressive,
  title  = {Autoregressive EHR Foundation Models with Multimodal Inputs},
  author = {Yuxuan Liu and Joshua Placidi and Jinpei Han and Alfred John Balston and Marek Rei and A. Aldo Faisal},
  year   = {2026},
  eprint = {2607.22264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.22264v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.22264.svg)](https://codeofpaper.com/paper/2607.22264)

Discussion