A Hybrid Swin Transformer-Attention U-Net Framework for Dermoscopic Skin Lesion Segmentation
Aynur Sevinc, Yıldırım Özüpak, Emrah Aslan
Key points
From the paper's conclusion- These findings support further investigation of the architecture for dermoscopic image analysis, while prospective, multicenter validation is needed to establish its suitability for clinical deployment.
Abstract
Background: Reliable segmentation of skin lesions in dermoscopic images is hindered by variations in lesion appearance, poorly defined boundaries, imaging artifacts, and differences in acquisition conditions. This study presents SwinAttentionUNet, a hybrid architecture combining hierarchical Transformer-based encoding with attention-guided decoding for skin lesion segmentation. Methods: The proposed model integrates a hierarchical Swin Transformer encoder with an attention-gated U-Net-style decoder. A HAM10000-based dataset was divided at the lesion level using lesion_id, assigning 5229 unique lesions to training, 1120 to validation, and 1121 to an independent test set, with no lesion overlap between subsets. Evaluation incorporated lesion-cluster bootstrap inference and five independent training runs to assess the robustness and consistency of the results. Cross-dataset performance was evaluated on the 600-image ISIC 2017 Task 1 test set without retraining or adaptation. Results: On the HAM10000-based independent test set, SwinAttentionUNet achieved a Dice score of 0.9497, an intersection over union (IoU) of 0.9102, a precision of 0.9517, a recall of 0.9558, and an accuracy of 0.9739. Across five independent training runs, the mean Dice score and IoU were 0.9495 ± 0.0010 and 0.9099 ± 0.0014, respectively. External evaluation on ISIC 2017 yielded a Dice score of 0.9124 and an IoU of 0.8468. Conclusions: SwinAttentionUNet achieved consistent segmentation performance across independent training runs and maintained strong performance on an external dataset without adaptation. These findings support further investigation of the architecture for dermoscopic image analysis, while prospective, multicenter validation is needed to establish its suitability for clinical deployment.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ScaleFusionNet: transformer-guided multi-scale feature fusion for skin lesion segmentationScientific Reports · 2025
- Swin-WaveNet: frequency-guided boundary restoration for robust skin lesion segmentation.Visual computing for industry, biomedicine, and art · 2026
- A Hybrid Vision Transformer Based Edge‐Guided Boundary Attention U‐Net for Skin Lesion SegmentationInternational Journal of Imaging Systems and Technology · 2026
- Transformer-Based Foundation Learning for Robust and Data-Efficient Skin Disease ImagingDiagnostics · 2026
- HLE-ViT: a hierarchical lesion-enhanced global context vision transformer for multi-class skin lesion classificationFrontiers in Medicine · 2026
- A hybrid approach for accurate skin lesion segmentation using LEDNet and Swin-UMambaScientific Reports · 2026