Improving the Adversarial Robustness of Masked Autoencoders (MAE) via Test-Time Frequency-Domain PromptingImproving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Prompting
The paper proposes a test-time frequency-domain prompting method that significantly improves the adversarial robustness of MAE while maintaining clean performance on ImageNet-1k classification. The analysis finds that the robustness of BERT pretraining is highly correlated with the reconstruction objective: predicting the original pixels of masked patches makes the model focus on mid- and high-frequency components, which harms robustness more than predicting semantic context. The method clusters the pretraining data distribution, optimizes cluster-specific visual prompts in the frequency domain, and at test time incorporates them into the input via prototype-based prompt selection, compressing the optimization space for adversarial perturbations.