Skip to main content
2026

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

Md Aminur Sarker, Md Alamgir Kabir, Md Shakhawat Hossain

Scientific Reports (Nature Publishing Group)

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

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. 

Citation

Md Aminur Sarker, Md Alamgir Kabir, Md Shakhawat Hossain. "LGGC-Net: a local-global graph and color attention-based lightweight CNN for skin cancer classification." Scientific Reports (Nature Publishing Group) (2026).

BibTeX

@article{pub49_2026,
  title={LGGC-Net: a local-global graph and color attention-based lightweight CNN for skin cancer classification},
  author={Md Aminur Sarker, Md Alamgir Kabir, Md Shakhawat Hossain},
  journal={Scientific Reports (Nature Publishing Group)},
  year={2026},
  doi={https://doi. org/10.1038/s41598-026-48724-8}
}
Publication Details
Type:
Year:
2026
Journal:
Scientific Reports (Nature Publishing Group)
Share

Related Publications

SwiftMSeg: lightweight multi-scale local–global context modeling with transformer for medical image segmentation
2026
SwiftMSeg: lightweight multi-scale local–global context mod…

Jahid Hasan Rony, Md Shakhawat Hossain & Fazlul Hasan Siddiqui

SiNuS: A Comprehensive Dataset for Singular Nuclei Segmentation for HER2 Grading of Breast Cancer
2026
SiNuS: A Comprehensive Dataset for Singular Nuclei Segmenta…

Md Shakhawat Hossain, Md Sahilur Rahman, Munim Ahmed

Bacterial Foraging Optimization-boosted convolutional neural network for brain tumor detection using MRI images
2026
Bacterial Foraging Optimization-boosted convolutional neura…

Md. Tarequl Islam, Md Wahidur Rahman, Kaniz Roksana, Md Shakhawat Hossain, Most…