Explainable Lung Disease Detection on Chest X-Ray Images Using Gradient-Weighted Class Activation Mapping
Downloads
Early detection of respiratory diseases such as Coronavirus Disease-19 (COVID-19) and pneumonia are crucial for accelerating treatment and preventing more serious complications. This study proposes a method for classifying chest X-ray (CXR) images using a Convolutional Neural Network (CNN) to distinguish between COVID-19, pneumonia, and lung normal. Training model involves exploring various hyperparameter combinations to find the optimal configuration. The best results were achieved with a learning rate of 0.001, 50 epochs, and a batch size of 32, with an accuracy of 96.33%. Evaluation was performed using accuracy, precision, recall, and F1- score metrics, as well as a confusion matrix. This study used Gradient- Weighted Class Activation Mapping (Grad-CAM) as a transparent interpretation tool for model decisions. The main contribution of this study is the application of Grad-CAM in multi-class CXR classification to improve model interpretability in lung disease diagnosis
W. W. Timur, F. B. Sabiti, and N. L. Amajida, “Relationship Between Therapy Patterns and The Quality of Life of Patients with Pulmonary Tuberculosis at The Pati Community Health Center,” Jurnal Pharmacy & Science Indonesia, Vol. 6, No. 2, Pp. 126–130, Jan. 2024,
Doi: 10.52216/Jfsi.Vol6no2p126-130.
S. Prasad Koyyada and T. P. Singh, “An Explainable Artificial Intelligence Model for Identifying Local Indicators and Detecting Lung Disease from Chest X-Ray Images,” Healthcare Analytics, Vol. 4, P. 100206, Dec. 2023,
Doi: 10.1016/J.Health.2023.100206.
I. Benlala, F. Laurent, and G. Dournes, “Structural and Functional Changes in Copd: What We Have Learned from Imaging,” Respirology, Vol. 26, No. 8, Pp. 731–741, Aug. 2021,
Doi: 10.1111/Resp.14047.
R. Mulyadi, R. Rahmawati, E. Arief, E. Syahril, and B. Natsir, “Radiological Findings on Chest X- Rays in Hospitalized Patients Diagnosed with Community-Acquired Pneumonia,” Prepotif: Journal of Public Health, Vol. 8, No. 2, Pp. 2916–2928, Jul. 2024, Doi:10.31004/Prepotif.V8i2.29570.
D. Cozzi Et Al., “Ground-Glass Opacity (Ggo): A Review of The Differential Diagnosis in The Era of Covid- 19,” Jpn J Radiol, Vol. 39, No. 8, Pp. 721–732, Aug. 2021, Doi: 10.1007/S11604-021-01120-W.
M. Jafari-Oori Et Al., “Acute Respiratory Distress Syndrome and Covid-19: A Scoping Review and Meta- Analysis,” 2021, Pp. 211–228.
Doi: 10.1007/978-3-030-59261-5_18.
R. Klangbunrueang, P. Pookduang, W. Chansanam, and T. Lunrasri, “Ai-Powered Lung Cancer Detection: Assessing Vgg16 and Cnn Architectures for Ct Scan Image Classification,” Informatics, Vol. 12, No. 1, P. 18, Feb. 2025,
Doi: 10.3390/Informatics12010018.
S. Kumar Et Al., “Litecovidnet: A Lightweight Deep Neural Network Model for Detection of Covid-19 Using X-Ray Images,” Int J Imaging Syst Technol, Vol. 32, No. 5, Pp. 1464–1480, Sep. 2022,
Doi: 10.1002/Ima.22770.
N. Nurkhasanah and M. Murinto, “Classification of Facial Skin Diseases Using The Convolutional Neural Network Method,” Sainteks, Vol. 18, No. 2, P. 183, Feb. 2022,
Doi: 10.30595/Sainteks.V18i2.13188.
K. J. Aditya, I. Kanedi, and A. Sudarsono, “Edge Detection Segmentation in Digital Images of Adult Bone Fractures Using The Sobel Method and The Prewitt Method,” Djtechno: Journal of Information Technology, Vol. 3, No. 2, Pp. 224–233, Dec. 2022, Doi: 10.46576/Djtechno.V3i2.2735.
L. Stanković and D. Mandic, “Convolutional Neural Networks Demystified: A Matched Filtering Perspective-Based Tutorial,” Ieee Transactions on Systems, Man, and Cybernetics: Systems, Vol. 53, No. 6, Pp. 3614–3628, June 2023,
Doi: 10.1109/Tsmc.2022.3228597.
G. Kourounis, A. A. Elmahmudi, B. Thomson, J. Hunter, H. Ugail, and C. Wilson, “Computer Image Analysis with Artificial Intelligence: A Practical Introduction to Convolutional Neural Networks for Medical Professionals,” Postgrad Med J, Vol. 99, No. 1178, Pp. 1287–1294, Nov. 2023,
Doi: 10.1093/Postmj/Qgad095.
A. Bherje Et Al., “Design of Deep Learning-Based Approach to Predict Lung Cancer on Ct Scan Images,” in 2024 5th International Conference on Innovative Trends in Information Technology (Icitiit), Ieee, Mar. 2024, Pp. 1–5.
Doi: 10.1109/Icitiit61487.2024.10580370.
H. Huang, M. Wang, Q. Ye, and Z. Zhou, “Diagnosis of Lung Cancer Based on Ct Scans Using Convolutional Neural Networks,” in 2022 International Conference on Data Analytics, Computing and Artificial Intelligence (Icdacai), Ieee, Aug. 2022, Pp. 338–341.
Doi: 10.1109/Icdacai57211.2022.00073.
C. Tejaswini, P. Nagabushanam, P. Rajasegaran, P. R. Johnson, and S. Radha, “Cnn Architecture for Lung Cancer Detection,” in 2022 Ieee 11th International Conference on Communication Systems and Network Technologies (Csnt), Ieee, Apr. 2022, Pp. 346–350.
Doi: 10.1109/Csnt54456.2022.9787650.
S. A. E. Albakia and R. A. Saputra, “Identification of Medicinal Plant Leaf Types Using The Convolutional Neural Network (Cnn) Method with The Vgg16 Model,” Jurnal Informatika Polinema, Vol. 9, No. 4, Pp. 451–460, Aug. 2023,
Doi: 10.33795/Jip.V9i4.1420.
D. R. Sarvamangala and R. V. Kulkarni, “Convolutional Neural Networks in Medical Image Understanding: A Survey,” Evol Intell, Vol. 15, No. 1, Pp. 1–22, Mar. 2022,
Doi: 10.1007/S12065-020-00540-3.
S. Tammina, “Transfer Learning Using Vgg-16 with Deep Convolutional Neural Network for Classifying Images,” International Journal of Scientific and Research Publications (Ijsrp), Vol. 9, No. 10, P. P9420, Oct. 2019,
Doi: 10.29322/Ijsrp.9.10.2019.P9420.
S. Chaudhury and T. Yamasaki, “Robustness of Adaptive Neural Network Optimization Under Training Noise,” Ieee Access, Vol. 9, Pp. 37039–37053, 2021, Doi: 10.1109/Access.2021.3062990.
M. Sah and C. Direkoglu, “A Survey of Deep Learning Methods for Multiple Sclerosis Identification Using Brain Mri Images,” Neural Comput Appl, Vol. 34, No. 10, Pp. 7349–7373, May 2022, Doi: 10.1007/S00521- 022-07099-3.
N. Subaşı, “Comprehensive Analysis of Grid and Randomized Search on Dataset Performance,” European Journal of Engineering and Applied Sciences, Vol. 7, No. 2, Pp. 77–83, Dec. 2024,
Doi: 10.55581/Ejeas.1581494.
B. H. M. Van Der Velden, H. J. Kuijf, K. G. A. Gilhuijs, and M. A. Viergever, “Explainable Artificial Intelligence (Xai) in Deep Learning-Based Medical Image Analysis,” Med Image Anal, Vol. 79, P. 102470, Jul. 2022,
Doi: 10.1016/J.Media.2022.102470.
M. Bhandari, T. B. Shahi, B. Siku, and A. Neupane, “Explanatory Classification of Cxr Images Into Covid-19, Pneumonia and Tuberculosis Using Deep Learning and Xai,” Comput Biol Med, Vol. 150, P. 106156, Nov. 2022,
Doi: 10.1016/J.Compbiomed.2022.106156.
Y. Shen and X. Huang, “A Comparative Visualization Analysis of Neural Network Models Using Grad- Cam,” Science and Technology of Engineering, Chemistry and Environmental Protection, Vol. 1, No. 10, Dec. 2024,
Doi: 10.61173/Yzp9wt79.
Md. Z. Hasan Et Al., “Fast and Efficient Lung Abnormality Identification with Explainable Ai: A Comprehensive Framework for Chest Ct Scan and X-Ray Images,” Ieee Access, Vol. 12, Pp. 31117– 31135, 2024, Doi: 10.1109/Access.2024.3369900.
J.-C. Chien, J.-D. Lee, C.-S. Hu, and C.-T. Wu, “The Usefulness of Gradient-Weighted Cam in Assisting Medical Diagnoses,” Applied Sciences, Vol. 12, No. 15, P. 7748, Aug. 2022,
Doi: 10.3390/App12157748.
Y. Zhang, D. Hong, D. Mcclement, O. Oladosu, G. Pridham, and G. Slaney, "Grad-Cam Helps Interpret The Deep Learning Models Trained to Classify Multiple Sclerosis Types Using Clinical Brain Magnetic Resonance Imaging," J Neurosci Methods, Vol. 353, P. 109098, Apr. 2021,
Doi: 10.1016/J.Jneumeth.2021.109098.
