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)
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
2026
Scientific Reports (Nature Publishing Group)
Share
Related Publications
Ripen Banana Dataset: A Comprehensive Resource for Carbide …
Elman Alam, Md Tarequl Islam, Ishrat Zahan Raka, Onamika Sarkar Ritu, Md Shakha…
A Comprehensive Dataset of Surface Water Quality Spanning 1…
Md Rajaul Karim, MM Mahbubul Syeed, Ashifur Rahman, Khondkar Ayaz Rabbani, Kani…
Predicting the effect of Bevacizumab therapy in ovarian can…
Md Shakhawat Hossain, Munim Ahmed, Md Sahilur Rahman, MM Mahbubul Syeed, Mohamm…