Authors: Jamilu Usman Waziri, Abubakar Ibrahim, Aliyu Ahmad
DOI:https://doi.org/10.57233/ihcfs.054
Globally, skin cancer remains the most frequently diagnosed form of cancer and among the most life-threatening diseases, making early and accurate detection critically important for efficient treatment. Traditional diagnostic approaches, while valuable, are time-consuming and error-prone, highlighting the pressing need for reliable and automated diagnostic tools. In this study, we propose a deep learning-based predictive model for the identification and classification of cancerous skin lesions, with particular emphasis on melanoma detection across diverse skin tones. The model was developed and validated using a comprehensive dataset of dermoscopic images retrieved from the International Skin Imaging Collaboration (ISIC) archive and supplemented with the HAM10000 dataset. Through systematic fine-tuning and integration of Squeeze-and-Excitation (SE) attention mechanisms into a ResNet-50 architecture, we optimized the network's performance with particular focus on accuracy, precision, and recall, aiming to support dermatologists in clinical decision-making.The resulting outputs of this study demonstrate that the proposed model is both robust and effective in detecting various types of skin cancer, including melanoma, while maintaining a low rate of false positives across different skin types (Fitzpatrick Types IV-VI). To address the critical challenge of algorithmic bias in medical AI, we incorporated targeted fine-tuning on pigmented skin samples, significantly improving classification accuracy for darker skin tones commonly found in Sub-Saharan African populations. Additionally, we integrated Gradient-weighted Class Activation Mapping (Grad-CAM) to provide explainable AI visualizations, enabling clinicians to understand the model's decision-making process. Compared to existing diagnostic methods, the model achieved improved outcomes, recording a precision of 0.92, an accuracy of 96.2%, and a recall of 0.96. These results underscore the significant potential of deep learning to enhance early detection, reduce reliance on invasive procedures, improve diagnostic equity across diverse populations, and ultimately contribute to better patient outcomes, particularly in resource-limited settings.