Chest X-Ray Based Pulmonary Tuberculosis Classification Using Transfer Learning with DenseNet121 and Convolutional Block Attention Module (CBAM)
Year: 2026
Type: article
Abstract: Pulmonary tuberculosis is one of the infectious diseases with a high morbidity rate, requiring an accurate and efficient diagnostic support system based on chest X-ray images. This study aims to develop and evaluate a pulmonary tuberculosis classification model using the DenseNet121 architecture and DenseNet121 combined with the Convolutional Block Attention Module (CBAM) with a transfer learning approach. The research design is experimental using a dataset of 3.008 chest X-ray images consisting of 2.494 tuberculosis and 514 normal images, divided into two data partitioning scenarios, namely 60:20:20 and 70:15:15 for training, validation, and testing data. The training process was carried out for 20 epochs using the Adam optimizer. Model performance evaluation was carried out using accuracy, precision, recall, F1-score, and confusion matrix metrics. The results showed that the DenseNet121 model without the attention mechanism achieved an accuracy of 99% in both data division scenarios. Meanwhile, the DenseNet121 + CBAM model produced improved performance with accuracy, precision, recall, and F1-score values of 1.00 on the test data, with no False Positive or False Negative errors found. These findings indicate that the integration of CBAM can improve the model's ability to extract relevant features and increase the sensitivity of pulmonary tuberculosis detection. Overall, this study shows that the application of the attention mechanism in the DenseNet121 architecture has the potential to improve the performance of chest X-ray-based pulmonary tuberculosis classification systems.
Authors: Ikfina Kamaliya Rizqi, Catur Supriyanto
Institution: Universitas Dian Nuswantoro
Language: English
Topic: COVID-19 diagnosis using AI
Subfield: Radiology, Nuclear Medicine and Imaging
Field: Medicine
Domain: Health Sciences
Open Access status: gold
Estimated APC paid: $35
OpenAlex ID: W7160923720
