Conference Paper2025

Deep Learning for Skin Disease Classification: A Comparative Analysis of Convolutional and Transformer-Based Models

Sharmin Islam Shroddha, Rashedur Rahman, Ashraful Islam, Md Junayed Hossain, Sefatul Wasi, Saadia Binte Alam, M Ashraful Amin

2025 IEEE 23rd Student Conference on Research and Development (SCOReD)

IEEE, pp. 1-6

  • Good Health and Well-being — Relevance: 95%

Abstract

Classifying skin diseases from dermoscopic images is important for the early detection and treatment of skin cancer, as timely diagnosis can significantly improve patient outcomes. In this study, we perform a comparative analysis of three widely used deep learning models EfficientNetB0, ResNet50, and Vision Transformer (ViT) for automated classification of dermoscopic images from the HAM10000 dataset. Since the dataset is highly imbalanced across the seven disease categories, we applied data augmentation and downsampling techniques to create a balanced set of 2,000 images per class. EfficientNetB0 and ResNet50 were trained using transfer learning and fine-tuning strategies, while the ViT was implemented and trained from scratch with customized hyperparameters. The models were evaluated using accuracy, precision, recall, F1-score, and AUC to provide a comprehensive assessment of their performance. Experimental results demonstrate that EfficientNetB0 achieved the highest performance with 91% accuracy and an average AUC of 0.99, closely followed by ViT with 90% accuracy and an AUC of 0.99, while ResNet50 reached 86% accuracy with an AUC of 0.98. These findings suggest that lightweight architectures such as EfficientNetB0 can outperform deeper convolutional networks and achieve results comparable to transformer-based approaches.

Keywords

  • ResNet50
  • skin disease classification
  • vision transformer
  • dermoscopic images
  • EfficientNetB0
  • HAM10000 dataset
  • transfer learning
  • skin cancer detection
  • class imbalance
  • data augmentation

CCDS Authors

Md. Rashedur Rahman, D. Eng.
Md. Rashedur Rahman, D. Eng.

Md. Rashedur Rahman, D. Eng.

  • Co-Director, MIRA & NEST Wings

Assistant Professor

Department of Computer Science and Engineering

Independent University, Bangladesh

Published at

CHI, HCII, Scientific Reports, Cognitive Computation, Neural Computing and Applications

Ashraful Islam, PhD
Ashraful Islam

Ashraful Islam, PhD

  • Center Director, CCDS
  • Director, HCI Wing

Assistant Professor

Department of Computer Science and Engineering

Independent University, Bangladesh (IUB)

Published at

CHI, UIST, UbiComp, IJCNN, ICIP, HCII, ICDMW, BLP, IEEE Internet of Things Journal, JMIR, JMIR Human Factors, JMIR Formative Research, IEEE Access, Smart Agricultural Technology, Diabetes Research and Clinical Practice, PLOS ONE

Research Interests

Human-Computer Interaction, AI for Social Good, AI for Public Health, AI for Impact

Saadia Binte Alam, PhD
Saadia Binte Alam, PhD

Saadia Binte Alam, PhD

  • Director, MIRA & WiSE Wings

Associate Professor

Department of Computer Science and Engineering

Independent University, Bangladesh

Published at

HCII, Scientific Reports, Cognitive Computation, Neural Computing and Applications

Prof. M Ashraful Amin, PhD
M Ashraful Amin, PhD

Prof. M Ashraful Amin, PhD

  • Founder Director, CCDS
  • Director, AI/ML, HCI & DS Wings

Professor

+1 more affiliation

Department of Information Sciences and Technology

George Mason University, USA

Published at

ACL, CHI, UbiComp, ECAI, WACV, PAKDD, IJCNN, ICPR, ICIP, HCII, CLEF, BLP, Scientific Reports, JMIR, IEEE Access, Smart Agricultural Technology, Frontiers in Computational Neuroscience, Diabetes Research and Clinical Practice, PLOS ONE

Research Interests

Machine Learning, Cognitive & Vision Science, Cybernetics, Surveillance & Security, ICT in Education, Health, & Agriculture, Human-Computer Interaction, Internet of Things, Robotics

References

  1. 1.Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun. (2016). Deep Residual Learning for Image Recognition. , 770–778[10.1109/cvpr.2016.90]
  2. 2.Hyuna Sung, Adalberto M. Filho, Mathieu Laversanne, Jacques Ferlay, Rebecca L. Siegel, Isabelle Soerjomataram, Ahmedin Jemal, Freddie Bray. (2021). 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[10.3322/caac.21660]
  3. 3.Freddie Bray, Mathieu Laversanne, Hyuna Sung, Jacques Ferlay, Rebecca L. Siegel, Isabelle Soerjomataram, Ahmedin Jemal. (2024). 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[10.3322/caac.21834]
  4. 4.Andre Esteva, Brett Kuprel, Roberto A. Novoa, Justin Ko, Susan M. Swetter, Helen M. Blau, Sebastian Thrun. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542(7639), 115–118[10.1038/nature21056]
  5. 5.Justin M. Johnson, Taghi M. Khoshgoftaar. (2019). Survey on deep learning with class imbalance. Journal Of Big Data, 6(1)[10.1186/s40537-019-0192-5]
  6. 6.Seung Seog Han, Gyeong Hun Park, Woohyung Lim, Myoung Shin Kim, Jung Im Na, Ilwoo Park, Sung Eun Chang. (2018). Deep neural networks show an equivalent and often superior performance to dermatologists in onychomycosis diagnosis: Automatic construction of onychomycosis datasets by region-based convolutional deep neural network. PLoS ONE, 13(1), e0191493[10.1371/journal.pone.0191493]
  7. 7.Lei Zhou, Yun Zhong, Le Han, Yang Xie, Miaojian Wan. (2025). Global, regional, and national trends in the burden of melanoma and non-melanoma skin cancer: insights from the global burden of disease study 1990–2021. Scientific Reports, 15(1), 5996[10.1038/s41598-025-90485-3]
  8. 8.Philipp Tschandl, Cliff Rosendahl, Harald Kittler. (2018). The HAM10000 dataset, a large collection of multi-source dermatoscopic images of common pigmented skin lesions. Scientific Data, 5(1), 180161[10.1038/sdata.2018.161]