mlsanityData to 7 Oct 2026

Towards Robust Vision Transformer via Masked Adaptive Ensemble

arXiv 2407.15385 ↗First posted 22 Jul 2024cs.CV cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Adversarial training (AT) can help improve the robustness of Vision Transformers (ViT) against adversarial attacks by intentionally injecting adversarial examples into the training data. However, this way of adversarial injection inevitably incurs standard accuracy degradation to some extent, thereby calling for a trade-off between standard accuracy and robustness. Besides, the prominent AT solutions are still vulnerable to adaptive attacks. To tackle such shortcomings, this paper proposes a novel ViT architecture, including a detector and a classifier bridged by our newly developed adaptive ensemble. Specifically, we empirically discover that detecting adversarial examples can benefit from the Guided Backpropagation technique. Driven by this discovery, a novel Multi-head Self-Attention (MSA) mechanism is introduced to enhance our detector to sniff adversarial examples. Then, a classifier with two encoders is employed for extracting visual representations respectively from clean images and adversarial examples, with our adaptive ensemble to adaptively adjust the proportion of visual representations from the two encoders for accurate classification. This design enables our ViT architecture to achieve a better trade-off between standard accuracy and robustness. Besides, our adaptive ensemble technique allows us to mask off a random subset of image patches within input data, boosting our ViT's robustness against adaptive attacks, while maintaining high standard accuracy. Experimental results exhibit that our ViT architecture, on CIFAR-10, achieves the best standard accuracy and adversarial robustness of 90.3% and 49.8%, respectively.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 61 of its 95 references that are in the map. First posted on arXiv 22 Jul 2024.

Builds on

61 of 95 references.

References · 61

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  8. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  9. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  10. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  11. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  12. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
38 more
  1. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  2. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  3. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  4. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  5. 2016Adversarial examples in the physical worldcited by 1,762
  6. 2021ViViT: A Video Vision Transformercited by 1,610
  7. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  8. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  9. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  10. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  11. 2019Natural Adversarial Examplescited by 1,401
  12. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
  13. 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,305
  14. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  15. 2021Multiscale Vision Transformerscited by 896
  16. 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
  17. 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
  18. 2020Fast is better than free: Revisiting adversarial trainingcited by 723
  19. 2020On Adaptive Attacks to Adversarial Example Defensescited by 547
  20. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  21. 2020Understanding and Improving Fast Adversarial Trainingcited by 213
  22. 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
  23. 2019Analyzing and Improving Representations with the Soft Nearest Neighbor Losscited by 95
  24. 2022LAS-AT: Adversarial Training with Learnable Attack Strategycited by 94
  25. 2019The Odds are Odd: A Statistical Test for Detecting Adversarial Examplescited by 75
  26. 2020Understanding Catastrophic Overfitting in Single-step Adversarial Trainingcited by 75
  27. 2021Fast Minimum-norm Adversarial Attacks through Adaptive Norm Constraintscited by 50
  28. 2019ML-LOO: Detecting Adversarial Examples with Feature Attributioncited by 48
  29. 2022A Multimodal Transformer: Fusing Clinical Notes with Structured EHR Data for Interpretable In-Hospital Mortality Predictioncited by 48
  30. 2022A Study of the Attention Abnormality in Trojaned BERTscited by 47
  31. 2021Detecting Adversarial Examples Is (Nearly) As Hard As Classifying Themcited by 46
  32. 2022Practical Evaluation of Adversarial Robustness via Adaptive Auto Attackcited by 44
  33. 2020The Curious Case of Adversarially Robust Models: More Data Can Help, Double Descend, or Hurt Generalizationcited by 39
  34. 2020GreedyFool: Distortion-Aware Sparse Adversarial Attackcited by 37
  35. 2023Robust Multi-Agent Reinforcement Learning with State Uncertaintycited by 35
  36. 2020More Data Can Expand the Generalization Gap Between Adversarially Robust and Standard Modelscited by 27
  37. 2020Face-Off: Adversarial Face Obfuscationcited by 25
  38. 2020A General Framework For Detecting Anomalous Inputs to DNN Classifierscited by 24

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.