mlsanityData to 13 Oct 2026

On the Robustness of Segment Anything

arXiv 2305.16220 ↗First posted 25 May 2023cs.CVcited by 25

Not on the map. Why?

Abstract (arXiv)

Segment anything model (SAM) has presented impressive objectness identification capability with the idea of prompt learning and a new collected large-scale dataset. Given a prompt (e.g., points, bounding boxes, or masks) and an input image, SAM is able to generate valid segment masks for all objects indicated by the prompts, presenting high generalization across diverse scenarios and being a general method for zero-shot transfer to downstream vision tasks. Nevertheless, it remains unclear whether SAM may introduce errors in certain threatening scenarios. Clarifying this is of significant importance for applications that require robustness, such as autonomous vehicles. In this paper, we aim to study the testing-time robustness of SAM under adversarial scenarios and common corruptions. To this end, we first build a testing-time robustness evaluation benchmark for SAM by integrating existing public datasets. Second, we extend representative adversarial attacks against SAM and study the influence of different prompts on robustness. Third, we study the robustness of SAM under diverse corruption types by evaluating SAM on corrupted datasets with different prompts. With experiments conducted on SA-1B and KITTI datasets, we find that SAM exhibits remarkable robustness against various corruptions, except for blur-related corruption. Furthermore, SAM remains susceptible to adversarial attacks, particularly when subjected to PGD and BIM attacks. We think such a comprehensive study could highlight the importance of the robustness issues of SAM and trigger a series of new tasks for SAM as well as downstream vision tasks.

Key facts. Cited by 25 papers in the map (data through 13 Oct 2026). Builds on 27 of its 37 references that are in the map. First posted on arXiv 25 May 2023.

Builds on

27 of 37 references.

References · 27

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
  2. 2020Language Models are Few-Shot Learnerscited by 32,320
  3. 2023GPT-4 Technical Reportcited by 18,278
  4. 2023Segment Anythingcited by 8,195
  5. 2014Explaining and Harnessing Adversarial Examplescited by 7,336
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,379
  7. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,862
  8. 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,287
  9. 2016Adversarial examples in the physical worldcited by 1,767
  10. 2023Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentationcited by 487
  11. 2023Customized Segment Anything Model for Medical Image Segmentationcited by 279
  12. 2023Inpaint Anything: Segment Anything Meets Image Inpaintingcited by 233
15 more
  1. 2017Augmented Reality Meets Computer Vision : Efficient Data Generation for Urban Driving Scenescited by 122
  2. 2023Segment Anything Is Not Always Perfect: An Investigation of SAM on Different Real-world Applicationscited by 121
  3. 2023Can SAM Segment Anything? When SAM Meets Camouflaged Object Detectioncited by 99
  4. 2022SegPGD: An Effective and Efficient Adversarial Attack for Evaluating and Boosting Segmentation Robustnesscited by 74
  5. 2023Polyp-SAM: Transfer SAM for Polyp Segmentationcited by 64
  6. 2023SAM.MD: Zero-shot medical image segmentation capabilities of the Segment Anything Modelcited by 61
  7. 2023Edit Everything: A Text-Guided Generative System for Images Editingcited by 33
  8. 2023SkinSAM: Empowering Skin Cancer Segmentation with Segment Anything Modelcited by 32
  9. 2021AVA: Adversarial Vignetting Attack against Visual Recognitioncited by 29
  10. 2023An Empirical Study on the Robustness of the Segment Anything Model (SAM)cited by 23
  11. 2023Can SAM Count Anything? An Empirical Study on SAM Countingcited by 18
  12. 2023Any-to-Any Style Transfer: Making Picasso and Da Vinci Collaboratecited by 17
  13. 2020Can You Spot the Chameleon? Adversarially Camouflaging Images from Co-Salient Object Detectioncited by 14
  14. 2022ALA: Naturalness-aware Adversarial Lightness Attackcited by 11
  15. 2021Sparta: Spatially Attentive and Adversarially Robust Activationcited by 2

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2023: 8; 2024: 10; 2025: 5; 2026: 2.

25 papers.

Sort:

By area:

  1. 2023Foundational Models Defining a New Era in Vision: A Survey and Outlookcited by 109
  2. 2024RobustSAM: Segment Anything Robustly on Degraded Imagescited by 36
  3. 2024DarkSAM: Fooling Segment Anything Model to Segment Nothingcited by 32
  4. 2023Robustness of SAM: Segment Anything Under Corruptions and Beyondcited by 31
  5. 2023Improving the Generalization of Segmentation Foundation Model under Distribution Shift via Weakly Supervised Adaptationcited by 31
  6. 2024SceneTAP: Scene-Coherent Typographic Adversarial Planner against Vision-Language Models in Real-World Environmentscited by 22
  7. 2023FAIRER: Fairness as Decision Rationale Alignmentcited by 12
  8. 2025Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2cited by 11
  9. 2023TranSegPGD: Improving Transferability of Adversarial Examples on Semantic Segmentationcited by 10
  10. 2024Robust Box Prompt based SAM for Medical Image Segmentationcited by 9
  11. 2025Foreground-Covering Prototype Generation and Matching for SAM-Aided Few-Shot Segmentationcited by 9
  12. 2024Promptable Anomaly Segmentation with SAM Through Self-Perception Tuningcited by 7
13 more
  1. 2023Large Scale Foundation Models for Intelligent Manufacturing Applications: A Surveycited by 6
  2. 2024Unsegment Anything by Simulating Deformationcited by 6
  3. 2023Segment (Almost) Nothing: Prompt-Agnostic Adversarial Attacks on Segmentation Modelscited by 5
  4. 2024Segment-Anything Models Achieve Zero-shot Robustness in Autonomous Drivingcited by 5
  5. 2024Red-Teaming Segment Anything Modelcited by 4
  6. 2025Robust SAM: On the Adversarial Robustness of Vision Foundation Modelscited by 4
  7. 2025Segment Any-Quality Images with Generative Latent Space Enhancementcited by 3
  8. 2023IRAD: Implicit Representation-driven Image Resampling against Adversarial Attackscited by 1
  9. 2024Leveraging Segment Anything Model in Identifying Buildings within Refugee Camps (SAM4Refugee) from Satellite Imagery for Humanitarian Operationscited by 1
  10. 2024Segment Anything for Dendrites from Electron Microscopycited by 1
  11. 2025SAM Encoder Breach by Adversarial Simplicial Complex Triggers Downstream Model Failurescited by 0
  12. 2026Towards Any-Quality Image Segmentation via Generative and Adaptive Latent Space Enhancementcited by 0
  13. 2026PGE-SAM: Prompt-Guided Feature Enhancement for Interactive Segmentation under Degradationcited by 0