Abstract
Image classification has achieved unprecedented advance with the rapid development of deep learning. However, the classification of tiny object images is still not well investigated. In this paper, we first briefly review the development of Convolutional Neural Network and Visual Transformer in deep learning, and introduce the sources and development of conventional noises and adversarial attacks. Then we use various models of Convolutional Neural Network and Visual Transformer to conduct a series of experiments on the image dataset of tiny objects (sperms and impurities), and compare various evaluation metrics in the experimental results to obtain a model with stable performance. Finally, we discuss the problems in the classification of tiny objects and make a prospect for the classification of tiny objects in the future.
Introduction
Classifying "tiny objects"—defined as occupying areas $\le 32 \times 32$ pixels—is a notorious challenge in computer vision. These objects suffer from low resolution, indistinguishable features, and complex backgrounds. In fields like medical microscopy, specifically sperm analysis for fertility studies, the problem is exacerbated by noise from imaging sensors, lighting, and environmental impurities. While deep learning has mastered large-scale image classification (like ImageNet), its performance on tiny, noisy objects is less understood. This study evaluates which architectures are most resilient to both conventional noise and adversarial attacks.
Methodology
The researchers conducted an exhaustive "head-to-head" comparison between two major families of architectures: Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs). The CNN group included 12 models ranging from AlexNet to high-performers like Xception and DenseNet-121. The VT group included 12 models such as the standard ViT, DeiT, and T2T-ViT.
The study utilized a specialized medical dataset of over 278,000 annotated tiny objects, focusing on a balanced subset of 9,537 images (5,058 sperm cells and 4,479 impurities). Models were evaluated on Accuracy, Precision, Recall, F1-Score, model size, and inference time across 14 types of conventional noise and 4 types of adversarial attacks (FGM, FGSM, I-FGSM, and DeepFool).
Key Results and Analysis
On clean data, Xception achieved the highest accuracy at 98.43%, followed by Inception-V3 (98.32%) and DenseNet-121 (98.06%). However, the Vision Transformer (ViT) emerged as the "robustness champion." Under Gaussian noise, while CNNs saw significant performance degradation, ViT's metrics changed by as little as 1.6%.
The superior robustness of Transformers is attributed to their global self-attention mechanism. While CNNs rely on local convolution kernels that are easily distracted by pixel-level noise, Transformers capture global context, allowing them to ignore localized corruptions. Conversely, lightweight CNNs like ShuffleNet-V2, while efficient (under 5MB), proved to be the most fragile under noise. Furthermore, the study highlights that almost all models remain highly vulnerable to adversarial attacks like DeepFool, which can drop accuracy to near zero.
Conclusion
The study highlights a critical trade-off between raw accuracy on clean data and anti-noise robustness. While CNNs like Xception lead in ideal conditions, Vision Transformers offer superior stability in noisy environments typical of medical microscopy. Future work should focus on hybrid architectures that combine local feature extraction with global robustness and the development of larger, publicly accessible tiny object datasets to further refine these models.
Summary updated