Enhanced language models for predicting and understanding HIV care disengagement: a case study in Tanzania
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.
Authors
- Jingshen Wang (ORCID: https://orcid.org/0000-0002-1432-3834)
- Emmanuel Katabaro
- Matilda Mlowe
- Xiaoya Zhang (ORCID: https://orcid.org/0000-0002-5425-8547)
- Junzhe Shao
- Feng Ji (ORCID: https://orcid.org/0000-0002-6943-2624)
- Caroline Lister
- Rita Qiuran Lyu
- Zeyu Zheng
- Joseph Giorgio
- Waverly Wei
- Amon Sabasaba
- Sandra I. McCoy
- Prosper Njau
- Siraji Shabani
- Rebecca Hemono
Institutions
- University of Southern California (US)
- University of Toronto (CA)
- University of Florida (US)
- University of California San Diego (US)
- Ministry of Health, Community Development, Gender, Elderly and Children (TZ)
- Management and Development for Health (TZ)
- University of California, Berkeley (US)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2026-01-21
- DOI
- https://doi.org/10.1038/s41746-026-02349-3
- Citations
- 1
- Primary Topic
- HIV/AIDS Research and Interventions
- Type
- article
- Field-Weighted Citation Impact
- 32.78
Funders
- National Institutes of Health