XACT-TB an explainable hybrid CNN–swin transformer framework for tuberculosis screening from chest X-ray images

Tuberculosis remains a major global public health challenge, and chest X ray imaging is widely used for population level screening due to its accessibility and low cost. However, existing deep learning approaches based solely on convolutional or transformer architectures often struggle to simultaneously capture complementary local and global representations, while also providing limited interpretability, which restricts clinical trust and deployment. This study aims to develop an interpretable deep learning framework for automated tuberculosis detection from chest X ray images by integrating complementary feature representations with transparent visual explanations. The proposed XACT TB framework is evaluated on a tuberculosis chest X ray database consisting of tuberculosis and normal images collected from public and agreement based sources. Preprocessing includes contrast limited adaptive histogram equalization, noise removal, and controlled data augmentation applied only to the training set to address class imbalance. The architecture employs a dual branch design in which a custom convolutional neural network extracts local discriminative features and provides Grad CAM based visual explanations, while a Swin Transformer models global contextual dependencies with attention map visualization. The extracted features are fused and classified using a support vector machine. The proposed model achieves a ROC AUC of 1.000 and an accuracy of 99.44 percent, with sensitivity of 99.41 percent, specificity of 99.53 percent, precision of 99.37 percent, and F1 score of 99.38 percent on the evaluated dataset. Visual explanations from Grad CAM and transformer attention maps highlight relevant lung regions and provide complementary interpretability without altering the training process. The proposed XACT TB framework provides accurate and interpretable tuberculosis detection from chest X ray images by combining convolutional and transformer based representations with transparent visual explanation. The results demonstrate the potential of the framework to support reliable and explainable computer aided tuberculosis screening under the reported evaluation setting.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2026-06-18
DOI
https://doi.org/10.1007/s44163-026-01509-4
Primary Topic
COVID-19 diagnosis using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

XACT-TB an explainable hybrid CNN–swin transformer framework for tuberculosis screening from chest X-ray images

Md Аsikur Rаhmаn Chy, Md Imtiaz Faruk, Tawfiqur Rahman Sikder, Syed Mohammed Muhive Uddin et al.
Discover Artificial Intelligence
COVID-19 diagnosis using AI
article

XACT-TB an explainable hybrid CNN–swin transformer framework for tuberculosis screening from chest X-ray images

Md Аsikur Rаhmаn Chy, Md Imtiaz Faruk, Tawfiqur Rahman Sikder, Syed Mohammed Muhive Uddin, Mia Md Tofayel Gonee Manik, Mohammed Adnan, Md Jubayar Hossain
article en

Abstract

Tuberculosis remains a major global public health challenge, and chest X ray imaging is widely used for population level screening due to its accessibility and low cost. However, existing deep learning approaches based solely on convolutional or transformer architectures often struggle to simultaneously capture complementary local and global representations, while also providing limited interpretability, which restricts clinical trust and deployment. This study aims to develop an interpretable deep learning framework for automated tuberculosis detection from chest X ray images by integrating complementary feature representations with transparent visual explanations. The proposed XACT TB framework is evaluated on a tuberculosis chest X ray database consisting of tuberculosis and normal images collected from public and agreement based sources. Preprocessing includes contrast limited adaptive histogram equalization, noise removal, and controlled data augmentation applied only to the training set to address class imbalance. The architecture employs a dual branch design in which a custom convolutional neural network extracts local discriminative features and provides Grad CAM based visual explanations, while a Swin Transformer models global contextual dependencies with attention map visualization. The extracted features are fused and classified using a support vector machine. The proposed model achieves a ROC AUC of 1.000 and an accuracy of 99.44 percent, with sensitivity of 99.41 percent, specificity of 99.53 percent, precision of 99.37 percent, and F1 score of 99.38 percent on the evaluated dataset. Visual explanations from Grad CAM and transformer attention maps highlight relevant lung regions and provide complementary interpretability without altering the training process. The proposed XACT TB framework provides accurate and interpretable tuberculosis detection from chest X ray images by combining convolutional and transformer based representations with transparent visual explanation. The results demonstrate the potential of the framework to support reliable and explainable computer aided tuberculosis screening under the reported evaluation setting.

Discover Artificial Intelligence
St. Francis College (US), American Jewish University (US), University of the Cumberlands (US), Department of Administration (GU), University of Gondar (ET)
Reduced inequalities
Openalex Percentile: Top 6%
COVID-19 diagnosis using AI
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.