SAM Meets UAP: Attacking Segment Anything Model With Universal Adversarial Perturbation
Not on the map. Why?
Abstract (arXiv)
As Segment Anything Model (SAM) becomes a popular foundation model in computer vision, its adversarial robustness has become a concern that cannot be ignored. This works investigates whether it is possible to attack SAM with image-agnostic Universal Adversarial Perturbation (UAP). In other words, we seek a single perturbation that can fool the SAM to predict invalid masks for most (if not all) images. We demonstrate convetional image-centric attack framework is effective for image-independent attacks but fails for universal adversarial attack. To this end, we propose a novel perturbation-centric framework that results in a UAP generation method based on self-supervised contrastive learning (CL), where the UAP is set to the anchor sample and the positive sample is augmented from the UAP. The representations of negative samples are obtained from the image encoder in advance and saved in a memory bank. The effectiveness of our proposed CL-based UAP generation method is validated by both quantitative and qualitative results. On top of the ablation study to understand various components in our proposed method, we shed light on the roles of positive and negative samples in making the generated UAP effective for attacking SAM.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 54 of its 71 references that are in the map. First posted on arXiv 19 Oct 2023.
Builds on
54 of 71 references.
References · 54
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2023Segment Anythingcited by 8,158
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
38 more
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
- 2016Universal adversarial perturbationscited by 774
- 2020Understanding the Behaviour of Contrastive Losscited by 397
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 345
- 2023Text-to-image Diffusion Models in Generative AI: A Surveycited by 264
- 2023Inpaint Anything: Segment Anything Meets Image Inpaintingcited by 233
- 2023Track Anything: Segment Anything Meets Videoscited by 230
- 2023Segment Anything in Medical Imagescited by 226
- 2020Learning Robust Representations via Multi-View Information Bottleneckcited by 189
- 2023AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal Contrastive Learningcited by 101
- 2023Can SAM Segment Anything? When SAM Meets Camouflaged Object Detectioncited by 99
- 2023Anything-3D: Towards Single-view Anything Reconstruction in the Wildcited by 91
- 2018Generalizable Data-free Objective for Crafting Universal Adversarial Perturbationscited by 88
- 2023A Survey on Audio Diffusion Models: Text To Speech Synthesis and Enhancement in Generative AIcited by 68
- 2017Fast Feature Fool: A data independent approach to universal adversarial perturbationscited by 65
- 2023Generative AI meets 3D: A Survey on Text-to-3D in AIGC Eracited by 61
- 2020Understanding Adversarial Examples from the Mutual Influence of Images and Perturbationscited by 59
- 2022A Survey on Masked Autoencoder for Self-supervised Learning in Vision and Beyondcited by 58
- 2023Input Augmentation with SAM: Boosting Medical Image Segmentation with Segmentation Foundation Modelcited by 56
- 2023One Small Step for Generative AI, One Giant Leap for AGI: A Complete Survey on ChatGPT in AIGC Eracited by 55
- 2022Dual Temperature Helps Contrastive Learning Without Many Negative Samples: Towards Understanding and Simplifying MoCocited by 52
- 2017NAG: Network for Adversary Generationcited by 51
- 2017Art of singular vectors and universal adversarial perturbationscited by 49
- 2023A Survey on Segment Anything Model (SAM): Vision Foundation Model Meets Prompt Engineeringcited by 45
- 2022Grad-StyleSpeech: Any-speaker Adaptive Text-to-Speech Synthesis with Diffusion Modelscited by 34
- 2023Segment Anything Model (SAM) Meets Glass: Mirror and Transparent Objects Cannot Be Easily Detectedcited by 34
- 2023Downstream-agnostic Adversarial Examplescited by 32
- 2023Robustness of SAM: Segment Anything Under Corruptions and Beyondcited by 30
- 2020CD-UAP: Class Discriminative Universal Adversarial Perturbationcited by 27
- 2020Double Targeted Universal Adversarial Perturbationscited by 23
- 2023An Empirical Study on the Robustness of the Segment Anything Model (SAM)cited by 23
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 2.
4 papers.