Structured Initialization for Attention in Vision Transformers

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zheng, Jianqiao, Li, Xueqian, Lucey, Simon
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910393848299520
author Zheng, Jianqiao
Li, Xueqian
Lucey, Simon
author_facet Zheng, Jianqiao
Li, Xueqian
Lucey, Simon
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_01139
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Structured Initialization for Attention in Vision Transformers
Zheng, Jianqiao
Li, Xueqian
Lucey, Simon
Computer Vision and Pattern Recognition
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.
title Structured Initialization for Attention in Vision Transformers
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.01139