mlsanityData to 7 Oct 2026

Red-Teaming Segment Anything Model

arXiv 2404.02067 ↗First posted 2 Apr 2024cs.CV cs.AI cs.LGcited by 4

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Foundation models have emerged as pivotal tools, tackling many complex tasks through pre-training on vast datasets and subsequent fine-tuning for specific applications. The Segment Anything Model is one of the first and most well-known foundation models for computer vision segmentation tasks. This work presents a multi-faceted red-teaming analysis that tests the Segment Anything Model against challenging tasks: (1) We analyze the impact of style transfer on segmentation masks, demonstrating that applying adverse weather conditions and raindrops to dashboard images of city roads significantly distorts generated masks. (2) We focus on assessing whether the model can be used for attacks on privacy, such as recognizing celebrities' faces, and show that the model possesses some undesired knowledge in this task. (3) Finally, we check how robust the model is to adversarial attacks on segmentation masks under text prompts. We not only show the effectiveness of popular white-box attacks and resistance to black-box attacks but also introduce a novel approach - Focused Iterative Gradient Attack (FIGA) that combines white-box approaches to construct an efficient attack resulting in a smaller number of modified pixels. All of our testing methods and analyses indicate a need for enhanced safety measures in foundation models for image segmentation.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 43 of its 51 references that are in the map. First posted on arXiv 2 Apr 2024.

Builds on

43 of 51 references.

References · 43

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2023Segment Anythingcited by 8,158
  8. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  9. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  10. 2022Generative Adversarial Networkscited by 5,603
  11. 2013Intriguing properties of neural networkscited by 5,114
  12. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
31 more
  1. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  2. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  3. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,274
  4. 2016Wide Residual Networkscited by 3,057
  5. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
  6. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,361
  7. 2022Red Teaming Language Models with Language Modelscited by 983
  8. 2016Universal adversarial perturbationscited by 774
  9. 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 485
  10. 2019Simple Black-box Adversarial Attackscited by 249
  11. 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Modelscited by 200
  12. 2020Neuron Shapley: Discovering the Responsible Neuronscited by 98
  13. 2023Machine Unlearning: Solutions and Challengescited by 85
  14. 2018Maximal Jacobian-based Saliency Map Attackcited by 46
  15. 2022Adaptive Testing of Computer Vision Modelscited by 39
  16. 2023Robustness of SAM: Segment Anything Under Corruptions and Beyondcited by 30
  17. 2022Towards Better Understanding Attribution Methodscited by 28
  18. 2023On the Robustness of Segment Anythingcited by 24
  19. 2023An Empirical Study on the Robustness of the Segment Anything Model (SAM)cited by 23
  20. 2021Focus! Rating XAI Methods and Finding Biasescited by 20
  21. 2023A Survey on the Robustness of Computer Vision Models against Common Corruptionscited by 20
  22. 2023Ensemble-based Blackbox Attacks on Dense Predictioncited by 16
  23. 2023Robustness of Segment Anything Model (SAM) for Autonomous Driving in Adverse Weather Conditionscited by 14
  24. 2023Black-box Targeted Adversarial Attack on Segment Anything (SAM)cited by 13
  25. 2023Towards Reliable Evaluation and Fast Training of Robust Semantic Segmentation Modelscited by 12
  26. 2023SAM4UDASS: When SAM Meets Unsupervised Domain Adaptive Semantic Segmentation in Intelligent Vehiclescited by 12
  27. 2023Visual Content Privacy Protection: A Surveycited by 11
  28. 2023Understanding Segment Anything Model: SAM is Biased Towards Texture Rather than Shapecited by 10
  29. 2023Attack-SAM: Towards Attacking Segment Anything Model With Adversarial Examplescited by 5
  30. 2023SAM Meets UAP: Attacking Segment Anything Model With Universal Adversarial Perturbationcited by 4
  31. 2024Applying Unsupervised Semantic Segmentation to High-Resolution UAV Imagery for Enhanced Road Scene Parsingcited by 2

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 3.

4 papers.