Journal of Soft Computing Exploration
Vol. 7 No. 1 (2026): March 2026

Benchmarking deep transfer learning for imbalanced skin cancer classification: Integrating focal loss, explainable AI, and web deployment

Yazid Aufar (Informatics Engineering, Politeknik Hasnur, Indonesia)
Muhammad Daffa Abiyyu Rahman (Electrical Engineering, Universitas Lambung Mangkurat, Indonesia)
M. Fadli Ridhani (Multimedia Engineering Technology, Politeknik Hasnur, Indonesia)



Article Info

Publish Date
25 Mar 2026

Abstract

Non-melanoma skin cancer (NMSC) classification faces challenges like severe data imbalance and the "black-box" nature of AI, limiting clinical trust. This study benchmarks four pre-trained convolutional models (ConvNeXt-Tiny, EfficientNetV2-S, DenseNet121, MobileNetV3-Large) for the imbalanced multi-class classification of Squamous Cell Carcinoma, Actinic Keratosis, and benign Nevus. Images were preprocessed using morphological hair removal and inpainting. The methodology integrated a 5-fold Stratified Group-KFold cross-validation, Focal Loss to address class imbalance, and Grad-CAM for Explainable AI (XAI) transparency. Results showed ConvNeXt-Tiny achieved the highest and most stable performance with a Balanced Accuracy of 76.98% (± 0.31 standard deviation) and a Macro F1-Score of 0.7513, significantly outperforming the other architectures. Grad-CAM confirmed the model's precise focus on pathological lesion borders. Ultimately, the optimal model was deployed as a real-time Streamlit web application, establishing a robust and practical clinical decision-support system.

Copyrights © 2026






Journal Info

Abbrev

journal

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management Electrical & Electronics Engineering

Description

The journal focuses on publishing high-quality, original research and review articles in the field of Soft Computing, Informatics and Computer Science, emphasizing the development, application, and rigorous evaluation of Advanced Computational Methods, Artificial Intelligence (AI), Machine Learning ...