Deep Learning for Skin Disease Classification: A Comparative Study of CNN and CNN-LSTM Architectures
DOI:
https://doi.org/10.71426/jcdt.v1.i1.pp40-49Keywords:
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;7(4):2168–2178. Available from: 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;18(11). Available from: 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;13(3):117–123. Available from: 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;7:66505–66511. Available from: https://doi.org/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 + EfficientNet + GCN). In: Proceedings of the 2024 First International Conference on Innovations in Communications, Electrical and Computer Engineering (ICICEC); 2024 Oct 24. p. 1–6. IEEE. Available from: https://doi.org/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. 2024;3(4):169–187. Available from: https://doi.org/10.60087/jklst.v3.n4.p169
[7] Bhaswanth N, Sekhar DV, Reddy MP. Psoriasis skin disease classification based on clinical images. International Journal on Recent and Innovation Trends in Computing and Communication. 2023;11(11s):257–265. Available from: https://doi.org/10.17762/ijritcc.v11i11s.8098
[8] Pranav PP, Sarath S. Comparative study of skin lesion classification using dermoscopic images. In: Proceedings of the 2023 14th International Conference on Computing Communication and Networking Technologies (ICCCNT); 2023 Jul 6. p. 1–5. IEEE. Available from: https://doi.org/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;9(1). Available from: https://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: Proceedings of the 2022 International Conference on Intelligent Systems and Computer Vision (ISCV); 2022 May 18. p. 1–6. IEEE. Available from: https://doi.org/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;12(3):3072–3082. Available from: https://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: Proceedings of the 2024 8th International Artificial Intelligence and Data Processing Symposium (IDAP); 2024 Sep 21. p. 1–8. IEEE. Available from: https://doi.org/10.1109/IDAP64064.2024.10710839
[13] Pal OK. Skin disease classification: A comparative analysis of k-nearest neighbors (KNN) and random forest algorithm. In: Proceedings of the 2021 International Conference on Electronics, Communications and Information Technology (ICECIT); 2021 Sep 14. p. 1–5. IEEE. Available from: https://doi.org/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 study in skin cancer classification. In: Proceedings of the 2024 IEEE Technology and Engineering Management Society Conference—Latin America (TEMSCON LATAM); 2024 Jul 18. p. 1–6. IEEE. Available from: https://doi.org/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: Proceedings of the 2024 4th Asian Conference on Innovation in Technology (ASIANCON); 2024 Aug 23. p. 1–10. IEEE. Available from: https://doi.org/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. Available from: https://doi.org/10.1109/ACCESS.2024.3434681
[17] Rezvantalab A, Safigholi H, Karimijeshni S. Dermatologist-level dermoscopy skin cancer classification using different deep learning convolutional neural network algorithms. arXiv. 2018;arXiv:1810.10348. Available from: https://doi.org/10.48550/arXiv.1810.10348
[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: Proceedings of the 2024 3rd International Conference on Sentiment Analysis and Deep Learning (ICSADL); 2024 Mar 13. p. 76–82. IEEE. Available from: https://doi.org/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. In: Proceedings of the 2024 Second International Conference on Microwave, Antenna and Communication (MAC); 2024 Oct 4. p. 1–7. IEEE. Available from: https://doi.org/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: Proceedings of the 2024 Asia Pacific Conference on Innovation in Technology (APCIT); 2024 Jul 26. p. 1–5. IEEE. Available from: https://doi.org/10.1109/APCIT62007.2024.10673565
[21] Pradeepa R, Punitha V, Senthamil Selvi R. Deep learning algorithms for skin disease classification. Journal of Innovative Image Processing. 2024;6(2):84–95. Available from: https://doi.org/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 humans. Journal of Telecommunication, Electronic and Computer Engineering. 2017;9(2-10):15–23. Available from: 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. International Journal of Emerging Technology and Advanced Engineering. 2023. Available from: 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. Chinese Medical Journal. 2020;133(17):2027–2036. Available from: https://doi.org/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 University Journal of Computer and Information Sciences. 2023. Available from: https://doi.org/10.35377/saucis.1314638
[26] Nalamwar SR, Neduncheliyan S. Development of intelligent skin disease classification system using machine learning. In: Proceedings of the 2023 5th International Conference on Inventive Research in Computing Applications (ICIRCA); 2023 Aug 3. p. 884–890. IEEE. Available from: https://doi.org/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 MobileNetV2 and LSTM. Sensors. 2021;21(8):2852. Available from: 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. International Journal of Online and Biomedical Engineering. 2024;20(2):78–94. Available from: 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 in Engineering (ICNTE); 2023. IEEE. Available from: https://doi.org/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 & Electrical Engineering. 2022;102:108130. Available from: 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;1(1):9–18. Available from: https://doi.org/10.71426/jmt.v1.i1.pp9-18
[32] Kalnoor G, Dasari KS, Suma S, Waddenkery N, Pragathi B. Enhanced brain tumor detection from MRI scans using frequency-domain features and hybrid machine learning models. Journal of Modern Technology. 2025;1(2):141–149. Available from: https://doi.org/10.71426/jmt.v1.i2.pp141-149
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Fatmir Basholli, Mohammed R. Hayal, Ebrahim E. Elsayed, Davron Aslonqulovich Juraev (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The Journal of Computing and Data Technology publishes all articles under the Creative Commons Attribution–NonCommercial 4.0 International License (CC BY-NC 4.0). This license permits others to copy, distribute, reproduce, remix, adapt, and build upon the published work for non-commercial purposes, provided appropriate credit is given to the original authors and the source. By publishing in the Journal of Computing and Data Technology, all authors agree to these licensing terms as a condition of publication.