LIME-based Explainable AI classifier to detect COVID-19 pandemic through X-ray images

Authors

DOI:

https://doi.org/10.21015/vtcs.v14i1.2220

Abstract

The term “black box” is used in the field of artificial intelligence to describe the lack of transparency between the model and its users. This work proposes the Explainable AI classifier, a major model for detecting COVID-19 using X-ray pictures, a topic that is at the cutting edge of research in the area of medical image analysis. The purpose of this research is to look at the process by which a model diagnoses a disease based on X-ray pictures. Create a COVID-19 radiography dataset, which includes evaluated lung images of 3616 COVID-19-positive cases and 10192 normal cases that can be accessed by the public. Which features of the image influence the results are identified with the help of the LIME method. The superpixels are categorized by the model and then shown with the help of the LimeImageExplainer function. It's very apparent how the model arrives at its results. With 97% accuracy, 94% precision, and 99.9% recall, the proposed approach exceeds the state-of-the-art model.

References

F. Ullah, J. Moon, H. Naeem, and S. Jabbar, “Explainable artificial intelligence approach in combating real-time surveillance of COVID-19 pandemic from CT scan and X-ray images using ensemble model,” Journal of Supercomputing, vol. 78, no. 4, 2022, doi: 10.1007/s11227-022-04631-z.

D. Gunning et al., “XAI—Explainable artificial intelligence,” Science Robotics, vol. 4, no. 37, 2019, doi: 10.1126/scirobotics.aay7120.

P. P. Angelov et al., “Explainable artificial intelligence: An analytical review,” Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 11, no. 5, 2021, doi: 10.1002/widm.1424.

R. M. A. Latif et al., “Retail level blockchain transformation for product supply chain using truffle development platform,” Cluster Computing, vol. 24, no. 1, 2021, doi: 10.1007/s10586-020-03165-4.

F. K. Dosilovic, M. Brcic, and N. Hlupic, “Explainable artificial intelligence: A survey,” in Proc. 41st Int. Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), 2018, pp. 210–215, doi: 10.23919/MIPRO.2018.8400040.

E. Tjoa and C. Guan, “A survey on explainable artificial intelligence (XAI): Toward medical XAI,” IEEE Transactions on Neural Networks and Learning Systems, vol. 32, no. 11, pp. 4793–4813, 2021, doi: 10.1109/TNNLS.2020.3027314.

B. H. M. van der Velden et al., “Explainable artificial intelligence (XAI) in deep learning-based medical image analysis,” Medical Image Analysis, vol. 79, 2022, doi: 10.1016/j.media.2022.102470.

W. El-Shafai et al., “Classification framework for COVID-19 diagnosis based on deep CNN models,” Intelligent Automation and Soft Computing, vol. 31, no. 3, pp. 1561–1575, 2021, doi: 10.32604/iasc.2022.020386.

F. Gabbay et al., “A LIME-based explainable machine learning model for predicting the severity level of COVID-19 diagnosed patients,” Applied Sciences, vol. 11, no. 21, p. 10417, 2021, doi: 10.3390/app112110417.

S. Jabbar et al., “VISTA: Achieving cumulative vision through energy efficient silhouette recognition of mobile targets through collaboration of visual sensor nodes,” EURASIP Journal on Image and Video Processing, vol. 2014, no. 1, pp. 1–24, 2014, doi: 10.1186/1687-5281-2014-32.

G. Jia, H. K. Lam, and Y. Xu, “Classification of COVID-19 chest X-ray and CT images using a type of dynamic CNN modification method,” Computers in Biology and Medicine, vol. 134, 2021, doi: 10.1016/j.compbiomed.2021.104425.

D. Arias-Garzón et al., “COVID-19 detection in X-ray images using convolutional neural networks,” Machine Learning with Applications, vol. 6, p. 100138, 2021, doi: 10.1016/j.mlwa.2021.100138.

S. Al-Jumaili et al., “Classification of COVID-19 affected CT images using a hybrid approach based on deep transfer learning and machine learning,” 2022, doi: 10.21203/rs.3.rs-1541093/v1.

M. A. Khan et al., “COVID-19 classification from chest X-ray images: A framework of deep explainable artificial intelligence,” Computational Intelligence and Neuroscience, 2022, doi: 10.1155/2022/4254631.

M. Hussain et al., “CRAM: A conditioned reflex action inspired adaptive model for context addition in wireless sensor networks,” Journal of Sensors, 2016, doi: 10.1155/2016/6319830.

A. Channa, N. Popescu, and N. U. R. Malik, “Robust technique to detect COVID-19 using chest X-ray images,” in Proc. IEEE Int. Conf. on E-Health and Bioengineering (EHB), 2020, pp. 1–6, doi: 10.1109/EHB50910.2020.9280216.

I. Chouat et al., “COVID-19 detection in CT and CXR images using deep learning models,” Biogerontology, vol. 23, no. 1, pp. 65–84, 2022, doi: 10.1007/s10522-021-09946-7.

M. Ahmad et al., “End-to-end loss based TCP congestion control mechanism as a secured communication technology for smart healthcare enterprises,” IEEE Access, vol. 6, pp. 11641–11656, 2018, doi: 10.1109/ACCESS.2018.2802841.

D. Yang et al., “Detection and analysis of COVID-19 in medical images using deep learning techniques,” Scientific Reports, vol. 11, no. 1, pp. 1–13, 2021, doi: 10.1038/s41598-021-99015-3.

L. Sarker, T. Hannan, and Z. Ahmed, “COVID-DenseNet: A deep learning architecture to detect COVID-19 from chest radiology images,” 2021. [Online]. Available: https://github.com/mmiemon/

H. Alshazly et al., “Explainable COVID-19 detection using chest CT scans and deep learning,” Sensors, vol. 21, no. 2, p. 455, 2021, doi: 10.3390/s21020455.

M. Hussain et al., “A gateway deployment heuristic for enhancing the availability of sensor grids,” Journal of Sensors, 2016.

L. S. Xiao et al., “Development and validation of a deep learning-based model using computed tomography imaging for predicting disease severity of coronavirus disease 2019,” Frontiers in Bioengineering and Biotechnology, vol. 8, p. 556882, 2020, doi: 10.3389/fbioe.2020.00898.

F. Shan et al., “Lung infection quantification of COVID-19 in CT images with deep learning,” Medical Physics, vol. 48, no. 4, pp. 1633–1645, 2020, doi: 10.1002/mp.14609.

V. Madaan et al., “XCOVNet: Chest X-ray image classification for COVID-19 early detection using convolutional neural networks,” New Generation Computing, vol. 39, no. 3–4, pp. 583–597, 2021, doi: 10.1007/s00354-021-00121-7.

P. J. Green, K. Łatuszyński, M. Pereyra, and C. P. Robert, “Bayesian computation: A summary of the current state, and samples backwards and forwards,” Statistics and Computing, vol. 25, no. 4, pp. 835–862, 2015, doi: 10.1007/s11222-015-9574-5.

C. T. Yen and Y. Tsao, “Lightweight CNN for rapid COVID-19 diagnosis from chest X-rays,” Scientific Reports, vol. 14, pp. 1–12, 2024, doi: 10.1038/s41598-024-78901-2.

A. Karim et al., “RGFSAMNet: Region-based feature fusion with attention mechanism for COVID-19 detection,” medRxiv, preprint, 2024, doi: 10.1101/2024.01.15.24301234.

F. Bayram and N. Özbaltan, “Comparative analysis of CNN models for COVID-19 detection from chest X-rays,” SETSCI Conference Proceedings, vol. 22, pp. 39–44, 2025, doi: 10.36287/setsci.22.39.001.

M. Azhar et al., “Impact of CLAHE preprocessing on deep learning performance for COVID-19 detection,” International Journal of Advanced Computer Science and Applications, vol. 16, no. 1, pp. 1–9, 2025, doi: 10.14569/IJACSA.2025.0160161.

Downloads

Published

2026-02-24

How to Cite

Rana, M., Khan , N. A., & Hussain , M. (2026). LIME-based Explainable AI classifier to detect COVID-19 pandemic through X-ray images. VAWKUM Transactions on Computer Sciences, 14(1), 28–39. https://doi.org/10.21015/vtcs.v14i1.2220