Evaluación comparativa de arquitecturas basadas en ViT y CNN para la clasificación de imágenes dermatológicas

The skin, as the largest organ in the human body, is susceptible to lesions that, in some cases, can be caused by factors such as excessive exposure to ultraviolet rays, which can lead to serious consequences such as skin cancer. Monitoring the characteristics and behavior of these lesions and accurately identifying them is essential for the treatment of skin lesions. Currently, this identification process can be supported by image-based and deep learning techniques, with models based on convolutional neural networks (CNN), Transformer-based models, or models that use a combination of both. Among the most popular architectures for image classification are ResNet and EfficientNet, in the case of CNN-based models, and ViT and Swin Transformer, in the case of Transformer-based architectures. However, the superiority of one architecture over another for a specific problem may depend on factors such as the size of the dataset, the available computing power, or the resolution of the image. In this context, the objective of this research was to conduct a comparative study of the performance of CNN-based and ViT-based models for the automated classification of seven skin lesions using the DermaMNIST dataset, which is characterized by class imbalance. The methodology employed consisted of conducting the comparison in a single experimental environment using a unified pipeline with preprocessing, stratified splitting, data augmentation, and training from scratch or through transfer learning. The results were evaluated in terms of accuracy, AUC, F1-score, and balanced accuracy, achieving values of 85.99%, 97.38%, 75.98% and 80.78%, respectively. Finally, it is concluded that, for the problem evaluated, EfficientNetV2-L achieved the highest accuracy, F1-score, and balanced accuracy (although at a higher computational cost for both training and inference), whereas DenseNet201 obtained the highest AUC, since it prioritizes the majority class. Besides, ViT-based models require pre-trained models to be competitive, due to the small number of samples.

Authors

Institutions

Publication Details

Journal
TecnoLógicas
Published
2026-12-02
Primary Topic
Cutaneous Melanoma Detection and Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Evaluación comparativa de arquitecturas basadas en ViT y CNN para la clasificación de imágenes dermatológicas

Diego Renza, Andrés E. Villamarin-Olmos
TecnoLógicas
Cutaneous Melanoma Detection and Management
article

Evaluación comparativa de arquitecturas basadas en ViT y CNN para la clasificación de imágenes dermatológicas

Diego Renza, Andrés E. Villamarin-Olmos
article en

Abstract

The skin, as the largest organ in the human body, is susceptible to lesions that, in some cases, can be caused by factors such as excessive exposure to ultraviolet rays, which can lead to serious consequences such as skin cancer. Monitoring the characteristics and behavior of these lesions and accurately identifying them is essential for the treatment of skin lesions. Currently, this identification process can be supported by image-based and deep learning techniques, with models based on convolutional neural networks (CNN), Transformer-based models, or models that use a combination of both. Among the most popular architectures for image classification are ResNet and EfficientNet, in the case of CNN-based models, and ViT and Swin Transformer, in the case of Transformer-based architectures. However, the superiority of one architecture over another for a specific problem may depend on factors such as the size of the dataset, the available computing power, or the resolution of the image. In this context, the objective of this research was to conduct a comparative study of the performance of CNN-based and ViT-based models for the automated classification of seven skin lesions using the DermaMNIST dataset, which is characterized by class imbalance. The methodology employed consisted of conducting the comparison in a single experimental environment using a unified pipeline with preprocessing, stratified splitting, data augmentation, and training from scratch or through transfer learning. The results were evaluated in terms of accuracy, AUC, F1-score, and balanced accuracy, achieving values of 85.99%, 97.38%, 75.98% and 80.78%, respectively. Finally, it is concluded that, for the problem evaluated, EfficientNetV2-L achieved the highest accuracy, F1-score, and balanced accuracy (although at a higher computational cost for both training and inference), whereas DenseNet201 obtained the highest AUC, since it prioritizes the majority class. Besides, ViT-based models require pre-trained models to be competitive, due to the small number of samples.

TecnoLógicasVol. 30(68)
Military University Nueva Granada (CO)
Cutaneous Melanoma Detection and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon