PaReGTA:基于LLM的EHR数据编码方法以捕捉时间信息
PaReGTA: A Temporally Aware LLM-Based Patient Representation Framework for EHR Analytics
AI总结:
PaReGTA是一种基于LLM的EHR数据编码方法,通过模板文本生成、轻量级对比微调和混合时间池化,有效捕捉时间信息,提升偏头痛分类性能。
摘要:
结构化电子健康记录(EHRs)中的时间信息在稀疏的一热或计数表示中往往丢失,而序列模型成本高且数据需求大。我们提出了PaReGTA,一种基于LLM的编码框架,其(i)将纵向EHR事件转换为以就诊为单位的模板文本,并明确包含时间线索;(ii)通过轻量级对比微调句子嵌入模型学习领域适应的就诊嵌入;(iii)利用混合时间池化将就诊嵌入聚合为固定维度的患者表示,该方法能捕捉近期和全局信息丰富的就诊。由于PaReGTA不需要从头开始训练,而是利用预训练的LLM,因此即使在数据有限的队列中也能表现良好。此外,PaReGTA是模型无关的,可以受益于未来专门用于EHR的句子嵌入模型。为了可解释性,我们引入PaReGTA-RSS(表示转移分数),该方法通过重新计算移除目标因素后的表示,并通过机器学习模型投影表示转移来量化临床定义的因素重要性。在All of Us研究计划的39,088名偏头痛患者中,PaReGTA在偏头痛类型分类上优于稀疏基线,而深度序列模型在我们的队列中表现不稳定。
英文摘要:
Temporal information in structured electronic health records (EHRs) is often lost in sparse one-hot or count-based representations, while sequence models can be costly and data-hungry. We propose PaReGTA, an LLM-based encoding framework that (i) converts longitudinal EHR events into visit-level templated text with explicit temporal cues, (ii) learns domain-adapted visit embeddings via lightweight contrastive fine-tuning of a sentence-embedding model, and (iii) aggregates visit embeddings into a fixed-dimensional patient representation using hybrid temporal pooling that captures both recency and globally informative visits. The resulting fixed-dimensional patient representations can be used with conventional downstream machine-learning models. To examine factor-level sensitivity, we use PaReGTA-RSS (Representation Shift Score), a prespecified factor-removal analysis that recomputes patient representations after removing clinically defined factor groups and quantifies the resulting change in the fitted logit of a fixed logistic-regression model. We evaluated PaReGTA in a cohort of 39,088 patients with migraine from the All of Us Research Program (AoU) on a retrospective patient-level classification task with an EHR-derived target. In an exploratory comparison on the fixed held-out test cohort of 7,818 patients, PaReGTA-Gap + LightGBM, used as a post hoc analytical reference, had the highest reported AUC, accuracy, and F1 values among the evaluated sparse, BERT-based EHR, and recurrent approaches in this cohort.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。