Summary
This paper introduces DarkSAM, a prompt-free universal attack framework against the Segment Anything Model (SAM) in a quasi-black-box setting. The framework consists of a semantic decoupling-based spatial attack and a texture distortion-based frequency attack. While SAM uses geometric prompt inputs to guide segmentation of critical objects within images, DarkSAM disrupts these processes by decoupling the object features of images in both spatial and frequency domains using a universal adversarial perturbation (UAP). In the spatial domain, it scrambles SAM’s decisions by destroying the features of the foreground and background of the image separately. In the frequency domain, it decomposes images into high-frequency components (HFC) and low-frequency components (LFC), increasing the dissimilarity in the HFC of adversarial and benign examples while maintaining consistency in their LFC. Experiments are conducted on four public segmentation datasets (ADE20K, MS-COCO, CITYSCAPES, and SA-1B), with 100 images used for UAP generation and 2,000 images for testing for each dataset. Victim models include the pre-trained SAM, HQ-SAM, and PerSAM with the ViT-B backbone.
Strengths
1. The paper is well-written and easy to follow.
2. The specific design of the shadow target strategy is tailored to SAM for prompt-based segmentation, which is unique compared to adversary attacks against traditional segmentation pipelines.
3. The attacking results are impressive. All three models show very low segmentation performance across multiple datasets.
Weaknesses
SAM is a milestone work, and a series of follow-up studies have been proposed recently. However, this paper does not provide an up-to-date review in Section 2.1 and lacks comparison in Section 4, weakening its significance. For example:
- SAM-based adversary attack:
[1] Practical Region-level Attack against Segment Anything Models, CVPR 2024.
- Other SAM-based models:
[2] From SAM to CAMs: Exploring Segment Anything Model for Weakly Supervised Semantic Segmentation, CVPR 2024.
[3] RobustSAM: Segment Anything Robustly on Degraded Images, CVPR 2024.
[4] Matching Anything by Segmenting Anything, CVPR 2024.
[5] FocSAM: Delving Deeply into Focused Objects in Segmenting Anything, CVPR 2024.
[6] ASAM: Boosting Segment Anything Model with Adversarial Tuning, CVPR 2024.
[7] BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Model, CVPR 2024.
[8] Open-Vocabulary SAM: Segment and Recognize Twenty-thousand Classes Interactively, ECCV 2024.
[9] CAT-SAM: Conditional Tuning Network for Few-Shot Adaptation of Segmentation Anything Model, ECCV 2024.
[10] Semantic-SAM: Segment and Recognize Anything at Any Granularity, ECCV 2024.
Questions
1. How does DarkSAM perform with variants of the SAM models?
2. Please include a comparison with [1] "Practical Region-level Attack against Segment Anything Models" (CVPR 2024).
Limitations
The paper presents a limitation that DarkSAM is tailored to SAM and cannot operate on traditional segmentation models.