Foundation Models (FMs) trained on Electronic Health Records (EHRs) have achieved state-of-the-art results on numerous clinical prediction tasks. However, most existing EHR FMs have context windows of <1k tokens. This prevents them from modeling full patient EHRs which can exceed 10k's of events. Recent advancements in subquadratic long-context architectures (e.g., Mamba) offer a promising solution. However, their application to EHR data has not been well-studied. We address this gap by presenting the first systematic evaluation of the effect of context length on modeling EHR data. We find that longer context models improve predictive performance -- our Mamba-based model surpasses the prior state-of-the-art on 9/14 tasks on the EHRSHOT prediction benchmark. For clinical applications, however, model performance alone is insufficient -- robustness to the unique properties of EHR is crucial. Thus, we also evaluate models across three previously underexplored properties of EHR data: (1) the prevalence of "copy-forwarded" diagnoses which creates artificial repetition of tokens within EHR sequences; (2) the irregular time intervals between EHR events which can lead to a wide range of timespans within a context window; and (3) the natural increase in disease complexity over time which makes later tokens in the EHR harder to predict than earlier ones. Stratifying our EHRSHOT results, we find that higher levels of each property correlate negatively with model performance, but that longer context models are more robust to more extreme levels of these properties. Our work highlights the potential for using long-context architectures to model EHR data, and offers a case study for identifying new challenges in modeling sequential data motivated by domains outside of natural language. We release our models and code at: https://github.com/som-shahlab/long_context_clues
Large Language Models are Powerful Electronic Health Record Encoders
Berlin Institute of Health at Charité – Universitätsmedizin Berlin(柏林夏里特医学院健康研究所);BIH Biomedical Innovation Academy, BIH Charité Digital Clinician Scientist Program(BIH生物医学创新学院,BIH夏里特数字临床科学家计划);Deutsches Herzzentrum der Charité – Medical Heart Center of Charité and German Heart Institute Berlin(夏里特德国心脏中心 – 夏里特医学院和德国心脏研究所柏林);Layer Health, Inc.(Layer Health公司)
Longitudinal Multimodal Transformer Integrating Imaging and Latent Clinical Signatures From Routine EHRs for Pulmonary Nodule Classification
Vanderbilt University(范德堡大学);Siemens Healthineers(西门子医疗);Saint Luke’s Mid America Heart Institute(圣卢克中美洲心脏研究所);Vanderbilt University Medical Center(范德堡大学医学中心)
TCDiff: Triplex Cascaded Diffusion for High-fidelity Multimodal EHRs Generation with Incomplete Clinical Data
School of Computer Science, Peking University(北京大学计算机科学学院);School of Information and Software Engineering, University of Electronic Science and Technology of China(电子科技大学信息与软件工程学院);National Engineering Research Center for Software Engineering, Peking University(软件工程国家工程研究中心);Institute of Software, Chinese Academy of Science(中国科学院软件研究所);School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);Institute of Basic Theory of Chinese Medicine, China Academy of Chinese Medical Sciences(中国中医科学院中医基础理论研究所)
Ensemble BERT for Medication Event Classification on Electronic Health Records (EHRs)
Center of Excellence in Research and Education for Big Military Data Intelligence (CREDIT Center)(大数据智能研究与教育中心);Department of Electrical and Computer Engineering(电气与计算机工程系);Prairie View A&M University(普拉姆维尤农业与机械大学);Texas A&M University System(德克萨斯农工大学系统)
A Review of Challenges and Opportunities in Machine Learning for Health
University of Toronto(多伦多大学);Vector Institute(向量研究所);Microsoft Research(微软研究院);Johns Hopkins University(约翰斯·霍普金斯大学);Harvard School of Public Health(哈佛公共卫生学院);Massachusetts Institute of Technology(麻省理工学院);New York University(纽约大学)
A Weakly Supervised Transformer for Rare Disease Diagnosis and Subphenotyping from EHRs with Pulmonary Case Studies
Harvard T.H. Chan School of Public Health(哈佛T.H. 洪学校公共卫生学院);Harvard Medical School(哈佛医学院);Bentley University(伯顿大学);Columbia University(哥伦比亚大学);Boston Children’s Hospital(波士顿儿童医院);Computational Health Informatics Program(计算健康信息学计划);Department of Pediatrics(儿科部门);Brigham and Women’s Hospital(布里奇沃特医院)
CDMT-EHR: A Continuous-Time Diffusion Framework for Generating Mixed-Type Time-Series Electronic Health Records
Department of Core Informatics, Graduate School of Informatics, Osaka Metropolitan University(核心信息学系,信息学研究生学校,大阪 Metropolitan 大学);Smart Data & Knowledge Services Department, German Research Center for Artificial Intelligence (DFKI GmbH)(智能数据与知识服务部,德国人工智能研究中心(DFKI GmbH));Department of Hematology and Department of Laboratory Medicine and Medical Informatics, Graduate School of Medicine, Osaka Metropolitan University(血液科和实验室医学与医学信息学系,医学研究生学校,大阪 Metropolitan 大学)
EVA: Generating Longitudinal Electronic Health Records Using Conditional Variational Autoencoders
Georgia Institute of Technology(佐治亚理工学院);IBM Research(IBM研究院);Vanderbilt University(范德堡大学);Sutter Health(萨特健康);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
TWIN-GPT: Digital Twins for Clinical Trials via Large Language Model
School of Public Health, Zhejiang University(浙江大学公共卫生学院);Rensselaer Polytechnic Institute(伦斯勒理工学院);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
GLoC-EHR: Evidence-Cited Clinical Reasoning over Global Context and Local EHR Events
Seoul National University College of Medicine(首尔大学医学院);Seoul National University Hospital(首尔大学医院);Healthcare AI Research Institute, Seoul National University Hospital(首尔大学医院医疗AI研究所)
NPCNet: Navigator-Driven Pseudo Text for Deep Clustering of Early Sepsis Phenotyping
Institute of Data Science and Engineering(数据科学与工程研究所);National Yang Ming Chiao Tung University(阳明交通大学);EECS International Graduate Program(电子工程国际研究生项目);College of Intelligent Computing and Medical Statistics Research Center(智能计算与医学统计研究室);Chang Gung University(长庚大学);Department of Emergency Medicine(急诊医学科);Department of Computer Science(计算机科学系);Computational Health Informatics Program(计算健康信息学项目)
Beyond Topics: Discovering Latent Healthcare Objectives from Event Sequences
Australian Artificial Intelligence Institute(澳大利亚人工智能研究所);University of Technology Sydney(悉尼科技大学);The Children’s Cancer Research Unit(儿童癌症研究组);The Children’s Hospital at Westmead(韦斯特米德儿童医院)
KAT-GNN: A Knowledge-Augmented Temporal Graph Neural Network for Risk Prediction in Electronic Health Records
Institute of Computer Science and Engineering, National Yang Ming Chiao Tung University(计算机科学与工程研究所,国立阳明交通大学);School of Medicine, National Tsing Hua University(医学院,国立清华大学);Department of Computer Science, National Yang Ming Chiao Tung University(计算机科学系,国立阳明交通大学);Computational Health Informatics Program, Boston Children’s Hospital(计算健康信息学计划,波士顿儿童医院)
CEHR-XGPT: A Scalable Multi-Task Foundation Model for Electronic Health Records
Columbia University Irving Medical Center(哥伦比亚大学伊万格琳医疗中心);Observational Health Data Sciences and Informatics(观察性健康数据科学与信息学);Department of Biomedical Informatics(生物医学信息学系);Columbia University(哥伦比亚大学);NewYork-Presbyterian Hospital(纽约- Presbyterian医院);Department of Computer Science(计算机科学系)
From Statistical Fidelity to Clinical Consistency: Scalable Generation and Auditing of Synthetic Patient Trajectories
The University of Queensland(昆士兰大学);The University of New South Wales(新南威尔士大学);Shahid Sadoughi University of Medical Sciences(沙希德·萨多格伊医学科学与健康服务大学);The University of Auckland(奥克兰大学)