Evaluating Pretrained Language Semantics for Structured EHR Prediction Tasks
Abstract
Structured Electronic Health Record (EHR) models typically represent clinical concepts as dataset-specific tokens, discarding their associated natural-language semantics. Consequently, relationships between concepts must largely be learned from EHR co-occurrence without directly exploiting pretrained linguistic knowledge. We investigate the contribution of pretrained language semantics to longitudinal EHR prediction through tEHR, a framework that converts clinical events into natural-language descriptions and adapts pretrained autoregressive language models through EHR-specific continued pretraining and task-specific discriminative fine-tuning. We evaluate tEHR across four MIMIC-IV prediction tasks, where Mistral-7B achieves the strongest overall performance against structured-data, code-based, and LLM-based baselines. Controlled ablations demonstrate the importance of lexical grounding, numerical values, and both adaptation stages. A capacity-controlled experiment further shows that replacing clinical descriptions with atomic code tokens substantially reduces performance despite retaining the same LLM backbone. Alternative approaches incorporating pretrained semantic embeddings offer lower computational costs but do not match full textualisation. These results highlight the importance of both semantic representation and downstream adaptation when applying pretrained language models to structured EHR prediction.
Create a lesson
Related papers
Alignment without Transfer: Tokenization Impacts Cross-lingual Representations during Multilingual Language Model Pretraining
Shared title terminology · Jonathan von Rad, Pontus Stenetorp, Yao Lu
How Long Will My Language Model Run? A Benchmark for Pre-Execution Runtime Prediction
Shared title terminology · Ashish Molakalapalli, Kangda Wei, Haonan Duan et al.
Search From the Start: Search-Native Pretraining for Language Models
Shared title terminology · Kaustubh Ponkshe, Gyung Hyun Je, Stefan Taga et al.
Language-Oriented Semantic Modeling for Target Language Extraction
Shared title terminology · Mehmet Sinan Yıldırım, Ke Zhang, Shuai Wang et al.
Energy estimates of open-weight large language models across stated food weights: a dose-response evaluation
Shared title terminology · Donato Riccio, Fabrizio Maturo, Iulia Brezeanu
The Depth of a Prediction: Where Language Models Resolve a Word Predicts Human Reading Time
Shared title terminology · Donato Riccio, Fabrizio Maturo