Exploring Adversarial Robustness of Masked Auto-Encoders
Abstract
Self-Supervised Learning (SSL) has achieved remarkable success. The transition from the Masked Language Modeling (MLM) framework in NLP domain to the Masked Image Modeling (MIM) framework in CV domain has become one of the most effective methods for improving model performance on downstream tasks. However, the adversarial robustness of both the pretraining and fine-tuning stages under the MIM framework has not been thoroughly studied, which significantly impacts the security of downstream tasks. In this paper, we conduct adversarial pretraining and fine-tuning using both pixel-level and embedding-level perturbations on the representative Masked Auto-Encoders (MAE) method, leading to two key findings: 1) Adversarial Training (AT) can simultaneously improve the model's generalization ability and adversarial robustness, 2) compared to pixel-level perturbations, embedding-level perturbations further improve model performance. Based on these findings, we propose an adversarial masking method based on embeddinglevel attacks, which masks the regions with the largest changes before and after embedding-level perturbations to generate more challenging MIM tasks, thus promoting the learning of more generalized features. Further experiments validate the effectiveness of our approach, achieving an improvement of 1% on the CIFAR- 10 dataset and 0.5% on the Imagenette dataset. Furthermore, in real-world experiments on a coal classification dataset, our method achieves a performance improvement 20%.
BibTeX
@misc{luo2025exploring,
author = {Yiang Luo and Junqi Gao and Jiyuan Kuang and Biqing Qi and Xinquan Chen and Yue Zhao and Fangyuan Li and Jianxing Liu},
title = {{Exploring Adversarial Robustness of Masked Auto-Encoders}},
year = {2025},
doi = {10.1109/ccdc65474.2025.11090267},
}Ask Althea to put this paper to the test.
Loading related content...