cs.CVOct 27, 2026

A Lightweight Attention-Based CNN with Saliency-Map Interpretability for Skin Cancer Detection

Authors: Sanjana Islam Kasfia, Md. Ismiel Hossen Abir, AKM Bahalul Haque, Abir Mahmud Shahariar

Organizations: Dept. of Computer Science and Engineering, International Standard University, Dhaka, Bangladesh · Dept. of Public Health and Life Sciences, Canadian University of Bangladesh, Dhaka, Bangladesh · Faculty of Science & Engineering, Abo Akademi University, Turku, Finland

Abstract

Skin cancer is among the most prevalent and life threatening forms of cancer worldwide. Early and accurate diagnosis significantly improves patient survival rates. However, manual dermoscopic assessment remains challenging due to visual similarity. This study proposes an Explainable AI-driven framework for automated binary classification of skin lesions using a lightweight attention-based convolutional neural network (CNN-Attention). The model integrates channel attention to focus on informative regions of dermoscopic images while maintaining low computational complexity. A publicly available dataset comprising 2,637 training and 660 test images was used, with balanced class weights. The proposed model achieved 87 percent accuracy with 1.95 million parameters and 7.45 MB of storage, matching the best baseline (MobileNet) while using approximately half as many parameters and half as much storage. ROC AUC and PR AUC scores reached 0.9475 and 0.9430, respectively. Additionally, saliency maps were incorporated as an explainability technique to visualize regions that influence model decisions. Comparative analysis with VGG16,VGG19,ResNet101,and MobileNet demonstrates the proposed models effectiveness in balancing classification results, computational efficiency, and interpretability.

Figures & tables

Explore similar work

CardsList
  1. Uncertainty-Aware and Explainable Ensemble Deep Learning Framework for Multi-Class Skin Lesion Classification

    Aug 11, 2026Rofiqul Islam, Lilatul FerdouseSkin Lesion ClassificationDeep Ensembles

  2. Deep Learning for Dermatology: An Innovative Framework for Approaching Precise Skin Cancer Detection

    Feb 19, 2026Mohammad Tahmid Noor, B. M. Shahria Alam, Tasmiah Rahman Orpa +3DermatologySkin Lesion Classification

  3. A Comparative Evaluation of Pre-trained Convolutional Neural Networks for Melanoma Detection

    Sep 10, 2026Wagner Moreno Schmitz, Marco Antonio de Castro Barbosa, Thiago Magalhães Amaral +2Skin Lesion ClassificationMedical Image Classification