Abstract Visual Transformers (VTs) are increasingly popular in computer vision due to their robust global modeling. However, they do not have the same learning advantages as Convolutional Neural Networks (CNNs), which can be trained effectively with less data. This paper presents a simple "query attention" module that enhances VTs for small datasets. This module combines channel and spatial data to improve results without the need for pre-training. The query attention shows strong learning abilities and makes the model more efficient. Even with a reduced VTs backbone, the module improves performance over other methods. We tested this on four small datasets (CIFAR10/100, CINIC10, and Tiny-ImageNet) and found that our approach performed better. For instance, by using fewer layers in ViT with the query attention, we reduced parameters by 20\% and increased accuracy by 4.26\% on Tiny-ImageNet.
No takes yet. Share an insight, caveat, or question.
Jiang et al. (2024) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: