Identify Patients at Risk of HIV Using a Clinical Large Language Model from Electronic Health Records.
Yiyang Liu, Ziyi Chen, Pogul Suman, Hwayoung Cho, Mattia Prosperi, Yonghui Wu
Department of Epidemiology, College of Public Health and Health Professions & College of Medicine University of Florida Gainesville, FL, USA. · Department of Health Outcomes and Biomedical Informatics, College of Medicine University of Florida Gainesville, FL, USA.
Key points
From the paper's conclusion- We transformed structured EHR data, including demographics, diagnoses, and medications, into narrative descriptions ordered by visit date and applied GatorTron, a widely used clinical LLM trained on 82 billion words of de-identified clinical text.
Abstract
This study developed a large language model (LLM)-based solution to identify people at HIV risk using electronic health records. We transformed structured EHR data, including demographics, diagnoses, and medications, into narrative descriptions ordered by visit date and applied GatorTron, a widely used clinical LLM trained on 82 billion words of de-identified clinical text. We compared GatorTron with traditional machine learning models, including LASSO and XGBoost. We identified a cohort with 54,265 individuals, where only 3,342 (6%) had new HIV diagnoses. Our LLM solution, based on GatorTron, achieved excellent performance, reaching an F1 score of 53.5% and an AUC of 0.88, comparable to traditional machine learning approaches. Subgroup analysis showed that, across age, sex, and race/ethnicity groups, both LLM and traditional models achieved AUCs above 0.82. Interpretability analyses showed broadly consistent patterns across LLM models and traditional machine learning models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Benchmark of THReD: Evaluating an LLM Agent and Its Preprocessing Tools for Turning Electronic Health Records into AI-Ready DatasetsarXiv · 2026
- Benchmarking large language models for HIV medical decision support.Communications medicine · 2026
- EHR-RobustGym: Benchmarking and Training Agents for Robust Clinical ReasoningarXiv · 2026
- Large language models are powerful electronic health record encodersnpj Digital Medicine · 2026
- Continually pretrained open-weight language models can outperform traditional machine learning in EHR-based clinical predictionmedRxiv · 2026
- AgentClinic: a multimodal benchmark for tool-using clinical AI agentsnpj Digital Medicine · 2026