Black-box Targeted Adversarial Attack on Segment Anything (SAM)
Not on the map. Why?
Abstract (arXiv)
Deep recognition models are widely vulnerable to adversarial examples, which change the model output by adding quasi-imperceptible perturbation to the image input. Recently, Segment Anything Model (SAM) has emerged to become a popular foundation model in computer vision due to its impressive generalization to unseen data and tasks. Realizing flexible attacks on SAM is beneficial for understanding the robustness of SAM in the adversarial context. To this end, this work aims to achieve a targeted adversarial attack (TAA) on SAM. Specifically, under a certain prompt, the goal is to make the predicted mask of an adversarial example resemble that of a given target image. The task of TAA on SAM has been realized in a recent arXiv work in the white-box setup by assuming access to prompt and model, which is thus less practical. To address the issue of prompt dependence, we propose a simple yet effective approach by only attacking the image encoder. Moreover, we propose a novel regularization loss to enhance the cross-model transferability by increasing the feature dominance of adversarial images over random natural images. Extensive experiments verify the effectiveness of our proposed simple techniques to conduct a successful black-box TAA on SAM.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 52 of its 77 references that are in the map. First posted on arXiv 16 Oct 2023.
Builds on
52 of 77 references.
References · 52
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Segment Anythingcited by 8,234
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
38 more
- 2016Adversarial Machine Learning at Scalecited by 936
- 2021Florence: A New Foundation Model for Computer Visioncited by 804
- 2017Evasion Attacks against Machine Learning at Test Timecited by 689
- 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 599
- 2017Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networkscited by 486
- 2019Evading Defenses to Transferable Adversarial Examples by Translation-Invariant Attackscited by 442
- 2019A large annotated medical image dataset for the development and evaluation of segmentation algorithmscited by 373
- 2019Nesterov Accelerated Gradient and Scale Invariance for Adversarial Attackscited by 355
- 2023Faster Segment Anything: Towards Lightweight SAM for Mobile Applicationscited by 352
- 2023Fast Segment Anythingcited by 290
- 2023Text-to-image Diffusion Models in Generative AI: A Surveycited by 265
- 2023Track Anything: Segment Anything Meets Videoscited by 234
- 2016A study of the effect of JPG compression on adversarial imagescited by 197
- 2021Data Augmentation Can Improve Robustnesscited by 194
- 2022MaskCLIP: Masked Self-Distillation Advances Contrastive Language-Image Pretrainingcited by 187
- 2023Semantic-SAM: Segment and Recognize Anything at Any Granularitycited by 185
- 2019Adversarial Robustness through Local Linearizationcited by 146
- 2023Can SAM Segment Anything? When SAM Meets Camouflaged Object Detectioncited by 100
- 2018Adversarial Attacks and Defences Competitioncited by 96
- 2023Weakly-Supervised Concealed Object Segmentation with SAM-based Pseudo Labeling and Multi-scale Feature Groupingcited by 92
- 2020On Success and Simplicity: A Second Look at Transferable Targeted Attackscited by 89
- 2023A Survey on Audio Diffusion Models: Text To Speech Synthesis and Enhancement in Generative AIcited by 68
- 2020PatchAttack: A Black-box Texture-based Attack with Reinforcement Learningcited by 67
- 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
- 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
- 2021Boosting Adversarial Transferability through Enhanced Momentumcited by 54
- 2023A Survey on Segment Anything Model (SAM): Vision Foundation Model Meets Prompt Engineeringcited by 45
- 2023Segment Anything Model (SAM) Meets Glass: Mirror and Transparent Objects Cannot Be Easily Detectedcited by 34
- 2023Robustness of SAM: Segment Anything Under Corruptions and Beyondcited by 31
- 2023Improving Adversarial Transferability via Intermediate-level Perturbation Decaycited by 29
- 2022Investigating Top-k White-Box and Transferable Black-box Attackcited by 26
- 2020Pasadena: Perceptually Aware and Stealthy Adversarial Denoise Attackcited by 14
- 2023UVOSAM: A Mask-free Paradigm for Unsupervised Video Object Segmentation via Segment Anything Modelcited by 14
- 2023Scalable Mask Annotation for Video Text Spottingcited by 13
- 2020Adversarial Momentum-Contrastive Pre-Trainingcited by 10
- 2023Segment Anything Meets Semantic Communicationcited by 8
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 5; 2026: 3.
13 papers.
Sort:
By area:
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 67
- 2023MobileSAMv2: Faster Segment Anything to Everythingcited by 42
- 2024Practical Region-level Attack against Segment Anything Modelscited by 9
- 2024Unsegment Anything by Simulating Deformationcited by 6
- 2025ForensicsSAM: Toward Robust and Unified Image Forgery Detection and Localization Resisting to Adversarial Attackcited by 6
- 2025UniUltra: Interactive Parameter-Efficient SAM2 for Universal Ultrasound Segmentationcited by 5
- 2024Red-Teaming Segment Anything Modelcited by 4
- 2025Robust SAM: On the Adversarial Robustness of Vision Foundation Modelscited by 4
- 2024Region-Guided Attack on the Segment Anything Model (SAM)cited by 2
- 2025SAM Encoder Breach by Adversarial Simplicial Complex Triggers Downstream Model Failurescited by 0
- 2026DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Modelscited by 0
- 2026Universal Concept Disruption for SAM3 Image Segmentationcited by 0
1 more
- 2026Universal Cross-Prompt Adversarial Attacks on Promptable Concept Segmentation30 Sep 2026
- 2026Universal Concept Disruption for SAM3 Image Segmentation6 Aug 2026
- 2026DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Models15 May 2026
- 2025UniUltra: Interactive Parameter-Efficient SAM2 for Universal Ultrasound Segmentation19 Nov 2025
- 2025ForensicsSAM: Toward Robust and Unified Image Forgery Detection and Localization Resisting to Adversarial Attack10 Aug 2025
- 2025SAM Encoder Breach by Adversarial Simplicial Complex Triggers Downstream Model Failures8 Aug 2025
- 2025Robust SAM: On the Adversarial Robustness of Vision Foundation Models11 Apr 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2024Region-Guided Attack on the Segment Anything Model (SAM)5 Nov 2024
- 2024Practical Region-level Attack against Segment Anything Models12 Apr 2024
- 2024Unsegment Anything by Simulating Deformation3 Apr 2024
- 2024Red-Teaming Segment Anything Model2 Apr 2024
1 more
- 2023MobileSAMv2: Faster Segment Anything to Everything15 Dec 2023
- 2024Red-Teaming Segment Anything Modelcited by 4
- 2024Red-Teaming Segment Anything Model2 Apr 2024
- 2023MobileSAMv2: Faster Segment Anything to Everythingcited by 42
- 2024Practical Region-level Attack against Segment Anything Modelscited by 9
- 2024Unsegment Anything by Simulating Deformationcited by 6
- 2025ForensicsSAM: Toward Robust and Unified Image Forgery Detection and Localization Resisting to Adversarial Attackcited by 6
- 2025UniUltra: Interactive Parameter-Efficient SAM2 for Universal Ultrasound Segmentationcited by 5
- 2025Robust SAM: On the Adversarial Robustness of Vision Foundation Modelscited by 4
- 2024Region-Guided Attack on the Segment Anything Model (SAM)cited by 2
- 2025SAM Encoder Breach by Adversarial Simplicial Complex Triggers Downstream Model Failurescited by 0
- 2026DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Modelscited by 0
- 2026Universal Concept Disruption for SAM3 Image Segmentationcited by 0
- 2026Universal Cross-Prompt Adversarial Attacks on Promptable Concept Segmentationcited by 0
- 2026Universal Cross-Prompt Adversarial Attacks on Promptable Concept Segmentation30 Sep 2026
- 2026Universal Concept Disruption for SAM3 Image Segmentation6 Aug 2026
- 2026DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Models15 May 2026
- 2025UniUltra: Interactive Parameter-Efficient SAM2 for Universal Ultrasound Segmentation19 Nov 2025
- 2025ForensicsSAM: Toward Robust and Unified Image Forgery Detection and Localization Resisting to Adversarial Attack10 Aug 2025
- 2025SAM Encoder Breach by Adversarial Simplicial Complex Triggers Downstream Model Failures8 Aug 2025
- 2025Robust SAM: On the Adversarial Robustness of Vision Foundation Models11 Apr 2025
- 2024Region-Guided Attack on the Segment Anything Model (SAM)5 Nov 2024
- 2024Practical Region-level Attack against Segment Anything Models12 Apr 2024
- 2024Unsegment Anything by Simulating Deformation3 Apr 2024
- 2023MobileSAMv2: Faster Segment Anything to Everything15 Dec 2023