TL;DR
Vision foundation models have evolved from isolating pixels you click on (SAM) to tracking open-vocabulary concepts like "white horse" across video frames (SAM3). This paper introduces AdvPCS, a method that crafts a single, invisible layer of digital noise capable of blinding SAM3 across images, videos, and entirely different prompt types. Whether a user clicks a point, draws a bounding box, or types a text description, one universal perturbation makes the target object vanish from the model's view.
What Problem Does This Paper Address?
We already know how to fool image models with adversarial examples—imperceptible pixel tweaks that derail predictions. Earlier Segment Anything Models (SAM and SAM2) were vulnerable to these, too. However, SAM3 changes the game by introducing Promptable Concept Segmentation (PCS). Instead of just reacting to spatial coordinates (points and boxes), SAM3 uses an internal open-vocabulary detector to check if a concept exists in the frame, alongside a memory bank to track that concept seamlessly across video frames.
Existing attacks hit two walls against SAM3:
- Prompt fragility: An attack optimized to break a "point" prompt usually fails the moment the user switches to a bounding box or text phrase.
- Temporal healing: In videos, SAM3’s memory bank remembers clean or consistent features from earlier frames, smoothing over frame-by-frame adversarial hiccups.
The authors ask: Can we generate a single Universal Adversarial Perturbation (UAP)—one static noise pattern—that generalizes across unseen videos and breaks point, box, and text prompts simultaneously?
Methods
AdvPCS builds a universal perturbation bounded by standard imperceptibility limits ($10/255$ pixel budget) using three novel mechanisms working in tandem:
- Min–Max Bilevel Prompt Optimization: Instead of optimizing against random prompts, AdvPCS plays an adversarial game with itself. In an inner loop, it mines the hardest-to-attack prompt candidates: using an LLM (like GPT-5.4) to generate synonyms for text, picking spatial quantiles for points, and scaling bounding boxes by 15–30%. In the outer loop, it updates the perturbation to defeat those toughest candidates.
- Global–Local Perception Deception: SAM3’s detector outputs both a global logit ("is this concept in the frame?") and prompt-conditioned local logits ("where is it?"). AdvPCS explicitly pushes both scores down toward a low-confidence floor across all three prompt modalities, adding a regularization term so the noise doesn't overfit to just one prompt style—while giving extra weight to stubborn box prompts.
- Temporal Transition Deviation Attack: Rather than just making adjacent video frames look different from one another (the standard approach), AdvPCS feeds both clean and perturbed sequences into the tracker. It then minimizes the cosine similarity between their frame-to-frame transitions (changes in object pointers and memory features), actively steering the model's memory trajectory off a cliff over time.
Datasets
To strictly test generalization, the authors train their universal perturbation only on SA-CO (the concept-rich dataset introduced alongside SAM3) using 100 videos of 15 frames each (or 1,500 frames for image tasks). They then evaluate zero-shot transferability across three standard public video/image segmentation benchmarks—YouTube, DAVIS, and MOSE—as well as unseen SA-CO samples. No new datasets were introduced.
Key Insights and Ideas
- Convince the model nothing is there: Exploratory tests revealed a tight correlation between segmentation failure and a drop in SAM3's internal object-existence confidence. Suppressing this "perception" stage is far more devastating than generic feature-space scrambling.
- Text is the Achilles' heel, boxes are the armor: Text prompts suffer the most catastrophic drops under attack because they rely heavily on high-level semantic reasoning. Box prompts provide tight spatial priors and are the hardest to break—requiring $5\times$ optimization weight during training to crack effectively.
- Hijacking momentum beats causing chaos: Corrupting the direction of memory updates relative to clean video trajectories causes errors to compound over time, turning SAM3’s temporal consistency mechanism against itself.
Key Results
AdvPCS was tested on SAM3, SAM3.1, and EfficientSAM3 using mIoU (mean Intersection over Union—overlap with ground truth, where lower means a stronger attack):
- Crushing SOTA Baselines: On SAM3 video segmentation across all datasets and prompts, AdvPCS drops average mIoU from 77.74% (benign) to 18.33%, handily beating the runner-up UAP-SAM2 (29.83%). On image segmentation, average mIoU plummets from 81.65% to 2.49% (vs. 11.58% for UAP-SAM2).
- Zeroing Out Text Prompts: On SA-CO video segmentation with text prompts, AdvPCS drives SAM3's mIoU from 68.48% down to 0.00%. Across all three victim models, average SA-CO text mIoU drops below 5%.
- Strong Cross-Model & Defense Resilience: Perturbations crafted on SAM3 transfer cleanly to SAM3.1 and EfficientSAM3. Furthermore, standard defenses like image corruptions (Spatter/Saturate) and model pruning degrade clean accuracy heavily while adversarial mIoU stays below 15% (and near 0% under pruning).
Limitations and Future Work
The authors highlight two clear constraints:
- Training Overhead: Running the min–max bilevel optimization—expanding prompts and evaluating candidates at every step—adds computational cost during perturbation generation (though applying the resulting UAP at test time is instantaneous).
- Architecture Specificity: Because AdvPCS directly targets the concept-existence detector unique to PCS models, it is specialized for the SAM3 paradigm and may not backward-generalize to conventional segmentation networks or earlier SAM1/SAM2 architectures. Future directions are not explicitly discussed in the paper.
Summary updated