paper-with-me

홈 › Papers

How to Train Vision Transformer on Small-scale Datasets?

2022-10-13 · Hanan Gani, Muzammal Naseer, Mohammad Yaqub

Vision Transformer (ViT), a radically different architecture than convolutional neural networks offers multiple advantages including design simplicity, robustness and state-of-the-art performance on many vision tasks. However, in contrast to convolutional neural networks, Vision Transformer lacks inherent inductive biases. Therefore, successful training of such models is mainly attributed to pre-training on large-scale datasets such as ImageNet with 1.2M or JFT with 300M images. This hinders the direct adaption of Vision Transformer for small-scale datasets. In this work, we show that self-supervised inductive biases can be learned directly from small-scale datasets and serve as an effective weight initialization scheme for fine-tuning. This allows to train these models without large-scale pre-training, changes to model architecture or loss functions. We present thorough experiments to successfully train monolithic and non-monolithic Vision Transformers on five small datasets including CIFAR10/100, CINIC10, SVHN, Tiny-ImageNet and two fine-grained datasets: Aircraft and Cars. Our approach consistently improves the performance of Vision Transformers while retaining their properties such as attention to salient regions and higher robustness. Our codes and pre-trained models are available at: https://github.com/hananshafi/vits-for-small-scale-datasets.

📄 PDF Abstract BibTeX arXiv:2210.07240

Code (2)

hananshafi/vits-for-small-scale-datasets 공식 구현 pytorch
Abdulrahman-Adel/Real-Life-Violence-Detection tf

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Explicitly Increasing Input Information Density for Vision Transformers on Small Datasets

2022-10-25 · Xiangyu Chen, Ying Qin, Wenju Xu, Andrés M. Bur 외

Vision Transformers have attracted a lot of attention recently since the successful implementation of Vision Transformer (ViT) on vision tasks. With vision Transformers, specifically the multi-head self-attention modules…

Pre-training of Lightweight Vision Transformers on Small Datasets with Minimally Scaled Images

2024-02-06 · Jen Hong Tan

Can a lightweight Vision Transformer (ViT) match or exceed the performance of Convolutional Neural Networks (CNNs) like ResNet on small datasets with small image resolutions? This report demonstrates that a pure ViT can …

Image Classification

IBiT: Utilizing Inductive Biases to Create a More Data Efficient Attention Mechanism

2025-09-24 · Adithya Giri arxiv

In recent years, Transformer-based architectures have become the dominant method for Computer Vision applications. While Transformers are explainable and scale well with dataset size, they lack the inductive biases of Co…

Knowledge Distillation

ConvNets Match Vision Transformers at Scale

2023-10-25 · Samuel L. Smith, Andrew Brock, Leonard Berrada, Soham De

Many researchers believe that ConvNets perform well on small or moderately sized datasets, but are not competitive with Vision Transformers when given access to datasets on the web-scale. We challenge this belief by eval…

AutoTaskFormer: Searching Vision Transformers for Multi-task Learning

2023-04-18 · Yang Liu, Shen Yan, Yuge Zhang, Kan Ren 외

Vision Transformers have shown great performance in single tasks such as classification and segmentation. However, real-world problems are not isolated, which calls for vision transformers that can perform multiple tasks…

Multi-Task LearningNeural Architecture Search