Mark12Ding/SAM2Long

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

What it solves

SAM2Long addresses the issue of error accumulation in long-term video segmentation. In standard SAM 2, tracking objects across long videos often leads to drift or failure when objects are occluded or reappear, causing the segmentation mask to degrade over time.

How it works

It introduces a training-free memory tree that manages multiple segmentation hypotheses. Instead of relying on a single path of memory, the system dynamically prunes less optimal paths as the video progresses, reducing the risk of error propagation and improving resilience against occlusions.

Who it’s for

Computer vision researchers and developers working on video object segmentation (VOS), particularly those needing high-accuracy tracking in long-form content where objects frequently disappear and reappear.

Highlights

  • Training-Free: Enhances SAM 2 without requiring additional parameters or further training.
  • Resilient Tracking: Specifically designed to handle object occlusion and reappearance in long videos.
  • Performance Boost: Demonstrates significant improvements in J & F scores across benchmarks like SA-V and LVOS compared to the original SAM 2.
  • Compatible: Works with both SAM 2 and SAM 2.1 checkpoints across various backbone sizes (Tiny, Small, Base+, Large).

Related

  • Project
  • Project
  • Project
  • Project
  • Project