Skip to content

Pretraining EHR Foundation Models with Patient-Aware Sampling

Jul 2026 · arXiv.org · Vol abs/2607.22114 · 0 citations · 7 references
Computer Science

TL;DR

It is shown that stochastic Patient Sampling with controllable weighting improves performance on real-world EHR data, and training and validation sequence construction are identified as important and underexplored design choices for autoregressive EHR foundation models.

Abstract

Autoregressive foundation models for electronic health records (EHRs) typically inherit pretraining methods from language modeling, where patient trajectories are concatenated into a single token stream and windows are sampled from that stream. In EHR data, this choice is consequential: windows may mix multiple patients, and patients with longer records contribute more optimization updates, potentially introducing bias. We propose Patient Sampling, a pretraining sequence-construction method that allows us to control how training signal is distributed across patients. We compare this method to the standard approach, which we refer to as Global Stream. We show that stochastic Patient Sampling with controllable weighting improves performance on real-world EHR data. Across downstream clinical tasks on MIMIC-IV v2.2 and v3.1, Patient Sampling improves Macro AUROC and AUPRC over the Global Stream baseline. These results identify training and validation sequence construction as important and underexplored design choices for autoregressive EHR foundation models.

View source

Similar papers

#artificial intelligence Preprint Sep 2026

Reinforcement Learning over Patient Trajectories for Clinical Reasoning in EHR Foundation Models

This work proposes a reinforcement learning (RL) fine-tuning framework that treats EHR foundation models as generative policies over patient trajectories, and finds that RL fine-tuning consistently improves over pre-trained backbones and strong baselines.

Yu-Xin Xiao, Sheng Zhang, C. Singh et al. · 0 citations
Preprint Aug 2026

Explainable Transformer Models for Clinical Prediction Tasks on Structured Electronic Health Records

BERT-LER is presented, a BERT-style model for coded EHR timelines pretrained and fine-tuned from a de-identified EHR dataset of 75 million patients, that encodes laboratory test results as discrete tokens while retaining graded information through percentile-based binning, paired with Integrated Gradients for token-lev...

Jun-Ni Du, Lukas Adamek, Maxim A Kryukov et al. · 0 citations
Book Open access Aug 2026

OneEHR: Reproducible and AI Agent-Ready Longitudinal EHR Analysis Toolkit

Electronic health records support a wide spectrum of clinical prediction and decision-support studies, but reproducible EHR research now requires more than training a single predictive model. As the field expands from machine learning and deep learning to LLM-based and agentic AI, differences in cohort construction, te...

Yinghao Zhu, Zi-Xiang Wang, Lei Gu et al. · 0 citations
#machine learning Preprint Aug 2026

Mr.Dec: Daily-Scale Longitudinal Multimodal Modeling for 30-Day Readmission Prediction

Predicting 30-day hospital readmission is essential for assessing patient stability and optimizing healthcare resources. As clinical risk evolves with the accumulation of evidence during hospitalization, capturing these dynamic trajectories is essential. However, many existing approaches compress the complex longitudin...

Minjun Kim, Jong-Hak Moon · 0 citations
Open access Sep 2026

Generative model of patient health states and pan-cancer risk stratification

The evaluation of GenEHR-CancerRisk as a prospective clinical decision-support tool for prioritizing patients for risk-based screening for aggressive cancer types, such as pancreatic and ovarian cancer is supported.

A. Khan, D. T. Forster, M. Harsh et al. · 0 citations
Aug 2026

GuardMLLM: Overconfidence-Aware Dynamic Fusion for Early Outcome Prediction.

Experimental results show that the proposed GuardMLLM improves performance on tasks such as predicting patient mortality and ICU length of stay, and effectively alleviates overconfidence in LLM.

Gang Fu, Xiao-Long Xu, Hao-Long Xiang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.