Abstract
The increasing global incidence of skin cancer, particularly lethal malignant melanoma, necessitates the development of robust, automated diagnostic tools to assist dermatologists in identifying subtle pathological markers. In this study, we provide a rigorous comparative evaluation of four state-of-the-art convolutional neural network (CNN) architectures, ResNet-50, DenseNet-169, Inception-v3, and EfficientNet-B0, using the ISIC 2018 (HAM10000) dataset. Our standardized experimental pipeline utilized stratified sampling to address class imbalance, alongside a meticulous preprocessing strategy and data augmentation to ensure model generalization. Quantitative results demonstrate that EfficientNet-B0 outperformed other models, achieving a peak accuracy of 91.84% and a superior F1-Score of 0.8429, despite possessing the most compact parameter footprint of 4.02M. While ResNet-50 exhibited lower diagnostic precision, it offered the fastest inference speed (0.359 ms), highlighting a critical trade-off between accuracy and real-time operational latency. Furthermore, visual validation through Grad-CAM++ confirmed that successful predictions were driven by relevant morphological hallmarks rather than dataset artifacts. Our findings suggest that architectural optimization through compound scaling is more effective than raw model depth for dermatological tasks. Collectively, this work provides a comprehensive framework for selecting deep learning backbones for clinical triage, balancing high-precision diagnostic support with the computational constraints of real-world medical deployment.
References
An integrated deep learning model for skin cancer detection using hybrid feature fusion technique.
Skin cancer: Ham10000. Kaggle Dataset.
Ali, R., A. Manikandan, R. Lei, and J. Xu, 2024 A novel spasa based hyper-parameter optimized fcedn with adaptive cnn classification for skin cancer detection. Scientific Reports 14: 9336.
Armstrong, B. K. and A. Kricker, 1995 Skin cancer. Dermatologic Clinics 13: 583–594.
Attallah, O., 2024 Skin-cad: Explainable deep learning classification of skin cancer from dermoscopic images by feature selection of dual high-level cnns features and transfer learning. Computers in Biology and Medicine 178.
Cakmak, Y. and A. Maman, 2025 Deep learning for early diagnosis of lung cancer. Computational Systems and Artificial Intelligence 1: 20–25.
Cakmak, Y. and I. Pacal, 2025a Comparative analysis of transformer architectures for brain tumor classification. Exploration of Medicine 6.
Cakmak, Y. and N. Pacal, 2025b Deep learning for automated breast cancer detection in ultrasound: A comparative study of four cnn architectures. Artificial Intelligence in Applied Sciences 1: 13–19.
Cakmak, Y. and J. Zeynalov, 2025 A comparative analysis of convolutional neural network architectures for breast cancer classification from mammograms. Artificial Intelligence in Applied Sciences 1: 28–34.
Chaurasia, A. K., P. W. Toohey, H. C. Harris, and A. W. Hewitt, 2025 Multi-resolution vision transformer model for histopathological skin cancer subtype classification using whole slide images. Computers in Biology and Medicine 196.
Claret, S. P. A., J. P. Dharmian, and A. M. Manokar, 2024 Artificial intelligence-driven enhanced skin cancer diagnosis: leveraging convolutional neural networks with discrete wavelet transformation. Egyptian Journal of Medical Human Genetics 25: 50.
Farea, E., R. A. A. Saleh, H. AbuAlkebash, A. A. R. Farea, and M. A. Al-antari, 2024 A hybrid deep learning skin cancer prediction framework. Engineering Science and Technology, an International Journal 57.
Gloster, H. M. and K. Neal, 2006 Skin cancer in skin of color. Journal of the American Academy of Dermatology 55: 741–760.
He, K., X. Zhang, S. Ren, and J. Sun, 2015 Deep residual learning for image recognition.
Huang, G., Z. Liu, L. Van Der Maaten, and K. Q. Weinberger, 2017 Densely connected convolutional networks.
Karthik, R., R. Menaka, S. Atre, J. Cho, and S. V. Easwaramoorthy, 2024 A hybrid deep learning approach for skin cancer classification using swin transformer and dense group shuffle non-local attention network. IEEE Access 12: 158040–158051.
Leiter, U., U. Keim, and C. Garbe, 2020 Epidemiology of skin cancer: Update 2019. Advances in Experimental Medicine and Biology 1268: 123–139.
Mandal, S., S. Ghosh, N. D. Jana, S. Chakraborty, and S. Mallik, 2024 Active learning with particle swarm optimization for enhanced skin cancer classification utilizing deep cnn models. Journal of Imaging Informatics in Medicine 38: 2472–2489.
Manju, V. N., D. S. Dayana, N. Patwari, K. P. B. Madavi, and K. K. Sowjanya, 2025 Attention-enhanced vision transformer model for precise skin cancer detection. In Proceedings of the 2025 International Conference on Emerging Technologies in Computing and Communication (ETCC).
Mumuni, A., F. Mumuni, and N. K. Gerrar, 2024 A survey of synthetic data augmentation methods in machine vision. Machine Intelligence Research 21: 831–869.
O’Shea, K. and R. Nash, 2015 An introduction to convolutional neural networks. International Journal of Research in Applied Science and Engineering Technology 10: 943–947.
Owida, H. A., N. Alshdaifat, A. Almaghthawi, S. Abuowaida, A. Aburomman, et al., 2024 Improved deep learning architecture for skin cancer classification. Indonesian Journal of Electrical Engineering and Computer Science 36: 501–508.
Ozdemir, B. and I. Pacal, 2025 An innovative deep learning framework for skin cancer detection employing convnextv2 and focal self-attention mechanisms. Results in Engineering 25.
Pacal, I., M. Alaftekin, and F. D. Zengul, 2024 Enhancing skin cancer diagnosis using swin transformer with hybrid shifted window-based multi-head self-attention and swiglu-based mlp. Journal of Imaging Informatics in Medicine 37: 3174–3192.
Pacal, I. and Y. Cakmak, 2025a A comparative analysis of u-net-based architectures for robust segmentation of bladder cancer lesions in magnetic resonance imaging. Eurasian Journal of Medicine and Oncology 9: 268–283.
Pacal, I. and Y. Cakmak, 2025b Diagnostic Analysis of Various Cancer Types with Artificial Intelligence. Duvar Yayınları.
Pacal, I., B. Ozdemir, J. Zeynalov, H. Gasimov, and N. Pacal, 2025 A novel cnn-vit-based deep learning model for early skin cancer diagnosis. Biomedical Signal Processing and Control 104.
Siegel, R. L., A. N. Giaquinto, and A. Jemal, 2024 Cancer statistics, 2024. CA: A Cancer Journal for Clinicians 74: 12–49.
Szegedy, C., V. Vanhoucke, S. Ioffe, and J. Shlens, 2016 Rethinking the inception architecture for computer vision.
Tan, M. and Q. V. Le, 2019 Efficientnet: Rethinking model scaling for convolutional neural networks.
Wang, Z., P. Wang, K. Liu, P. Wang, Y. Fu, et al., 2024 A comprehensive survey on data augmentation. arXiv preprint.
Zeynalov, J., Y. Cakmak, and I. Pacal, 2025 Automated apple leaf disease classification using deep convolutional neural networks: A comparative study on the plant village dataset. Journal of Computer Science and Digital Technologies 1: 5–17.

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
