Enhanced language models for predicting and understanding HIV care disengagement: a case study in Tanzania

Read full text
Authors: Waverly Wei, Junzhe Shao, Rita Qiuran Lyu, Rebecca Hemono, Xinwei Ma, Joseph Giorgio, Zeyu Zheng, Feng Ji, Xiaoya Zhang, Emmanuel Katabaro, Matilda Mlowe, Amon Sabasaba
+5 more Caroline Lister, Siraji Shabani, Prosper Njau, Sandra I. McCoy, Jingshen Wang
Cited by: 2
References: 17

Abstract

Sustained engagement in HIV care and adherence to ART are crucial for meeting the UNAIDS "95-95-95" targets. Disengagement from care remains a significant issue, especially in sub-Saharan Africa. Traditional machine learning (ML) models have had moderate success in predicting disengagement, enabling early intervention. We developed an enhanced large language model (LLM) fine-tuned with electronic medical records (EMRs) to predict individuals at risk of disengaging from HIV care in Tanzania. Using 4.8 million EMR records from the National HIV Care and Treatment Program (2018-2023), we identified risks of ART non-adherence, non-suppressed viral load, and loss to follow-up. Our enhanced LLM may outperform traditional machine learning models and zero-shot LLMs. HIV physicians in Tanzania evaluated the model's predictions and justifications, finding 65% alignment with expert assessments, and 92.3% of the aligned cases were considered clinically relevant. This model can support data-driven decisions and may improve patient outcomes and reduce HIV transmission.

Fields of Study & Subjects

HIV/AIDS Research and Interventions Mobile Health and mHealth Applications Global Maternal and Child Health

Publication details

Journal / source
npj Digital Medicine
Publisher
Springer Science and Business Media LLC
Volume
9
Issue
1
Pages
165–165
Publication date
21 January 2026
Language
EN