Practical Region-level Attack against Segment Anything Models

Yifan Shen, Zhengyuan Li, Gang Wang
4/12/2024
cs.CVcs.CR

No official code found. Best implementation: ShenYifanS/S-RA_T-RA (5 stars, last commit 2024-08-08).

Abstract

Segment Anything Models (SAM) have made significant advancements in image segmentation, allowing users to segment target portions of an image with a single click (i.e., user prompt). Given its broad applications, the robustness of SAM against adversarial attacks is a critical concern. While recent works have explored adversarial attacks against a pre-defined prompt/click, their threat model is not yet realistic: (1) they often assume the user-click position is known to the attacker (point-based attack), and (2) they often operate under a white-box setting with limited transferability. In this paper, we propose a more practical region-level attack where attackers do not need to know the precise user prompt. The attack remains effective as the user clicks on any point on the target object in the image, hiding the object from SAM. Also, by adapting a spectrum transformation method, we make the attack more transferable under a black-box setting. Both control experiments and testing against real-world SAM services confirm its effectiveness.

View on arXivView PDF

Code Implementations(1)

51Shell, PythonMay 28, 20242 years ago

Similar Papers

Cite this paper

@article{shen2024practical,
  title  = {Practical Region-level Attack against Segment Anything Models},
  author = {Yifan Shen and Zhengyuan Li and Gang Wang},
  year   = {2024},
  eprint = {2404.08255},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.08255v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.08255.svg)](https://codeofpaper.com/paper/2404.08255)

Discussion