mlsanityData to 14 Oct 2026

Beyond Pretrained Features: Noisy Image Modeling Provides Adversarial Defense

arXiv 2302.01056 ↗First posted 2 Feb 2023cs.CVcited by 7

Not on the map. Why?

Abstract (arXiv)

Recent advancements in masked image modeling (MIM) have made it a prevailing framework for self-supervised visual representation learning. The MIM pretrained models, like most deep neural network methods, remain vulnerable to adversarial attacks, limiting their practical application, and this issue has received little research attention. In this paper, we investigate how this powerful self-supervised learning paradigm can provide adversarial robustness to downstream classifiers. During the exploration, we find that noisy image modeling (NIM), a simple variant of MIM that adopts denoising as the pre-text task, reconstructs noisy images surprisingly well despite severe corruption. Motivated by this observation, we propose an adversarial defense method, referred to as De^3, by exploiting the pretrained decoder for denoising. Through De^3, NIM is able to enhance adversarial robustness beyond providing pretrained features. Furthermore, we incorporate a simple modification, sampling the noise scale hyperparameter from random distributions, and enable the defense to achieve a better and tunable trade-off between accuracy and robustness. Experimental results demonstrate that, in terms of adversarial robustness, NIM is superior to MIM thanks to its effective denoising capability. Moreover, the defense provided by NIM achieves performance on par with adversarial training while offering the extra tunability advantage. Source code and models are available at https://github.com/youzunzhi/NIM-AdvDef.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 42 of its 46 references that are in the map. First posted on arXiv 2 Feb 2023.

Builds on

42 of 46 references.

References · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  9. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  10. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  11. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  12. 2013Intriguing properties of neural networkscited by 5,155
30 more
  1. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  2. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  3. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  4. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  5. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  6. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
  7. 2020Pre-Trained Image Processing Transformercited by 893
  8. 2018Robustness May Be at Odds with Accuracycited by 880
  9. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  10. 2017Evasion Attacks against Machine Learning at Test Timecited by 689
  11. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
  12. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
  13. 2022Diffusion Models for Adversarial Purificationcited by 476
  14. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  15. 2022BEiT v2: Masked Image Modeling with Vector-Quantized Visual Tokenizerscited by 303
  16. 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
  17. 2021Are Transformers More Robust Than CNNs?cited by 187
  18. 2020Understanding and Mitigating the Tradeoff Between Robustness and Accuracycited by 149
  19. 2021Adversarial purification with Score-based generative modelscited by 134
  20. 2021On the Adversarial Robustness of Vision Transformerscited by 106
  21. 2022Masked Frequency Modeling for Self-Supervised Visual Pre-Trainingcited by 71
  22. 2022Corrupted Image Modeling for Self-Supervised Visual Pre-Trainingcited by 68
  23. 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecturecited by 64
  24. 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
  25. 2022SdAE: Self-distillated Masked Autoencodercited by 52
  26. 2022Understanding Masked Image Modeling via Learning Occlusion Invariant Featurecited by 50
  27. 2020Once-for-All Adversarial Training: In-Situ Tradeoff between Robustness and Accuracy for Freecited by 48
  28. 2021Online Adversarial Purification based on Self-Supervisioncited by 46
  29. 2022Revisiting adapters with adversarial trainingcited by 18
  30. 2022Beyond Masking: Demystifying Token-Based Pre-Training for Vision Transformerscited by 14

Built on by

Cited by year (2026 to 14 Oct)

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

7 papers.