mlsanityData to 14 Oct 2026

Investigating Transfer Learning Capabilities of Vision Transformers and CNNs by Fine-Tuning a Single Trainable Block

arXiv 2110.05270 ↗First posted 11 Oct 2021cs.CV cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

In recent developments in the field of Computer Vision, a rise is seen in the use of transformer-based architectures. They are surpassing the state-of-the-art set by CNN architectures in accuracy but on the other hand, they are computationally very expensive to train from scratch. As these models are quite recent in the Computer Vision field, there is a need to study it's transfer learning capabilities and compare it with CNNs so that we can understand which architecture is better when applied to real world problems with small data. In this work, we follow a simple yet restrictive method for fine-tuning both CNN and Transformer models pretrained on ImageNet1K on CIFAR-10 and compare them with each other. We only unfreeze the last transformer/encoder or last convolutional block of a model and freeze all the layers before it while adding a simple MLP at the end for classification. This simple modification lets us use the raw learned weights of both these neural networks. From our experiments, we find out that transformers-based architectures not only achieve higher accuracy than CNNs but some transformers even achieve this feat with around 4 times lesser number of parameters.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 11 Oct 2021.

Builds on

18 of 30 references.

References · 18

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2016Densely Connected Convolutional Networkscited by 6,720
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  8. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  9. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  11. 2014Going Deeper with Convolutionscited by 4,241
  12. 2016Identity Mappings in Deep Residual Networkscited by 1,965
6 more
  1. 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,135
  2. 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,070
  3. 2021Scaling Vision Transformerscited by 999
  4. 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 360
  5. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  6. 2021Co-Scale Conv-Attentional Image Transformerscited by 224

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 0; 2023: 1.

2 papers.