{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,11]],"date-time":"2026-06-11T22:25:21Z","timestamp":1781216721958,"version":"3.54.1"},"reference-count":35,"publisher":"MDPI AG","issue":"7","license":[{"start":{"date-parts":[[2023,7,18]],"date-time":"2023-07-18T00:00:00Z","timestamp":1689638400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Information"],"abstract":"<jats:p>Skin cancer, particularly melanoma, has been recognized as one of the most lethal forms of cancer. Detecting and diagnosing skin lesions accurately can be challenging due to the striking similarities between the various types of skin lesions, such as melanoma and nevi, especially when examining the color images of the skin. However, early diagnosis plays a crucial role in saving lives and reducing the burden on medical resources. Consequently, the development of a robust autonomous system for skin cancer classification becomes imperative. Convolutional neural networks (CNNs) have been widely employed over the past decade to automate cancer diagnosis. Nonetheless, the emergence of the Vision Transformer (ViT) has recently gained a considerable level of popularity in the field and has emerged as a competitive alternative to CNNs. In light of this, the present study proposed an alternative method based on the off-the-shelf ViT for identifying various skin cancer diseases. To evaluate its performance, the proposed method was compared with 11 CNN-based transfer learning methods that have been known to outperform other deep learning techniques that are currently in use. Furthermore, this study addresses the issue of class imbalance within the dataset, a common challenge in skin cancer classification. In addressing this concern, the proposed study leverages the vision transformer and the CNN-based transfer learning models to classify seven distinct types of skin cancers. Through our investigation, we have found that the employment of pre-trained vision transformers achieved an impressive accuracy of 92.14%, surpassing CNN-based transfer learning models across several evaluation metrics for skin cancer diagnosis.<\/jats:p>","DOI":"10.3390\/info14070415","type":"journal-article","created":{"date-parts":[[2023,7,19]],"date-time":"2023-07-19T00:54:01Z","timestamp":1689728041000},"page":"415","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":88,"title":["Multi-Class Skin Cancer Classification Using Vision Transformer Networks and Convolutional Neural Network-Based Pre-Trained Models"],"prefix":"10.3390","volume":"14","author":[{"given":"Muhammad Asad","family":"Arshed","sequence":"first","affiliation":[{"name":"School of Systems and Technology, University of Management and Technology, Lahore 54770, Pakistan"},{"name":"Department of Computer Science, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2606-2405","authenticated-orcid":false,"given":"Shahzad","family":"Mumtaz","sequence":"additional","affiliation":[{"name":"Department of Data Science, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Muhammad","family":"Ibrahim","sequence":"additional","affiliation":[{"name":"Department of Computer Science, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6910-7613","authenticated-orcid":false,"given":"Saeed","family":"Ahmed","sequence":"additional","affiliation":[{"name":"School of Systems and Technology, University of Management and Technology, Lahore 54770, Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Muhammad","family":"Tahir","sequence":"additional","affiliation":[{"name":"Department of Electrical and Computer Engineering, University of Manitoba, Winnipeg, MB R3T 5V6, Canada"},{"name":"Department of Computer Science, Abdul Wali Khan University, Mardan 23200, Pakistan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Muhammad","family":"Shafi","sequence":"additional","affiliation":[{"name":"Faculty of Computing and Information Technology, Sohar University, Sohar 311, Oman"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2023,7,18]]},"reference":[{"key":"ref_1","unstructured":"(2022, August 04). Cancer. Available online: https:\/\/www.who.int\/news-room\/fact-sheets\/detail\/cancer."},{"key":"ref_2","unstructured":"(2022, August 04). Cancer\u2014NHS. Available online: https:\/\/www.nhs.uk\/conditions\/cancer\/."},{"key":"ref_3","unstructured":"(2023, July 08). Melanoma\u2014The Skin Cancer Foundation. Available online: https:\/\/www.skincancer.org\/skin-cancer-information\/melanoma\/."},{"key":"ref_4","unstructured":"Arroyo, J.L.G., and Zapirain, B.G. (2014). Computer Vision Techniques for the Diagnosis of Skin Cancer, Springer."},{"key":"ref_5","first-page":"2623","article-title":"Deepmole: Deep neural networks for skin mole lesion classification","volume":"2016","author":"Pomponiu","year":"2016","journal-title":"Proc. Int. Conf. Image Process."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"27","DOI":"10.1016\/j.neucom.2015.09.116","article-title":"Deep learning for visual understanding: A review","volume":"187","author":"Guo","year":"2016","journal-title":"Neurocomputing"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Li, K.M., and Li, E.C. (2018). Skin Lesion Analysis Towards Melanoma Detection via End-to-end Deep Learning of Convolutional Neural Networks. arXiv.","DOI":"10.3390\/s18020556"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"364","DOI":"10.1016\/j.neucom.2021.08.096","article-title":"Skin disease diagnosis with deep learning: A review","volume":"464","author":"Li","year":"2021","journal-title":"Neurocomputing"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"104065","DOI":"10.1016\/j.compbiomed.2020.104065","article-title":"Artificial intelligence-based image classification methods for diagnosis of skin cancer: Challenges and opportunities","volume":"127","author":"Goyal","year":"2020","journal-title":"Comput. Biol. Med."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Kumar, V.B., Kumar, S.S., and Saboo, V. (2016, January 19\u201321). Dermatological Disease Detection Using Image Processing and Machine Learning. Proceedings of the 2016 3rd International Conference on Artificial Intelligence and Pattern Recognition (AIPR), Lodz, Poland.","DOI":"10.1109\/ICAIPR.2016.7585217"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"115","DOI":"10.1038\/nature21056","article-title":"Dermatologist-level classification of skin cancer with deep neural networks","volume":"542","author":"Esteva","year":"2017","journal-title":"Nature"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"538","DOI":"10.1109\/JBHI.2018.2824327","article-title":"Seven-Point Checklist and Skin Lesion Classification Using Multitask Multimodal Neural Nets","volume":"23","author":"Kawahara","year":"2019","journal-title":"IEEE J. Biomed. Health Inform."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"16","DOI":"10.1016\/j.compeleceng.2013.11.024","article-title":"A survey on feature selection methods","volume":"40","author":"Chandrashekar","year":"2014","journal-title":"Comput. Electr. Eng."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"1836","DOI":"10.1093\/annonc\/mdy166","article-title":"Man against machine: Diagnostic performance of a deep learning convolutional neural network for dermoscopic melanoma recognition in comparison to 58 dermatologists","volume":"29","author":"Haenssle","year":"2018","journal-title":"Ann. Oncol."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Bassel, A., Abdulkareem, A.B., Alyasseri, Z.A.A., Sani, N.S., and Mohammed, H.J. (2022). Automatic Malignant and Benign Skin Cancer Classification Using a Hybrid Deep Learning Approach. Diagnostics, 12.","DOI":"10.3390\/diagnostics12102472"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Jeny, A.A., Sakib, A.N.M., Junayed, M.S., Lima, K.A., Ahmed, I., and Islam, M.B. (2020, January 19\u201321). SkNet: A Convolutional Neural Networks Based Classification Approach for Skin Cancer Classes. Proceedings of the ICCIT 2020 23rd International Conference on Computer and Information Technology (ICCIT), Dhaka, Bangladesh.","DOI":"10.1109\/ICCIT51783.2020.9392716"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Tabrizchi, H., Parvizpour, S., and Razmara, J. (2022). An Improved VGG Model for Skin Cancer Detection. Neural Process. Lett., 1\u201318.","DOI":"10.1007\/s11063-022-10927-1"},{"key":"ref_18","unstructured":"(2022, September 11). Skin Cancer MNIST: HAM10000|Kaggle. Available online: https:\/\/www.kaggle.com\/datasets\/kmader\/skin-cancer-mnist-ham10000."},{"key":"ref_19","unstructured":"(2022, August 11). Residual Neural Network (ResNet). Available online: https:\/\/iq.opengenus.org\/residual-neural-networks\/."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2023, July 13). Deep Residual Learning for Image Recognition. Available online: http:\/\/image-net.org\/challenges\/LSVRC\/2015\/.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_21","unstructured":"(2022, August 12). Dropout Regularization in Neural Networks: How It Works and When to Use It\u2014Programmathically. Available online: https:\/\/programmathically.com\/dropout-regularization-in-neural-networks-how-it-works-and-when-to-use-it\/."},{"key":"ref_22","unstructured":"(2022, August 18). What Are Hyperparameters? and How to Tune the Hyperparameters in a Deep Neural Network?|by Pranoy Radhakrishnan|Towards Data Science. Available online: https:\/\/towardsdatascience.com\/what-are-hyperparameters-and-how-to-tune-the-hyperparameters-in-a-deep-neural-network-d0604917584a."},{"key":"ref_23","unstructured":"(2022, August 18). Activation Functions in Neural Networks\u2014GeeksforGeeks. Available online: https:\/\/www.geeksforgeeks.org\/activation-functions-neural-networks\/."},{"key":"ref_24","unstructured":"(2022, August 18). What, Why and Which?? Activation Functions|by Snehal Gharat|Medium. Available online: https:\/\/medium.com\/@snaily16\/what-why-and-which-activation-functions-b2bf748c0441."},{"key":"ref_25","unstructured":"(2022, August 18). Gentle Introduction to the Adam Optimization Algorithm for Deep Learning. Available online: https:\/\/machinelearningmastery.com\/adam-optimization-algorithm-for-deep-learning\/."},{"key":"ref_26","first-page":"97","article-title":"Learning Transferable Features with Deep Adaptation Networks","volume":"37","author":"Long","year":"2015","journal-title":"PMLR"},{"key":"ref_27","unstructured":"Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., and Gelly, S. (2020). An Image is Worth 16 \u00d7 16 Words: Transformers for Image Recognition at Scale. arXiv."},{"key":"ref_28","unstructured":"Sufi, A. (2022, September 15). Skin Cancer Classification Using Deep Learning. Available online: http:\/\/dspace.uiu.ac.bd\/handle\/52243\/2483."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Hosny, K.M., Kassem, M.A., and Foaud, M.M. (2018, January 20\u201322). Skin Cancer Classification using Deep Learning and Transfer Learning. Proceedings of the 2018 9th Cairo International Biomedical Engineering Conference (CIBEC), Cairo, Egypt.","DOI":"10.1109\/CIBEC.2018.8641762"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"9909","DOI":"10.1007\/s11042-018-5714-1","article-title":"The skin cancer classification using deep convolutional neural network","volume":"77","author":"Dorj","year":"2018","journal-title":"Multimed. Tools Appl."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Budhiman, A., Suyanto, S., and Arifianto, A. (2019, January 5\u20136). Melanoma Cancer Classification Using ResNet with Data Augmentation. Proceedings of the 2019 International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Yogyakarta, Indonesia.","DOI":"10.1109\/ISRITI48646.2019.9034624"},{"key":"ref_32","first-page":"100036","article-title":"An enhanced technique of skin cancer classification using deep convolutional neural network with transfer learning models","volume":"5","author":"Ali","year":"2021","journal-title":"Mach. Learn. Appl."},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Jain, S., Singhania, U., Tripathy, B., Nasr, E.A., Aboudaif, M.K., and Kamrani, A.K. (2021). Deep Learning-Based Transfer Learning for Classification of Skin Cancer. Sensors, 21.","DOI":"10.3390\/s21238142"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"100034","DOI":"10.1016\/j.neuri.2021.100034","article-title":"Multiclass skin cancer classification using EfficientNets\u2014A first step towards preventing skin cancer","volume":"2","author":"Ali","year":"2022","journal-title":"Neurosci. Inform."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Huang, H.Y., Hsiao, Y.P., Mukundan, A., Tsao, Y.M., Chang, W.Y., and Wang, H.C. (2023). Classification of Skin Cancer Using Novel Hyperspectral Imaging Engineering via YOLOv5. J. Clin. Med., 12.","DOI":"10.3390\/jcm12031134"}],"container-title":["Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2078-2489\/14\/7\/415\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T20:14:12Z","timestamp":1760127252000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2078-2489\/14\/7\/415"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,7,18]]},"references-count":35,"journal-issue":{"issue":"7","published-online":{"date-parts":[[2023,7]]}},"alternative-id":["info14070415"],"URL":"https:\/\/doi.org\/10.3390\/info14070415","relation":{},"ISSN":["2078-2489"],"issn-type":[{"value":"2078-2489","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,7,18]]}}}