TransMix: Attend to Mix for Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Mixup-based augmentation has been found to be effective for generalizing models during training, especially for Vision Transformers (ViTs) since they can easily overfit. However, previous mixup-based methods have an underlying prior knowledge that the linearly interpolated ratio of targets should be kept the same as the ratio proposed in input interpolation. This may lead to a strange phenomenon that sometimes there is no valid object in the mixed image due to the random process in augmentation but there is still response in the label space. To bridge such gap between the input and label spaces, we propose TransMix, which mixes labels based on the attention maps of Vision Transformers. The confidence of the label will be larger if the corresponding input image is weighted higher by the attention map. TransMix is embarrassingly simple and can be implemented in just a few lines of code without introducing any extra parameters and FLOPs to ViT-based models. Experimental results show that our method can consistently improve various ViT-based models at scales on ImageNet classification. After pre-trained with TransMix on ImageNet, the ViT-based models also demonstrate better transferability to semantic segmentation, object detection and instance segmentation. TransMix also exhibits to be more robust when evaluating on 4 different benchmarks. Code will be made publicly available at https://github.com/Beckschen/TransMix.
Key facts. Cited by 79 papers in the map (data through 14 Oct 2026). Builds on 50 of its 56 references that are in the map. First posted on arXiv 18 Nov 2021.
Builds on
50 of 56 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2017Mask R-CNNcited by 7,277
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,241
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,223
38 more
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,558
- 2019Natural Adversarial Examplescited by 1,408
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2016Deep Networks with Stochastic Depthcited by 979
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2021Going deeper with Image Transformerscited by 764
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2018Rethinking ImageNet Pre-trainingcited by 377
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2021XCiT: Cross-Covariance Image Transformerscited by 338
- 2019Verified Uncertainty Calibrationcited by 309
- 2020Puzzle Mix: Exploiting Saliency and Local Statistics for Optimal Mixupcited by 261
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2021You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detectioncited by 170
- 2020SaliencyMix: A Saliency Guided Data Augmentation Strategy for Better Regularizationcited by 149
- 2020Seesaw Loss for Long-Tailed Instance Segmentationcited by 146
- 2021Towards Robust Vision Transformercited by 137
- 2021TransFG: A Transformer Architecture for Fine-grained Recognitioncited by 132
- 2021TS-CAM: Token Semantic Coupled Attention Map for Weakly Supervised Object Localizationcited by 123
- 2020Un-Mix: Rethinking Image Mixtures for Unsupervised Visual Representation Learningcited by 62
- 2020KeepAugment: A Simple Information-Preserving Data Augmentation Approachcited by 52
- 2021HRegNet: A Hierarchical Network for Large-scale Outdoor LiDAR Point Cloud Registrationcited by 48
- 2021Vision Transformer with Progressive Samplingcited by 44
- 2021Glance-and-Gaze Vision Transformercited by 42
- 2021Adaptive Warden Strategy for Countering Network Covert Storage Channelscited by 6
- 2020Learning to Sample the Most Useful Training Patches from Imagescited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 17; 2023: 25; 2024: 18; 2025: 14; 2026: 4.
79 papers.
Sort:
By area:
- 2024DiffuseMix: Label-Preserving Data Augmentation with Diffusion Modelscited by 78
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 76
- 2022C-Mixup: Improving Generalization in Regressioncited by 57
- 2023Patch-Mix Transformer for Unsupervised Domain Adaptation: A Game Perspectivecited by 54
- 2022TokenMix: Rethinking Image Mixing for Data Augmentation in Vision Transformerscited by 48
- 2024Efficient Large Multi-modal Models via Visual Context Compressioncited by 46
- 2022A Survey of Mix-based Data Augmentation: Taxonomy, Methods, Applications, and Explainabilitycited by 31
- 2022ConfMix: Unsupervised Domain Adaptation for Object Detection via Confidence-based Mixingcited by 28
- 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
- 2022AdvMIL: Adversarial Multiple Instance Learning for the Survival Analysis on Whole-Slide Imagescited by 24
- 2024HiLo: A Learning Framework for Generalized Category Discovery Robust to Domain Shiftscited by 23
- 2021Boosting Discriminative Visual Representation Learning with Scenario-Agnostic Mixupcited by 22
38 more
- 2023TransFace++: Rethinking the Face Recognition Paradigm with a Focus on Accuracy, Efficiency, and Securitycited by 22
- 2022ScoreNet: Learning Non-Uniform Attention and Augmentation for Transformer-Based Histopathological Image Classificationcited by 21
- 2022OpenMixup: Open Mixup Toolbox and Benchmark for Visual Representation Learningcited by 21
- 2024A Survey on Mixup Augmentations and Beyondcited by 20
- 2023RankMixup: Ranking-Based Mixup Training for Network Calibrationcited by 19
- 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classificationcited by 18
- 2023ReMaX: Relaxing for Better Training on Efficient Panoptic Segmentationcited by 18
- 2022Harnessing Hard Mixed Samples with Decoupled Regularizercited by 17
- 2023Adversarial AutoMixupcited by 16
- 2024A Comprehensive Survey of Convolutions in Deep Learning: Applications, Challenges, and Future Trendscited by 16
- 2022RecursiveMix: Mixed Learning with Historycited by 15
- 2023CancerUniT: Towards a Single Unified Model for Effective Detection, Segmentation, and Diagnosis of Eight Major Cancers Using a Large Collection of CT Scanscited by 15
- 2023MixPro: Data Augmentation with MaskMix and Progressive Attention Labeling for Vision Transformercited by 15
- 2024GenMix: Effective Data Augmentation with Generative Diffusion Model Image Editingcited by 14
- 2024SUMix: Mixup with Semantic and Uncertain Informationcited by 12
- 2022MixUp-MIL: Novel Data Augmentation for Multiple Instance Learning and a Study on Thyroid Cancer Diagnosiscited by 9
- 2024Background Semantics Matter: Cross-Task Feature Exchange Network for Clustered Infrared Small Target Detectioncited by 9
- 2024Forte : Finding Outliers with Representation Typicality Estimationcited by 9
- 2025Context-guided Responsible Data Augmentation with Diffusion Modelscited by 9
- 2022SMMix: Self-Motivated Image Mixing for Vision Transformerscited by 8
- 2023Interdisciplinary Fairness in Imbalanced Research Proposal Topic Inference: A Hierarchical Transformer-based Method with Selective Interpolationcited by 8
- 2023NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learningcited by 7
- 2025MergeMix: A Unified Augmentation Paradigm for Visual and Multi-Modal Understandingcited by 7
- 2022LUMix: Improving Mixup by Better Modelling Label Uncertaintycited by 6
- 2024Data-independent Module-aware Pruning for Hierarchical Vision Transformerscited by 6
- 2025LABELING COPILOT: A Deep Research Agent for Automated Data Curation in Computer Visioncited by 6
- 2022Token-Label Alignment for Vision Transformerscited by 5
- 2024Enhancing Cross-Modal Fine-Tuning with Gradually Intermediate Modality Generationcited by 5
- 2023Toward Unsupervised Realistic Visual Question Answeringcited by 4
- 2023Embedding Space Interpolation Beyond Mini-Batch, Beyond Pairs and Beyond Examplescited by 4
- 2025MIDAS: Mixing Ambiguous Data with Soft Labels for Dynamic Facial Expression Recognitioncited by 4
- 2022OPERA: Omni-Supervised Representation Learning with Hierarchical Supervisionscited by 3
- 2023Critical Influence of Overparameterization on Sharpness-aware Minimizationcited by 3
- 2024Test-Time Augmentation Meets Variational Bayescited by 3
- 2023Hint-Aug: Drawing Hints from Foundation Vision Transformers Towards Boosted Few-Shot Parameter-Efficient Tuningcited by 2
- 2023Infinite Class Mixupcited by 2
- 2023Selective Volume Mixup for Video Action Recognitioncited by 2
- 2024Selective Mixup Fine-Tuning for Optimizing Non-Decomposable Objectivescited by 2
50 most cited of 79 All 79 (JSON)
- 2026S2-FracMix: Label-Preserving Self-Saliency Mixup Augmentation24 Jun 2026
- 2026Generalized Category Discovery under Domain Shifts: From Vision to Vision-Language Models29 Apr 2026
- 2026OASIC: Occlusion-Agnostic and Severity-Informed Classification5 Apr 2026
- 2026oculomix: Hierarchical Sampling for Retinal-Based Systemic Disease Prediction16 Jan 2026
- 2025AI for Mycetoma Diagnosis in Histopathological Images: The MICCAI 2024 Challenge25 Dec 2025
- 2025MergeMix: A Unified Augmentation Paradigm for Visual and Multi-Modal Understanding27 Oct 2025
- 2025Lung Infection Severity Prediction Using Transformers with Conditional TransMix Augmentation and Cross-Attention8 Oct 2025
- 2025LABELING COPILOT: A Deep Research Agent for Automated Data Curation in Computer Vision26 Sep 2025
- 2025Enhancing Ambiguous Dynamic Facial Expression Recognition with Soft Label-based Data Augmentation25 Jun 2025
- 2025Shuffle PatchMix Augmentation with Confidence-Margin Weighted Pseudo-Labels for Enhanced Source-Free Domain Adaptation30 May 2025
- 2025Language-Driven Dual Style Mixing for Single-Domain Generalized Object Detection12 May 2025
- 2025Beyond One-Hot Labels: Semantic Mixing for Model Calibration18 Apr 2025
38 more
- 2025A Sensorimotor Vision Transformer3 Apr 2025
- 2025Context-guided Responsible Data Augmentation with Diffusion Models12 Mar 2025
- 2025MIDAS: Mixing Ambiguous Data with Soft Labels for Dynamic Facial Expression Recognition28 Feb 2025
- 2025USegMix: Unsupervised Segment Mix for Efficient Data Augmentation in Pathology Images22 Feb 2025
- 2025PDC-ViT : Source Camera Identification using Pixel Difference Convolution and Vision Transformer27 Jan 2025
- 2025Towards Robust Unsupervised Attention Prediction in Autonomous Driving25 Jan 2025
- 2024GenMix: Effective Data Augmentation with Generative Diffusion Model Image Editing3 Dec 2024
- 2024Learning from Different Samples: A Source-free Framework for Semi-supervised Domain Adaptation11 Nov 2024
- 2024Forte : Finding Outliers with Representation Typicality Estimation2 Oct 2024
- 2024Test-Time Augmentation Meets Variational Bayes19 Sep 2024
- 2024A Survey on Mixup Augmentations and Beyond8 Sep 2024
- 2024HiLo: A Learning Framework for Generalized Category Discovery Robust to Domain Shifts8 Aug 2024
- 2024Background Semantics Matter: Cross-Task Feature Exchange Network for Clustered Infrared Small Target Detection29 Jul 2024
- 2024SUMix: Mixup with Semantic and Uncertain Information10 Jul 2024
- 2024Efficient Large Multi-modal Models via Visual Context Compression28 Jun 2024
- 2024Enhancing Cross-Modal Fine-Tuning with Gradually Intermediate Modality Generation13 Jun 2024
- 2024HAGAN: Hybrid Augmented Generative Adversarial Network for Medical Image Synthesis8 May 2024
- 2024Data-independent Module-aware Pruning for Hierarchical Vision Transformers21 Apr 2024
- 2024DiffuseMix: Label-Preserving Data Augmentation with Diffusion Models5 Apr 2024
- 2024Semi-Supervised Unconstrained Head Pose Estimation in the Wild3 Apr 2024
- 2024Selective Mixup Fine-Tuning for Optimizing Non-Decomposable Objectives27 Mar 2024
- 2024A Comprehensive Survey of Convolutions in Deep Learning: Applications, Challenges, and Future Trends23 Feb 2024
- 2024Augmenting Prototype Network with TransMix for Few-shot Hyperspectral Image Classification22 Jan 2024
- 2024GTA: Guided Transfer of Spatial Attention from Object-Centric Representations5 Jan 2024
- 2023PowMix: A Versatile Regularizer for Multimodal Sentiment Analysis19 Dec 2023
- 2023Adversarial AutoMixup19 Dec 2023
- 2023Transferring Modality-Aware Pedestrian Attentive Learning for Visible-Infrared Person Re-identification12 Dec 2023
- 2023Critical Influence of Overparameterization on Sharpness-aware Minimization29 Nov 2023
- 2023Embedding Space Interpolation Beyond Mini-Batch, Beyond Pairs and Beyond Examples9 Nov 2023
- 2023MixUp-MIL: A Study on Linear & Multilinear Interpolation-Based Data Augmentation for Whole Slide Image Classification6 Nov 2023
- 2023AMPLIFY:Attention-based Mixup for Performance Improvement and Label Smoothing in Transformer22 Sep 2023
- 2023Selective Volume Mixup for Video Action Recognition18 Sep 2023
- 2023Interdisciplinary Fairness in Imbalanced Research Proposal Topic Inference: A Hierarchical Transformer-based Method with Selective Interpolation4 Sep 2023
- 2023RankMixup: Ranking-Based Mixup Training for Network Calibration23 Aug 2023
- 2023TransFace++: Rethinking the Face Recognition Paradigm with a Focus on Accuracy, Efficiency, and Security20 Aug 2023
- 2023ReMaX: Relaxing for Better Training on Efficient Panoptic Segmentation29 Jun 2023
- 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classification28 Jun 2023
- 2023NAR-Former V2: Rethinking Transformer for Universal Neural Network Representation Learning19 Jun 2023
50 newest of 79 All 79 (JSON)
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 76
- 2022C-Mixup: Improving Generalization in Regressioncited by 57
- 2023Patch-Mix Transformer for Unsupervised Domain Adaptation: A Game Perspectivecited by 54
- 2022TokenMix: Rethinking Image Mixing for Data Augmentation in Vision Transformerscited by 48
- 2022A Survey of Mix-based Data Augmentation: Taxonomy, Methods, Applications, and Explainabilitycited by 31
- 2022ConfMix: Unsupervised Domain Adaptation for Object Detection via Confidence-based Mixingcited by 28
- 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
- 2022AdvMIL: Adversarial Multiple Instance Learning for the Survival Analysis on Whole-Slide Imagescited by 24
- 2024HiLo: A Learning Framework for Generalized Category Discovery Robust to Domain Shiftscited by 23
- 2021Boosting Discriminative Visual Representation Learning with Scenario-Agnostic Mixupcited by 22
- 2023TransFace++: Rethinking the Face Recognition Paradigm with a Focus on Accuracy, Efficiency, and Securitycited by 22
- 2022ScoreNet: Learning Non-Uniform Attention and Augmentation for Transformer-Based Histopathological Image Classificationcited by 21
12 most cited of 72 All 72 (JSON)
- 2026S2-FracMix: Label-Preserving Self-Saliency Mixup Augmentation24 Jun 2026
- 2026OASIC: Occlusion-Agnostic and Severity-Informed Classification5 Apr 2026
- 2026oculomix: Hierarchical Sampling for Retinal-Based Systemic Disease Prediction16 Jan 2026
- 2025AI for Mycetoma Diagnosis in Histopathological Images: The MICCAI 2024 Challenge25 Dec 2025
- 2025Lung Infection Severity Prediction Using Transformers with Conditional TransMix Augmentation and Cross-Attention8 Oct 2025
- 2025Enhancing Ambiguous Dynamic Facial Expression Recognition with Soft Label-based Data Augmentation25 Jun 2025
- 2025Shuffle PatchMix Augmentation with Confidence-Margin Weighted Pseudo-Labels for Enhanced Source-Free Domain Adaptation30 May 2025
- 2025Language-Driven Dual Style Mixing for Single-Domain Generalized Object Detection12 May 2025
- 2025Beyond One-Hot Labels: Semantic Mixing for Model Calibration18 Apr 2025
- 2025A Sensorimotor Vision Transformer3 Apr 2025
- 2025MIDAS: Mixing Ambiguous Data with Soft Labels for Dynamic Facial Expression Recognition28 Feb 2025
- 2025USegMix: Unsupervised Segment Mix for Efficient Data Augmentation in Pathology Images22 Feb 2025
12 newest of 72 All 72 (JSON)