An empirical study on the robustness of the segment anything model (SAM)
Abstract
The Segment Anything Model (SAM) is a foundation model for general image segmentation. Although it exhibits impressive performance predominantly on natural images, understanding its robustness against various image perturbations and domains is critical for real-world applications where such challenges frequently arise. In this study we conduct a comprehensive robustness investigation of SAM under diverse real-world conditions. Our experiments encompass a wide range of image perturbations. Our experimental results demonstrate that SAM's performance generally declines under perturbed images, with varying degrees of vulnerability across different perturbations. By customizing prompting techniques and leveraging domain knowledge based on the unique characteristics of each dataset, the model's resilience to these perturbations can be enhanced, addressing dataset-specific challenges. This work sheds light on the limitations and strengths of SAM in real-world applications, promoting the development of more robust and versatile image segmentation solutions. Our code is available at https://github.com/EternityYW/SAM-Robustness/.
- Publication:
-
Pattern Recognition
- Pub Date:
- November 2024
- DOI:
- 10.1016/j.patcog.2024.110685
- arXiv:
- arXiv:2305.06422
- Bibcode:
- 2024PatRe.15510685W
- Keywords:
-
- Segment anything model;
- Model robustness;
- Prompting techniques;
- Computer Science - Computer Vision and Pattern Recognition
- E-Print:
- 27 pages, in submission