TL;DR
Modern Video Object Segmentation (VOS) models like SAM2 and SAM3 track objects using a two-step dance: locking onto a target via a user prompt on frame one, then propagating it across time using an internal memory bank. Previous adversarial attacks treat video like a flat stack of images, allowing models to easily recover lost targets from uncorrupted memory. This paper introduces AUV, a single, invisible pixel-noise filter that aligns with the VOS architecture to simultaneously poison the initial memory anchor and flatten temporal tracking—blinding models across masks, points, boxes, and text prompts alike.
What Problem Does This Paper Address?
If you want to track a specific bus across a video using a modern VOS model (like XMem, Cutie, SAM2, or SAM3), the system relies on a two-stage inference pipeline:
- Initialization: You give it a prompt (a click, bounding box, dense mask, or the word "bus") on the first frame. The model encodes this into a permanent "memory anchor" in its memory bank.
- Propagation: For the rest of the video, the prompt encoder turns off. The model simply cross-attends new frames against its memory bank to locate the bus.
When researchers test the robustness of these models using Universal Adversarial Perturbations (UAPs—a single, imperceptible noise pattern added to every frame), they run into a training-inference misalignment. Existing attacks optimize their noise uniformly, usually trying to zero out the final predicted output masks.
This creates two glaring blind spots. First, suppressing a binary output mask doesn't erase the underlying soft probabilities; subtle spatial cues still sneak into the memory bank, letting the model "recover" the target a few frames later. Second, output masks are heavily tied to specific prompt pathways. An attack trained to break point-prompts often fails completely when the user supplies a dense mask or text prompt instead.
Methods
To fix this mismatch, the authors propose AUV (stage-Aligned Universal VOS attack). Instead of attacking output masks, AUV dives into the shared latent memory space and splits the training of a single UAP ($\delta$, bounded to an invisible $10/255$ pixel budget) into two stages mirroring how VOS models actually think:
- Stage I: Corrupting the Permanent Memory Anchor (Initialization). On frame 1, AUV optimizes $\delta$ to pull the target's initial memory feature ($E_1$) away from its clean state and toward a blank, background-only reference state. This erases the target's identity before it ever gets locked into the permanent memory bank.
- Stage II: Flattening Memory-Attended Features (Propagation). On subsequent frames, VOS models cross-attend current image features with the memory bank to create a spatial saliency map ($A_i$) that highlights the target. AUV penalizes the spatial variance of $A_i$, flattening all activation peaks into uniform static so the decoder cannot re-associate the object across time.
- Two-Phase Curriculum: Optimizing both losses from scratch is unstable because Stage II struggles to fight a clean, uncorrupted memory signal. Thus, AUV trains only Stage I first to poison the anchor, then unlocks full-sequence joint training for Stage II.
Additionally, the authors introduce three new metrics to measure temporal dynamics rather than just average mask overlap: Latency ($Lat$) (how fast the tracking collapses), Coverage ($Cov$) (what percentage of frames stay broken), and Delayed-Coverage ($Cov_k$) (effectiveness when an attack is injected mid-video at frame $k$).
Datasets
- Training: All UAPs are trained on the YTVOS18 training split (sampling 8 frames per video).
- Evaluation: Tested across seven validation benchmarks: DAVIS17, YTVOS19, MOSEv1, and MOSEv2 for visual prompts (masks, points, boxes), plus the three splits of the SA-Co/VEval benchmark (SA-V, YT-Temporal-1B, and SmartGlasses) for language prompts. No new datasets were introduced.
Key Insights and Ideas
- The Secret to Prompt-Agnosticism: Why does a UAP trained only on mask prompts effortlessly break point, box, and text prompts zero-shot? Analyzing latent representations via t-SNE and cosine similarity reveals that while decoder features cluster separately by prompt type (cosine similarity as low as $0.61$), memory features converge into nearly identical distributions ($0.98–1.00$ cosine similarity) regardless of how the object was prompted. Attacking the memory bottleneck naturally bypasses modality barriers.
- Streaming / Mid-Video Vulnerability: Because Stage II explicitly severs temporal feature association without needing a prompt encoder, an attacker doesn't even need to catch frame 1. Injecting AUV mid-stream (e.g., at frame 20) still reliably collapses tracking for the remainder of the video.
- Resilience to Human Intervention: Even if a human steps in to periodically hand-correct the model with a ground-truth mask every few frames, AUV rapidly re-breaks propagation, widening its lead over prior attacks the longer the model relies on memory.
Key Results
Evaluated under identical training budgets on SAM3, AUV establishes new state-of-the-art attack performance:
- Crushing Accuracy: On DAVIS17 (mask prompts), clean SAM3 scores $92.2\ \mathcal{J}\&\mathcal{F}$. Prior SOTA (UAP-SAM2) drops this to $55.4$. AUV plunges it to $8.4$ (and $7.1$ on points, $7.6$ on boxes).
- Language & Multi-Target Collapse: On SA-V language prompts, AUV slashes SAM3's pHOTA from $60.7$ down to $8.5$ (vs. $23.9$ for UAP-SAM2), simultaneously erasing multiple objects specified by a single word (like "balls").
- Superior Temporal Dynamics: On DAVIS17 masks, AUV achieves $10\times$ faster onset ($Lat$ of $5.5$ vs. $52.5$) and more than doubles temporal persistence ($Cov$ of $89.2\%$ vs. $35.9\%$), maintaining an $88.1\%$ collapse rate even during mid-video attacks ($Cov_{20}$).
- Broad Applicability & Defense Resistance: The exact same optimization recipe cripples SAM2.1, SAM2.1Long, Cutie, and XMem. Furthermore, AUV shrugs off Gaussian blur, frame sub-sampling, unstructured weight pruning (up to 50%), and memory-dropping defenses.
Limitations and Future Work
- White-Box Assumption: Optimizing the UAP offline requires gradient access to the target VOS model's weights. It does not currently support pure black-box optimization (though once generated, the fixed UAP is deployed with zero model or prompt knowledge).
- Architecture Specificity: AUV is explicitly engineered for memory-based VOS pipelines; older or alternative tracking architectures lacking explicit memory banks may be less susceptible.
- Future Direction: The authors position AUV and their temporal metrics ($Lat$, $Cov$, $Cov_k$) as diagnostic baselines to help researchers design inherently resilient memory mechanisms for real-world streaming VOS.
Summary updated