Benchmarking Class Imbalance Mitigation Strategies Across Deep CNN Architectures for Skin Cancer Classification

Background/Objectives: Class imbalance is one of the major challenges in automated skin lesion classification since the number of categories of malignant and clinically significant skin lesions is normally less than the benign ones. However, due to this imbalance, deep convolutional neural networks (CNNs) tend to overlook minority classes and fail to recognize them with an acceptable accuracy, which leads to a decrease in diagnostic reliability. A wide range of imbalance mitigation techniques has been suggested, but their effectiveness is found to differ significantly depending on CNN architecture, and detailed comparative studies of these techniques for a consistent experimental setup are still limited. Methods: This study proposes a comprehensive benchmarking framework that tests sixteen class imbalance mitigation methods by applying them to six pretrained CNN architectures—EfficientNet-B0, EfficientNet-B3, ResNet50, DenseNet121, InceptionV3 and MobileNetV2—on the official ISIC 2019 skin lesion dataset. The tested techniques are conventional resampling techniques, synthetic sample generation techniques, algorithm-level learning techniques, data augmentation techniques, and hybrid techniques. The dataset was partition into a separate training set and testing set, and stratified cross-validation was only conducted on the training set to ensure the study was fair and reproducible. Both models have been optimized with the same optimizer, learning rate, batch size, epochs and preprocessing pipeline. The performance of the models was evaluated by computing the accuracy, precision, recall and F1-score. Results: The experimental results show that the effect of class imbalance mitigation is very specific to the underlying CNN architecture. The traditional undersampling and oversampling methods yielded only moderate improvements, while feature space and hybrid methods yielded more consistent results. When coupled with EfficientNet-B3, Balanced MixUp improved the overall performance of the model by achieving an accuracy of 92.39%, an increase in precision of 93.3%, a recall of 91.36%, and an F1-score of 92.33%. However, some architectures such as ResNet50 performed better with iterative learning techniques, such as Cumulative Learning and Yielding Multi-Fold Training, which suggests that there is a diversity in how different network architectures react to imbalance mitigation methods. Conclusions: This paper highlights the importance of selecting appropriate technique–architecture combinations for addressing long-tailed data distributions in medical imaging. The proposed benchmarking framework provides valuable insights for developing robust and reliable deep learning systems for skin lesion classification and other medical imaging tasks affected by severe class imbalance.

Authors

Institutions

Publication Details

Journal
Diagnostics
Published
2026-08-14
DOI
https://doi.org/10.3390/diagnostics16162571
Primary Topic
Cutaneous Melanoma Detection and Management
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Benchmarking Class Imbalance Mitigation Strategies Across Deep CNN Architectures for Skin Cancer Classification

Saleh M. Altowaijri, Irshad Ahmad, Muhammad Khubaib
Diagnostics
Cutaneous Melanoma Detection and Management
article

Benchmarking Class Imbalance Mitigation Strategies Across Deep CNN Architectures for Skin Cancer Classification

Saleh M. Altowaijri, Irshad Ahmad, Muhammad Khubaib
article en

Abstract

Background/Objectives: Class imbalance is one of the major challenges in automated skin lesion classification since the number of categories of malignant and clinically significant skin lesions is normally less than the benign ones. However, due to this imbalance, deep convolutional neural networks (CNNs) tend to overlook minority classes and fail to recognize them with an acceptable accuracy, which leads to a decrease in diagnostic reliability. A wide range of imbalance mitigation techniques has been suggested, but their effectiveness is found to differ significantly depending on CNN architecture, and detailed comparative studies of these techniques for a consistent experimental setup are still limited. Methods: This study proposes a comprehensive benchmarking framework that tests sixteen class imbalance mitigation methods by applying them to six pretrained CNN architectures—EfficientNet-B0, EfficientNet-B3, ResNet50, DenseNet121, InceptionV3 and MobileNetV2—on the official ISIC 2019 skin lesion dataset. The tested techniques are conventional resampling techniques, synthetic sample generation techniques, algorithm-level learning techniques, data augmentation techniques, and hybrid techniques. The dataset was partition into a separate training set and testing set, and stratified cross-validation was only conducted on the training set to ensure the study was fair and reproducible. Both models have been optimized with the same optimizer, learning rate, batch size, epochs and preprocessing pipeline. The performance of the models was evaluated by computing the accuracy, precision, recall and F1-score. Results: The experimental results show that the effect of class imbalance mitigation is very specific to the underlying CNN architecture. The traditional undersampling and oversampling methods yielded only moderate improvements, while feature space and hybrid methods yielded more consistent results. When coupled with EfficientNet-B3, Balanced MixUp improved the overall performance of the model by achieving an accuracy of 92.39%, an increase in precision of 93.3%, a recall of 91.36%, and an F1-score of 92.33%. However, some architectures such as ResNet50 performed better with iterative learning techniques, such as Cumulative Learning and Yielding Multi-Fold Training, which suggests that there is a diversity in how different network architectures react to imbalance mitigation methods. Conclusions: This paper highlights the importance of selecting appropriate technique–architecture combinations for addressing long-tailed data distributions in medical imaging. The proposed benchmarking framework provides valuable insights for developing robust and reliable deep learning systems for skin lesion classification and other medical imaging tasks affected by severe class imbalance.

DiagnosticsVol. 16(16)
Northern Border University (SA), Islamia College University (PK)
Northern Border University
Openalex Percentile: Top 12%
Cutaneous Melanoma Detection and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.