Computationally Efficient Explainable AI Framework for Skin Cancer Detection
Volume 11, Issue 1, Page No 11–24, 2026
Adv. Sci. Technol. Eng. Syst. J. 11(1), 11–24 (2026);
DOI: 10.25046/aj110102
Keywords: Skin Cancer, Convolutional Neural Networks (CNN), Bacterial Foraging Optimization (BFO), Principal Component Analysis (PCA), Linear Discriminant Analysis (LDA), Explainable Artificial Intelligence (XAI), Grad-CAM++, LIME
Skin cancer stands among some of the fastest growing and fatal malignancies of the world as a result early and accurate diagnosis of skin cancer is essential in order to enhance patient survival and treatment prognosis. Conventional methods of diagnosis including dermoscopy and histopathological examinations are expensive and time consuming also subject to inter-observer error. To address these shortcomings, this research suggests an optimized hybrid cascading framework that combines deep and machine learning strategies towards building an AI model for the detection of skin cancer. This study applied five different Convolutional Neural Network (CNN) as well as seven Machine Learning (ML) model and three optimization technique. Among them the suggested MobileNetV2 + LDA + LR model had the best accuracy of 99.33%, precision of 99.47%, recall of 97.33%, and F1-score of 98.31%. Moreover, it was found that the framework had better computational efficiency, with a time complexity of 35.1 ± 1.24 seconds and moderate memory usage. Later on, Explainable AI (XAI) including Grad-CAM++ and LIME techniques were employed to validate the interpretability of the model and revealed the clinically relevant areas of lesions that affected predictions, which increased the level of transparency and credibility.
- H. Sung, J. Ferlay, R.L. Siegel, M. Laversanne, I. Soerjomataram, A. Jemal, F. Bray, “Global Cancer Statistics 2020: GLOBOCAN Estimates of Incidence and Mortality Worldwide for 36 Cancers in 185 Countries,” CA: A Cancer Journal for Clinicians, 71(3), 209–249, 2021, doi:10.3322/caac.21660.
- Global Cancer Facts & Figures., Https://Www.Cancer.Org/Research/Cancer-Facts-Statistics/Global-Cancer-Facts-and-Figures.Html, 1–5, 2025.
- Cancer, Dec. 2025. ://Www.Cancer.Org/Research/Cancer-Facts-Statistics/Global-Cancer-Facts-and-Figures.Html, 1–5, 2025.
- F. Bray, M. Laversanne, H. Sung, J. Ferlay, R.L. Siegel, I. Soerjomataram, A. Jemal, “Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries,” CA: A Cancer Journal for Clinicians, 74(3), 229–263, 2024, doi:10.3322/CAAC.21834.
- L. Rahib, M.R. Wehner, L.M. Matrisian, K.T. Nead, “Estimated Projection of US Cancer Incidence and Death to 2040,” JAMA Network Open, 4(4), e214708–e214708, 2021, doi:10.1001/JAMANETWORKOPEN.2021.4708.
- M. Wang, X. Gao, L. Zhang, “Recent global patterns in skin cancer incidence, mortality, and prevalence,” Chinese Medical Journal, 138(2), 185–192, 2025, doi:10.1097/CM9.0000000000003416.
- IARC Publications Website – Skin Tumours, Dec. 2025.
- S. Chen, Z. Cao, K. Prettner, M. Kuhn, J. Yang, L. Jiao, Z. Wang, W. Li, P. Geldsetzer, T. Bärnighausen, D.E. Bloom, C. Wang, “Estimates and Projections of the Global Economic Cost of 29 Cancers in 204 Countries and Territories From 2020 to 2050,” JAMA Oncology, 9(4), 465–472, 2023, doi:10.1001/JAMAONCOL.2022.7826.
- G. Lopes, “The Global Economic Cost of Cancer – Estimating It Is Just the First Step!,” JAMA Oncology, 9(4), 461–462, 2023, doi:10.1001/jamaoncol.2022.7133.
- S. Chen, Z. Cao, K. Prettner, M. Kuhn, J. Yang, L. Jiao, Z. Wang, W. Li, P. Geldsetzer, T. Bärnighausen, D.E. Bloom, C. Wang, “Estimates and Projections of the Global Economic Cost of 29 Cancers in 204 Countries and Territories From 2020 to 2050,” JAMA Oncology, 9(4), 465–472, 2023, doi:10.1001/JAMAONCOL.2022.7826.
- S.C. Sodergren, O. Husson, S. Janssen, G.E. Rohde, M.J. Hossain, H. Abaza, A. Alkan, A. Al-Omari, I. Ben-Aharon, L. Bentsen, M.G. Guren, G. Ioannidis, H. Ishiki, M. Koehler, E. Lidington, I. Ługowska, F. McDonald, M.N. Krishnamurthy, C. Korenblum, A. Majorana, N. Memos, M. Otth, H. Pappot, M. Pérez-Campdepadrós, D. Petranovic, D. Richter, J. Roganovic, K. Scheinemann, A. Sikora-Koperska, et al., “Development of a Health-Related Quality of Life Tool for Adolescents and Young Adults With Cancer,” JAMA Network Open, 8(12), e2549071, 2025, doi:10.1001/JAMANETWORKOPEN.2025.49071.
- E.A. Shuvo, W. Rahman, M. Shovon, P. Shaha, A. Mondol, S.H. Nahin, “Bio-inspired Heuristic Optimization-Based Cascaded Hybrid Network for Brain Cancer Screening,” 2025 International Conference on Electrical, Computer and Communication Engineering, ECCE 2025, 2025, doi:10.1109/ECCE64574.2025.11013886.
- T.J. Brinker, A. Hekler, J.S. Utikal, N. Grabe, D. Schadendorf, J. Klode, C. Berking, T. Steeb, A.H. Enk, C. Von Kalle, “Skin cancer classification using convolutional neural networks: Systematic review,” Journal of Medical Internet Research, 20(10), e11936, 2018, doi:10.2196/11936.
- E.A. Shuvo, M. Shovon, M.N. Sarkar, M.S. Hossen, P. Shaha, W. Rahman, “Optimized Hybrid Cascaded Approach for Accurate Oral Cancer Detection in Histopathology Images Using Deep CNNs,” 2025 2nd International Conference on Next-Generation Computing, IoT and Machine Learning, NCIM 2025, 2025, doi:10.1109/NCIM65934.2025.11160086.
- Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI, Dec. 2025.
- D.D. Duniphin, “Limited Access to Dermatology Specialty Care: Barriers and Teledermatology,” Dermatology Practical & Conceptual, 13(1), e2023031, 2023, doi:10.5826/DPC.1301A31.
- A. Esteva, B. Kuprel, R.A. Novoa, J. Ko, S.M. Swetter, H.M. Blau, S. Thrun, “Dermatologist-level classification of skin cancer with deep neural networks,” Nature 2017 542:7639, 542(7639), 115–118, 2017, doi:10.1038/nature21056.
- K. Doi, “Computer-aided diagnosis in medical imaging: Historical review, current status and future potential,” Computerized Medical Imaging and Graphics, 31(4–5), 198–211, 2007, doi:10.1016/J.COMPMEDIMAG.2007.02.002.
- W. Samek, G. Montavon, S. Lapuschkin, C.J. Anders, K.R. Müller, “Explaining Deep Neural Networks and Beyond: A Review of Methods and Applications,” Proceedings of the IEEE, 109(3), 247–278, 2021, doi:10.1109/JPROC.2021.3060483.
- K. Mridha, M.M. Uddin, J. Shin, S. Khadka, M.F. Mridha, “An Interpretable Skin Cancer Classification Using Optimized Convolutional Neural Network for a Smart Healthcare System,” IEEE Access, 11, 41003–41018, 2023, doi:10.1109/ACCESS.2023.3269694.
- W. Gouda, N.U. Sama, G. Al-Waakid, M. Humayun, N.Z. Jhanjhi, “Detection of Skin Cancer Based on Skin Lesion Images Using Deep Learning,” Healthcare 2022, 10(7), 1183, 2022, doi:10.3390/HEALTHCARE10071183.
- M.S. Al-Rakhami, S.A. AlQahtani, A. Alawwad, “Effective Skin Cancer Diagnosis Through Federated Learning and Deep Convolutional Neural Networks,” Applied Artificial Intelligence, 38(1), 2024, doi:10.1080/08839514.2024.2364145
- A. Karni, Q. Abbas, J. Ahmad, A.K.J. Saudagar, “Skin cancer classification using novel fairness based federated learning algorithm,” PeerJ Computer Science, 11, e3171, 2025, doi:10.7717/PEERJ-CS.3171/TABLE-5.
- M. Krishna Monika, N. Arun Vignesh, C. Usha Kumari, M.N.V.S.S. Kumar, E. Laxmi Lydia, “Skin cancer detection and classification using machine learning,” Materials Today: Proceedings, 33, 4266–4270, 2020, doi:10.1016/J.MATPR.2020.07.366.
- B. ELGABBANI, M.F.- ARTIFICIAL, undefined 2025, “ARTIFICIAL INTELLIGENCE BASED DERMAL CANCER DTETECTION USING COMPUTER VISION,” Hunandaxuexuebao.ComBOS ELGABBANI, MA FARAJARTIFICIAL INTELLIGENCE, Dec. 2025, doi:10.5281/ZENODO.14909049.
- D. Mane, O. Khode, S. Koli, K. Bhat, P. Korade, “CNN-Based Medical Image Restoration Using Customized Adaptive Histogram Equalization,” Lecture Notes in Electrical Engineering, 1098, 267–285, 2024, doi:10.1007/978-981-99-7383-5_21.
- M.T. Ribeiro, S. Singh, C. Guestrin, “Why should i trust you?’ Explaining the predictions of any classifier,” Dl.Acm.OrgMT Ribeiro, S Singh, C GuestrinProceedings of the 22nd ACM SIGKDD International Conference on Knowledge, 1135–1144, 2016, doi:10.1145/2939672.2939778.
- Skin Cancer Images, Dec. 2025.
- G. Brancaccio, A. Balato, J. Malvehy, S. Puig, G. Argenziano, H. Kittler, “Artificial intelligence in skin cancer diagnosis: a reality check,” ElsevierG Brancaccio, A Balato, J Malvehy, S Puig, G Argenziano, H KittlerJournal of Investigative Dermatology, 144(3), 492–499, 2024, doi:10.1016/J.JID.2023.10.004.
- A. Chattopadhay, A. Sarkar, P. Howlader, V.N. Balasubramanian, “Grad-cam++: Generalized gradient-based visual explanations for deep convolutional networks,” Ieeexplore.Ieee.OrgA Chattopadhay, A Sarkar, P Howlader, VN Balasubramanian2018 IEEE Winter Conference on Applications of Computer Vision (WACV), 839–847, 2018, doi:10.1109/WACV.2018.00097.
- E.D. Pisano, S. Zong, B.M. Hemminger, M. DeLuca, R.E. Johnston, K. Muller, M.P. Braeuning, S.M. Pizer, “Contrast limited adaptive histogram equalization image processing to improve the detection of simulated spiculations in dense mammograms,” SpringerED Pisano, S Zong, BM Hemminger, M DeLuca, RE Johnston, K Muller, MP BraeuningJournal of Digital Imaging, 1998•Springer, 11(4), 193–200, 1998, doi:10.1007/BF03178082.
- M.S. Hossen, A. Shuvo, A. Arif, P. Shaha, A. Rahman, M. Saiduzzaman, F. Al Farid, H.A. Karim, A. Saleh, M. Miah, “An Efficient Deep Learning Framework for Brain Stroke Diagnosis Using Computed Tomography (CT) Images,” arXiv preprint arXiv:2507.03558, 2025.
- E.A. Shuvo, W. Rahman, M.S. Hossain, M.T. Islam, M.S. Iqbal, “Bio-inspired Heuristic Optimization-based Cascaded Network for Diabetic Retinopathy Screening,” Ieeexplore.Ieee.OrgEA Shuvo, W Rahman, MS Hossain, MT Islam, MS Iqbal2024 3rd International Conference on Advancement in Electrical and, 2024, 2024, doi:10.1109/ICAEEE62219.2024.10561821.
- Digital Picture Processing – Azriel Rosenfeld, Avinash C. Kak – Google Books, Dec. 2025.
- D. Lai, V. Verfaille, J.P.-O. Engineering, undefined 1985, “Median filter as image preprocessor for machine recognition,” Spiedigitallibrary.OrgDC Lai, V Verfaille, J PotenzaOptical Engineering, 24(6), 1985, doi:10.1117/12.7973624.
- K. He, J. Sun, X. Tang, “Guided image filtering,” Ieeexplore.Ieee.OrgK He, J Sun, X TangIEEE Transactions on Pattern Analysis and Machine Intelligence, 35(6), 1397–1409, 2013, doi:10.1109/TPAMI.2012.213.
- S.D. Deshpande, M.H. Er, R. Venkateswarlu, P. Chan, “Max-mean and max-median filters for detection of small targets,” Spiedigitallibrary.OrgSD Deshpande, MH Er, R Venkateswarlu, P ChanSignal and Data Processing of Small Targets, 3809, 74–83, 1999, doi:10.1117/12.364049.
- D. Marr, E.H.-P. of the R.S. of, undefined 1980, “Theory of edge detection,” Royalsocietypublishing.OrgD Marr, E HildrethProceedings of the Royal Society of London. Series B, 207(1167), 187–217, 1980, doi:10.1098/RSPB.1980.0020.
- I.S. Maksymov, I. Staude, A.E. Miroshnichenko, Y.S. Kivshar, “Optical yagi-uda nanoantennas,” Degruyterbrill.Com, 1(1), 65–81, 2012, doi:10.1515/NANOPH-2012-0005/HTML.
- M. Sonka, V. Hlavac, R. Boyle, “Image pre-processing,” Image Processing, Analysis and Machine Vision, 56–111, 1993, doi:10.1007/978-1-4899-3216-7_4.
- Dat Vuong, Nam Ha-Van, Tran The Son, "Wideband and High-Gain Aperture Coupled Feed Patch Array Antenna for Millimeter-Wave Application", Advances in Science, Technology and Engineering Systems Journal, vol. 5, no. 5, pp. 559–562, 2020. doi: 10.25046/aj050569
- Roberta Avanzato, Francesco Beritelli, "A CNN-based Differential Image Processing Approach for Rainfall Classification", Advances in Science, Technology and Engineering Systems Journal, vol. 5, no. 4, pp. 438–444, 2020. doi: 10.25046/aj050452
- Sule Adeniyi Olaniyan, "Low Carbon Sustainable Building Material: Maximizing Slag Potentials for Improved Lime Mortar Mechanical Properties", Advances in Science, Technology and Engineering Systems Journal, vol. 5, no. 2, pp. 786–794, 2020. doi: 10.25046/aj050299
- Cosmas Kemdirim Agubor, Isdore Akwukwuegbu, Mathew Olubiwe, Chikezie Onyebuchi Nosiri, Atimati Ehinomen, Akande Akinyinka Olukunle, Samuel Okechukwu Okozi, Longinus Ezema, Benjamin Chukwujekwu Okeke, "A Comprehensive Review on the Feasibility and Challenges of Millimeter Wave in Emerging 5G Mobile Communication", Advances in Science, Technology and Engineering Systems Journal, vol. 4, no. 3, pp. 138–144, 2019. doi: 10.25046/aj040318
- Muhammad Usman Sheikh, Jukka Lempiainen, "Analysis of Outdoor and Indoor Propagation at 15 GHz and Millimeter Wave Frequencies in Microcellular Environment", Advances in Science, Technology and Engineering Systems Journal, vol. 3, no. 1, pp. 160–167, 2018. doi: 10.25046/aj030120