Revisiting Inductive Bias in Vision Transformers: A Comparative Analysis of Transfer Learning and Training from Scratch on CIFAR-10
Abstract
This paper is a comparative study of transfer learning and training from scratch on CIFAR-10, and of the relationship between inductive bias and vision transformers. Vision Transformers (ViT) are a relatively new form of potent alternative to Convolutional Neural Networks (CNNs) in the field of computer vision. However, unlike CNNs, ViTs lack strong inductive biases, such as locality or translation invariance and thus owe a lot to large-scale data. The paper will conduct a parallel comparison between training a Vision Transformer on the CIFAR-10 dataset in a pure vanilla environment and using a pre-trained model via transfer learning. A Lightweight hybrid vision transformer is an ad-hoc training and it has an accuracy of 72.82%. In comparison, when a ViT-B/16 is pre-trained on ImageNet and subsequently fine-tuned on CIFAR-10, the accuracy reaches 94.08% after only five epochs. The results indicate that the latter is not as efficient at using data as Vision Transformers trained directly; although trained on a large scale, it has a high representation learning capacity.