paper-with-me

홈 › Papers

SAM2Long: Enhancing SAM 2 for Long Video Segmentation with a Training-Free Memory Tree

2024-10-21 · Shuangrui Ding, Rui Qian, Xiaoyi Dong, Pan Zhang, Yuhang Zang, Yuhang Cao, Yuwei Guo, Dahua Lin, Jiaqi Wang

The Segment Anything Model 2 (SAM 2) has emerged as a powerful foundation model for object segmentation in both images and videos, paving the way for various downstream video applications. The crucial design of SAM 2 for video segmentation is its memory module, which prompts object-aware memories from previous frames for current frame prediction. However, its greedy-selection memory design suffers from the "error accumulation" problem, where an errored or missed mask will cascade and influence the segmentation of the subsequent frames, which limits the performance of SAM 2 toward complex long-term videos. To this end, we introduce SAM2Long, an improved training-free video object segmentation strategy, which considers the segmentation uncertainty within each frame and chooses the video-level optimal results from multiple segmentation pathways in a constrained tree search manner. In practice, we maintain a fixed number of segmentation pathways throughout the video. For each frame, multiple masks are proposed based on the existing pathways, creating various candidate branches. We then select the same fixed number of branches with higher cumulative scores as the new pathways for the next frame. After processing the final frame, the pathway with the highest cumulative score is chosen as the final segmentation result. Benefiting from its heuristic search design, SAM2Long is robust toward occlusions and object reappearances, and can effectively segment and track objects for complex long-term videos. Notably, SAM2Long achieves an average improvement of 3.0 points across all 24 head-to-head comparisons, with gains of up to 5.3 points in J&F on long-term video object segmentation benchmarks such as SA-V and LVOS. The code is released at https://github.com/Mark12Ding/SAM2Long.

📄 PDF Abstract BibTeX arXiv:2410.16268

Code (1)

mark12ding/sam2long 공식 구현 pytorch

Tasks

Heuristic SearchObjectSegmentationSemantic SegmentationVideo Object SegmentationVideo SegmentationVideo Semantic SegmentationVisual Object Tracking

Methods 이 논문이 사용한 방법론

SAM 설명 없음

Similar Papers 제목 키워드 기반

Multi-Modal Video Topic Segmentation with Dual-Contrastive Domain Adaptation

2023-11-30 · Linzi Xing, Quan Tran, Fabian Caba, Franck Dernoncourt 외

Video topic segmentation unveils the coarse-grained semantic structure underlying videos and is essential for other video understanding tasks. Given the recent surge in multi-modal, relying solely on a single modality is…

Contrastive LearningDomain AdaptationSegmentationUnsupervised Domain Adaptation+1

FreeVPS: Repurposing Training-Free SAM2 for Generalizable Video Polyp Segmentation

2025-08-27 · Qiang Hu, Ying Zhou, Gepeng Ji, Nick Barnes 외 arxiv

Existing video polyp segmentation (VPS) paradigms usually struggle to balance between spatiotemporal modeling and domain generalization, limiting their applicability in real clinical scenarios. To embrace this challenge,…

Video Polyp SegmentationDomain Generalization

A Simple Video Segmenter by Tracking Objects Along Axial Trajectories

2023-11-30 · Ju He, Qihang Yu, Inkyu Shin, Xueqing Deng 외

Video segmentation requires consistently segmenting and tracking objects over time. Due to the quadratic dependency on input size, directly applying self-attention to video segmentation with high-resolution input feature…

GPUObjectObject TrackingPanoptic Segmentation+5

Enhancing Sa2VA for Referent Video Object Segmentation: 2nd Solution for 7th LSVOS RVOS Track

2025-09-19 · Ran Hong, Feng Lu, Leilei Cao, An Yan 외 arxiv

Referential Video Object Segmentation (RVOS) aims to segment all objects in a video that match a given natural language description, bridging the gap between vision and language understanding. Recent work, such as Sa2VA,…

Video Object SegmentationVideo Segmentation

InternVideo2.5: Empowering Video MLLMs with Long and Rich Context Modeling

2025-01-21 · Yi Wang, Xinhao Li, Ziang Yan, Yinan He 외

This paper aims to improve the performance of video multimodal large language models (MLLM) via long and rich context (LRC) modeling. As a result, we develop a new version of InternVideo2.5 with a focus on enhancing the …

Object TrackingReferring Expression SegmentationReferring Video Object SegmentationVideo Understanding