mlsanityData to 7 Oct 2026

Efficient Training of Visual Transformers with Small Datasets

arXiv 2106.03746 ↗First posted 7 Jun 2021cs.CV cs.LGcited by 107

Not on the map. Why?

Abstract (arXiv)

Visual Transformers (VTs) are emerging as an architectural paradigm alternative to Convolutional networks (CNNs). Differently from CNNs, VTs can capture global relations between image elements and they potentially have a larger representation capacity. However, the lack of the typical convolutional inductive bias makes these models more data-hungry than common CNNs. In fact, some local properties of the visual domain which are embedded in the CNN architectural design, in VTs should be learned from samples. In this paper, we empirically analyse different VTs, comparing their robustness in a small training-set regime, and we show that, despite having a comparable accuracy when trained on ImageNet, their performance on smaller datasets can be largely different. Moreover, we propose a self-supervised task which can extract additional information from images with only a negligible computational overhead. This task encourages the VTs to learn spatial relations within an image and makes the VT training much more robust when training data are scarce. Our task is used jointly with the standard (supervised) training and it does not depend on specific architectural choices, thus it can be easily plugged in the existing VTs. Using an extensive evaluation with different VTs and datasets, we show that our method can improve (sometimes dramatically) the final accuracy of the VTs. Our code is available at: https://github.com/yhlleo/VTs-Drloc.

Key facts. Cited by 107 papers in the map (data through 7 Oct 2026). Builds on 63 of its 89 references that are in the map. First posted on arXiv 7 Jun 2021.

Builds on

63 of 89 references.

References · 63

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  10. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  11. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  12. 2020End-to-End Object Detection with Transformerscited by 7,384
38 more
  1. 2017Mask R-CNNcited by 7,259
  2. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  3. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  4. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
  5. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  6. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  7. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  8. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  9. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  10. 2020Exploring Simple Siamese Representation Learningcited by 2,853
  11. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  12. 2017Non-local Neural Networkscited by 2,290
  13. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
  14. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  15. 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,586
  16. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  17. 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,379
  18. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  19. 2019Contrastive Multiview Codingcited by 1,297
  20. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
  21. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  22. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
  23. 2018Self-Attention with Relative Position Representationscited by 1,112
  24. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  25. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
  26. 2015Unsupervised Visual Representation Learning by Context Predictioncited by 1,062
  27. 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,013
  28. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  29. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  30. 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 806
  31. 2018CornerNet: Detecting Objects as Paired Keypointscited by 763
  32. 2019VideoBERT: A Joint Model for Video and Language Representation Learningcited by 702
  33. 2019Self-labelling via simultaneous clustering and representation learningcited by 525
  34. 2021TrackFormer: Multi-Object Tracking with Transformerscited by 515
  35. 2020Sparse R-CNN: End-to-End Object Detection with Learnable Proposalscited by 494
  36. 2018Invariant Information Clustering for Unsupervised Image Classification and Segmentationcited by 454
  37. 2021Intriguing Properties of Vision Transformerscited by 446
  38. 2020Multi-Task Learning with Deep Neural Networks: A Surveycited by 374

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 31; 2023: 25; 2024: 21; 2025: 19; 2026: 9.

107 papers.

Sort:

By area:

  1. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  2. 2021Are Large-scale Datasets Necessary for Self-Supervised Pre-training?cited by 117
  3. 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
  4. 2023Input Perturbation Reduces Exposure Bias in Diffusion Modelscited by 88
  5. 2022OpenEarthMap: A Benchmark Dataset for Global High-Resolution Land Cover Mappingcited by 80
  6. 2023SwiftFormer: Efficient Additive Attention for Transformer-based Real-time Mobile Vision Applicationscited by 66
  7. 2023Mimetic Initialization of Self-Attention Layerscited by 52
  8. 2023Backdoor Defense via Deconfounded Representation Learningcited by 38
  9. 2022Few-Shot Diffusion Modelscited by 37
  10. 2022Rethinking Generalization in Few-Shot Classificationcited by 36
  11. 2022Towards Data-Efficient Detection Transformerscited by 34
  12. 2022How to Train Vision Transformer on Small-scale Datasets?cited by 34
38 more
  1. 2022Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformerscited by 33
  2. 2022Locality Guidance for Improving Vision Transformers on Tiny Datasetscited by 33
  3. 2022Transforming medical imaging with Transformers? A comparative review of key properties, current progresses, and future perspectivescited by 32
  4. 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 28
  5. 2023Understanding Why ViT Trains Badly on Small Datasets: An Intuitive Perspectivecited by 28
  6. 2023Learngene: Inheriting Condensed Knowledge from the Ancestry Model to Descendant Modelscited by 24
  7. 2024HTR-VT: Handwritten Text Recognition with Vision Transformercited by 24
  8. 2022Exploiting Spatial Sparsity for Event Cameras with Visual Transformerscited by 23
  9. 2023Supervised Masked Knowledge Distillation for Few-Shot Transformerscited by 23
  10. 2022Self-Promoted Supervision for Few-Shot Transformercited by 22
  11. 2025Primus: Enforcing Attention Usage for 3D Medical Image Segmentationcited by 22
  12. 2024SONICS: Synthetic Or Not -- Identifying Counterfeit Songscited by 21
  13. 2022Skating-Mixer: Long-Term Sport Audio-Visual Modeling with MLPscited by 20
  14. 2022Spikeformer: A Novel Architecture for Training High-Performance Low-Latency Spiking Neural Networkcited by 19
  15. 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 19
  16. 2023Distilling Efficient Vision Transformers from CNNs for Semantic Segmentationcited by 18
  17. 2023Window Attention is Bugged: How not to Interpolate Position Embeddingscited by 18
  18. 2023SVFAP: Self-supervised Video Facial Affect Perceivercited by 18
  19. 2022Swin MAE: Masked Autoencoders for Small Datasetscited by 17
  20. 2023Limited Data, Unlimited Potential: A Study on ViTs Augmented by Masked Autoencoderscited by 17
  21. 2022Accumulated Trivial Attention Matters in Vision Transformers on Small Datasetscited by 15
  22. 2024TIM: A Time Interval Machine for Audio-Visual Action Recognitioncited by 15
  23. 2024Contrastive Unlearning: A Contrastive Approach to Machine Unlearningcited by 14
  24. 2022Temporal Latent Bottleneck: Synthesis of Fast and Slow Processing Mechanisms in Sequence Learningcited by 13
  25. 2024Frozen Feature Augmentation for Few-Shot Image Classificationcited by 13
  26. 2023TULIP: Transformer for Upsampling of LiDAR Point Cloudscited by 12
  27. 2022Random-LTD: Random and Layerwise Token Dropping Brings Efficient Training for Large-scale Transformerscited by 11
  28. 2024Towards Natural Machine Unlearningcited by 11
  29. 2023MDViT: Multi-domain Vision Transformer for Small Medical Image Segmentation Datasetscited by 9
  30. 2025Optimizing Robustness and Accuracy in Mixture of Experts: A Dual-Model Approachcited by 8
  31. 2023Are Vision Transformers More Data Hungry Than Newborn Visual Systems?cited by 7
  32. 2022Training a Vision Transformer from scratch in less than 24 hours with 1 GPUcited by 6
  33. 2023MoViT: Memorizing Vision Transformers for Medical Image Analysiscited by 6
  34. 2023Astroformer: More Data Might not be all you need for Classificationcited by 6
  35. 2023Enhancing Performance of Vision Transformers on Small Datasets through Local Inductive Bias Incorporationcited by 6
  36. 2023Mini but Mighty: Finetuning ViTs with Mini Adapterscited by 6
  37. 2024Weight Copy and Low-Rank Adaptation for Few-Shot Distillation of Vision Transformerscited by 6
  38. 2024GenFormer -- Generated Images are All You Need to Improve Robustness of Transformers on Small Datasetscited by 6

50 most cited of 107 All 107 (JSON)