Robustness of deep learning models is a crucial point that should be evaluated in computer vision tasks. Deep learning models must be able to produce same results under different conditions such as brightness, image rotation and so on. Deep learning models must have high level robustness to be reliable to address real world problems. Unreliable systems may be harmful for critical systems such as security, healthcare and military. In this study, it is aimed to evaluate image rotation robustness of Convolutional Neural Network (CNN) and Transformer-based deep learning models: MobileNetV2, Residual Network 18 (ResNet18), Visual Geometry Group 16 (VGG16), EfficientNetB1, Vision Transformer (ViT), Data- Efficient Image Transformers (DeiT), and Pooling-based Vision Transformer (PiT). Canadian Institute for Advanced Research 100 classes (CIFAR100), Canadian Institute for Advanced Research 10 classes (CIFAR10) and California Institute of Technology 256 classes (Caltech256) datasets were used to evaluate performances of the models. All deep learning models were trained with original train datasets. Image embeddings of train, test datasets, and their rotated forms were extracted. A Support Vector Classifier (SVC) was trained with embeddings of original dataset and concatenation of original and rotated form of train dataset. Performances on original test dataset and their rotated forms were evaluated. 10, 50, and 90 degrees rotated form of the datasets were used for rotated test dataset. F1-score metrics were used compare model performances. In conclusion, Transformer-based classification algorithms are more robust to image rotation than the CNN-based models.
30 September 2024 in Balkan Journal of Electrical and Computer Engineering
Facial Expression Recognition (FER) tasks have widely studied in the literature since it has many applications. Fast development of technology in deep learning computer vision algorithms, especially, transformer-based classification models, makes it hard to select most appropriate models. Using complex model may increase accuracy performance but decreasing inference time which is a crucial in near real-time applications. On the other hand, small models may not give desired results. In this study, we aimed to examine performance of 5 different relatively small transformer-based image classification algorithms for FER tasks. We used vanilla ViT, PiT, Swin, DeiT, and CrossViT with considering their trainable parameter size and architectures. Each model has 20-30M trainable parameters which means relatively small. Moreover, each model has different architectures. As an illustration, CrossViT focuses on image using multi-scale patches and PiT model introduces convolution layers and pooling techniques to vanilla ViT model. We obtained all results for widely used FER datasets: CK+ and KDEF. We observed that, PiT model achieves the best accuracy scores 0.9513 and 0.9090 for CK+ and KDEF datasets, respectively
1 November 2022 in IEEE Journal of Biomedical and Health Informatics
Cervical squamous intra-epithelial lesions (SIL) are precursor cancer lesions and their diagnosis is important because patients have a chance to be cured before cancer develops. In the diagnosis of the disease, pathologists decide by considering the cell distribution from the basal to the upper membrane. The idea, inspired by the pathologists' point of view, is based on the fact that cell amounts differ in the basal, central, and upper regions of tissue according to the level of Cervical Intraep- ithelial Neoplasia (CIN). Therefore, histogram information can be used for tissue classification so that the model can be explainable. In this study, two different classification schemes are proposed to show that the local histogram is a useful feature for the classification of cervical tissues. The first classifier is Kullback Leibler divergence-based, and the second one is the classification of the histogram by combining the embedding feature vector from morpho- metric features. These algorithms have been tested on a public dataset. 1 The method we propose in the study achieved an accuracy performance of 78 . 69% in a data set where morphology-based methods were 69 . 07% and Convo- lutional Neural Network (CNN) patch-based algorithms were 75 . 77%. The proposed statistical features are robust for tackling real-life problems as they operate independently of the lesions manifold.
22 December 2023 in Balkan Journal of Electrical and Computer Engineering