Enhanced tuberculosis detection using Vision Transformers and explainable AI with a Grad-CAM approach on chest X-rays

被引:0
|
作者
Vanitha, K. [1 ]
Mahesh, T. R. [2 ]
Kumar, V. Vinoth [3 ]
Guluwadi, Suresh [4 ]
机构
[1] Deemed Univ, Karpagam Acad Higher Educ, Fac Engn, Dept Comp Sci & Engn, Coimbatore, India
[2] JAIN Deemed Univ, Dept Comp Sci & Engn, Bengaluru 562112, India
[3] Vellore Inst Technol Univ, Sch Comp Sci, Vellore 632014, India
[4] Adama Sci & Technol Univ, Adama 302120, Ethiopia
来源
BMC MEDICAL IMAGING | 2025年 / 25卷 / 01期
关键词
Tuberculosis detection; Vision Transformer; Chest X-rays; Explainable AI; Grad-CAM; Self-attention; Medical imaging; Deep learning; Diagnostic accuracy; Convolutional neural networks;
D O I
10.1186/s12880-025-01630-3
中图分类号
R8 [特种医学]; R445 [影像诊断学];
学科分类号
1002 ; 100207 ; 1009 ;
摘要
Tuberculosis (TB), caused by Mycobacterium tuberculosis, remains a leading global health challenge, especially in low-resource settings. Accurate diagnosis from chest X-rays is critical yet challenging due to subtle manifestations of TB, particularly in its early stages. Traditional computational methods, primarily using basic convolutional neural networks (CNNs), often require extensive pre-processing and struggle with generalizability across diverse clinical environments. This study introduces a novel Vision Transformer (ViT) model augmented with Gradient-weighted Class Activation Mapping (Grad-CAM) to enhance both diagnostic accuracy and interpretability. The ViT model utilizes self-attention mechanisms to extract long-range dependencies and complex patterns directly from the raw pixel information, whereas Grad-CAM offers visual explanations of model decisions about highlighting significant regions in the X-rays. The model contains a Conv2D stem for initial feature extraction, followed by many transformer encoder blocks, thereby significantly boosting its ability to learn discriminative features without any pre-processing. Performance testing on a validation set had an accuracy of 0.97, recall of 0.99, and F1-score of 0.98 for TB patients. On the test set, the model has accuracy of 0.98, recall of 0.97, and F1-score of 0.98, which is better than existing methods. The addition of Grad-CAM visuals not only improves the transparency of the model but also assists radiologists in assessing and verifying AI-driven diagnoses. These results demonstrate the model's higher diagnostic precision and potential for clinical application in real-world settings, providing a massive improvement in the automated detection of TB.
引用
收藏
页数:16
相关论文
共 50 条
  • [41] Pneumonia Detection: A Comprehensive Study of Diverse Neural Network Architectures using Chest X-Rays
    Akbar, Wajahat
    Soomro, Abdullah
    Hussain, Altaf
    Hussain, Tariq
    Ali, Farman
    Haq, Muhammad Inam Ul
    Attar, Raaz Waheeb
    Alhomoud, Ahmed
    Alzubi, Ahmad Ali
    Alsagri, Reem
    INTERNATIONAL JOURNAL OF APPLIED MATHEMATICS AND COMPUTER SCIENCE, 2024, 34 (04) : 679 - 699
  • [42] Tuberculosis chest X-ray detection using CNN-based hybrid segmentation and classification approach
    Iqbal, Ahmed
    Usman, Muhammad
    Ahmed, Zohair
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2023, 84
  • [43] Covid-19 detection using chest X-rays: is lung segmentation important for generalization?
    Bassi P.R.A.S.
    Attux R.
    Research on Biomedical Engineering, 2022, 38 (04) : 1121 - 1139
  • [44] Automated Pneumoconiosis Detection on Chest X-Rays Using Cascaded Learning with Real and Synthetic Radiographs
    Wang, Dadong
    Arzhaeva, Yulia
    Devnath, Liton
    Qiao, Maoying
    Amirgholipour, Saeed
    Liao, Qiyu
    McBean, Rhiannon
    Hillhouse, James
    Luo, Suhuai
    Meredith, David
    Newbigin, Katrina
    Yates, Deborah
    2020 DIGITAL IMAGE COMPUTING: TECHNIQUES AND APPLICATIONS (DICTA), 2020,
  • [45] Reducing False Positives for Lung Nodule Detection in Chest X-rays using Cascading CNN
    Liu, Chenglin
    Wang, Binquan
    Jiao, Qinglei
    Zhu, Ming
    PROCEEDINGS OF THE 2019 14TH IEEE CONFERENCE ON INDUSTRIAL ELECTRONICS AND APPLICATIONS (ICIEA 2019), 2019, : 1204 - 1207
  • [46] Reliable Sarcoidosis Detection Using Chest X-rays with EfficientNets and Stain-Normalization Techniques
    Baghdadi, Nadiah
    Maklad, Ahmed S.
    Malki, Amer
    Deif, Mohanad A.
    SENSORS, 2022, 22 (10)
  • [47] An Efficient Method to Predict Pneumonia from Chest X-Rays Using Deep Learning Approach
    Shah, Uzair
    Abd-Alrazeq, Alaa
    Alam, Tanvir
    Househ, Mowafa
    Shah, Zubair
    IMPORTANCE OF HEALTH INFORMATICS IN PUBLIC HEALTH DURING A PANDEMIC, 2020, 272 : 457 - 460
  • [48] Diagnosing Heart Disease Types From Chest X-Rays Using A Deep Learning Approach
    Sadeghian, Roozbeh
    Aram, Siamak
    Abdellatif, Iheb
    Nwoji, Stanley
    2019 6TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI 2019), 2019, : 910 - 913
  • [49] Detection and Visualisation of Pneumoconiosis Using an Ensemble of Multi-Dimensional Deep Features Learned from Chest X-rays
    Devnath, Liton
    Fan, Zongwen
    Luo, Suhuai
    Summons, Peter
    Wang, Dadong
    INTERNATIONAL JOURNAL OF ENVIRONMENTAL RESEARCH AND PUBLIC HEALTH, 2022, 19 (18)
  • [50] Covid-19 Detection From Chest X-Rays Using Modified VGG 16 Model
    Karajah, Eman Naser
    Awad, Mohammad
    2021 INTERNATIONAL CONFERENCE ON PROMISING ELECTRONIC TECHNOLOGIES (ICPET 2021), 2021, : 46 - 51