English

Structured Initialization for Attention in Vision Transformers

Computer Vision and Pattern Recognition 2024-04-02 v1

Abstract

The training of vision transformer (ViT) networks on small-scale datasets poses a significant challenge. By contrast, convolutional neural networks (CNNs) have an architectural inductive bias enabling them to perform well on such problems. In this paper, we argue that the architectural bias inherent to CNNs can be reinterpreted as an initialization bias within ViT. This insight is significant as it empowers ViTs to perform equally well on small-scale problems while maintaining their flexibility for large-scale applications. Our inspiration for this ``structured'' initialization stems from our empirical observation that random impulse filters can achieve comparable performance to learned filters within CNNs. Our approach achieves state-of-the-art performance for data-efficient ViT learning across numerous benchmarks including CIFAR-10, CIFAR-100, and SVHN.

Keywords

Cite

@article{arxiv.2404.01139,
  title  = {Structured Initialization for Attention in Vision Transformers},
  author = {Jianqiao Zheng and Xueqian Li and Simon Lucey},
  journal= {arXiv preprint arXiv:2404.01139},
  year   = {2024}
}

Comments

20 pages, 5 figures, 8 tables

R2 v1 2026-06-28T15:40:18.404Z