Random Forests and VGG-NET: An Algorithm for the ISIC 2017 Skin Lesion Classification Challenge

Songtao Guo, Yixin Luo, Yanzhi Song · DOI

Abstract

This manuscript briefly describes an algorithm developed for the ISIC 2017 Skin Lesion Classification Competition. In this task, participants are asked to complete two independent binary image classification tasks that involve three unique diagnoses of skin lesions (melanoma, nevus, and seborrheic keratosis). In the first binary classification task, participants are asked to distinguish between (a) melanoma and (b) nevus and seborrheic keratosis. In the second binary classification task, participants are asked to distinguish between (a) seborrheic keratosis and (b) nevus and melanoma. Our proposed algorithm consists of three steps: preprocessing, classification using VGG-NET and Random Forests, and calculation of a final score.

Introduction

Skin cancer is a major health concern, and early, accurate classification of lesions—distinguishing between melanoma (malignant), nevi (benign moles), and seborrheic keratosis (benign growths)—is critical. The ISIC 2017 Skin Lesion Classification Challenge addresses this by defining two specific binary tasks: distinguishing melanoma from all other types, and distinguishing seborrheic keratosis from all other types.

The core challenge lies in the visual similarity between these categories. Traditional computer vision often struggles with the organic variability of skin, while pure deep learning models can sometimes overlook specific geometric or textural cues that dermatologists rely on. This paper proposes a hybrid ensemble approach that combines the deep feature extraction of VGG-NET with the robust classification of Random Forests using hand-crafted features.

Methods

The proposed algorithm follows a three-stage pipeline that balances automated deep learning with interpretable feature engineering:

  1. Preprocessing: Instead of performing precise lesion segmentation, the authors use a pre-existing Convolutional Neural Network (CNN) to identify the general "Lesion Area." This ensures the model focuses on the lesion while retaining enough surrounding context for diagnostic accuracy.
  2. Parallel Classification Paths:
    • Deep Learning (VGG-NET): The lesion area is divided into $256 \times 256$ patches. These are fed into a VGG-NET architecture, and a softmax function converts the output into a probability vector ($result1$).
  3. Traditional ML (Random Forests): Simultaneously, hand-crafted features are extracted from the lesion area, including color (histograms and moments), texture (Gray Level Co-occurrence Matrix and Local Binary Patterns), and geometry (Histograms of Oriented Gradients). These features are processed by a Random Forest classifier to produce a second probability vector ($result2$).
  4. Ensemble Evaluation: The final classification is determined by a weighted combination of $result1$ and $result2$. If the combined probability exceeds 0.5, the lesion is classified as the target disease.
Flowchart of the proposed skin lesion classification algorithm, illustrating the three-step process from origin image to final result.

Datasets and Results

The study utilizes the dataset provided by the ISIC 2017 Skin Lesion Classification Challenge, encompassing melanoma, nevus, and seborrheic keratosis. The training set was augmented to provide the classifiers with more comprehensive data.

By combining CNN and Random Forest approaches, the classifier successfully accounts for color, texture, and geometry. The authors report that the algorithm achieves "very good performance on the test set," demonstrating the effectiveness of integrating automated deep features with clinical markers like texture (LBP) and shape (HOG).

Discussion and Limitations

A key insight of this work is that precise boundary delineation may be unnecessary for classification; a "loose" bounding box containing the lesion and its margin provides sufficient information. This potentially simplifies the preprocessing pipeline for real-time applications.

However, several limitations exist. The final result depends on the specific weights assigned to the VGG-NET and Random Forest outputs, the optimization of which is not detailed. Additionally, the system relies on a pre-existing model for lesion localization; failure at this stage would compromise the entire pipeline. Finally, running parallel classification paths increases computational overhead compared to single-model approaches, suggesting a need for future work in model distillation.

Conclusion

The integration of VGG-NET and Random Forests provides a holistic representation of skin lesions, capturing both deep abstract features and specific clinical indicators. This hybrid approach offers a promising direction for improving diagnostic accuracy in automated skin cancer screening.

Summary updated

Abstract

This manuscript briefly describes an algorithm developed for the ISIC 2017 Skin Lesion Classification Competition. In this task, participants are asked to complete two independent binary image classification tasks that involve three unique diagnoses of skin lesions (melanoma, nevus, and seborrheic keratosis). In the first binary classification task, participants are asked to distinguish between (a) melanoma and (b) nevus and seborrheic keratosis. In the second binary classification task, participants are asked to distinguish between (a) seborrheic keratosis and (b) nevus and melanoma. The other phases of the competition are not considered. Our proposed algorithm consists of three steps: preprocessing, classification using VGG-NET and Random Forests, and calculation of a final score.
BibTeX
@misc{guo2017random,
  author = {Songtao Guo and Yixin Luo and Yanzhi Song},
  title = {{Random Forests and VGG-NET: An Algorithm for the ISIC 2017 Skin Lesion Classification Challenge}},
  year = {2017},
  eprint = {1703.05148},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.05148},
}
Figure