Related Experiment Video
Updated: Sep 18, 2025

A Swin Transformer-Based Model for Thyroid Nodule Detection in Ultrasound Images
Published on: April 21, 2023
Streamlining tuberculosis detection with foundation model-based weakly supervised transformer
Zsolt Bedőházi1, András Biricz2, Nick Foster3
1ELTE Eötvös Loránd University, Faculty of Informatics, Budapest, Hungary; ELTE Eötvös Loránd University, Department of Complex Systems in Physics, Budapest, Hungary.
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.
Related Concept Videos
Pulmonary Tuberculosis IV
Several diagnostic approaches are used to detect TB. The conventional method is the Tuberculin Skin Test (TST), also known as the Mantoux test. However, this method has...
Pulmonary Tuberculosis II
Here is a detailed explanation of its pathophysiology:
Transmission: The process begins when a person inhales droplet nuclei containing M. tuberculosis. These are typically released into the air when an individual with pulmonary or...
Pulmonary Tuberculosis I
Causative Organism
The primary infectious agent causing tuberculosis is Mycobacterium tuberculosis, a slow-growing, acid-fast, aerobic rod that exhibits sensitivity to heat and ultraviolet light. Instances of Mycobacterium bovis and Mycobacterium avium contributing to the development of TB infection are rare.
Mode of...

