SkinLesionNet++: a U-Net++ segmentation-aware hybrid CNN–vision transformer framework with CycleGAN augmentation for improved skin cancer classification
Automated classification of skin lesions is often hindered by clinical dataset imbalances and extraneous background noise. This study proposes a robust and interpretable pipeline integrating mask-free segmentation, generative data augmentation, and deep learning for accurate benign-malignant discrimination. Initially, two distinct segmentation paradigms are applied directly to the original images without utilizing external ground-truth masks: unsupervised K- means clustering and a deep learning U-Net++ architecture guided by automatically generated pseudo-masks. To mitigate the inherent class imbalance in the malignant subset, a CycleGAN framework is deployed to synthesize highly realistic lesion samples, thereby creating two fully balanced segmented datasets. These datasets are utilized to conduct a rigorous comparative evaluation of four state-of-the-art architectures, Xception, ConvNeXt-Base, Swin Transformer-B, and Vision Transformer (ViT), alongside a segmentation-aware Hybrid CNN–ViT classification framework developed for lesion-focused benign–malignant skin lesion classification. Crucially, to address the "black-box" limitation of deep learning in clinical settings, Explainable Artificial Intelligence (XAI) techniques, namely Gradient-weighted Class Activation Mapping++ (Grad-CAM+ +), SHapley Additive exPlanations (SHAP), and Local Interpretable Model-agnostic Explanations (LIME), are exclusively applied to the proposed Hybrid CNN-ViT to visualize and interpret its diagnostic rationale. Experimental results demonstrate the efficacy of the proposed methodology, with the Hybrid CNN-ViT model achieving test accuracies of 0.86 on the K-means segmented dataset and 0.88 on the U-Net++ segmented dataset. Although benchmark models exhibited marginal performance variations, the proposed framework successfully establishes a trade-off between computational performance and clinical transparency, providing an interpretable, XAI-integrated framework for AI-assisted dermatological image analysis.
Authors
- Md Assaduzzaman (ORCID: https://orcid.org/0000-0002-7838-0096)
- Nidadavolu Venkat Durga Sai Siva Vara Prasad Raju (ORCID: https://orcid.org/0009-0003-1096-8824)
- Tze Hui Liew (ORCID: https://orcid.org/0000-0001-5069-8441)
- Ohidujjaman Ohidujjaman (ORCID: https://orcid.org/0000-0002-8776-7145)
- Nafiz Fahad (ORCID: https://orcid.org/0000-0002-3207-6515)
- Fahmida Ahmed Tonni
Institutions
- Multimedia University (MY)
- Daffodil International University (BD)
- United International University (BD)
- Birla Institute of Technology and Science, Pilani (IN)
Publication Details
- Journal
- Discover Artificial Intelligence
- Published
- 2026-11-27
- DOI
- https://doi.org/10.1007/s44163-026-02378-7
- Primary Topic
- Cutaneous Melanoma Detection and Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00