Skin cancer classification using vision transformers and explainable artificial intelligence

被引:2
作者
Dagnaw, Getamesay Haile [1 ]
El Mouhtadi, Meryam [1 ]
Mustapha, Musa [1 ]
机构
[1] Euro Mediterranean Univ Fes, Sch Digital Engn & Artificial Intelligence, Route Principale Fes Meknes, Fes, Morocco
关键词
Deep learning; skin cancer classification; vision transformers (VITs); Swin transformers; VISUAL EXPLANATIONS; ABCD RULE; DIAGNOSIS; MELANOMA; DERMATOSCOPY; DERMOSCOPY; CHECKLIST;
D O I
10.21037/jmai-24-6
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Background: Skin cancer diagnosis is a critical aspect of dermatological healthcare, and requires accurate and efficient classification methods. Recently, vision transformers (ViTs) and convolutional neural networks (CNNs) have emerged as promising architectures. However, the interpretability of these models remains a concern, hindering their widespread adoption in the clinical setting. Therefore, the aim of this research is to propose an explainable skin cancer classification using deep learning and explainable artificial intelligence methods. Methods: This study presents skin cancer classification utilizing two pretrained ViTs, three Swin transformers, five pretrained CNNs, and three visual-based explainable artificial intelligence (XAI) models. The ViT-base, ViT-large, Swin-tiny, Swin-base, and Swin-small transformer models and VGG19, ResNet18, ResNet50, MobileNetV2, and DenseNet201 pretrained CNN models are used for classification. For explanation, gradient-weighted class activation mapping (Grad-CAM), Grad-CAM++, and score-weighted class activation mapping (Score-CAM) XAI models were adopted. The study used freely available datasets to train and test the proposed models and adopted synthetic minority oversampling technique (SMOTE) to address class imbalance issues. Results: The performances of the ViT and CNN models were evaluated using five performance metrics: accuracy, precision, F1 score, sensitivity, and specificity. The ViT models demonstrated competitive performance with ViT-large and ViT-base, achieving an accuracy of 88.6%. Swin-base exhibited a balanced sensitivity and specificity. Mainly, ResNet50 outperformed the tested models with an accuracy of 88.8%, precision of 86.9%, sensitivity of 88.6%, F1 score of 87.8%, and specificity of 88.9%. The integration of XAI techniques into the ResNet50 model showed that the model learns from relevant regions of the image to classify a given image as benign or malignant. Conclusions: This study presents ViT and CNN models for skin cancer classification, and the XAI techniques applied to the model contributes to enhancing transparency of the decision-making process of deep learning models. These findings will aid in accurate and trustworthy skin cancer classification and will be vital for clinical adoption in enhancing clinical decision-making in dermatological healthcare.
引用
收藏
页数:17
相关论文
共 79 条
[1]   Skin Cancer Detection Based on Deep Learning [J].
Mehr R.A. ;
Ameri A. .
Journal of Biomedical Physics and Engineering, 2022, 12 (06) :559-568
[2]   Malignant Melanoma: Skin Cancer-Diagnosis, Prevention, and Treatment [J].
Ahmed, Bilal ;
Qadir, Muhammad Imran ;
Ghafoorb, Saba .
CRITICAL REVIEWS IN EUKARYOTIC GENE EXPRESSION, 2020, 30 (04) :291-297
[3]  
[Anonymous], Melanoma Survival Rates
[4]  
Apalla Zoe, 2017, Dermatol Pract Concept, V7, P1, DOI 10.5826/dpc.0702a01
[5]   Epiluminescence microscopy for the diagnosis of doubtful melanocytic skin lesions - Comparison of the ABCD rule of dermatoscopy and a new 7-Point checklist based on pattern analysis [J].
Argenziano, G ;
Fabbrocini, G ;
Carli, P ;
De Giorgi, V ;
Sammarco, E ;
Delfino, M .
ARCHIVES OF DERMATOLOGY, 1998, 134 (12) :1563-1570
[6]   Multi-Class Skin Cancer Classification Using Vision Transformer Networks and Convolutional Neural Network-Based Pre-Trained Models [J].
Arshed, Muhammad Asad ;
Mumtaz, Shahzad ;
Ibrahim, Muhammad ;
Ahmed, Saeed ;
Tahir, Muhammad ;
Shafi, Muhammad .
INFORMATION, 2023, 14 (07)
[7]   Vision-Transformer-Based Transfer Learning for Mammogram Classification [J].
Ayana, Gelan ;
Dese, Kokeb ;
Dereje, Yisak ;
Kebede, Yonas ;
Barki, Hika ;
Amdissa, Dechassa ;
Husen, Nahimiya ;
Mulugeta, Fikadu ;
Habtamu, Bontu ;
Choe, Se-Woon .
DIAGNOSTICS, 2023, 13 (02)
[8]   Automatic Malignant and Benign Skin Cancer Classification Using a Hybrid Deep Learning Approach [J].
Bassel, Atheer ;
Abdulkareem, Amjed Basil ;
Alyasseri, Zaid Abdi Alkareem ;
Sani, Nor Samsiah ;
Mohammed, Husam Jasim .
DIAGNOSTICS, 2022, 12 (10)
[9]  
Belharbi S, 2021, arXiv
[10]   State-of-the-art machine learning techniques for melanoma skin cancer detection and classification: a comprehensive review [J].
Bhatt, Harsh ;
Shah, Vrunda ;
Shah, Krish ;
Shah, Ruju ;
Shah, Manan .
INTELLIGENT MEDICINE, 2023, 3 (03) :180-190