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 条
  • [21] Explainable AI in Scene Understanding for Autonomous Vehicles in Unstructured Traffic Environments on Indian Roads Using the Inception U-Net Model with Grad-CAM Visualization
    Kolekar, Suresh
    Gite, Shilpa
    Pradhan, Biswajeet
    Alamri, Abdullah
    SENSORS, 2022, 22 (24)
  • [22] An Enhanced Deep Learning Framework for Pneumonia Detection in Chest X-rays
    Asma Binte Rashid
    Jannatul Asma
    Krittika Barua
    Dhrubajyoti Das
    SN Computer Science, 6 (5)
  • [23] Explainable Deep Learning approach for Shoulder Abnormality Detection in X-Rays Dataset
    Mall, Pawan Kumar
    Singh, Pradeep Kumar
    INTERNATIONAL JOURNAL OF NEXT-GENERATION COMPUTING, 2022, 13 (03): : 287 - 304
  • [24] A machine learning approach on chest X-rays for pediatric pneumonia detection
    Barakat, Natali
    Awad, Mahmoud
    Abu-Nabah, Bassam A.
    DIGITAL HEALTH, 2023, 9
  • [25] Inception-based Deep Learning Architecture for Tuberculosis Screening using Chest X-rays
    Das, Dipayan
    Santosh, K. C.
    Pal, Umapada
    2020 25TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2021, : 3612 - 3619
  • [26] Convolution Neural Network With Coordinate Attention for the Automatic Detection of Pulmonary Tuberculosis Images on Chest X-Rays
    Xu, Tianhao
    Yuan, Zhenming
    IEEE ACCESS, 2022, 10 : 86710 - 86717
  • [27] Pneumonia Detection in Chest X-Rays using Transfer Learning and TPUs
    Kundur, Niranjan C.
    Anil, Bellary Chiterki
    Dhulavvagol, Praveen M.
    Ganiger, Renuka
    Ramadoss, Balakrishnan
    ENGINEERING TECHNOLOGY & APPLIED SCIENCE RESEARCH, 2023, 13 (05) : 11878 - 11883
  • [28] A Neutrosophic Set Approach on Chest X-rays for Automatic Lung Infection Detection
    Jennifer, Sofia J.
    Sharmila, Sree T.
    INFORMATION TECHNOLOGY AND CONTROL, 2023, 52 (01): : 37 - 52
  • [29] Detection of COVID-19 from chest X-rays using deep transfer learning
    Vo, Tri-Nhan
    Le, Ngoc-Bich
    Phan, Quoc-Hung
    Le, Thanh-Hai
    Pham, Thi-Thu-Hien
    HEALTH INFORMATICS JOURNAL, 2024, 30 (04)
  • [30] An IoMT-Based Federated and Deep Transfer Learning Approach to the Detection of Diverse Chest Diseases Using Chest X-Rays
    Kakkar, Barkha
    Johri, Prashant
    Kumar, Yogesh
    Park, Hyunwoo
    Son, Youngdoo
    Shafi, Jana
    HUMAN-CENTRIC COMPUTING AND INFORMATION SCIENCES, 2022, 12