LGGC-Net: a local-global graph and color attention-based lightweight CNN for skin cancer classification

Developing clinically deployable AI systems for skin cancer classification remains challenging due to limited robustness, lack of interpretability and constrained computational resources in hospitals. Although many deep learning models report high accuracy, their large sizes, extensive training requirements and low generalizability hinder practical deployment. In this study, we propose LGGC-Net, a lightweight CNN that incorporates LGGC (Local, Global Graph, and Color) attention to enhance discriminative feature learning while maintaining computational efficiency. Experimental results demonstrate that LGGC attention consistently improves performance across all evaluated CNN backbones. The LGGC-Net model was assessed on external image sets with diverse skin tones to ensure robustness and generalizability under domain shift conditions. Ablation studies analyzed the contribution of individual attention components and explainability was examined using Gradient-weighted Class Activation Mapping++ (Grad-CAM++) and SHapley Additive exPlanations (SHAP). With only 0.81 million parameters, LGGC-Net achieved 88.05% accuracy in 50 epochs, corresponding to 1.761 accuracy per epoch and 108.7 accuracy per million parameters in binary classification. In multiclass settings, it attained 76.1% accuracy on the unseen HAM10000 dataset, with 1.52 accuracy per epoch and 94.0 accuracy per million parameters. In both cases, the area under the curve exceeded 0.93. LGGC-Net consistently outperformed existing methods on deployment-oriented metrics, maintaining stable accuracy. These results indicate that LGGC-Net is an effective, interpretable and potentially deployment-ready solution for practical skin cancer classification.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-04-16
DOI
https://doi.org/10.1038/s41598-026-48724-8
Primary Topic
Cutaneous Melanoma Detection and Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LGGC-Net: a local-global graph and color attention-based lightweight CNN for skin cancer classification

Md Shakhawat Hossain, Md Alamgir Kabir, Md Aminur Sarker
Scientific Reports
Cutaneous Melanoma Detection and Management
article

LGGC-Net: a local-global graph and color attention-based lightweight CNN for skin cancer classification

Md Shakhawat Hossain, Md Alamgir Kabir, Md Aminur Sarker
article en

Abstract

Developing clinically deployable AI systems for skin cancer classification remains challenging due to limited robustness, lack of interpretability and constrained computational resources in hospitals. Although many deep learning models report high accuracy, their large sizes, extensive training requirements and low generalizability hinder practical deployment. In this study, we propose LGGC-Net, a lightweight CNN that incorporates LGGC (Local, Global Graph, and Color) attention to enhance discriminative feature learning while maintaining computational efficiency. Experimental results demonstrate that LGGC attention consistently improves performance across all evaluated CNN backbones. The LGGC-Net model was assessed on external image sets with diverse skin tones to ensure robustness and generalizability under domain shift conditions. Ablation studies analyzed the contribution of individual attention components and explainability was examined using Gradient-weighted Class Activation Mapping++ (Grad-CAM++) and SHapley Additive exPlanations (SHAP). With only 0.81 million parameters, LGGC-Net achieved 88.05% accuracy in 50 epochs, corresponding to 1.761 accuracy per epoch and 108.7 accuracy per million parameters in binary classification. In multiclass settings, it attained 76.1% accuracy on the unseen HAM10000 dataset, with 1.52 accuracy per epoch and 94.0 accuracy per million parameters. In both cases, the area under the curve exceeded 0.93. LGGC-Net consistently outperformed existing methods on deployment-oriented metrics, maintaining stable accuracy. These results indicate that LGGC-Net is an effective, interpretable and potentially deployment-ready solution for practical skin cancer classification.

Scientific Reports
Daffodil International University (BD), Kochi University of Technology (JP)
Reduced inequalities
Openalex Percentile: Top 7%
Cutaneous Melanoma Detection and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.