Streamlining tuberculosis detection with foundation model-based weakly supervised transformer

Tuberculosis (TB) remains a major global health challenge, particularly in low- and middle-income countries. Traditional microscopy-based diagnostics are labor-intensive and error-prone, while automated deep learning models often require detailed expert annotations and intensive preprocessing, limiting their scalability. To address these challenges, we propose a weakly supervised approach for detecting Mycobacterium tuberculosis (MTB) in microscopy images, leveraging UNI, a foundation model pretrained on millions of pathology images. Our method encodes microscopy images as sequences of patch-level embeddings using UNI and applies a Transformer encoder to classify each image using only image-level labels, without requiring detailed annotations. This framework minimizes preprocessing, reduces annotation costs, and enhances scalability. Our model was trained and tested on large, diverse datasets, achieving high PR-AUC scores (0.943-0.974), demonstrating strong performance and robustness. This success highlights the potential of our approach, which introduces two key innovations not previously explored for automated TB detection: leveraging cross-domain transfer learning by applying UNI for MTB detection and using a weakly supervised approach that relies only on image-level labels, significantly reducing the annotation burden compared to traditional fully supervised methods. Our results underscore the feasibility of foundation models in TB diagnostics and broader medical imaging applications. This scalable, weakly supervised approach demonstrates promising experimental results, highlighting its potential to significantly reduce annotation requirements and streamline TB detection workflows, particularly relevant to resource-limited settings.

Authors

Institutions

Publication Details

Journal
Computers in Biology and Medicine
Published
2025-06-24
DOI
https://doi.org/10.1016/j.compbiomed.2025.110554
Citations
2
Primary Topic
COVID-19 diagnosis using AI
Type
article
Field-Weighted Citation Impact
2.72
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Streamlining tuberculosis detection with foundation model-based weakly supervised transformer

Yusen Eason Lin, N Foster, Zsolt Bedőházi, István Csabai et al.
2 citations
Computers in Biology and Medicine
COVID-19 diagnosis using AI
2.72
article

Streamlining tuberculosis detection with foundation model-based weakly supervised transformer

Yusen Eason Lin, N Foster, Zsolt Bedőházi, István Csabai, András Biricz
article en
2 citations

Abstract

Tuberculosis (TB) remains a major global health challenge, particularly in low- and middle-income countries. Traditional microscopy-based diagnostics are labor-intensive and error-prone, while automated deep learning models often require detailed expert annotations and intensive preprocessing, limiting their scalability. To address these challenges, we propose a weakly supervised approach for detecting Mycobacterium tuberculosis (MTB) in microscopy images, leveraging UNI, a foundation model pretrained on millions of pathology images. Our method encodes microscopy images as sequences of patch-level embeddings using UNI and applies a Transformer encoder to classify each image using only image-level labels, without requiring detailed annotations. This framework minimizes preprocessing, reduces annotation costs, and enhances scalability. Our model was trained and tested on large, diverse datasets, achieving high PR-AUC scores (0.943-0.974), demonstrating strong performance and robustness. This success highlights the potential of our approach, which introduces two key innovations not previously explored for automated TB detection: leveraging cross-domain transfer learning by applying UNI for MTB detection and using a weakly supervised approach that relies only on image-level labels, significantly reducing the annotation burden compared to traditional fully supervised methods. Our results underscore the feasibility of foundation models in TB diagnostics and broader medical imaging applications. This scalable, weakly supervised approach demonstrates promising experimental results, highlighting its potential to significantly reduce annotation requirements and streamline TB detection workflows, particularly relevant to resource-limited settings.

Computers in Biology and MedicineVol. 195
Eötvös Loránd University (HU), National Kaohsiung Normal University (TW), Artificial Intelligence in Medicine (Canada) (CA)
Zero hunger
Openalex Percentile: Top 10%
COVID-19 diagnosis using AI
2.72
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.