Deep Learning for Skin Disease Classification: A Comparative Study of CNN and CNN-LSTM Architectures

Authors

  • Fatmir Basholli Department of Engineering, European University of Tirana, Tiranë, Albania, Email: fatmir.basholli@uet.edu.al , universaloffice151@gmail.com Author
  • Mohammed R. Hayal Department of Electronics and Communications Engineering, Faculty of Engineering, Mansoura University, Mansoura 35516, Egypt, Email: mohammedraisan@gmail.com , mohammedraisan@std.mans.edu.eg Author
  • Ebrahim E. Elsayed Department of Electronics and Communications Engineering, Faculty of Engineering, Mansoura University, Mansoura 35516, Egypt, Email: engebrahem16@gmail.com , engebrahem16@std.mans.edu.eg Author
  • Davron Aslonqulovich Juraev University, Baku AZ0102, Azerbaijan. Email: juraevdavron12@gmail.com ; 5Department of Scientific Research, Innovation and Training of Scientific and Pedagogical Staff, University of Economics and Pedagogy, Karshi 180100, Uzbekistan, Email: juraev_davron@ipu-edu.uz , juraevdavron12@gmail.com , ORCID: https://orcid.org/0000-0003-1224-6764 Author Author

DOI:

https://doi.org/10.71426/jcdt.v1.i1.pp40-49

Keywords:

Skin disease classification, Big data, Convolutional Neural Network (CNN), MobileNet, InceptionV3, Long Short-Term Memory (LSTM)

Abstract

Skin diseases, particularly melanoma and other types of pigmented lesions, constitute a significant portion of global health concerns due to their prevalence and potential severity. In recent years, deep learning (DL) has revolutionized image classification tasks in the medical domain, particularly using Convolutional Neural Networks (CNNs) for skin lesion analysis. However, traditional CNNs are limited to capturing spatial features, often overlooking sequential patterns and complex contextual cues inherent in dermatological imagery. This study explores the automated classification of pigmented skin lesions using the HAM10000 dataset, a diverse collection of 10,015 dermatoscopic images spanning seven diagnostic categories. Addressing challenges in computational dermatology, we leverage MobileNet-V2 and InceptionV3 deep learning architectures, optimized via transfer learning and advanced preprocessing techniques. Comparative evaluation is performed between baseline CNN models and their Long Short-Term Memory (LSTM)-augmented variants to assess improvements in classification performance through sequential feature modeling. Results indicate that LSTM integration enhances contextual feature learning, improving accuracy for underrepresented lesion classes, with InceptionV3+LSTM achieving the highest classification accuracy.

References

[1] Anggriandi D, Utami E, Ariatmanto D. Comparative analysis of cnn and cnn-svm methods for classification types of human skin disease. Sinkron: jurnal dan penelitian teknik informatika. 2023 Oct 1;7(4):2168-78. https://doi.org/10.33395/sinkron.v8i4.1283

[2] Aboulmira A, Hrimech H, Lachgar M. Comparative study of multiple CNN models for classification of 23 skin diseases. International Journal of Online & Biomedical Engineering. 2022 Nov 1;18(11). https://doi.org/10.3991/ijoe.v18i11.32517

[3] Doğan F, Aktaş M, Gürsoy Mİ. Classification of Skin Diseases with Different Deep Learning Models and Comparison of the Performances of the Models. Türk Doğa ve Fen Dergisi. 2024 Sep 9;13(3):117-23. https://doi.org/10.46810/tdfd.1502471

[4] Wu ZH, Zhao S, Peng Y, He X, Zhao X, Huang K, Wu X, Fan W, Li F, Chen M, Li J. Studies on different CNN algorithms for face skin disease classification based on clinical images. IEEE Access. 2019 May 22;7:66505-11. 10.1109/ACCESS.2019.2918221

[5] Chandra KV, Rambabu CV, Bhargav S, Rani KS, Billa P. Skin cancer classification: A comparative analysis of EfficientNet and Hybrid model (Xception+ Efficient Net+ GCN). In2024 First International Conference on Innovations in Communications, Electrical and Computer Engineering (ICICEC) 2024 Oct 24 (pp. 1-6). IEEE. 10.1109/ICICEC62498.2024.10808717

[6] Chandna R, Bansal A, Kumar A, Hardia S, Daramola O, Sahu A, Verma K, Dhingra K, Verma S. Skin disease classification using two path deep transfer learning models. Journal of Knowledge Learning and Science Technology ISSN: 2959-6386 (online). 2024 Dec 25;3(4):169-87. https://doi.org/10.60087/jklst.v3.n4.p169

[7] Bhaswanth N, Sekhar DV, Reddy MP. Psoriasis Skin Disease Classification based on Clinical Images. IJRITCC. 2023Oct.7;11(11s):257-65. https://doi.org/10.17762/ijritcc.v11i11s.8098

[8] Pranav PP, Sarath S. Comparative study of skin lesion classification using dermoscopic images. In 2023 14th International Conference on Computing Communication and Networking Technologies (ICCCNT) 2023 Jul 6 (pp. 1-5). IEEE. 10.1109/ICCCNT56998.2023.10307324

[9] Agarwal R, Godavarthi D. Skin disease classification using CNN algorithms. EAI Endorsed Transactions on Pervasive Health and Technology. 2023 Oct;9(1). http://dx.doi.org/10.4108/eetpht.9.4039

[10] Filali Y, El Khoukhi H, Sabri MA, Aarab A. Analysis and classification of skin cancer based on deep learning approach. In 2022 International Conference on Intelligent Systems and Computer Vision (ISCV) 2022 May 18 (pp. 1-6). IEEE. 10.1109/ISCV54655.2022.9806087

[11] Saifan R, Jubair F. Six skin diseases classification using deep convolutional neural network. International Journal of Electrical and Computer Engineering. 2022 Jun 1;12(3):3072.

DOI: http://doi.org/10.11591/ijece.v12i3.pp3072-3082

[12] Şahin O, Yıldırım MS. Performance Comparison of Deep Learning Architectures for Skin Cancer Classification. In 2024 8th International Artificial Intelligence and Data Processing Symposium (IDAP) 2024 Sep 21 (pp. 1-8). IEEE. 10.1109/IDAP64064.2024.10710839

[13] Pal OK. Skin disease classification: A comparative analysis of k-nearest neighbors (knn) and random forest algorithm. In 2021 International Conference on Electronics, Communications and Information Technology (ICECIT) 2021 Sep 14 (pp. 1-5). IEEE. 10.1109/ICECIT54077.2021.9641120

[14] Niño-Rondón CV, Medina-Delgado B, Castro-Casadiego SA, Hernández-Pérez CA, Puerto-López KC, Castellano-Carvajal DA, Camargo-Ariza LL, Gasca-Mantilla MC. A Deep Learning Approach vs Optimized Machine Learning Models: A Comparative in Skin Cancer Classification. In 2024 IEEE Technology and Engineering Management Society (TEMSCON LATAM) 2024 Jul 18 (pp. 1-6). IEEE. 10.1109/TEMSCONLATAM61834.2024.10717678

[15] Goindi S, Thakur K, Kapoor DS. Improved Skin Disease Classification By Segmentation and Feature Mapping using Deep Learning. In 2024 4th Asian Conference on Innovation in Technology (ASIANCON) 2024 Aug 23 (pp. 1-10). IEEE. 10.1109/ASIANCON62057.2024.10837696

[16] Reka SS, Karthikeyan HL, Shakil AJ, Venugopal P, Muniraj M. Exploring quantum machine learning for enhanced skin lesion classification: A comparative study of implementation methods. IEEE Access. 2024 Jul 29. 10.1109/ACCESS.2024.3434681

[17] Rezvantalab A, Safigholi H, Karimijeshni S. Dermatologist level dermoscopy skin cancer classification using different deep learning convolutional neural networks algorithms. arXiv preprint arXiv:1810.10348. 2018 Oct 21. https://doi.org/10.48550/arXiv.1810.10

[18] Goindi S, Thakur K, Kapoor DS. A Comparative Analysis of Machine Learning and Deep Learning Algorithms for Skin Cancer Detection and Classification: Exploring Performance Across Multiple Parameters. In 2024 3rd International Conference on Sentiment Analysis and Deep Learning (ICSADL) 2024 Mar 13 (pp. 76-82). IEEE. 10.1109/ICSADL61749.2024.00018

[19] Ali MM, Raj M, Farid A, Minhaj MY, Umang P, Patel S. Deep Learning in Dermatology: Convolutional Neural Network-Based Classification of Skin Diseases and Cancer. In2024 Second International Conference on Microwave, Antenna and Communication (MAC) 2024 Oct 4 (pp. 1-7). IEEE. 10.1109/MAC61551.2024.10837323

[20] Sagar K, Sathwika B, Maniteja M, Reddy IN, Prasad CR, Yalabaka S. A Comprehensive Study on Skin Disease Classification using ML Algorithms. In 2024 Asia Pacific Conference on Innovation in Technology (APCIT) 2024 Jul 26 (pp. 1-5). IEEE. 10.1109/APCIT62007.2024.10673565

[21] Pradeepa R, Punitha V, Senthamil Selvi R. Deep learning algorithms for skin disease classification. J Innov Image Process. 2024;6(2):84-95. 10.36548/jiip.2024.2.001

[22] Kuan PN, Chua S, Safawi EB, Wang HH, Tiong W. A comparative study of the classification of skin burn depth in human. Journal of Telecommunication, Electronic and Computer Engineering (JTEC). 2017 Sep 15;9(2-10):15-23. https://jtec.utem.edu.my/jtec/article/view/2701

[23] Velasco JS, Catipon JV, Monilar EG, Amon VM, Virrey GC, Tolentino LK. Classification of Skin Disease Using Transfer Learning in Convolutional Neural Networks. arXiv preprint arXiv:2304.02852.2023. https://doi.org/10.46338/ijetae0423_01

[24] Wang SQ, Zhang XY, Liu J, Tao C, Zhu CY, Shu C, Xu T, Jin HZ. Deep learning-based, computer-aided classifier developed with dermoscopic images shows comparable performance to 164 dermatologists in cutaneous disease diagnosis in the Chinese population. Chin Med J (Engl). 2020 Sep 5;133(17):2027-2036. 10.1097/CM9.0000000000001023

[25] Sönmez A, Çakar S, Selamet F, Kotan M, Delibaşoğlu İ, Çit G. Deep learning-based classification of dermoscopic images for skin lesions. Sakarya Univ J Comput Inf Sci. 2023; https://doi.org/10.35377/saucis...1314638

[26] Nalamwar SR, Neduncheliyan S. Development of Intelligent Skin Disease Classification system using Machine Learning. In2023 5th International Conference on Inventive Research in Computing Applications (ICIRCA) 2023 Aug 3 (pp. 884-890). IEEE. DOI: 10.1109/ICIRCA57980.2023.10220856

[27] Srinivasu PN, SivaSai JG, Ijaz MF, Bhoi AK, Kim W, Kang JJ. Classification of skin disease using deep learning neural networks with MobileNet V2 and LSTM. Sensors. 2021 Apr 18;21(8):2852. https://doi.org/10.3390/s21082852

[28] Hamida S, Lamrani D, Bouqentar MA, El Gannour O, Cherradi B. An Integrated Multimodal Deep Learning Framework for Accurate Skin Disease Classification. Int. J. Online Biomed. Eng. IJOE. 2024 Feb;20(02):78-94. https://doi.org/10.3991/ijoe.v20i02.43795

[29] Shukla A. Skin disease classification using machine learning based proposed ensemble model. In: Proceedings of the 2023 International Conference on Nascent Technologies (INCET); 2023. 10.1109/INCET57972.2023.10170128

[30] Dhanabalan SS, Sitharthan R, Madurakavi K, Thirumurugan A, Rajesh M, Avaninathan SR, Carrasco MF. Flexible compact system for wearable health monitoring applications. Computers and Electrical Engineering. 2022 Sep 1;102:108130. https://doi.org/10.1016/j.compeleceng.2022.108130

[31] Aazad SK, Saini T, Ajad A, Chaudhary K, Elsayed EE. Deciphering Blood Cells-Method for Blood Cell Analysis using Microscopic Images. Journal of Modern Technology. 2024 Sep 8:9-18. Available from: https://review.journal-of-modern-technology.com/index.php/jmt/article/view/4

[32] Kalnoor G, Dasari KS, Suma S, Waddenkery N, B. Pragathi. Enhanced Brain Tumor Detection from MRI Scans Using Frequency Domain Features and Hybrid Machine Learning Models. Journal of Modern Technology. 2025 Jan. 8;1(2):1419. Available from: https://review.journal-of-modern-technology.com/index.php/jmt/article/view/32

Downloads

Published

30-06-2025

How to Cite

Deep Learning for Skin Disease Classification: A Comparative Study of CNN and CNN-LSTM Architectures. (2025). Journal of Computing and Data Technology, 1(01), 40-49. https://doi.org/10.71426/jcdt.v1.i1.pp40-49