[Paper Review] A CNN toolbox for skin cancer classification
This paper presents a configurable CNN toolbox for skin cancer classification that enables both developers and non-technical users to rapidly prototype and tune deep learning models using a spreadsheet-based interface. It demonstrates that high performance (AUC 0.862) can be achieved with smaller datasets and moderate augmentation, outperforming dermatologists on a benchmark test set while reducing computational demands compared to state-of-the-art methods.
We describe a software toolbox for the configuration of deep neural networks in the domain of skin cancer classification. The implemented software architecture allows developers to quickly set up new convolutional neural network (CNN) architectures and hyper-parameter configurations. At the same time, the user interface, manageable as a simple spreadsheet, allows non-technical users to explore different configuration settings that need to be explored when switching to different data sets. In future versions, meta leaning frameworks can be added, or AutoML systems that continuously improve over time. Preliminary results, conducted with two CNNs in the context melanoma detection on dermoscopic images, quantify the impact of image augmentation, image resolution, and rescaling filter on the overall detection performance and training time.
Motivation & Objective
- To address the lack of cross-comparability among skin cancer classification models due to differing datasets, architectures, and hyper-parameters.
- To provide a user-friendly interface for non-technical dermatologists to explore model configurations when new datasets become available.
- To enable systematic exploration of image augmentation, resolution, and preprocessing techniques like segmentation and color space transformation.
- To support both developers and practitioners through a modular, extensible software architecture with open-source potential.
- To reduce reliance on large-scale pretraining by evaluating performance with limited data and optimized hyperparameters.
Proposed method
- The toolbox uses a spreadsheet-based input format (CSV) to define model configurations, including CNN architecture, dataset path, augmentation policies, and hyperparameters.
- Images are processed through on-the-fly augmentation, including horizontal flips, rotations, brightness/saturation modulation, and color space conversion (RGB, HSV, LAB, YCbCr).
- Resizing filters (nearest, bilinear, bicubic, lanczos) are applied to standardize image resolution, with options for segmentation and mask extension.
- The system supports binary classification, multi-class probability output, and pixel-level segmentation masks via CNNs such as VGG16 and SC19.
- Hyperparameter tuning is facilitated through a modular pipeline that separates data input, preprocessing, augmentation, and training stages.
- Future extensions include integration of meta-learning and AutoML systems for continuous model improvement.
Experimental results
Research questions
- RQ1Can a standardized, user-accessible toolbox improve the reproducibility and comparability of skin cancer classification models across different datasets and architectures?
- RQ2How do image resolution, augmentation level, and resizing filter choice affect classification performance and training time in dermoscopic image analysis?
- RQ3To what extent can transfer learning be replaced or reduced when using optimized hyperparameters and preprocessing on smaller datasets?
- RQ4Does segmentation and mask extension improve classification accuracy in skin lesion detection?
- RQ5Can non-technical users effectively explore and tune deep learning configurations using a spreadsheet interface without coding?
Key findings
- Using VGG16 with 450x450 resolution and 48x augmentation (hflip_rot24), the model achieved 0.862 AUC, 0.763 specificity, and 0.798 sensitivity on the ISIC-2019 dataset.
- The system outperformed dermatologists on the MClass-D test set, achieving 0.846 AUC compared to human performance of 0.671 AUC.
- Training with 48x augmentation at 277x277 resolution yielded 0.819 AUC in under 4.5 hours, demonstrating strong performance with reduced data and compute.
- No significant difference in performance was observed across four resizing filters (nearest, bilinear, bicubic, lanczos), indicating that default nearest-neighbor is sufficient for efficiency.
- The VGG16 model with random initialization failed to converge after 10 epochs, highlighting the necessity of ImageNet pretraining for this dataset size.
- Reducing augmentation from 48x to 8x improved convergence and reduced training time by 75%, while improving sensitivity from 0.492 to 0.674.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.