Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking of Lightweight Deep Learning Architectures for Skin Cancer Classification using ISIC 2017 Dataset

Abdurrahim Yılmaz, Mucahit Kalebasi|arXiv (Cornell University)|Oct 23, 2021
Cutaneous Melanoma Detection and ManagementMedicine14 citations
TL;DR

This study benchmarks lightweight deep learning models—MobileNet, MobileNetV2, and NASNetMobile—on the ISIC 2017 skin cancer dataset using transfer learning and data augmentation. The NASNetMobile model with a batch size of 16 achieved the highest performance, attaining 82.00% accuracy, 81.77% precision, and an F1 score of 0.8038, demonstrating that smaller batch sizes improve generalization in mobile models for skin cancer classification.

ABSTRACT

Skin cancer is one of the deadly types of cancer and is common in the world. Recently, there has been a huge jump in the rate of people getting skin cancer. For this reason, the number of studies on skin cancer classification with deep learning are increasing day by day. For the growth of work in this area, the International Skin Imaging Collaboration (ISIC) organization was established and they created an open dataset archive. In this study, images were taken from ISIC 2017 Challenge. The skin cancer images taken were preprocessed and data augmented. Later, these images were trained with transfer learning and fine-tuning approach and deep learning models were created in this way. 3 different mobile deep learning models and 3 different batch size values were determined for each, and a total of 9 models were created. Among these models, the NASNetMobile model with 16 batch size got the best result. The accuracy value of this model is 82.00%, the precision value is 81.77% and the F1 score value is 0.8038. Our method is to benchmark mobile deep learning models which have few parameters and compare the results of the models.

Motivation & Objective

  • To evaluate the performance of lightweight deep learning models in classifying skin cancer using the ISIC 2017 dataset.
  • To investigate the impact of batch size as a hyperparameter on model generalization and performance.
  • To compare transfer learning and fine-tuning approaches using mobile architectures for skin cancer detection.
  • To identify the optimal model and hyperparameter configuration for efficient, accurate skin cancer classification.

Proposed method

  • Preprocessing and data augmentation were applied to the ISIC 2017 dataset, including HSV color space transformations and image rotations to increase dataset diversity.
  • Three lightweight models—MobileNet, MobileNetV2, and NASNetMobile—were fine-tuned using transfer learning from ImageNet-pretrained weights.
  • Nine models were trained with three different batch sizes (16, 32, 64) to evaluate hyperparameter sensitivity.
  • Model evaluation used standard metrics including accuracy, precision, F1 score, and AUC, computed via confusion matrices.
  • Training was conducted using the Keras library with 150 epochs and a validation split of 20% of the training data.
  • The best-performing model was selected based on validation performance and tested on the held-out test set.

Experimental results

Research questions

  • RQ1How do lightweight deep learning models perform in skin cancer classification on the ISIC 2017 dataset?
  • RQ2What is the effect of batch size on the generalization and performance of mobile deep learning models in skin cancer classification?
  • RQ3Which lightweight architecture—MobileNet, MobileNetV2, or NASNetMobile—achieves the highest accuracy and F1 score on the ISIC 2017 dataset?
  • RQ4Can transfer learning with fine-tuning yield high performance with minimal parameters and reduced inference time?

Key findings

  • The NASNetMobile model with a batch size of 16 achieved the highest accuracy of 82.00% on the ISIC 2017 test set.
  • This same model recorded a precision of 81.77% and an F1 score of 0.8038, outperforming all other configurations.
  • Models with a batch size of 16 showed significantly better generalization than those with batch sizes of 32 or 64 across all architectures.
  • MobileNetV2 with a batch size of 16 achieved the second-highest accuracy (81.45%) and the highest F1 score (0.8114) among all models.
  • The average accuracy across all models was 79.60% for MobileNet, 80.30% for MobileNetV2, and 79.70% for NASNetMobile, indicating MobileNetV2's superior average performance.
  • The AUC scores ranged from 0.8684 to 0.9050, with NASNetMobile (16 batch size) achieving 0.8832, indicating strong discriminative capability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.