An Ingeniously Designed Skin Lesion Classification Model Across Clinical and Dermatoscopic Datasets
Open Access
- 11 August 2025
- journal article
- research article
- Published by MDPI AG in Diagnostics
- Vol. 15 (16) , 2011
Abstract
Background: Skin cancer diagnosis faces critical challenges due to the visual similarity of lesions and dataset limitations. Methods: This study introduces HybridSkinFormer, a robust deep learning model designed to classify skin lesions from both clinical and dermatoscopic images. The model employs a two-stage architecture: a multi-layer ConvNet for local feature extraction and a residual-learnable multi-head attention module for global context fusion. A novel activation function (StarPRelu) and Enhanced Focal Loss (EFLoss) address neuron death and class imbalance, respectively. Results: Evaluated on a hybrid dataset (37,483 images across nine classes), HybridSkinFormer achieved state-of-the-art performance with an overall accuracy of 94.2%, a macro precision of 91.1%, and a macro recall of 91.0%, outperforming nine CNN and ViT baselines. Conclusions: Its ability to handle multi-modality data and mitigate imbalance highlights its clinical utility for early cancer detection in resource-constrained settings.Keywords
Funding Information
- 135 projects for disciplines of excellence—Clinical Research Incubation Project, West China Hospital, Sichuan University (21HXFH010, 2022YFC2504800)
- National Key Research and Development Program of China (21HXFH010, 2022YFC2504800)
This publication has 44 references indexed in Scilit:
- BCN20000: Dermoscopic Lesions in the WildScientific Data, 2024
- Explainable deep inherent learning for multi-classes skin lesion classificationApplied Soft Computing, 2024
- A dataset of skin lesion images collected in Argentina for the evaluation of AI tools in this populationScientific Data, 2023
- Skin Cancer: Prevention and Early Detection2023
- PVT v2: Improved baselines with pyramid vision transformerComputational Visual Media, 2022
- DermatoscopyClinics in Dermatology, 2021
- PAD-UFES-20: A skin lesion dataset composed of patient data and clinical images collected from smartphonesData in Brief, 2020
- Dermatologist-level classification of skin cancer with deep neural networksNature, 2017
- Melanoma epidemiology and trendsClinics in Dermatology, 2009
- Cutaneous malignant melanoma in EuropeEuropean Journal of Cancer, 2004