Transformer-Based Foundation Learning for Robust and Data-Efficient Skin Disease Imaging
<b>Background/Objectives:</b> Accurate and reliable automated dermoscopic lesion classification remains challenging. This is due to pronounced dataset bias, limited expert-annotated data, and poor cross-dataset generalization of conventional supervised deep learning models. In clinical dermatology, these limitations restrict the deployment of data-driven diagnostic systems across diverse acquisition settings and patient populations. <b>Methods:</b> Motivated by these challenges, this study proposes a transformer-based, dermatology-specific foundation model. The model learns transferable visual representations from large collections of unlabeled dermoscopic images via self-supervised pretraining. It integrates large-scale dermatology-oriented self-supervised learning with a hierarchical vision transformer backbone. This enables effective capture of both fine-grained lesion textures and global morphological patterns. The evaluation is conducted across three publicly available dermoscopic datasets: ISIC 2018, HAM10000, and PH2. The study assesses in-dataset, cross-dataset, limited-label, ablation, and computational-efficiency settings. <b>Results:</b> The proposed approach achieves in-dataset classification accuracies of 94.87%, 97.32%, and 98.17% on ISIC 2018, HAM10000, and PH2, respectively. It outperforms strong transformer and hybrid baselines. Cross-dataset transfer experiments show consistent performance gains of 3.5-5.8% over supervised counterparts. This indicates improved robustness to domain shift. Furthermore, when fine-tuned with only 10% of the labeled training data, the model achieves performance comparable to fully supervised baselines. <b>Conclusions:</b> This highlights strong data efficiency. These results demonstrate that dermatology-specific foundation learning offers a principled and practical solution for robust dermoscopic lesion classification under realistic clinical constraints.
Authors
- Inzamam Mashood Nasir (ORCID: https://orcid.org/0000-0002-3578-0081)
- Hend Alshaya
- Sara Tehsin
- Wided Bouchelligua
Institutions
- Mykolas Romeris University (LT)
- Kaunas University of Technology (LT)
- Imam Mohammad ibn Saud Islamic University (SA)
Publication Details
- Journal
- Diagnostics
- Published
- 2026-02-01
- DOI
- https://doi.org/10.3390/diagnostics16030440
- Primary Topic
- Cutaneous Melanoma Detection and Management
- Type
- article
- Field-Weighted Citation Impact
- 0.00