Enhance the Visual Representation via Discrete Adversarial Training
Not on the map. Why?
Abstract (arXiv)
Adversarial Training (AT), which is commonly accepted as one of the most effective approaches defending against adversarial examples, can largely harm the standard performance, thus has limited usefulness on industrial-scale production and applications. Surprisingly, this phenomenon is totally opposite in Natural Language Processing (NLP) task, where AT can even benefit for generalization. We notice the merit of AT in NLP tasks could derive from the discrete and symbolic input space. For borrowing the advantage from NLP-style AT, we propose Discrete Adversarial Training (DAT). DAT leverages VQGAN to reform the image data to discrete text-like inputs, i.e. visual words. Then it minimizes the maximal risk on such discrete images with symbolic adversarial perturbations. We further give an explanation from the perspective of distribution to demonstrate the effectiveness of DAT. As a plug-and-play technique for enhancing the visual representation, DAT achieves significant improvement on multiple tasks including image classification, object detection and self-supervised learning. Especially, the model pre-trained with Masked Auto-Encoding (MAE) and fine-tuned by our DAT without extra data can get 31.40 mCE on ImageNet-C and 32.77% top-1 accuracy on Stylized-ImageNet, building the new state-of-the-art. The code will be available at https://github.com/alibaba/easyrobust.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 64 of its 73 references that are in the map. First posted on arXiv 16 Sep 2022.
Builds on
64 of 73 references.
References · 64
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2013Intriguing properties of neural networkscited by 5,114
- 2017Neural Discrete Representation Learningcited by 4,650
38 more
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2018YOLOv3: An Incremental Improvementcited by 2,652
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2019Natural Adversarial Examplescited by 1,401
- 2019EfficientDet: Scalable and Efficient Object Detectioncited by 1,018
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 891
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2018The Open Images Dataset V4: Unified image classification, object detection, and visual relationship detection at scalecited by 542
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2019Benchmarking Robustness in Object Detection: Autonomous Driving when Winter is Comingcited by 332
- 2020Large-Scale Adversarial Training for Vision-and-Language Representation Learningcited by 327
- 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 315
- 2019Adversarial Examples Improve Image Recognitioncited by 283
- 2019FreeLB: Enhanced Adversarial Training for Natural Language Understandingcited by 261
- 2017Improving the Adversarial Robustness and Interpretability of Deep Neural Networks by Regularizing their Input Gradientscited by 236
- 2019Understanding Straight-Through Estimator in Training Activation Quantized Neural Netscited by 225
- 2020How Well Do Self-Supervised Models Transfer?cited by 213
- 2020Understanding and Mitigating the Tradeoff Between Robustness and Accuracycited by 148
- 2020Adversarial Self-Supervised Contrastive Learningcited by 138
- 2019Adversarial AutoAugmentcited by 111
- 2019ColorFool: Semantic Adversarial Colorizationcited by 89
- 2021AugMax: Adversarial Composition of Random Augmentations for Robust Trainingcited by 89
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2022: 2; 2023: 9; 2024: 5; 2025: 5; 2026: 2.
23 papers.
Sort:
By area:
- 2022Context-Aware Robust Fine-Tuningcited by 27
- 2023Discovering Failure Modes of Text-guided Diffusion Models via Adversarial Searchcited by 25
- 2024ASAM: Boosting Segment Anything Model with Adversarial Tuningcited by 12
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Modelscited by 9
- 2023Fast Propagation is Better: Accelerating Single-Step Adversarial Training via Sampling Subnetworkscited by 8
- 2023Foundation Model-oriented Robustness: Robust Image Model Evaluation with Pretrained Modelscited by 6
- 2024Adversarial Training: A Surveycited by 6
- 2022Bort: Towards Explainable Neural Networks with Bounded Orthogonal Constraintcited by 5
- 2023Revisiting Image Classifier Training for Improved Certified Robust Defense against Adversarial Patchescited by 5
- 2023Substance or Style: What Does Your Image Embedding Know?cited by 5
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimatorcited by 4
- 2023Understanding Data Augmentation from a Robustness Perspectivecited by 3
11 more
- 2024Fully Attentional Networks with Self-emerging Token Labelingcited by 3
- 2023Robust Automatic Speech Recognition via WavAugment Guided Phoneme Adversarial Trainingcited by 1
- 2024A Note on Bias to Completecited by 1
- 2025Beyond Discreteness: Sample Complexity Analysis of Straight-Through Estimator for 1-bit Quantizationcited by 1
- 2025GViT: Representing Images as Gaussians for Visual Recognitioncited by 1
- 2025ViT-EnsembleAttack: Augmenting Ensemble Models for Stronger Adversarial Transferability in Vision Transformerscited by 1
- 2023Universal Pyramid Adversarial Training for Improved ViT Performancecited by 0
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformerscited by 0
- 2025EasyRobust: A Comprehensive and Easy-to-use Toolkit for Robust and Generalized Visioncited by 0
- 2026Robustness Emerges Early in Training Dynamics, but Is Not Preservedcited by 0
- 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustnesscited by 0
- 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustness7 Aug 2026
- 2026Robustness Emerges Early in Training Dynamics, but Is Not Preserved5 Aug 2026
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator12 Oct 2025
- 2025ViT-EnsembleAttack: Augmenting Ensemble Models for Stronger Adversarial Transferability in Vision Transformers17 Aug 2025
- 2025GViT: Representing Images as Gaussians for Visual Recognition30 Jun 2025
- 2025Beyond Discreteness: Sample Complexity Analysis of Straight-Through Estimator for 1-bit Quantization23 May 2025
- 2025EasyRobust: A Comprehensive and Easy-to-use Toolkit for Robust and Generalized Vision21 Mar 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024ASAM: Boosting Segment Anything Model with Adversarial Tuning1 May 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
- 2024A Note on Bias to Complete18 Feb 2024
- 2024Fully Attentional Networks with Self-emerging Token Labeling8 Jan 2024
11 more
- 2023Universal Pyramid Adversarial Training for Improved ViT Performance26 Dec 2023
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Models2 Nov 2023
- 2023Fast Propagation is Better: Accelerating Single-Step Adversarial Training via Sampling Subnetworks24 Oct 2023
- 2023Understanding Data Augmentation from a Robustness Perspective7 Sep 2023
- 2023Foundation Model-oriented Robustness: Robust Image Model Evaluation with Pretrained Models21 Aug 2023
- 2023Robust Automatic Speech Recognition via WavAugment Guided Phoneme Adversarial Training24 Jul 2023
- 2023Substance or Style: What Does Your Image Embedding Know?10 Jul 2023
- 2023Revisiting Image Classifier Training for Improved Certified Robust Defense against Adversarial Patches22 Jun 2023
- 2023Discovering Failure Modes of Text-guided Diffusion Models via Adversarial Search1 Jun 2023
- 2022Bort: Towards Explainable Neural Networks with Bounded Orthogonal Constraint18 Dec 2022
- 2022Context-Aware Robust Fine-Tuning29 Nov 2022
- 2022Context-Aware Robust Fine-Tuningcited by 27
- 2024ASAM: Boosting Segment Anything Model with Adversarial Tuningcited by 12
- 2023Fast Propagation is Better: Accelerating Single-Step Adversarial Training via Sampling Subnetworkscited by 8
- 2023Foundation Model-oriented Robustness: Robust Image Model Evaluation with Pretrained Modelscited by 6
- 2024Adversarial Training: A Surveycited by 6
- 2022Bort: Towards Explainable Neural Networks with Bounded Orthogonal Constraintcited by 5
- 2023Revisiting Image Classifier Training for Improved Certified Robust Defense against Adversarial Patchescited by 5
- 2023Substance or Style: What Does Your Image Embedding Know?cited by 5
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimatorcited by 4
- 2023Understanding Data Augmentation from a Robustness Perspectivecited by 3
- 2024Fully Attentional Networks with Self-emerging Token Labelingcited by 3
- 2023Robust Automatic Speech Recognition via WavAugment Guided Phoneme Adversarial Trainingcited by 1
12 most cited of 21 All 21 (JSON)
- 2026Suppress and Diversify: Refining Robust Pathways for Corruption Robustness7 Aug 2026
- 2026Robustness Emerges Early in Training Dynamics, but Is Not Preserved5 Aug 2026
- 2025High-Dimensional Learning Dynamics of Quantized Models with Straight-Through Estimator12 Oct 2025
- 2025ViT-EnsembleAttack: Augmenting Ensemble Models for Stronger Adversarial Transferability in Vision Transformers17 Aug 2025
- 2025GViT: Representing Images as Gaussians for Visual Recognition30 Jun 2025
- 2025Beyond Discreteness: Sample Complexity Analysis of Straight-Through Estimator for 1-bit Quantization23 May 2025
- 2025EasyRobust: A Comprehensive and Easy-to-use Toolkit for Robust and Generalized Vision21 Mar 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024ASAM: Boosting Segment Anything Model with Adversarial Tuning1 May 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
- 2024A Note on Bias to Complete18 Feb 2024
- 2024Fully Attentional Networks with Self-emerging Token Labeling8 Jan 2024
12 newest of 21 All 21 (JSON)