TokenMix: Rethinking Image Mixing for Data Augmentation in Vision Transformers
Not on the map. Why?
Abstract (arXiv)
CutMix is a popular augmentation technique commonly used for training modern convolutional and transformer vision networks. It was originally designed to encourage Convolution Neural Networks (CNNs) to focus more on an image's global context instead of local information, which greatly improves the performance of CNNs. However, we found it to have limited benefits for transformer-based architectures that naturally have a global receptive field. In this paper, we propose a novel data augmentation technique TokenMix to improve the performance of vision transformers. TokenMix mixes two images at token level via partitioning the mixing region into multiple separated parts. Besides, we show that the mixed learning target in CutMix, a linear combination of a pair of the ground truth labels, might be inaccurate and sometimes counter-intuitive. To obtain a more suitable target, we propose to assign the target score according to the content-based neural activation maps of the two images from a pre-trained teacher model, which does not need to have high performance. With plenty of experiments on various vision transformer architectures, we show that our proposed TokenMix helps vision transformers focus on the foreground area to infer the classes and enhances their robustness to occlusion, with consistent performance gains. Notably, we improve DeiT-T/S/B with +1% ImageNet top-1 accuracy. Besides, TokenMix enjoys longer training, which achieves 81.2% top-1 accuracy on ImageNet with DeiT-S trained for 400 epochs. Code is available at https://github.com/Sense-X/TokenMix.
Key facts. Cited by 48 papers in the map (data through 7 Oct 2026). Builds on 34 of its 42 references that are in the map. First posted on arXiv 18 Jul 2022.
Builds on
34 of 42 references.
References · 34
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
22 more
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,623
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2017Random Erasing Data Augmentationcited by 1,235
- 2016Deep Networks with Stochastic Depthcited by 973
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2021Going deeper with Image Transformerscited by 759
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2021ResNet strikes back: An improved training procedure in timmcited by 365
- 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 359
- 2020Are we done with ImageNet?cited by 329
- 2020Puzzle Mix: Exploiting Saliency and Local Statistics for Optimal Mixupcited by 260
- 2020SaliencyMix: A Saliency Guided Data Augmentation Strategy for Better Regularizationcited by 149
- 2021Co-Mixup: Saliency Guided Joint Mixup with Supermodular Diversitycited by 127
- 2020GridMask Data Augmentationcited by 123
- 2021Re-labeling ImageNet: from Single to Multi-Labels, from Global to Localized Labelscited by 117
- 2018Data Augmentation using Random Image Cropping and Patching for Deep CNNscited by 87
- 2021TransMix: Attend to Mix for Vision Transformerscited by 79
- 2020ResizeMix: Mixing Data with Preserved Object Information and True Labelscited by 68
- 2018Hide-and-Seek: A Data Augmentation Technique for Weakly-Supervised Localization and Beyondcited by 36
- 2021AlignMixup: Improving Representations By Interpolating Aligned Featurescited by 33
Built on by
Citing papers per year: 2022: 8; 2023: 19; 2024: 10; 2025: 8; 2026: 3.
48 papers.
Sort:
By area:
- 2024LocalMamba: Visual State Space Model with Windowed Selective Scancited by 235
- 2022SVFormer: Semi-supervised Video Transformer for Action Recognitioncited by 67
- 2022C-Mixup: Improving Generalization in Regressioncited by 57
- 2023Patch-Mix Transformer for Unsupervised Domain Adaptation: A Game Perspectivecited by 54
- 2022Learning Imbalanced Data with Vision Transformerscited by 34
- 2022A Survey of Mix-based Data Augmentation: Taxonomy, Methods, Applications, and Explainabilitycited by 30
- 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
- 2024Multi-criteria Token Fusion with One-step-ahead Attention for Efficient Vision Transformerscited by 26
- 2023Patch-Mix Contrastive Learning with Audio Spectrogram Transformer on Respiratory Sound Classificationcited by 24
- 2023Image Data Augmentation Approaches: A Comprehensive Survey and Future directionscited by 23
- 2023TransFace++: Rethinking the Face Recognition Paradigm with a Focus on Accuracy, Efficiency, and Securitycited by 22
- 2022OpenMixup: Open Mixup Toolbox and Benchmark for Visual Representation Learningcited by 21
36 more
- 2024A Survey on Mixup Augmentations and Beyondcited by 18
- 2023Adversarial AutoMixupcited by 16
- 2023MixPro: Data Augmentation with MaskMix and Progressive Attention Labeling for Vision Transformercited by 15
- 2023IPMix: Label-Preserving Data Augmentation Method for Training Robust Classifierscited by 14
- 2024SUMix: Mixup with Semantic and Uncertain Informationcited by 12
- 2022SMMix: Self-Motivated Image Mixing for Vision Transformerscited by 8
- 2023Inter-Instance Similarity Modeling for Contrastive Learningcited by 6
- 2022Token-Label Alignment for Vision Transformerscited by 5
- 2025REN: Fast and Efficient Region Encodings from Patch-Based Image Encoderscited by 5
- 2025SelectMix: Enhancing Label Noise Robustness through Targeted Sample Mixingcited by 5
- 2023PointPatchMix: Point Cloud Mixing with Patch Scoringcited by 4
- 2023Embedding Space Interpolation Beyond Mini-Batch, Beyond Pairs and Beyond Examplescited by 4
- 2023SpliceMix: A Cross-scale and Semantic Blending Augmentation Strategy for Multi-label Image Classificationcited by 4
- 2023Beyond Grids: Exploring Elastic Input Sampling for Vision Transformerscited by 3
- 2023TiMix: Text-aware Image Mixing for Effective Vision-Language Pre-trainingcited by 3
- 2024Acoustic Feature Mixup for Balanced Multi-aspect Pronunciation Assessmentcited by 3
- 2024Test-Time Augmentation Meets Variational Bayescited by 3
- 2023Infinite Class Mixupcited by 2
- 2023Leveraging the Power of Data Augmentation for Transformer-based Trackingcited by 2
- 2024Semi-Supervised Unconstrained Head Pose Estimation in the Wildcited by 2
- 2025CAARMA: Class Augmentation with Adversarial Mixup Regularizationcited by 2
- 2025Exploring Token-Level Augmentation in Vision Transformer for Semi-Supervised Semantic Segmentationcited by 1
- 2025Enhancing Ambiguous Dynamic Facial Expression Recognition with Soft Label-based Data Augmentationcited by 1
- 2026InstructMixup: Instruction-Guided Salient Patch Editing for Robust Data Augmentationcited by 1
- 2022Expeditious Saliency-guided Mix-up through Random Gradient Thresholdingcited by 0
- 2023Recent Advances of Local Mechanisms in Computer Vision: A Survey and Outlook of Recent Workcited by 0
- 2023RaViTT: Random Vision Transformer Tokenscited by 0
- 2023Watch out Venomous Snake Species: A Solution to SnakeCLEF2023cited by 0
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformerscited by 0
- 2024Mind the Context: Attention-Guided Weak-to-Strong Consistency for Enhanced Semi-Supervised Medical Image Segmentationcited by 0
- 2024Random Token Fusion for Multi-View Medical Diagnosiscited by 0
- 2025LayerMix: Enhanced Data Augmentation through Fractal Integration for Robust Deep Learningcited by 0
- 2025PDC-ViT : Source Camera Identification using Pixel Difference Convolution and Vision Transformercited by 0
- 2025FDCT: Frequency-Aware Decomposition and Cross-Modal Token-Alignment for Multi-Sensor Target Classificationcited by 0
- 2026CASP: Few-Shot Class-Incremental Learning with CLS Token Attention Steering Promptscited by 0
- 2026OA-CutMix: Correcting the Label Bias of CutMixcited by 0
- 2026InstructMixup: Instruction-Guided Salient Patch Editing for Robust Data Augmentation21 Jul 2026
- 2026OA-CutMix: Correcting the Label Bias of CutMix3 Jun 2026
- 2026CASP: Few-Shot Class-Incremental Learning with CLS Token Attention Steering Prompts23 Jan 2026
- 2025SelectMix: Enhancing Label Noise Robustness through Targeted Sample Mixing14 Sep 2025
- 2025Enhancing Ambiguous Dynamic Facial Expression Recognition with Soft Label-based Data Augmentation25 Jun 2025
- 2025REN: Fast and Efficient Region Encodings from Patch-Based Image Encoders23 May 2025
- 2025CAARMA: Class Augmentation with Adversarial Mixup Regularization20 Mar 2025
- 2025FDCT: Frequency-Aware Decomposition and Cross-Modal Token-Alignment for Multi-Sensor Target Classification12 Mar 2025
- 2025Exploring Token-Level Augmentation in Vision Transformer for Semi-Supervised Semantic Segmentation4 Mar 2025
- 2025PDC-ViT : Source Camera Identification using Pixel Difference Convolution and Vision Transformer27 Jan 2025
- 2025LayerMix: Enhanced Data Augmentation through Fractal Integration for Robust Deep Learning8 Jan 2025
- 2024Random Token Fusion for Multi-View Medical Diagnosis21 Oct 2024
36 more
- 2024Mind the Context: Attention-Guided Weak-to-Strong Consistency for Enhanced Semi-Supervised Medical Image Segmentation16 Oct 2024
- 2024Test-Time Augmentation Meets Variational Bayes19 Sep 2024
- 2024A Survey on Mixup Augmentations and Beyond8 Sep 2024
- 2024SUMix: Mixup with Semantic and Uncertain Information10 Jul 2024
- 2024Acoustic Feature Mixup for Balanced Multi-aspect Pronunciation Assessment22 Jun 2024
- 2024Semi-Supervised Unconstrained Head Pose Estimation in the Wild3 Apr 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
- 2024Multi-criteria Token Fusion with One-step-ahead Attention for Efficient Vision Transformers15 Mar 2024
- 2024LocalMamba: Visual State Space Model with Windowed Selective Scan14 Mar 2024
- 2023Adversarial AutoMixup19 Dec 2023
- 2023TiMix: Text-aware Image Mixing for Effective Vision-Language Pre-training14 Dec 2023
- 2023SpliceMix: A Cross-scale and Semantic Blending Augmentation Strategy for Multi-label Image Classification26 Nov 2023
- 2023Embedding Space Interpolation Beyond Mini-Batch, Beyond Pairs and Beyond Examples9 Nov 2023
- 2023IPMix: Label-Preserving Data Augmentation Method for Training Robust Classifiers7 Oct 2023
- 2023Beyond Grids: Exploring Elastic Input Sampling for Vision Transformers23 Sep 2023
- 2023Leveraging the Power of Data Augmentation for Transformer-based Tracking15 Sep 2023
- 2023TransFace++: Rethinking the Face Recognition Paradigm with a Focus on Accuracy, Efficiency, and Security20 Aug 2023
- 2023Watch out Venomous Snake Species: A Solution to SnakeCLEF202319 Jul 2023
- 2023Inter-Instance Similarity Modeling for Contrastive Learning21 Jun 2023
- 2023RaViTT: Random Vision Transformer Tokens19 Jun 2023
- 2023Recent Advances of Local Mechanisms in Computer Vision: A Survey and Outlook of Recent Work2 Jun 2023
- 2023Patch-Mix Contrastive Learning with Audio Spectrogram Transformer on Respiratory Sound Classification23 May 2023
- 2023Infinite Class Mixup17 May 2023
- 2023MixPro: Data Augmentation with MaskMix and Progressive Attention Labeling for Vision Transformer24 Apr 2023
- 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Review7 Apr 2023
- 2023Patch-Mix Transformer for Unsupervised Domain Adaptation: A Game Perspective23 Mar 2023
- 2023PointPatchMix: Point Cloud Mixing with Patch Scoring12 Mar 2023
- 2023Image Data Augmentation Approaches: A Comprehensive Survey and Future directions7 Jan 2023
- 2022SMMix: Self-Motivated Image Mixing for Vision Transformers26 Dec 2022
- 2022A Survey of Mix-based Data Augmentation: Taxonomy, Methods, Applications, and Explainability21 Dec 2022
- 2022Expeditious Saliency-guided Mix-up through Random Gradient Thresholding9 Dec 2022
- 2022Learning Imbalanced Data with Vision Transformers5 Dec 2022
- 2022SVFormer: Semi-supervised Video Transformer for Action Recognition23 Nov 2022
- 2022Token-Label Alignment for Vision Transformers12 Oct 2022
- 2022C-Mixup: Improving Generalization in Regression11 Oct 2022
- 2022OpenMixup: Open Mixup Toolbox and Benchmark for Visual Representation Learning11 Sep 2022
- 2022SVFormer: Semi-supervised Video Transformer for Action Recognitioncited by 67
- 2022C-Mixup: Improving Generalization in Regressioncited by 57
- 2023Patch-Mix Transformer for Unsupervised Domain Adaptation: A Game Perspectivecited by 54
- 2022Learning Imbalanced Data with Vision Transformerscited by 34
- 2022A Survey of Mix-based Data Augmentation: Taxonomy, Methods, Applications, and Explainabilitycited by 30
- 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
- 2024Multi-criteria Token Fusion with One-step-ahead Attention for Efficient Vision Transformerscited by 26
- 2023Patch-Mix Contrastive Learning with Audio Spectrogram Transformer on Respiratory Sound Classificationcited by 24
- 2023Image Data Augmentation Approaches: A Comprehensive Survey and Future directionscited by 23
- 2023TransFace++: Rethinking the Face Recognition Paradigm with a Focus on Accuracy, Efficiency, and Securitycited by 22
- 2022OpenMixup: Open Mixup Toolbox and Benchmark for Visual Representation Learningcited by 21
- 2024A Survey on Mixup Augmentations and Beyondcited by 18
12 most cited of 46 All 46 (JSON)
- 2026InstructMixup: Instruction-Guided Salient Patch Editing for Robust Data Augmentation21 Jul 2026
- 2026OA-CutMix: Correcting the Label Bias of CutMix3 Jun 2026
- 2026CASP: Few-Shot Class-Incremental Learning with CLS Token Attention Steering Prompts23 Jan 2026
- 2025SelectMix: Enhancing Label Noise Robustness through Targeted Sample Mixing14 Sep 2025
- 2025Enhancing Ambiguous Dynamic Facial Expression Recognition with Soft Label-based Data Augmentation25 Jun 2025
- 2025REN: Fast and Efficient Region Encodings from Patch-Based Image Encoders23 May 2025
- 2025CAARMA: Class Augmentation with Adversarial Mixup Regularization20 Mar 2025
- 2025FDCT: Frequency-Aware Decomposition and Cross-Modal Token-Alignment for Multi-Sensor Target Classification12 Mar 2025
- 2025Exploring Token-Level Augmentation in Vision Transformer for Semi-Supervised Semantic Segmentation4 Mar 2025
- 2025PDC-ViT : Source Camera Identification using Pixel Difference Convolution and Vision Transformer27 Jan 2025
- 2025LayerMix: Enhanced Data Augmentation through Fractal Integration for Robust Deep Learning8 Jan 2025
- 2024Random Token Fusion for Multi-View Medical Diagnosis21 Oct 2024
12 newest of 46 All 46 (JSON)