Effective Vision Transformer Training: A Data-Centric Perspective
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViTs) have shown promising performance compared with Convolutional Neural Networks (CNNs), but the training of ViTs is much harder than CNNs. In this paper, we define several metrics, including Dynamic Data Proportion (DDP) and Knowledge Assimilation Rate (KAR), to investigate the training process, and divide it into three periods accordingly: formation, growth and exploration. In particular, at the last stage of training, we observe that only a tiny portion of training examples is used to optimize the model. Given the data-hungry nature of ViTs, we thus ask a simple but important question: is it possible to provide abundant ``effective'' training examples at EVERY stage of training? To address this issue, we need to address two critical questions, ie, how to measure the ``effectiveness'' of individual training examples, and how to systematically generate enough number of ``effective'' examples when they are running out. To answer the first question, we find that the ``difficulty'' of training samples can be adopted as an indicator to measure the ``effectiveness'' of training samples. To cope with the second question, we propose to dynamically adjust the ``difficulty'' distribution of the training data in these evolution stages. To achieve these two purposes, we propose a novel data-centric ViT training framework to dynamically measure the ``difficulty'' of training samples and generate ``effective'' samples for models at different training stages. Furthermore, to further enlarge the number of ``effective'' samples and alleviate the overfitting problem in the late training stage of ViTs, we propose a patch-level erasing strategy dubbed PatchErasing. Extensive experiments demonstrate the effectiveness of the proposed data-centric ViT training framework and techniques.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 44 of its 53 references that are in the map. First posted on arXiv 29 Sep 2022.
Builds on
44 of 53 references.
References · 44
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2017Random Erasing Data Augmentationcited by 1,235
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,147
- 2021Transformers in Vision: A Surveycited by 1,009
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
32 more
- 2021Multiscale Vision Transformerscited by 896
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Going deeper with Image Transformerscited by 759
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021Transformer in Transformercited by 632
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021Early Convolutions Help Transformers See Bettercited by 395
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2017Automated Curriculum Learning for Neural Networkscited by 251
- 2021Incorporating Convolution Designs into Visual Transformerscited by 248
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2020Learning From Multiple Experts: Self-paced Knowledge Distillation for Long-tailed Classificationcited by 175
- 2021VOLO: Vision Outlooker for Visual Recognitioncited by 164
- 2021HRFormer: High-Resolution Transformer for Dense Predictioncited by 149
- 2021Visformer: The Vision-friendly Transformercited by 137
- 2020GridMask Data Augmentationcited by 123
- 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
- 2022A Comprehensive Survey of Image Augmentation Techniques for Deep Learningcited by 95
- 2022The Effects of Regularization and Data Augmentation are Class Dependentcited by 67
- 2021KVT: k-NN Attention for Boosting Vision Transformerscited by 64
- 2018Hide-and-Seek: A Data Augmentation Technique for Weakly-Supervised Localization and Beyondcited by 36
- 2021Scaled ReLU Matters for Training Vision Transformerscited by 29
- 2021PSViT: Better Vision Transformer via Token Pooling and Attention Sharingcited by 21
- 2021ELSA: Enhanced Local Self-Attention for Vision Transformercited by 18
Built on by
Citing papers per year: 2022: 1; 2023: 2.
3 papers.