arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.02358cs.CV

ViT-P: Rethinking Data-efficient Vision Transformers from Locality

Chongqing University of Technology(重庆理工大学);University of California(加利福尼亚大学)

Bin Chen, Ran Wang, Di Ming, Xin Feng

英文摘要:

Recent advances of Transformers have brought new trust to computer vision tasks. However, on small dataset, Transformers is hard to train and has lower performance than convolutional neural networks. We make vision transformers as data-efficient as convolutional neural networks by introducing multi-focal attention bias. Inspired by the attention distance in a well-trained ViT, we constrain the self-attention of ViT to have multi-scale localized receptive field. The size of receptive field is adaptable during training so that optimal configuration can be learned. We provide empirical evidence that proper constrain of receptive field can reduce the amount of training data for vision transformers. On Cifar100, our ViT-P Base model achieves the state-of-the-art accuracy (83.16%) trained from scratch. We also perform analysis on ImageNet to show our method does not lose accuracy on large data sets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑