Saved in:
Bibliographic Details
Main Authors: Pandey, Rohan, Yan, Haijuan, Yu, Hong, Tsai, Jack
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.02731
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914303430361088
author Pandey, Rohan
Yan, Haijuan
Yu, Hong
Tsai, Jack
author_facet Pandey, Rohan
Yan, Haijuan
Yu, Hong
Tsai, Jack
contents Homelessness among US veterans remains a critical public health challenge, yet risk prediction offers a pathway for proactive intervention. In this retrospective prognostic study, we analyzed electronic health record (EHR) data from 4,276,403 Veterans Affairs patients during a 2016 observation period to predict first-episode homelessness occurring 3-12 months later in 2017 (prevalence: 0.32-1.19%). We constructed static and time-varying EHR representations, utilizing clinician-informed logic to model the persistence of clinical conditions and social risks over time. We then compared the performance of classical machine learning, transformer-based masked language models, and fine-tuned large language models (LLMs). We demonstrate that incorporating social and behavioral factors into longitudinal models improved precision-recall area under the curve (PR-AUC) by 15-30%. In the top 1% risk tier, models yielded positive predictive values ranging from 3.93-4.72% at 3 months, 7.39-8.30% at 6 months, 9.84-11.41% at 9 months, and 11.65-13.80% at 12 months across model architectures. Large language models underperformed encoder-based models on discrimination but showed smaller performance disparities across racial groups. These results demonstrate that longitudinal, socially informed EHR modeling concentrates homelessness risk into actionable strata, enabling targeted and data-informed prevention strategies for at-risk veterans.
format Preprint
id arxiv_https___arxiv_org_abs_2602_02731
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Predicting first-episode homelessness among US Veterans using longitudinal EHR data: time-varying models and social risk factors
Pandey, Rohan
Yan, Haijuan
Yu, Hong
Tsai, Jack
Computation and Language
Artificial Intelligence
Homelessness among US veterans remains a critical public health challenge, yet risk prediction offers a pathway for proactive intervention. In this retrospective prognostic study, we analyzed electronic health record (EHR) data from 4,276,403 Veterans Affairs patients during a 2016 observation period to predict first-episode homelessness occurring 3-12 months later in 2017 (prevalence: 0.32-1.19%). We constructed static and time-varying EHR representations, utilizing clinician-informed logic to model the persistence of clinical conditions and social risks over time. We then compared the performance of classical machine learning, transformer-based masked language models, and fine-tuned large language models (LLMs). We demonstrate that incorporating social and behavioral factors into longitudinal models improved precision-recall area under the curve (PR-AUC) by 15-30%. In the top 1% risk tier, models yielded positive predictive values ranging from 3.93-4.72% at 3 months, 7.39-8.30% at 6 months, 9.84-11.41% at 9 months, and 11.65-13.80% at 12 months across model architectures. Large language models underperformed encoder-based models on discrimination but showed smaller performance disparities across racial groups. These results demonstrate that longitudinal, socially informed EHR modeling concentrates homelessness risk into actionable strata, enabling targeted and data-informed prevention strategies for at-risk veterans.
title Predicting first-episode homelessness among US Veterans using longitudinal EHR data: time-varying models and social risk factors
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2602.02731