360 video object segmentation (360VOS) aims to predict temporally-consistent masks in 360 videos, offering full-scene coverage, benefiting applications, such as VR/AR and embodied AI. Learning 360VOS model is nontrivial due to the lack of high-quality labeled dataset. Recently, Segment Anything Models (SAMs), especially SAM2 -- with its design of memory module -- shows strong, promptable VOS capability. However, directly using SAM2 for 360VOS yields implausible results as 360 videos suffer from the projection distortion, semantic inconsistency of left-right sides, and sparse object mask information in SAM2's memory. To this end, we propose PanoSAM2, a novel 360VOS framework based on our lightweight distortion- and memory-aware adaptation strategies of SAM2 to achieve reliable 360VOS while retaining SAM2's user-friendly prompting design. Concretely, to tackle the projection distortion and semantic inconsistency issues, we propose a Pano-Aware Decoder with seam-consistent receptive fields and iterative distortion refinement to maintain continuity across the 0/360 degree boundary. Meanwhile, a Distortion-Guided Mask Loss is introduced to weight pixels by distortion magnitude, stressing stretched regions and boundaries. To address the object sparsity issue, we propose a Long-Short Memory Module to maintain a compact long-term object pointer to re-instantiate and align short-term memories, thereby enhancing temporal coherence. Extensive experiments show that PanoSAM2 yields substantial gains over SAM2: +5.6 on 360VOTS and +6.7 on PanoVOS, showing the effectiveness of our method.
Figures & tables
Figure 2: Overview of our PanoSAM2 framework . Compared with SAM2 [ 31 ] , it has two architectural contributions: Pano-Aware (PA) Decoder and Long-Short Memory Module (LSMM).
Table 1: Comparisons between our method and prior arts on the 360VOTS test dataset. Our PanoSAM2 achieves a new state-of-the-art performance. The best results are shown in bold , and * means the method is re-implemented and reproduced.
VOS Tracker
Backbone
PanoVOS Validation
PanoVOS Test
J&F
Js
Fs
Ju
Fu
J&F
Js
Fs
Ju
Fu
Perspective-Video-Specified
CFBI [ 41 ]
ResNet-101
35.8
34.6
44.8
24.2
39.7
19.1
18.2
26.1
12.2
19.8
CFBI+ [ 41 ]
ResNet-101
41.3
38.0
47.9
32.5
46.9
30.9
30.8
42.7
21.4
28.5
AFB-URR [ 16 ]
ResNet-50
34.3
34.8
42.8
24.9
34.5
34.2
28.2
38.8
32.9
36.8
STCN [ 6 ]
ResNet-50
52.0
51.2
60.8
41.5
54.5
50.8
43.6
56.5
49.3
53.7
Table 2: Comparisons between our method and existing approaches on PanoVOS validation and test datasets. The best results are shown in bold . Evaluation metric subscript s and u denote scores in seen and unseen categories compared to the training dataset.
Method
PanoVOS Validation
PanoVOS Test
J&F
J
F
J&F
J
F
PerSAM [ 45 ]
19.1
14.9
23.5
19.5
15.6
23.3
SAM-PT [ 30 ]
47.5
41.4
53.7
41.0
35.7
46.4
SAM-I2V [ 21 ]
48.9
42.8
55.0
40.5
34.9
46.1
SAM2 [ 31 ]
70.6
63.4
77.8
66.3
59.4
73.2
XMem [ 5 ]
52.1
46.9
57.2
44.4
39.6
49.1
Table 3: Comparisons of generalization ability between our method pretrained on 360VOTS and prior arts on PanoVOS validation and test dataset. The best results are shown in bold .
Figure 5: Qualitative comparison between PanoSAM2 and other VOS models. The orange boxes highlight the areas where the target object straddles the 0°/360° seam, showing PanoSAM2’s improved segmentation precision in complex scenes at different time steps.
Figure 6: Visualization of zero-shot results from PanoSAM2 and other VOS models on the PanoVOS dataset.
Figure 9
PA Decoder
LSMM
Lmask
J&F
J
F
59.4
53.9
64.9
✓
62.7
57.6
67.8
✓
61.6
57.4
65.8
✓
60.1
54.7
65.5
✓
✓
✓
64.3
59.2
69.3
Table 4: Ablation study on key components of PanoSAM2. The best result is shown in bold .
Table 11
Figure 9: Examples of failure cases. Orange bounding boxes highlight and zoom in on the small mask region.
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Table 13
Model
Backbone
LVOSv2 val
SA-V val
SA-V test
SAM2
Hiera-T
77.3
75.2
76.5
SAM2 ‡
Hiera-T
70.1
64.5
65.4
PanoSAM2 ‡
Hiera-T
68.7
63.5
64.1
Appendix
Table 9: J&F of SAM2-based tackers on perspective VOS datasets, where ‡ stands for fine-tuned on 360VOTS.
Table 15
Figure 11: More qualitative comparison between PanoSAM2 and other VOS models. Orange bounding boxes highlight and zoom in on the small mask region.
Figure 12: More ablation visualizations of proposed modules. Orange bounding boxes highlight and zoom in on the small mask region.
Figure 13: More visual results on self-collected open-world 360 scene.