{"title":"COMPARISON OF VISION TRANSFORMERS AND CONVOLUTIONAL NEURAL NETWORKS FOR SKIN DISEASE CLASSIFICATION","authors":"Muhammet Fatih Aslan","doi":"10.58190/icontas.2023.51","DOIUrl":null,"url":null,"abstract":"Skin diseases are one of the most common diseases in humans. Due to its many various symptoms and types, computer vision studies have been frequently applied to its diagnosis and classification. Previous studies have frequently used machine learning methods and deep learning-based Convolutional Neural Networks (CNN) for skin disease diagnosis. Although deep learning-based applications have achieved great success in terms of detection accuracy, research continues to ensure the desired performance. However, Vision Transformer (ViT), recently proposed as a competitive alternative to CNNs, is gaining increasing popularity. This paper compares ResNet18 and ResNet50 networks, important CNN models, with ViT for classifying skin disease. The comparison is applied on a dataset containing a small number of samples. In the application performed on a dataset containing skin disease images, ViT provides 68.93% classification accuracy, while ResNet18 and ResNet50 classification accuracy is 61.65% and 61.17%, respectively. Other metrics calculated along with the accuracies also prove the superiority of ViT over ResNet models. However, ViT has a big disadvantage in terms of training time.","PeriodicalId":509439,"journal":{"name":"Proceedings of the International Conference on New Trends in Applied Sciences","volume":"181 15-16","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the International Conference on New Trends in Applied Sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.58190/icontas.2023.51","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Skin diseases are one of the most common diseases in humans. Due to its many various symptoms and types, computer vision studies have been frequently applied to its diagnosis and classification. Previous studies have frequently used machine learning methods and deep learning-based Convolutional Neural Networks (CNN) for skin disease diagnosis. Although deep learning-based applications have achieved great success in terms of detection accuracy, research continues to ensure the desired performance. However, Vision Transformer (ViT), recently proposed as a competitive alternative to CNNs, is gaining increasing popularity. This paper compares ResNet18 and ResNet50 networks, important CNN models, with ViT for classifying skin disease. The comparison is applied on a dataset containing a small number of samples. In the application performed on a dataset containing skin disease images, ViT provides 68.93% classification accuracy, while ResNet18 and ResNet50 classification accuracy is 61.65% and 61.17%, respectively. Other metrics calculated along with the accuracies also prove the superiority of ViT over ResNet models. However, ViT has a big disadvantage in terms of training time.