mlsanityData to 7 Oct 2026

EHRAdapt: Adapting Pretrained Language Models to Electronic Health Records with Semantic Priors for Rare Clinical Events

arXiv 2609.34007 ↗First posted 27 Sep 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Electronic health records (EHRs) encode clinical histories as (time, modality, code) tuples, whereas pretrained language models expect text tokens. Serializing them as text inflates sequence length and redundantly encodes structure. We introduce EHRAdapt, an adapter that maps tuples directly into a frozen language model's embedding space. Modality receives a learned embedding, time gaps enter through learned attention biases, and event codes receive dedicated vectors. Learning event vectors is the central challenge: clinical vocabularies are long-tailed, leaving rare events too few observations for reliable estimates. EHRAdapt therefore represents each event vector as the sum of a semantic prior and an evidence residual. The prior is a frozen embedding of the event's clinical description from a biomedical language model trained on clinical ontologies, mapped into the model's input space by a shared learned projection, so it supplies clinical meaning even when observations are scarce. The residual, a learned low-rank event-specific correction, refines it as evidence accumulates. We run continued pretraining on about 4 million patients' records with three frozen LLM backbones (OLMo2 1B, Llama3.2 1B, and OLMo2 7B), training only the adapter (0.1--0.6% of all parameters). The full adapter outperforms all ablations in held-out next-event prediction on every backbone. Removing the semantic pathway hurts rare events over ten times more than the most frequent ones, whereas removing the residual hurts overall prediction but improves it for the rarest events. On reportable infectious-disease and syndromic downstream classification tasks, EHRAdapt outperforms text-based LLM and count-based baselines, and both pathways improve rare-disease discrimination. The two pathways therefore play complementary roles, visible only when results are broken down by event frequency rather than averaged.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 30 references that are in the map. First posted on arXiv 27 Sep 2026.

Builds on

19 of 30 references.

References · 19

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,239
  3. 2019Publicly Available Clinical BERT Embeddingscited by 995
  4. 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 368
  5. 2016Using the Output Embedding to Improve Language Modelscited by 266
  6. 2019BEHRT: Transformer for Electronic Health Recordscited by 258
  7. 2022GatorTron: A Large Clinical Language Model to Unlock Patient Information from Unstructured Electronic Health Recordscited by 238
  8. 2023A Study of Generative Large Language Model for Medical Research and Healthcarecited by 160
  9. 2016GRAM: Graph-based Attention Model for Healthcare Representation Learningcited by 152
  10. 2023EHRSHOT: An EHR Benchmark for Few-Shot Evaluation of Foundation Modelscited by 101
  11. 2016Tying Word Vectors and Word Classifiers: A Loss Framework for Language Modelingcited by 87
  12. 2020Language Models Are An Effective Patient Representation Learning Technique For Electronic Health Record Datacited by 85
7 more
  1. 2021CEHR-BERT: Incorporating temporal information from structured EHR data to improve prediction taskscited by 75
  2. 2023MOTOR: A Time-To-Event Foundation Model For Structured Medical Recordscited by 75
  3. 2023CPLLM: Clinical Prediction with Large Language Modelscited by 34
  4. 2025Large Language Models are Powerful Electronic Health Record Encoderscited by 25
  5. 2024Prompting Large Language Models for Zero-Shot Clinical Prediction with Structured Longitudinal Electronic Health Record Datacited by 22
  6. 2022BioLORD: Learning Ontological Representations from Definitions (for Biomedical Concepts and their Textual Descriptions)cited by 20
  7. 2026PORTER: Language-Grounded Event Representations for Portable Structured EHR Foundation Modelscited by 2

Built on by

Not cited yet.