Back

Beyond isolated cough events: AI-based tuberculosis screening through temporal analysis of cough sounds

Ma, N.; Mirheidari, B.; Brown, G. J.; Muyoyeta, M. M.; Sanjase, N.; Maimbolwa, M. M.; Chifwamba, S.; Muzazu, S.; Kagujje, M.

2026-07-13 infectious diseases
10.64898/2026.07.08.26357519 medRxiv
Show abstract

Tuberculosis (TB) is a major global health challenge, with many cases remaining undiagnosed due to limited access to screening and diagnostic services. Artificial intelligence (AI) systems based on cough sound analysis offer a scalable and accessible approach to TB screening, but most previous studies have analysed isolated cough events, despite the possibility that diagnostically useful information is encoded in the temporal dynamics of cough episodes. We evaluated an AI-based screening framework using cough recordings collected under real-world clinical conditions from 500 participants in Zambia, including 201 individuals with bacteriologically confirmed TB, 150 symptomatic patients with other respiratory diseases, and 149 healthy controls. Using multiple pre-trained speech foundation models fine-tuned on cough sounds, we systematically investigated the influence of temporal context by varying the audio input window from 1 to 6 s, measured from the onset of each cough episode. Across all evaluated models, diagnostic performance consistently peaked with a 3 s input window, indicating that useful information extends beyond individual cough events and is encoded within the short-term temporal dynamics of cough episodes. The best audio-only model achieved an area under the receiver operating characteristic curve (AUROC) of 85.2% for distinguishing TB from all other participants and 80.1% for distinguishing TB from symptomatic non-TB respiratory disease. Incorporating demographic and clinical variables improved AUROC to 92.1% and 84.2%, respectively. Performance remained robust across recording devices, participants with HIV co-infection, and varying acoustic conditions. These findings demonstrate that preserving temporal context improves AI-based cough screening for TB and suggest that analysing cough episodes, rather than isolated cough events, may enhance diagnostic performance in real-world settings. More broadly, the results highlight the importance of temporal context in the design of future respiratory sound datasets and AI-based diagnostic systems.

Matching journals

The top 5 journals account for 50% of the predicted probability mass.

1
PLOS Digital Health
106 papers in training set
Top 0.1%
19.5%
2
Scientific Reports
3612 papers in training set
Top 2%
13.6%
3
Epidemics
116 papers in training set
Top 0.2%
8.3%
4
PLOS Global Public Health
344 papers in training set
Top 2%
8.3%
5
PLOS ONE
5266 papers in training set
Top 23%
7.1%
50% of probability mass above
6
PLOS Computational Biology
1863 papers in training set
Top 8%
4.3%
7
Nature Communications
5641 papers in training set
Top 44%
1.8%
8
IEEE Access
35 papers in training set
Top 0.6%
1.8%
9
Royal Society Open Science
214 papers in training set
Top 3%
1.8%
10
Journal of The Royal Society Interface
235 papers in training set
Top 3%
1.6%
11
Communications Medicine
113 papers in training set
Top 2%
1.6%
12
iScience
1154 papers in training set
Top 20%
1.5%
13
eLife
5828 papers in training set
Top 53%
1.4%
14
Open Forum Infectious Diseases
142 papers in training set
Top 2%
1.2%
15
BMC Infectious Diseases
133 papers in training set
Top 3%
1.2%
16
npj Digital Medicine
118 papers in training set
Top 3%
1.1%
17
Nature Medicine
125 papers in training set
Top 3%
1.1%
18
eBioMedicine
183 papers in training set
Top 5%
1.0%
19
Heliyon
152 papers in training set
Top 7%
0.9%
20
Frontiers in Digital Health
24 papers in training set
Top 1%
0.9%
21
Journal of Medical Internet Research
87 papers in training set
Top 3%
0.6%
22
European Respiratory Journal
59 papers in training set
Top 2%
0.5%
23
Biology Methods and Protocols
61 papers in training set
Top 3%
0.5%
24
The Journal of Infectious Diseases
202 papers in training set
Top 5%
0.5%
25
BMC Medicine
176 papers in training set
Top 6%
0.5%
26
American Journal of Epidemiology
67 papers in training set
Top 2%
0.5%