arXiv:2610.03256cs.LGOct 2026

Manuscript Offprint

arXiv:2610.03256

Cross-cohort TB classification using clinical data gathered in Uganda and South Africa

Joshua M. Jansen van Vüren, Devendra S. Parihar, Daphne Naidoo, Marisa Klopper, Frank Cobelens, Lutz Kolbe, Kimsey Zajac, Willy Ssengooba, Moses Joloba, Grant Theron, Thomas R. Niesler

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Joshua M. Jansen van Vüren ID∗^{ID*}, Devendra S. Parihar ID∗^{ID*}, Daphne Naidoo ID†^{ID\dagger}, Marisa Klopper ID†^{ID\dagger}, Frank Cobelens ID‡^{ID\ddagger}, Lutz Kolbe ID§^{ID\S}, Kimsey Zajac ID§^{ID\S}, Willy Ssengooba ID^{ID\P}, Moses Joloba ID^{ID\P}, Grant Theron ID†^{ID\dagger}, Thomas R. Niesler ID∗^{ID*}

*Department of Electrical and Electronic Engineering, University of Stellenbosch, Stellenbosch, South Africa

†South African Medical Research Council Centre for Tuberculosis Research (CTR)

Division of Molecular Biology and Human Genetics, Faculty of Medicine and Health Sciences

Stellenbosch University, Cape Town, South Africa

†^{\dagger}Department of Global and Amsterdam Institute for Global Health and Development

Amsterdam University Medical Centers, University of Amsterdam, Amsterdam, The Netherlands

§Faculty of Business and Economics, University of Göttingen, Göttingen, Germany

¶Department of Medical Microbiology, College of Health Sciences

Makerere University, Biomedical Research Center (MAKBRC), Kampala, Uganda

Corresponding authors: jjvanvueren@sun.ac.za, trn@sun.ac.za

Abstract—We present a first evaluation of machine learning applied to patient clinical and demographic data gathered in two different countries for the purpose of tuberculosis (TB) screening to identify people who would benefit from expensive molecular testing. Experiments are based on the recently-compiled CAGE-TB dataset, which includes sub-cohorts of people with presumptive TB presenting at community health care centres in South Africa and Uganda. Three neural network architectures (logistic regression (LR), multilayer perceptrons (MLP) and convolutional neural networks (CNN)) are considered in conjunction with greedy feature selection. For the convolutional neural network, a strategy that jointly optimises feature selection and feature ordering is proposed and shown to lead to consistent development and test set improvements. For all three models, development set area under the receiver operating characteristic (AUROC) curve is improved by 2-7% using feature selection. LR after feature selection achieves an AUROC of 0.8 [0.75,0.86] (95% CI) and 0.84 [0.78,0.9] when testing on the held-out Ugandan and South African data respectively. Although outperforming LR on the development cohort, the deeper networks (MLP, CNN) show inconsistent trends on the held-out cohorts, while LR achieves performance within 1-2% of the best achieved in terms of AUROC. LR narrowly misses the WHO minimum requirements by 4-9% in sensitivity even though the network is being evaluated on a completely held-out cohort. The development of neural-network based classifiers for TB screening therefore appears viable.

Index Terms—tuberculosis, screening, clinical and demographic data, convolutional neural network

I. INTRODUCTION

Despite being treatable, TB remains a primary cause of mortality in lower and middle income countries. A key challenge is that many cases remain undiagnosed, allowing the disease to spread [1]. To address this, the World Health Organisation (WHO) guidelines propose an accessible TB screening tool that achieves 60% specificity at 90% sensitivity as part of a two step screening protocol [2]. Such a tool should ideally be low-cost and scalable and, most importantly, provide an efficient and effective way to identify people presenting at busy primary care clinics who require costly confirmatory molecular testing.

This work describes the development of such a screening method based on easily-obtainable patient-level clinical and demographic information, and machine learning. All the considered clinical and demographic values are either self-reported, or the result of a basic measurement, or the result of a point-of-care test. While such systems have been proposed before, we place specific focus on the robustness of such a classifier to the domain shift of the underlying features associated with a change in the target population. Such a cross-cohort analysis has not yet been reported.

The contributions of our work are as follows.

• We present the first analysis of clinical and demographic data-based TB classification using neural networks across two different countries (South Africa and Uganda).

• We show that such classifiers can be robust to the associated domain shift and therefore may represent a viable approach to TB screening.

• We propose and show the effectiveness of a joint feature selection and ordering strategy allowing the effective application of CNN to unstructured inputs such as clinical and demographic data which do not require any laboratory-based test.

References (24)