atlas

Research map / Adversarial robustness and security / Certified and empirical robustness

Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2

NeurIPS 2025 · Adversarial robustness and security › Certified and empirical robustness · approach: Adversarial training with feature consistency · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes UAP-SAM2, a cross-prompt universal adversarial perturbation attack against the SAM2 video/image segmentation model, using target-scanning over prompt regions and a dual semantic deviation loss (semantic confusion, feature shift, memory misalignment).

Problem

Existing adversarial attacks designed for SAM transfer poorly to SAM2 because of prompt-directed guidance and memory-based semantic entanglement across frames; robustness of SAM2 to universal, cross-prompt attacks is unexplored.

Approach

A target-scanning strategy assigns random prompts to k/m regions of each frame to reduce prompt dependency, and a dual semantic deviation objective perturbs image-encoder features within the current frame while breaking consistency between consecutive frames' features to disrupt SAM2's memory bank.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use UAP-SAM2 instead of DarkSAMSAM2-T · DAVIS video, point promptsmIoU (%): 57.00 -> 42.47Helped
Remove semantic confusion loss (A) (ablation)UAP-SAM2 · DAVISmIoUHurt
Remove feature shift loss (B) (ablation)UAP-SAM2 · DAVISmIoUHurt
Remove memory misalignment loss (C) (ablation)UAP-SAM2 · DAVISmIoUHurt
Vary target-scanning region count; use 256 regions (ablation)UAP-SAM2 · DAVISmIoU: m = 256Helped
Increase optimization iterations to 10 (ablation)UAP-SAM2 · DAVISmIoU: 10Helped
Increase perturbation budget (ablation)UAP-SAM2 · DAVISmIoUHelped
Vary negative sample count (ablation)UAP-SAM2 · DAVISmIoU: 10 to 100Mixed
Evaluate with 15 frames per video rather than all frames (ablation)UAP-SAM2 · DAVISmIoU: 15 framesNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: YouTube-VOS2018 DAVIS 2017 MOSE

Benchmarks: YouTube-VOS2018 DAVIS 2017 MOSE YouTube* DAVIS* MOSE*

Metrics: mIoU

Baselines: PGD Attack-SAM S-RA UAD DarkSAM UAPGD SegPGD VOSPGD

Builds on: Segment Anything Model 2 Attack-SAM DarkSAM PGD UAD

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy