| Literature DB >> 34377121 |
Dominika Kwiatkowska1, Piotr Kluska2, Adam Reich1.
Abstract
INTRODUCTION: Convolutional neural networks gained popularity due to their ability to detect and classify objects in images and videos. It gives also an opportunity to use them for medical tasks in such specialties like dermatology, radiology or ophthalmology. The aim of this study was to investigate the ability of convolutional neural networks to classify malignant melanoma in dermoscopy images. AIM: To examine the usefulness of deep learning models in malignant melanoma detection based on dermoscopy images.Entities:
Keywords: deep learning; dermoscopy; melanoma; neural networks
Year: 2021 PMID: 34377121 PMCID: PMC8330874 DOI: 10.5114/ada.2021.107927
Source DB: PubMed Journal: Postepy Dermatol Alergol ISSN: 1642-395X Impact factor: 1.837
Distribution of skin lesion types across training, validation and test datasets
| Type of skin lesion | Training dataset | Validation dataset | Test dataset | Total number |
|---|---|---|---|---|
| Malignant melanoma | 896 (11.0%) | 103 (11.6%) | 114 (11.3%) | 1113 (11.1%) |
| Melanocytic nevus | 5446 (67.0%) | 589 (66.5%) | 670 (66.6%) | 6705 (66.9%) |
| Basal cell carcinoma | 416 (5.1%) | 46 (5.2%) | 52 (5.2%) | 514 (5.1%) |
| Actinic keratosis/Bowen’s disease (intraepithelial carcinoma) | 264 (3.3%) | 33 (3.7%) | 30 (3.0%) | 327 (3.3%) |
| Benign keratosis (solar lentigo/seborrheic keratosis/lichen planus-like keratosis) | 896 (11.0%) | 92 (10.4%) | 111 (11.0%) | 1099 (11.0%) |
| Dermatofibroma | 94 (1.2%) | 10 (1.1%) | 11 (1.1%) | 115 (1.1%) |
| Vascular lesion | 111 (1.4%) | 13 (1.5%) | 18 (1.8%) | 142 (1.4%) |
| Total number | 8123 (100%) | 886 (100%) | 1006 (100%) | 10015 (100%) |
Figure 1Example of a residual block (A) of ResNet-101 with input of C channels. The first convolutional layer decreases channels by 4 and the last one restores it to C channels by 4 and the last one restores it to C channels. ResNeXt block (B). SE-ResNet block (C), where residual block can be a block from (A) or (B). D – Scheme of the ensemble of CNNs
Results of precision, sensitivity, F1 score and specificity for ResNet, ResNeXt, SE-ResNet and SE-ResNeXt in classification of each disease
| Skin lesion | Precision | Sensitivity | F1 score | Specificity | AUC (ROC) |
|---|---|---|---|---|---|
| ResNet: | |||||
| Malignant melanoma | 0.76 | 0.70 | 0.73 | 0.97 | 0.96 |
| Melanocytic nevus | 0.95 | 0.96 | 0.95 | 0.89 | 0.98 |
| Basal cell carcinoma | 0.86 | 0.85 | 0.85 | 0.99 | 1.00 |
| Actinic keratosis/Bowen’s disease | 0.72 | 0.77 | 0.74 | 0.99 | 0.99 |
| Benign keratosis | 0.79 | 0.80 | 0.80 | 0.97 | 0.97 |
| Dermatofibroma | 0.9 | 0.82 | 0.86 | 1.00 | 0.98 |
| Vascular lesion | 0.94 | 0.89 | 0.91 | 1.00 | 1.00 |
| Average | 0.85 | 0.83 | 0.84 | 0.97 | 0.98 |
| ResNeXt: | |||||
| Malignant melanoma | 0.77 | 0.72 | 0.74 | 0.97 | 0.95 |
| Melanocytic nevus | 0.95 | 0.96 | 0.96 | 0.90 | 0.98 |
| Basal cell carcinoma | 0.85 | 0.9 | 0.88 | 0.99 | 0.99 |
| Actinic keratosis/Bowen’s disease | 0.84 | 0.70 | 0.76 | 1.00 | 0.99 |
| Benign keratosis | 0.79 | 0.81 | 0.80 | 0.97 | 0.98 |
| Dermatofibroma | 1.00 | 0.73 | 0.84 | 1.00 | 1.00 |
| Vascular lesion | 0.95 | 1.00 | 0.97 | 1.00 | 1.00 |
| Average | 0.88 | 0.83 | 0.85 | 0.99 | 0.99 |
| SE-ResNet: | |||||
| Malignant melanoma | 0.72 | 0.69 | 0.71 | 0.97 | 0.96 |
| Melanocytic nevus | 0.94 | 0.94 | 0.94 | 0.88 | 0.97 |
| Basal cell carcinoma | 0.78 | 0.90 | 0.84 | 0.99 | 0.99 |
| Actinic keratosis/Bowen’s disease | 0.85 | 0.57 | 0.68 | 1.00 | 0.98 |
| Benign keratosis | 0.75 | 0.78 | 0.77 | 0.97 | 0.97 |
| Dermatofibroma | 0.89 | 0.73 | 0.8 | 1.00 | 0.98 |
| Vascular lesion | 0.94 | 0.89 | 0.91 | 1.00 | 1.00 |
| Average | 0.84 | 0.79 | 0.81 | 0.97 | 0.98 |
| SE-ResNeXt: | |||||
| Malignant melanoma | 0.70 | 0.67 | 0.68 | 0.96 | 0.95 |
| Melanocytic nevus | 0.95 | 0.95 | 0.95 | 0.90 | 0.97 |
| Basal cell carcinoma | 0.82 | 0.87 | 0.84 | 0.99 | 0.99 |
| Actinic keratosis/Bowen’s disease | 0.73 | 0.53 | 0.62 | 0.99 | 0.98 |
| Benign keratosis | 0.74 | 0.83 | 0.78 | 0.96 | 0.97 |
| Dermatofibroma | 0.89 | 0.73 | 0.80 | 1.00 | 0.99 |
| Vascular lesion | 0.89 | 0.89 | 0.89 | 1.00 | 1.00 |
| Average | 0.82 | 0.78 | 0.79 | 0.97 | 0.98 |
Differences in the classification of various images by analysed CNNs. Correctly classified malignant melanomas on images were marked in green, whereas incorrect predictions were highlighted in red
Figure 2A – Comparison of scores at malignant melanoma prediction between ResNet, ResNeXt, SE-ResNet, SE-ResNeXt and ensemble of all convolutional neural networks. B – Normalized confusion matrix of the ensemble
Figure 3A – Examples of a correctly classified melanocytic nevus. B – Examples of a correctly classified malignant melanoma. C – Wrongly classified examples of malignant melanoma (these images were predicted as melanocytic nevus). D – From top to bottom ResNeXt classified those images as malignant melanoma, melanocytic nevus and vascular lesion (from left: original image, Grad-CAM heatmap on original image and Guided Grad-CAM visualization)