A Comparative Study of Lightweight and Standard CNN Architectures for Multi-Class Skin Disease Classification on Dermoscopic and Clinical Image Datasets
Abstract
Skin disease classification using deep learning has shown promising results, yet perfor-mance varies significantly across datasets due to differences in image modality, class distri-bution, and data quality. This paper presents a systematic comparison of three widely used convolutional neural network architectures—EfficientNet-B0, MobileNetV2, and ResNet-50—on two distinct skin image collections: the dermoscopic HAM10000 dataset (7 classes) and a large clinical/photographic skin disease dataset (10 classes). Both datasets were care-fully prepared with lesion-level splitting (HAM10000) and near-duplicate removal (second dataset). Models were trained with class-weighted loss, identical hyperparameters, and evaluated over multiple random seeds. On HAM10000, MobileNetV2 achieved the highest mean accuracy of 78.0% and macro-F1 of 0.655. On the second dataset, EfficientNet-B0 obtained the best results with 81.8% accuracy and 0.752 macro-F1, while maintaining high melanoma recall (>0.95). The study highlights the impact of data modality and cleaning on model performance and provides reproducible baselines for future work. This system is intended for research purposes only and is not a clinical diagnostic tool. Keywords: Skin disease classification, deep learning, EfficientNet, MobileNetV2, ResNet, HAM10000, dermoscopy, clinical images, data cleaning