Skip to content
Open access

Deep Learning–Based Classification of Melanoma Using Dermoscopic Images: Comparative Evaluation of Convolutional Neural Network and DenseNet Models

Oct 2026 · JMIR Dermatology · Vol 9, pp. e104086-e104086 · 0 citations · 27 references
Medicine

TL;DR

Data augmentation substantially improved model performance and reduced evidence of overfitting compared with the original dataset, and DenseNet169 and DenseNet201 demonstrated stronger and more stable classification performance than the conventional CNN for dermoscopic skin lesion classification, particularly after augmentation of the training dataset.

Abstract

Abstract Background For melanoma, an aggressive form of skin cancer, early and accurate detection is critical to improving clinical outcomes. Deep learning–based image analysis has emerged as a promising approach for computer-assisted evaluation of dermoscopic lesions. However, model performance is often affected by limited dataset size, class imbalance, overfitting, and differences in network architecture and optimization strategies. Objectives This study was aimed at developing and comparatively evaluating convolutional neural network (CNN) and DenseNet-based deep learning models for automated classification of dermoscopic skin lesion images. The effects of data augmentation, network architecture, optimizer selection, and training duration on classification performance were examined. Methods Publicly available dermoscopic skin lesion images obtained from Kaggle were evaluated using a conventional CNN, DenseNet169, and DenseNet201. The original dataset contained 2357 images representing multiple benign and malignant skin lesion categories. Images were resized to 250×250 pixels, labeled, and randomly partitioned into training and testing sets at an 80:20 ratio. To address class imbalance, image augmentation using transformations, including ±10° shear, was performed, increasing the dataset size to 6857 images, with approximately 500 additional samples generated per class. Models were trained using adaptive moment estimation (Adam) and root mean square propagation (RMSprop) optimizers, and evaluated after 20, 60, and 100 epochs. Performance was assessed using accuracy, precision, recall (sensitivity), specificity, F1-score, confusion matrices, and training and validation loss. Results Data augmentation substantially improved model performance and reduced evidence of overfitting compared with the original dataset. On the augmented dataset, DenseNet169 and DenseNet201 achieved accuracy and F1-scores exceeding 94% after 100 epochs, consistently outperforming the conventional CNN. DenseNet169 achieved up to 95% validation accuracy, with only minor performance differences between the Adam and RMSprop optimizers. The CNN showed greater susceptibility to overfitting on the smaller dataset; its F1-score, calculated over the complete dataset, increased from 31% after 20 epochs to 59% after 60 epochs and 87% after 100 epochs before augmentation. Across the comparative experiments, the DenseNet architectures demonstrated more stable validation performance and better generalization following augmentation. Conclusions DenseNet169 and DenseNet201 demonstrated stronger and more stable classification performance than the conventional CNN for dermoscopic skin lesion classification, particularly after augmentation of the training dataset. Increasing the dataset size and improving class balance led to reduced overfitting and improved model performance. These findings support further investigation of DenseNet-based approaches as potential clinical decision support tools for melanoma and skin lesion assessment. However, prospective evaluation using independent, multicenter datasets and diverse patient populations is required before clinical implementation.

Read PDF

Similar papers

Open access Oct 2026

Deep DenseNet Architectures for Multi-Class Skin Cancer Classification Using Dermoscopic Images

A comparative analysis with some of the most recent state-of-the-art methods shows that the proposed DenseNet-based approach offers competitive performance while keeping the architecture simple, and points to the potential of deep convolutional neural networks (CNN) as effective tools for helping dermatologists with au...

Muntaha Kamal Chyad · 0 citations
Open access Sep 2026

Dermoscopic Skin Lesion Classification Using Deep Learning

This research supports the development of an automated decision support system for the early diagnosis of skin cancer that can assist dermatologists in clinical practice and highlights the potential of transfer learning-based deep learning approaches in medical imaging applications.

A. A. Salim, Ebrucan Tekin, M. A. Özdemir · 0 citations
Review Sep 2026

Deep Learning for Automatic Skin Cancer Detection and Classification: A Narrative Review of Architectures and Performance

Skin cancer, including melanoma and non-melanoma subtypes such as basal cell carcinoma and squamous cell carcinoma, is among the most common malignancies worldwide, and clinical outcomes depend strongly on early and accurate diagnosis. Visual dermoscopic examination by dermatologists remains the diagnostic standard but...

M. Pawar · 0 citations
Open access Sep 2026

Comparison and Ensemble Transfer Learning for Breast Cancer Classification in Ultrasound Images Using EfficientNet-B0, ResNet-50, and VGG-16

This study used a combined dataset from the BUSI Kaggle challenge and clinical data from Bhakti Dharma Husada General Hospital in Surabaya to evaluate an ensemble learning approach to determine the best model for distinguishing benign and malignant tumors in ultrasound images.

Anisja Noni Kartikasari, Hesti Khuzaimah Nurul Yusufiyah, H. R. Fajrin · 0 citations
#graph neural networks Open access Oct 2026

Hybrid CNN–GNN for skin lesion topology analysis: hybrid CNN–GCN framework for binary dermoscopic skin lesion classification

Skin cancer is a major global health concern, and early identification of malignant skin lesions is essential for effective clinical assessment and screening. Although Convolutional Neural Networks (CNNs) have achieved remarkable success in dermoscopic image classification, conventional CNN-based methods generally proc...

B. S. Surya, V. Shilpa, P. Karthik et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.