MATEC Web of Conferences

A comparison of classical machine learning and vision language models for TB diagnostics

Kelvin Mpofu, Nkgaphe Tsebesebe, Sello Manoto

Computational

Key points

From the paper's conclusion
  • These results demonstrate that fine-tuned transformer-based VLM architectures can achieve performance comparable to, and slightly better than, optimized classical machine learning models for TB chest X-ray classification.

Abstract

Tuberculosis (TB) remains a major global health challenge, and timely diagnosis is essential for effective treatment and disease control. Automated analysis of chest X-ray images using machine learning has shown strong potential for supporting clinical diagnostics. Previous studies using hyperparameter-optimized machine learning algorithms, including convolutional neural networks (CNN), support vector machines (SVM), and decision trees, have achieved high classification performance on TB chest X-ray datasets, with accuracies exceeding 98%. In this work, we extend these investigations by evaluating the performance of a fine-tuned vision–language model (VLM) for tuberculosis classification and comparing its performance with traditional machine learning approaches. The study uses a publicly available TB chest X-ray dataset and evaluates models using standard clinical performance metrics, including accuracy, sensitivity, precision, F1-score, and specificity. Traditional optimized models such as SVM, CNN, and decision trees achieved accuracies of 99.58%, 99.50%, and 98.33%, respectively. The proposed VLM-based approach achieved a test accuracy of 99.67%, with precision, recall, and F1-score values of 0.9967. These results demonstrate that fine-tuned transformer-based VLM architectures can achieve performance comparable to, and slightly better than, optimized classical machine learning models for TB chest X-ray classification. The findings highlight the potential of VLMs for AI-assisted medical imaging diagnostics and future multimodal clinical decision-support systems.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

A comparison of classical machine learning and vision language models for TB diagnostics — Science Skim