mlsanityData to 14 Oct 2026

Locality Guidance for Improving Vision Transformers on Tiny Datasets

arXiv 2207.10026 ↗First posted 20 Jul 2022cs.CVcited by 33

Not on the map. Why?

Abstract (arXiv)

While the Vision Transformer (VT) architecture is becoming trendy in computer vision, pure VT models perform poorly on tiny datasets. To address this issue, this paper proposes the locality guidance for improving the performance of VTs on tiny datasets. We first analyze that the local information, which is of great importance for understanding images, is hard to be learned with limited data due to the high flexibility and intrinsic globality of the self-attention mechanism in VTs. To facilitate local information, we realize the locality guidance for VTs by imitating the features of an already trained convolutional neural network (CNN), inspired by the built-in local-to-global hierarchy of CNN. Under our dual-task learning paradigm, the locality guidance provided by a lightweight CNN trained on low-resolution images is adequate to accelerate the convergence and improve the performance of VTs to a large extent. Therefore, our locality guidance approach is very simple and efficient, and can serve as a basic performance enhancement method for VTs on tiny datasets. Extensive experiments demonstrate that our method can significantly improve VTs when training from scratch on tiny datasets and is compatible with different kinds of VTs and datasets. For example, our proposed method can boost the performance of various VTs on tiny datasets (e.g., 13.07% for DeiT, 8.98% for T2T and 7.85% for PVT), and enhance even stronger baseline PVTv2 by 1.86% to 79.30%, showing the potential of VTs on tiny datasets. The code is available at https://github.com/lkhl/tiny-transformers.

Key facts. Cited by 33 papers in the map (data through 14 Oct 2026). Builds on 44 of its 55 references that are in the map. First posted on arXiv 20 Jul 2022.

Builds on

44 of 55 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  8. 2020End-to-End Object Detection with Transformerscited by 7,414
  9. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  11. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
  12. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
32 more
  1. 2014FitNets: Hints for Thin Deep Netscited by 1,653
  2. 2021ViViT: A Video Vision Transformercited by 1,620
  3. 2020Knowledge Distillation: A Surveycited by 1,603
  4. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  5. 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,077
  6. 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
  7. 2020Quantifying Attention Flow in Transformerscited by 775
  8. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  9. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
  10. 2019Similarity-Preserving Knowledge Distillationcited by 516
  11. 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
  12. 2018fastMRI: An Open Dataset and Benchmarks for Accelerated MRIcited by 470
  13. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  14. 2019Deep Modular Co-Attention Networks for Visual Question Answeringcited by 339
  15. 2019Variational Information Distillation for Knowledge Transfercited by 324
  16. 2021Escaping the Big Data Paradigm with Compact Transformerscited by 264
  17. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  18. 2018Knowledge Transfer via Distillation of Activation Boundaries Formed by Hidden Neuronscited by 238
  19. 2020DetectoRS: Detecting Objects with Recursive Feature Pyramid and Switchable Atrous Convolutioncited by 222
  20. 2019Distilling Object Detectors with Fine-grained Feature Imitationcited by 189
  21. 2021VOLO: Vision Outlooker for Visual Recognitioncited by 165
  22. 2021Conformer: Local Features Coupling Global Representations for Visual Recognitioncited by 164
  23. 2021Efficient Training of Visual Transformers with Small Datasetscited by 108
  24. 2019Knowledge Adaptation for Efficient Semantic Segmentationcited by 105
  25. 2021Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understandingcited by 97
  26. 2020TAP: Text-Aware Pre-training for Text-VQA and Text-Captioncited by 95
  27. 2020Heterogeneous Knowledge Distillation using Information Flow Modelingcited by 73
  28. 2021CheXtransfer: Performance and Parameter Efficiency of ImageNet Models for Chest X-Ray Interpretationcited by 57
  29. 2018MEAL: Multi-Model Ensemble via Adversarial Learningcited by 52
  30. 2021Hard Sample Aware Noise Robust Learning for Histopathology Image Classificationcited by 48
  31. 2022Joint learning of object graph and relation graph for visual question answeringcited by 13
  32. 2019Knowledge Squeezed Adversarial Network Compressioncited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 3; 2023: 12; 2024: 9; 2025: 7; 2026: 2.

33 papers.

Sort:

By area:

  1. 2024Logit Standardization in Knowledge Distillationcited by 102
  2. 2022Expectation-Maximization Contrastive Learning for Compact Video-and-Language Representationscited by 57
  3. 2023DiffusionRet: Generative Text-Video Retrieval with Diffusion Modelcited by 52
  4. 2023Video-Text as Game Players: Hierarchical Banzhaf Interaction for Cross-Modal Representation Learningcited by 45
  5. 2023Text-Video Retrieval with Disentangled Conceptualization and Set-to-Set Alignmentcited by 32
  6. 2022Toward 3D Spatial Reasoning for Human-like Text-based Visual Question Answeringcited by 25
  7. 2023SCTNet: Single-Branch CNN with Transformer Semantic Information for Real-Time Segmentationcited by 22
  8. 2023Limited Data, Unlimited Potential: A Study on ViTs Augmented by Masked Autoencoderscited by 17
  9. 2023Computation-efficient Deep Learning for Computer Vision: A Surveycited by 14
  10. 2023Auto-Prox: Training-Free Vision Transformer Architecture Search via Automatic Proxy Discoverycited by 13
  11. 2024Representative Social Choice: From Learning Theory to AI Alignmentcited by 8
  12. 2023Enhancing Performance of Vision Transformers on Small Datasets through Local Inductive Bias Incorporationcited by 6
21 more
  1. 2024GenFormer -- Generated Images are All You Need to Improve Robustness of Transformers on Small Datasetscited by 6
  2. 2025VRM: Knowledge Distillation via Virtual Relation Matchingcited by 6
  3. 2023GSB: Group Superposition Binarization for Vision Transformer with Limited Training Samplescited by 4
  4. 2025Cross-Architecture Distillation Made Simple with Redundancy Suppressioncited by 4
  5. 2023LumiNet: Perception-Driven Knowledge Distillation via Statistical Logit Calibrationcited by 3
  6. 2023TVT: Training-Free Vision Transformer Search on Tiny Datasetscited by 3
  7. 2024ReViT: Enhancing Vision Transformers Feature Diversity with Attention Residual Connectionscited by 3
  8. 2024Sparsity- and Hybridity-Inspired Visual Parameter-Efficient Fine-Tuning for Medical Diagnosiscited by 3
  9. 2024HDKD: Hybrid Data-Efficient Knowledge Distillation Network for Medical Image Classificationcited by 3
  10. 2024Self-supervised Auxiliary Learning for Texture and Model-based Hybrid Robust and Fair Featuring in Face Analysiscited by 3
  11. 2024SSAD: Self-supervised Auxiliary Detection Framework for Panoramic X-ray based Dental Disease Diagnosiscited by 2
  12. 2023Toward a Deeper Understanding: RetNet Viewed through Convolutioncited by 1
  13. 2024Multi-perspective Contrastive Logit Distillationcited by 1
  14. 2025Right Time to Learn:Promoting Generalization via Bio-inspired Spacing Effect in Knowledge Distillationcited by 1
  15. 2022OVO: One-shot Vision Transformer Search with Online distillationcited by 0
  16. 2025Simple Self Organizing Map with Vision Transformerscited by 0
  17. 2025Logo-LLM: Local and Global Modeling with Large Language Models for Time Series Forecastingcited by 0
  18. 2025TopKD: Top-scaled Knowledge Distillationcited by 0
  19. 2025DetailSemNet: Elevating Signature Verification through Detail-Semantic Integrationcited by 0
  20. 2026Spectral Vision Transformer for Efficient Tokenization with Limited Datacited by 0
  21. 2026Grid-Preserving Knowledge Distillation: Transferring Convolutional Inductive Bias to Vision Transformers under Data Scarcitycited by 0