Related Experiment Video
Updated: Oct 28, 2026

A Swin Transformer-Based Model for Thyroid Nodule Detection in Ultrasound Images
Published on: April 21, 2023
Assessment of Convolutional Neural Network and Vision Transformer Architectures for Structural Surface Classification
Bonginkosi A Thango1, Sipho G Thango2,3
1Department of Electrical and Electronic Engineering Technology, University of Johannesburg, Johannesburg 2092, South Africa.
Abstract:
We evaluate ten convolutional neural networks (CNNs) and ten transformer/attention architectures for nine-category surface classification using 41,756 balanced StructDamage images. A frozen ImageNet-pretrained ResNet18 encoder and learned head use 33,352 training, 4202 validation and 4202 test images grouped by inferred augmentation family. Test accuracy is 98.88%, macro-F1 is 0.9881, and the 95% component-bootstrap accuracy interval is 98.42-99.26%. Content screening retains 4102 test images and 98.85% accuracy. Nevertheless, cross-partition exact matches and candidate source-prefix overlap prevent treating these results as independent-site validation. The separate random-initialization screen uses 1800 training images, 900 validation images, the common test set, 64 × 64 inputs and five epochs. DenseNet121 leads with 88.34% accuracy; XCiT-Tiny leads the transformer/attention group with 84.75% accuracy. Eighteen models select the final epoch, so the comparison does not establish convergence-equivalent superiority. With 5400 training images, all twenty accuracies increase and the between-budget rank correlation is 0.850. Component-aware comparisons and wall/deck error analysis qualify the ranking. The findings concern surface-category recognition, not defect localization, damage severity or structural safety.