Skin Cancer Classification Enhanced by Shark Smell Optimization for Hyperparameter Tuning
Skin neoplasms, particularly melanoma, represent a critical global health challenge where early and accurate diagnosis is essential for improving patient survival rates. In this study, we propose an optimized Convolutional Neural Network (CNN) framework for skin cancer classification by integrating the Shark Smell Optimization (SSO) metaheuristic algorithm for automated hyperparameter tuning. The SSO algorithm is utilized to systematically optimize key hyperparameters, including the learning rate, dense layer neuron counts, and batch size, effectively balancing exploration and exploitation across the search space. To tackle the severe class imbalance in the HAM10000 dataset, tailored data augmentation was applied exclusively to the training subset, preserving the integrity of validation and test evaluations. The SSO-optimized CNN achieved an overall classification accuracy of 98%, alongside macro- and weighted-average precision, recall, and F1-scores of 0.98. This performance matches the upper bound of state-of-the-art architectures (e.g., EfficientNet and dual-stream CNNs) while maintaining lower computational complexity and a streamlined model structure. These findings highlight the efficacy of SSO in accelerating hyperparameter convergence and enhancing model generalization across heterogeneous dermoscopic images, presenting a promising and efficient solution for computer-aided dermatological diagnosis.
Authors
- Soheil Sheikh Ahmadi (ORCID: https://orcid.org/0009-0000-5863-2148)
- Behyad Zarnaghi
Institutions
- University of Tehran (IR)
- University of Tabriz (IR)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-02
- DOI
- https://doi.org/10.21203/rs.3.rs-11281500/v1
- Primary Topic
- Cutaneous Melanoma Detection and Management
- Type
- preprint