Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Prompting
Qidong Huang, Xiaoyi Dong, Dongdong Chen, Yinpeng Chen, Lu Yuan, Gang, Hua, Weiming Zhang, Nenghai Yu

TL;DR
This paper enhances the adversarial robustness of Masked Autoencoders by using frequency-domain prompts during testing, focusing on medium/high-frequency components to limit adversarial perturbations.
Contribution
It introduces a novel test-time frequency-domain prompting method that improves MAE robustness without sacrificing accuracy.
Findings
Significantly improved adversarial robustness of MAE.
Maintains high clean accuracy on ImageNet-1k.
Effective use of frequency domain prompts during testing.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Integrated Circuits and Semiconductor Failure Analysis · Anomaly Detection Techniques and Applications
MethodsAttention Is All You Need · Adam · Attention Dropout · Refunds@Expedia|||How do I get a full refund from Expedia? · Linear Layer · Layer Normalization · Softmax · Dense Connections · Weight Decay · Residual Connection
