{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,5]],"date-time":"2026-03-05T19:17:34Z","timestamp":1772738254767,"version":"3.50.1"},"reference-count":24,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2026,1,21]],"date-time":"2026-01-21T00:00:00Z","timestamp":1768953600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,2,16]],"date-time":"2026-02-16T00:00:00Z","timestamp":1771200000000},"content-version":"vor","delay-in-days":26,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/100000002","name":"National Institutes of Health","doi-asserted-by":"publisher","award":["NIH NIMH 1R01MH125746."],"award-info":[{"award-number":["NIH NIMH 1R01MH125746."]}],"id":[{"id":"10.13039\/100000002","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["npj Digit. Med."],"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Sustained engagement in HIV care and adherence to ART are crucial for meeting the UNAIDS \u201c95-95-95\u201d 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\u20132023), 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\u2019s 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.<\/jats:p>","DOI":"10.1038\/s41746-026-02349-3","type":"journal-article","created":{"date-parts":[[2026,1,21]],"date-time":"2026-01-21T16:24:25Z","timestamp":1769012665000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Enhanced language models for predicting and understanding HIV care disengagement: a case study in Tanzania"],"prefix":"10.1038","volume":"9","author":[{"given":"Waverly","family":"Wei","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Junzhe","family":"Shao","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Rita Qiuran","family":"Lyu","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Rebecca","family":"Hemono","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xinwei","family":"Ma","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Joseph","family":"Giorgio","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Zeyu","family":"Zheng","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Feng","family":"Ji","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xiaoya","family":"Zhang","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Emmanuel","family":"Katabaro","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Matilda","family":"Mlowe","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Amon","family":"Sabasaba","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Caroline","family":"Lister","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Siraji","family":"Shabani","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Prosper","family":"Njau","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Sandra I.","family":"McCoy","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jingshen","family":"Wang","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","published-online":{"date-parts":[[2026,1,21]]},"reference":[{"key":"2349_CR1","doi-asserted-by":"publisher","first-page":"e0272405","DOI":"10.1371\/journal.pone.0272405","volume":"17","author":"L Frescura","year":"2022","unstructured":"Frescura, L. et al. Achieving the 95 95 95 targets for all: a pathway to ending AIDS. PLoS ONE 17, e0272405 (2022).","journal-title":"PLoS ONE"},{"key":"2349_CR2","doi-asserted-by":"publisher","first-page":"e006927","DOI":"10.1136\/bmjopen-2014-006927","volume":"5","author":"M Plazy","year":"2015","unstructured":"Plazy, M., Orne-Gliemann, J., Dabis, F. & Dray-Spira, R. Retention in care prior to antiretroviral treatment eligibility in sub-Saharan Africa: a systematic review of the literature. BMJ Open 5, e006927 (2015).","journal-title":"BMJ Open"},{"key":"2349_CR3","doi-asserted-by":"publisher","first-page":"e0208814","DOI":"10.1371\/journal.pone.0208814","volume":"13","author":"AW Penn","year":"2018","unstructured":"Penn, A. W. et al. Supportive interventions to improve retention on ART in people with HIV in low- and middle-income countries: a systematic review. PLOS ONE 13, e0208814 (2018).","journal-title":"PLOS ONE"},{"key":"2349_CR4","doi-asserted-by":"publisher","first-page":"e762","DOI":"10.1016\/S2352-3018(20)30230-7","volume":"7","author":"CA Fahey","year":"2020","unstructured":"Fahey, C. A. et al. Financial incentives to promote retention in care and viral suppression in adults with HIV initiating antiretroviral therapy in Tanzania: a three-arm randomised controlled trial. Lancet HIV 7, e762\u2013e771 (2020).","journal-title":"Lancet HIV"},{"key":"2349_CR5","doi-asserted-by":"publisher","first-page":"S1","DOI":"10.1097\/QAD.0000000000002888","volume":"35","author":"B Olatosi","year":"2021","unstructured":"Olatosi, B., Vermund, S. H. & Li, X. Power of Big Data in ending HIV. AIDS 35, S1\u2013S5 (2021).","journal-title":"AIDS"},{"key":"2349_CR6","first-page":"1","volume":"14","author":"MO Akanbi","year":"2012","unstructured":"Akanbi, M. O. et al. Use of electronic health records in sub-Saharan Africa: progress and challenges. J. Med Trop. 14, 1\u20136 (2012).","journal-title":"J. Med Trop."},{"key":"2349_CR7","unstructured":"Audere & Desmond Tutu Health Foundation. Artificial intelligence to enhance HIV prevention in age ofdisruptions: Recommendations from the Audere and Desmond Tutu Health Foundation expert consultation. Audere Africa (2025)."},{"key":"2349_CR8","doi-asserted-by":"publisher","first-page":"e0000720","DOI":"10.1371\/journal.pgph.0000720","volume":"2","author":"CA Fahey","year":"2022","unstructured":"Fahey, C. A. et al. Machine learning with routine electronic medical record data to identify people at high risk of disengagement from HIV care in Tanzania. PLOS Glob. Public Health 2, e0000720 (2022).","journal-title":"PLOS Glob. Public Health"},{"key":"2349_CR9","unstructured":"Meta AI. The Llama 3 herd of models. https:\/\/ai.meta.com\/research\/publications\/the-llama-3-herdof-models\/ (2024)."},{"key":"2349_CR10","doi-asserted-by":"publisher","unstructured":"Bedi, S. et al. Testing and evaluation of health care applications of large language models: a systematic review. JAMA. https:\/\/doi.org\/10.1001\/jama.2024.21700. (2024).","DOI":"10.1001\/jama.2024.21700"},{"key":"2349_CR11","doi-asserted-by":"publisher","first-page":"1930","DOI":"10.1038\/s41591-023-02448-8","volume":"29","author":"AJ Thirunavukarasu","year":"2023","unstructured":"Thirunavukarasu, A. J. et al. Large language models in medicine. Nat. Med. 29, 1930\u20131940 (2023).","journal-title":"Nat. Med."},{"key":"2349_CR12","doi-asserted-by":"publisher","first-page":"e0002105","DOI":"10.1371\/journal.pgph.0002105","volume":"3","author":"RT Esra","year":"2023","unstructured":"Esra, R. T. et al. Historical visit attendance as predictor of treatment interruption in South African HIV patients: extension of a validated machine learning model. PLOS Glob. Public Health 3, e0002105 (2023).","journal-title":"PLOS Glob. Public Health"},{"key":"2349_CR13","doi-asserted-by":"publisher","DOI":"10.1038\/s41598-022-16062-0","volume":"12","author":"M Maskew","year":"2022","unstructured":"Maskew, M. et al. Applying machine learning and predictive modeling to retention and viral suppression in South African HIV treatment cohorts. Sci. Rep. 12, 12715 (2022).","journal-title":"Sci. Rep."},{"key":"2349_CR14","doi-asserted-by":"publisher","first-page":"e088782","DOI":"10.1136\/bmjopen-2024-088782","volume":"14","author":"Z Xie","year":"2024","unstructured":"Xie, Z. et al. Prevention of adverse HIV treatment outcomes: machine learning to enable proactive support of people at risk of HIV care disengagement in Tanzania. BMJ Open 14, e088782 (2024).","journal-title":"BMJ Open"},{"key":"2349_CR15","unstructured":"PEPFAR Fiscal Year 2023 Monitoring, Evaluation, and Reporting (MER) Indicators. United States Department of State. https:\/\/www.state.gov\/pepfar-fy-2023-mer-indicators\/ (accessed Dec 20, 2024)."},{"key":"2349_CR16","doi-asserted-by":"publisher","unstructured":"Fang, X. et al. Large Language Models(LLMs) on Tabular Data: Prediction, Generation, and Understanding -- A Survey. https:\/\/doi.org\/10.48550\/arXiv.2402.17944. (2024).","DOI":"10.48550\/arXiv.2402.17944"},{"key":"2349_CR17","doi-asserted-by":"publisher","unstructured":"Yu, B., Fu, C., Yu, H., Huang, F. & Li Y. Unified language representation for question answering over text, tables, andimages. In Findings of the Association for Computational Linguistics: ACL 2023, 4756\u20134765, https:\/\/doi.org\/10.18653\/v1\/2023.findings-acl.292 (Toronto, Canada, 2023).","DOI":"10.18653\/v1\/2023.findings-acl.292"},{"key":"2349_CR18","doi-asserted-by":"crossref","unstructured":"Gong, H. et al. TableGPT: Few-shot Table-to-Text Generation with Table Structure Reconstruction and Content Matching. In Proc. 28th International Conference on Computational Linguistics. Barcelona, Spain (Online) (eds Scott D., Bel N., Zong C.) 1978\u20131988 (International Committee on Computational Linguistics, 2020).","DOI":"10.18653\/v1\/2020.coling-main.179"},{"key":"2349_CR19","unstructured":"Hegselmann, S. et al. TabLLM: few-shot classification of tabular data with large language models. In Proc. 26th International Conference on Artificial Intelligence and Statistics (PMLR, 2023)."},{"key":"2349_CR20","doi-asserted-by":"publisher","unstructured":"Hu, E. J. et al. LoRA: Low-Rank Adaptation of Large Language Models. https:\/\/doi.org\/10.48550\/arXiv.2106.09685. (2021).","DOI":"10.48550\/arXiv.2106.09685"},{"key":"2349_CR21","unstructured":"Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V. & Gulin, A. CatBoost: unbiased boosting with categorical features. In Proc. 32nd International Conference on Neural Information Processing Systems (Curran Associates Inc., 2018)."},{"key":"2349_CR22","doi-asserted-by":"publisher","first-page":"171","DOI":"10.1023\/A:1010920819831","volume":"45","author":"DJ Hand","year":"2001","unstructured":"Hand, D. J. & Till, R. J. A simple generalisation of the area under the ROC curve for multiple class classification problems. Mach. Learn. 45, 171\u2013186 (2001).","journal-title":"Mach. Learn."},{"key":"2349_CR23","unstructured":"Vaswani, A. et al. Attention is all you need. In Proc. 31st International Conference on Neural Information Processing System. 6000\u20136010 (Curran Associates Inc., 2017)."},{"key":"2349_CR24","doi-asserted-by":"crossref","unstructured":"Yeh, C. et al. AttentionViz: a global view of transformer attention. In IEEE Trans Visual Comput Graphics (IEEE, 2023).","DOI":"10.1109\/TVCG.2023.3327163"}],"container-title":["npj Digital Medicine"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.nature.com\/articles\/s41746-026-02349-3","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41746-026-02349-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41746-026-02349-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,18]],"date-time":"2026-02-18T17:08:22Z","timestamp":1771434502000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.nature.com\/articles\/s41746-026-02349-3"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,21]]},"references-count":24,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2026,12]]}},"alternative-id":["2349"],"URL":"https:\/\/doi.org\/10.1038\/s41746-026-02349-3","relation":{},"ISSN":["2398-6352"],"issn-type":[{"value":"2398-6352","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,21]]},"assertion":[{"value":"25 February 2025","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"7 January 2026","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"21 January 2026","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"The authors declare no competing interests.","order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"165"}}