Attack-Inference Aligned Universal Adversarial Attacks on Video Object Segmentation
Authors: Ruiqi Shen, Chang Liu, Henghui Ding
Organizations: Institute of Big Data, College of Computer Science and Artificial Intelligence, Fudan University, China · Shanghai University of Finance and Economics
Modern video object segmentation (VOS) relies on a two-stage inference paradigm: target initialization and memory-based propagation. However, existing adversarial attacks on VOS often overlook this structure. To bridge this gap, we propose AUV, an adversarial framework that Aligns with the Universal two-stage paradigm of VOS models. Specifically, AUV optimizes a universal adversarial perturbation (UAP) through decoupled training strategies tailored for both initialization and propagation stages. By disrupting the shared memory space, it achieves prompt-agnostic attacks across different modalities, including masks, points, boxes, and language. Extensive experiments show that AUV establishes state-of-the-art VOS attack performance, such as degrading mask-based SAM3 to only 8.4 J&F on DAVIS17-val (compared to 55.4 for the previous SOTA under the same training setup). It also exhibits superior temporal dynamics with the fastest onset, the most enduring persistence, and the support of any-time mid-video attacks. The AUV optimization framework is applicable to different VOS models, revealing vulnerabilities in real-world streaming VOS. Code is available at https://github.com/FudanCVL/AUV.
Figures & tables
Figure 1: AUV aligns attack optimization with the two-stage VOS inference pipeline (initialization and propagation), yielding more persistent and prompt-agnostic attacks than prior methods.
Figure 2: Overview of AUV. Our UAP-based AUV is optimized to corrupt the initial memory feature ( E~1 ), attacking target identity at its source, and to flatten the spatial saliency of memory-attended feature maps ( A~i ), collapsing target association during propagation. It targets the shared latent memory space for prompt-agnostic attacks and supports attack optimization on different VOS models.
Figure 3: Previous video attacks [ 24 , 28 , 54 , 60 ] suppress mask M~1 , but E~1 remains subtly visible, enabling potential target recovery in later frames.
Methods
DAVIS17 ( J&F↓ )
YTVOS19 ( G↓ )
MOSEv2 ( J&F˙↓ )
MOSEv1 ( J&F↓ )
Mask
Point
Box
Mask
Point
Box
Mask
Point
Box
Mask
Point
Box
Clean
92.2
72.1
89.1
89.7
80.0
86.8
60.3
55.8
58.9
78.4
70.1
77.0
UAPGD [ 10 ]
64.1
21.5
57.4
58.8
29.3
52.9
35.9
29.1
35.0
49.7
35.4
47.8
VOSPGD [ 24 ]
61.2
19.8
54.5
49.5
21.8
42.5
35.0
28.1
33.5
44.5
30.5
42.1
AttackSAM [ 57 ]
68.3
30.2
63.2
63.0
30.9
53.2
42.6
36.4
38.2
52.5
41.2
47.3
DarkSAM [ 61 ]
58.5
25.0
52.5
51.7
23.1
45.6
32.5
26.9
32.0
43.0
28.0
41.3
Table 1: Attack performance on SAM3 [ 2 ] across VOS benchmarks and prompt modalities. (All applicable baselines are retrained on SAM3 under the same settings.)
Method
DAVIS17
YTVOS19
Mask
Point
Mask
Box
Lat↓
Cov↑
Cov20↑
Lat↓
Cov↑
Cov20↑
Lat↓
Cov↑
Cov20↑
Lat↓
Cov↑
Cov20↑
SegPGD [ 21 ]
53.7
36.5
45.7
10.0
86.4
87.5
53.9
38.6
46.4
46.6
46.6
55.3
DarkSAM [ 61 ]
58.3
33.5
41.6
11.0
84.6
85.0
56.1
36.6
43.8
46.6
44.8
52.6
UAP-SAM2 [ 60 ]
52.5
35.9
43.6
10.4
85.1
85.2
50.9
41.1
47.4
36.1
56.6
63.5
AUV (Ours)
5.5
89.2
88.1
2.2
90.3
88.6
8.6
85.1
84.6
7.0
86.8
85.9
Table 2: Temporal dynamics of the attacks on SAM3.
Figure 4: AUV simultaneously suppresses multiple targets specified by a single language prompt.
Methods
SA-V
YT-Temporal-1B
SmartGlasses
cgF1
pHOTA
pDetA
pAssA
cgF1
pHOTA
pDetA
pAssA
cgF1
pHOTA
pDetA
pAssA
Clean
29.3
60.7
44.7
83.2
50.2
70.5
60.5
82.7
33.5
60.2
46.2
79.3
UAD [ 31 ]
2.4
24.9
8.5
74.0
7.8
31.7
15.0
67.5
11.1
36.6
21.0
64.4
DarkSAM [ 61 ]
4.0
30.5
12.6
75.0
10.7
38.8
22.7
67.0
12.4
38.8
23.0
65.9
UAP-SAM2 [ 60 ]
1.7
23.9
7.8
74.6
3.5
26.2
11.1
62.4
9.1
36.3
21.4
62.4
AUV (Ours)
0.1
8.5
1.2
64.3
0.3
9.1
1.7
49.9
1.9
18.4
6.4
53.4
Table 3: Attack performance on SAM3 across language-based SA-Co/VEval benchmarks [ 2 ] .
VOS models
Venue
State
DAVIS17
YTVOS19
MOSEv2
MOSEv1
J&F
J
F
G
Js
Fs
Ju
Fu
J&F˙
J
F˙
J&F
J
F
XMem [ 6 ]
[ECCV’22]
Clean
86.2
82.9
89.5
85.5
84.3
88.6
80.3
88.6
36.3
34.7
37.9
57.6
53.3
62.0
Adv
24.0
22.4
25.6
26.3
26.2
28.4
24.1
26.5
28.3
27.5
29.1
25.7
24.8
26.6
Cutie-base [ 4 ]
[CVPR’24]
Clean
87.9
84.6
91.1
87.0
86.0
90.5
82.0
89.6
42.8
41.1
44.4
69.9
65.9
74.1
Adv
18.3
17.5
19.1
22.4
23.6
21.0
22.2
22.8
21.1
20.6
21.6
22.2
21.3
23.1
SAM2.1-T [ 40 ]
[ICLR’25]
Clean
88.8
85.4
92.2
87.4
85.5
90.0
83.0
91.3
45.9
44.1
47.8
71.6
67.4
75.9
Table 4: Attack performance on different VOS models and benchmarks using mask prompts.
Table 9
Figure 5: Comparison of attack performance under different prompting intervals k , where a larger k shifts the model’s reliance from prompt-based initialization to memory-based propagation.
Method
Training
DAVIS17 ( J&F↓ )
YTVOS19 ( G↓ )
SA-V
YT-1B
SG
Mask
Point
Box
Mask
Point
Box
Language (pHOTA ↓ )
UAP-SAM2 [ 60 ]
Scanning Points †
55.4
23.9
47.4
46.3
22.0
35.8
23.9
26.2
36.3
Box
62.1
21.8
52.5
50.2
21.8
38.8
27.7
34.0
40.4
AUV (Ours)
Mask
8.4
7.1
7.6
14.0
10.3
12.7
8.5
9.1
18.4
Point
17.7
5.7
11.2
19.1
9.0
13.0
12.2
13.8
21.5
Box
15.2
7.8
6.5
17.5
11.0
11.1
11.7
12.4
20.2
Table 7: Prompt-agnostic capability of AUV by training on one prompt type and evaluating on other unseen prompt types. † : Method’s default setting.
Figure 6: t-SNE visualizations of latent features: (a) prompt embeddings; (b) final-block decoder features; and (c) memory features before (left) and after (right) the attack. Foreground and background features in ground-truth are marked in red and gray , respectively.
Decoder Features
Memory Features E1
Benchmark
Mask–Point
Mask–Box
Point–Box
Mask–Point
Mask–Box
Point–Box
DAVIS17
0.780
0.682
0.860
0.983
0.997
0.985
YTVOS19
0.784
0.679
0.852
0.984
0.993
0.988
MOSEv1
0.772
0.626
0.852
0.991
0.998
0.992
MOSEv2
0.761
0.611
0.848
0.993
0.999
0.994
Table 8: Pairwise cross-prompt cosine similarities of decoder and memory features, averaged over all videos of each benchmark.
Figure 7: Defense study on spatial perturbation (a), temporal pruning (b), and model pruning (c,d).
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
Benchmark
Year
Task
Prompt Type
Videos (Val. split)
DAVIS17 [ 39 ]
2017
VOS
Mask / Point / Box
30
YTVOS19 [ 50 ]
2019
VOS
Mask / Point / Box
507
MOSEv1 [ 13 ]
2023
VOS
Mask / Point / Box
311
MOSEv2 [ 18 ]
2025
VOS
Mask / Point / Box
433
SA-Co/VEval–SA-V [ 2 ]
2025
PCS
Language
2k NPs
SA-Co/VEval–YT-Temporal-1B [ 2 ]
2025
PCS
Language
1.7k NPs
Appendix
Table 9: Summary of different benchmarks used in AUV’s evaluation.
Methods
DAVIS17 ( J&F↓ )
YTVOS19 ( G↓ )
MOSEv2 ( J&F˙↓ )
MOSEv1 ( J&F↓ )
Mask
Point
Box
Mask
Point
Box
Mask
Point
Box
Mask
Point
Box
Clean
92.2
72.1
89.1
89.7
80.0
86.8
60.3
55.8
58.9
78.4
70.1
77.0
PGD [ 32 ]
65.5
21.9
58.8
55.9
27.6
49.9
35.0
28.9
34.3
46.4
33.0
43.9
UAPGD [ 10 ]
64.1
21.5
57.4
58.8
29.3
52.9
35.9
29.1
35.0
49.7
35.4
47.8
SegPGD [ 21 ]
59.4
17.5
52.4
50.3
22.3
43.8
32.6
27.0
32.3
42.0
28.0
39.8
VOSPGD [ 24 ]
61.2
19.8
54.5
49.5
21.8
42.5
35.0
28.1
33.5
44.5
30.5
42.1
Appendix
Table 10: Full comparison of AUV and existing attack baselines on SAM3 [ 2 ] across VOS benchmarks and prompt modalities. All baselines use the same training configurations on SAM3 as our AUV.
Method
DAVIS17
YTVOS19
Mask
Point
Mask
Box
Lat↓
Cov↑
Cov20↑
Lat↓
Cov↑
Cov20↑
Lat↓
Cov↑
Cov20↑
Lat↓
Cov↑
Cov20↑
PGD [ 32 ]
61.3
28.3
34.0
12.3
82.5
82.8
61.2
31.7
38.0
52.7
39.4
47.2
UAPGD [ 10 ]
59.0
27.7
35.7
15.1
78.1
79.1
61.2
29.1
33.7
51.4
36.6
40.8
SegPGD [ 21 ]
53.7
36.5
45.7
10.0
86.4
87.5
53.9
38.6
46.4
46.6
46.6
55.3
AttackSAM [ 57 ]
60.4
29.2
36.1
18.3
75.5
76.7
62.6
29.6
35.7
47.3
44.0
51.1
Appendix
Table 11: Full comparison of attack temporal dynamics on SAM3. We omit MOSE because per-frame ground-truth masks are unavailable for its validation set.
Methods
SA-V
YT-Temporal-1B
SmartGlasses
cgF1
pHOTA
pDetA
pAssA
cgF1
pHOTA
pDetA
pAssA
cgF1
pHOTA
pDetA
pAssA
Clean
29.3
60.7
44.7
83.2
50.2
70.5
60.5
82.7
33.5
60.2
46.2
79.3
PGD [ 32 ]
5.2
33.5
15.1
74.7
13.2
43.7
27.8
69.4
14.7
42.0
26.7
66.9
UAPGD [ 10 ]
8.1
38.1
20.3
72.5
17.4
45.1
30.8
66.9
16.5
44.2
30.0
65.9
SegPGD [ 21 ]
4.0
31.7
13.5
75.8
11.5
40.2
24.5
66.6
13.6
41.8
26.4
67.0
UAD [ 31 ]
2.4
24.9
8.5
74.0
7.8
31.7
15.0
67.5
11.1
36.6
21.0
64.4
Appendix
Table 12: Full comparison of AUV and existing attack baselines on SAM3 across language-based SA-Co/VEval benchmarks [ 2 ] . Lower values are better for all metrics.
Defense
Memory Strategy
Mask ↓
Point ↓
Box ↓
Random dropping (25%)
Remove non-conditioning entries
15.8
7.6
11.6
Random dropping (50%)
Remove non-conditioning entries
16.4
7.8
11.9
Random dropping (75%)
Remove non-conditioning entries
18.2
8.4
12.7
SAM2Long (SAM2.1-B+)
Memory-tree search
15.9
8.6
11.5
SAMURAI (SAM2.1-B+)
Motion-aware memory selection
20.7
7.8
9.0
DAM4SAM (SAM2.1-B+)
Distractor-aware memory selection
15.8
7.3
14.1
Appendix
Table 13: Attack performance ( J&F ) under memory-level defenses on SAM2.1-B+.
Position
Point Position
J&F↓
J↓
F↓
Center
7.1
7.1
7.0
Top-left
6.4
6.2
6.5
Top-right
6.3
6.2
6.3
Bottom-left
6.5
6.3
6.6
Bottom-right
5.3
5.1
5.4
Appendix
Table 14: Stress test of prompt variations, evaluated on DAVIS17 across various point positions (left), number of points (middle), and bounding box transformations (right).
Method / Budget ϵ
DAVIS17 ( J&F↓ )
YTVOS19 ( G↓ )
MOSEv2 ( J&F˙↓ )
MOSEv1 ( J&F↓ )
Mask
Point
Box
Mask
Point
Box
Mask
Point
Box
Mask
Point
Box
Clean
92.2
72.1
89.1
89.7
80.0
86.8
60.3
55.8
58.9
78.4
70.1
77.0
UAP-SAM2 ( 10/255 ) [ 60 ]
55.4
23.9
47.4
46.3
22.0
35.8
30.4
25.5
29.1
36.4
22.5
31.3
AUV ( 10/255 )
8.4
7.1
7.6
14.0
10.3
12.7
24.6
19.9
23.5
21.1
18.3
20.2
AUV ( 8/255 )
12.3
9.1
11.4
17.6
13.2
16.8
23.1
18.4
22.7
24.8
21.3
24.1
AUV ( 6/255 )
18.1
14.5
16.4
23.7
16.9
21.0
29.7
25.1
28.1
32.4
26.1
31.0
Appendix
Table 15: Stress test of lowering the perturbation bound ϵ . We evaluate AUV by gradually reducing ϵ from the standard 10/255 all the way to 4/255 .
Figure 8: Multi-target video suppression by AUV. It simultaneously eliminates multiple targets specified by a single language prompt, including people in a crowd (top) and eggs (bottom).
The performance of promptable video object segmentation (PVOS) models substantially degrades under input corruptions, which prevents PVOS deployment in safety-critical domains. This paper offers the first comprehensive study on robust PVOS (RobustPVOS). We first construct a new, comprehensive benchmark with two real-world evaluation datasets of 351 video clips and more than 2,500 object masks under real-world adverse conditions. At the same time, we generate synthetic training data by applying diverse and temporally varying corruptions to existing VOS datasets. Moreover, we present a new RobustPVOS method, dubbed Memory-object-conditioned Gated-rank Adaptation (MoGA). The key to successfully performing RobustPVOS is two-fold: effectively handling object-specific degradation and ensuring temporal consistency in predictions. MoGA leverages object-specific representations maintained in memory across frames to condition the robustification process, which allows the model to handle each tracked object differently in a temporally consistent way. Extensive experiments on our benchmark validate MoGA's efficacy, showing consistent and significant improvements across diverse corruption types on both synthetic and real-world datasets, establishing a strong baseline for future RobustPVOS research. Our benchmark is publicly available at https://sohyun-l.github.io/RobustPVOS_project_page/.
Video Object Segmentation (VOS) in complex and long videos is increasingly important for real-world applications, where target objects often appear only intermittently within long temporal horizons. However, existing benchmarks largely focus on temporally salient objects that remain visible for most of the video. To address this gap, we introduce FaVOS (A Benchmark for Video Object Segmentation with Fractional Temporal Visibility), a benchmark designed to evaluate VOS methods under low temporal visibility. We show that, in this regime, the standard J&F metric can collapse VOS evaluation into absence classification, because empty predictions receive high rewards on target-absent frames. Consequently, even a trivial empty-mask predictor can outperform strong models such as SAM 3, revealing a fundamental mismatch between current metrics and practical VOS performance. To mitigate this issue, we propose Volumetric J&F, which evaluates mask sequences as spatio-temporal volumes and reduces the dominance of target-absence rewards while preserving sensitivity to segmentation quality and temporal structure. Project page: https://aidaslab.github.io/FaVOS.
Jihwan Hong, Woohyeon Park, Jaeik Kim +1
AIDAS Laboratory, 1IPAI, Seoul National University · AIDAS Laboratory, 2ECE, Seoul National University
Complex video object segmentation requires robust target propagation under severe occlusion, disappearance and reappearance. Although SAM3 provides strong promptable mask propagation, a uniform inference path remains unreliable for tiny targets with insufficient visual evidence and semantic-dominated targets whose identities depend on explicit attributes. To this end, we present VOS-Agent, a collaborative framework that retains SAM3 as the shared dense segmentation module and conditionally activates specialized agents according to target characteristics. A Target Perception and Routing Agent assigns each sequence to a regular, tiny, or semantic-dominated route. Tiny targets are supported by a Visual Tracking Agent through confidence-aware box prompts, while semantic-dominated targets are handled by an MLLM-based Semantic Agent through description-guided localization and candidate verification. On the MOSEv2 test set, VOS-Agent achieves 69.82% on the official J&F˙ metric and ranks first in the MOSEv2 Track of the 8th LSVOS Challenge at ECCV 2026.
Canyang Wu, Jinrong Zhang, Xusheng He +3
Harbin Institute of Technology, Shenzhen · Nanyang Technological University · Shenzhen Loop Area Institute