mlsanityData to 7 Oct 2026

Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Prompting

arXiv 2308.10315 ↗First posted 20 Aug 2023cs.CVcited by 12

Not on the map. Why?

Abstract (arXiv)

In this paper, we investigate the adversarial robustness of vision transformers that are equipped with BERT pretraining (e.g., BEiT, MAE). A surprising observation is that MAE has significantly worse adversarial robustness than other BERT pretraining methods. This observation drives us to rethink the basic differences between these BERT pretraining methods and how these differences affect the robustness against adversarial perturbations. Our empirical analysis reveals that the adversarial robustness of BERT pretraining is highly related to the reconstruction target, i.e., predicting the raw pixels of masked image patches will degrade more adversarial robustness of the model than predicting the semantic context, since it guides the model to concentrate more on medium-/high-frequency components of images. Based on our analysis, we provide a simple yet effective way to boost the adversarial robustness of MAE. The basic idea is using the dataset-extracted domain knowledge to occupy the medium-/high-frequency of images, thus narrowing the optimization space of adversarial perturbations. Specifically, we group the distribution of pretraining data and optimize a set of cluster-specific visual prompts on frequency domain. These prompts are incorporated with input images through prototype-based prompt selection during test period. Extensive evaluation shows that our method clearly boost MAE's adversarial robustness while maintaining its clean performance on ImageNet-1k classification. Our code is available at: https://github.com/shikiw/RobustMAE.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 49 of its 60 references that are in the map. First posted on arXiv 20 Aug 2023.

Builds on

49 of 60 references.

References · 49

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  7. 2013Intriguing properties of neural networkscited by 5,114
  8. 2017Neural Discrete Representation Learningcited by 4,650
  9. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  10. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  11. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,678
  12. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
37 more
  1. 2013Describing Textures in the Wildcited by 2,110
  2. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  3. 2022Visual Prompt Tuningcited by 1,674
  4. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  5. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  6. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  7. 2016Adversarial Machine Learning at Scalecited by 934
  8. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 891
  9. 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
  10. 2021Florence: A New Foundation Model for Computer Visioncited by 802
  11. 2021Masked Feature Prediction for Self-Supervised Visual Pre-Trainingcited by 573
  12. 2021Intriguing Properties of Vision Transformerscited by 446
  13. 2019High Frequency Component Helps Explain the Generalization of Convolutional Neural Networkscited by 310
  14. 2022How Do Vision Transformers Work?cited by 305
  15. 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
  16. 2022Visual Prompting via Image Inpaintingcited by 248
  17. 2021Vision Transformers are Robust Learnerscited by 208
  18. 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
  19. 2022MaskCLIP: Masked Self-Distillation Advances Contrastive Language-Image Pretrainingcited by 187
  20. 2018Stochastic Activation Pruning for Robust Adversarial Defensecited by 171
  21. 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
  22. 2022OmniVL:One Foundation Model for Image-Language and Video-Language Taskscited by 143
  23. 2021Towards Robust Vision Transformercited by 137
  24. 2021On the Adversarial Robustness of Vision Transformerscited by 104
  25. 2020Learnable Boundary Guided Adversarial Trainingcited by 93
  26. 2021Towards Transferable Adversarial Attacks on Vision Transformerscited by 80
  27. 2021RobustART: Benchmarking Robustness on Architecture Design and Training Techniquescited by 78
  28. 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
  29. 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
  30. 2023Diversity-Aware Meta Visual Promptingcited by 57
  31. 2020LG-GAN: Label Guided Adversarial Network for Flexible Targeted Attack of Point Cloud-based Deep Networkscited by 55
  32. 2023Open-VCLIP: Transforming CLIP to an Open-vocabulary Video Model via Interpolated Weight Optimizationcited by 54
  33. 2022Shape-invariant 3D Adversarial Point Cloudscited by 49
  34. 2021Understanding and Improving Robustness of Vision Transformers through Patch-based Negative Augmentationcited by 40
  35. 2020GreedyFool: Distortion-Aware Sparse Adversarial Attackcited by 37
  36. 2022Visual Prompting for Adversarial Robustnesscited by 33
  37. 2017Extending Defensive Distillationcited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 4; 2025: 4; 2026: 2.

12 papers.