Scientific article
OA Policy
English

Machine Learning-based Prediction of Active Tuberculosis in People With HIV Using Clinical Data

Published inClinical infectious diseases, vol. 81, no. 3, p. 521-530
Publication date2025-10-06
Abstract

Background: Coinfections of Mycobacterium tuberculosis (MTB) and human immunodeficiency virus (HIV) impose a substantial global health burden. Patients with MTB infection face a heightened risk of progression to incident active TB, which preventive therapy can mitigate. Current testing methods often fail to identify individuals who subsequently develop incident active TB.

Methods: We developed random forest models to predict incident active TB using patients' medical data at HIV-1 diagnosis. Training our model involved using clinical data routinely collected at enrollment from the Swiss HIV Cohort Study (SHCS). This dataset encompassed 55 people with HIV (PWH) who developed incident active TB 6 months after enrollment and 1432 matched PWH without TB enrolled between 2000 and 2023. External validation used data from the Austrian HIV Cohort Study, comprising 43 people with incident active TB and 1005 people without TB.

Results: We predicted incident active TB with an area under the receiver operating characteristic curve of 0.83 (95% CI: .8-.86) in the SHCS. After adjusting for ethnicity and the region of origin and refitting the model with fewer parameters, we obtained comparable receiver operating characteristic curve values of 0.72 (SHCS) and 0.67 (Austrian HIV Cohort Study). Our model outperformed the standard of care (tuberculin skin test and interferon-gamma release assay) in identifying high-risk patients, demonstrated by a lower number needed to diagnose (1.96 vs 4).

Conclusions: Models based on machine learning offer considerable promise for improving care for PWH, requiring no additional data collection and incurring minimal additional costs while enhancing the identification of PWH that could benefit from preventive TB treatment.

Keywords
  • HIV
  • Clinical risk score
  • Machine learning
  • Prediction
  • Tuberculosis
  • Humans
  • HIV Infections / complications
  • HIV Infections / epidemiology
  • Machine Learning
  • Male
  • Female
  • Tuberculosis / diagnosis
  • Tuberculosis / epidemiology
  • Adult
  • Middle Aged
  • Coinfection / epidemiology
  • ROC Curve
  • Cohort Studies
  • Incidence
  • Mycobacterium tuberculosis
  • Switzerland / epidemiology
Research groups
Citation (ISO format)
BARTL, Lena et al. Machine Learning-based Prediction of Active Tuberculosis in People With HIV Using Clinical Data. In: Clinical infectious diseases, 2025, vol. 81, n° 3, p. 521–530. doi: 10.1093/cid/ciaf149
Main files (1)
Article (Published version)
Secondary files (1)
Appendix
accessLevelPublic
Identifiers
Journal ISSN1058-4838
16views
86downloads

Technical informations

Creation22/10/2025 08:51:38
First validation03/12/2025 15:36:31
Update03/12/2025 15:36:31
Status update03/12/2025 15:36:31
Last indexation03/12/2025 15:36:32
All rights reserved by Archive ouverte UNIGE and the University of GenevaunigeBlack