Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2
Ziqi Zhou, Yifan Hu, Yufei Song, Zijing Li, Shengshan Hu, Leo Yu Zhang, Dezhong Yao, Long Zheng, Hai Jin

TL;DR
This paper introduces UAP-SAM2, a novel cross-prompt universal adversarial attack targeting SAM2, which effectively exploits its vulnerabilities by disrupting semantic features across frames, outperforming existing methods.
Contribution
The paper presents the first cross-prompt universal adversarial attack for SAM2, addressing architectural challenges with a dual semantic deviation framework and a target-scanning strategy.
Findings
UAP-SAM2 significantly outperforms state-of-the-art attacks.
The method effectively disrupts semantic consistency across frames.
Experiments on six datasets validate its robustness and transferability.
Abstract
Recent studies reveal the vulnerability of the image segmentation foundation model SAM to adversarial examples. Its successor, SAM2, has attracted significant attention due to its strong generalization capability in video segmentation. However, its robustness remains unexplored, and it is unclear whether existing attacks on SAM can be directly transferred to SAM2. In this paper, we first analyze the performance gap of existing attacks between SAM and SAM2 and highlight two key challenges arising from their architectural differences: directional guidance from the prompt and semantic entanglement across consecutive frames. To address these issues, we propose UAP-SAM2, the first cross-prompt universal adversarial attack against SAM2 driven by dual semantic deviation. For cross-prompt transferability, we begin by designing a target-scanning strategy that divides each frame into k regions,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
