NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Segment Anything Meets Point Tracking

Frano Rajic, Lei Ke, Yu-Wing Tai, Chi-Keung Tang, Martin Danelljan, Fisher Yu · OpenReview

Abstract

The Segment Anything Model (SAM) has established itself as a powerful zero-shot image segmentation model, employing interactive prompts such as points to generate masks. This paper presents SAM-PT, a method extending SAM's capability to tracking and segmenting anything in dynamic videos. SAM-PT leverages robust and sparse point selection and propagation techniques for mask generation, demonstrating that a SAM-based segmentation tracker can yield strong zero-shot performance across popular video object segmentation benchmarks, including DAVIS, YouTube-VOS, and MOSE. Compared to traditional object-centric mask propagation strategies, we uniquely use point propagation to exploit local structure information that is agnostic to object semantics. We highlight the merits of point-based tracking through direct evaluation on the zero-shot open-world Unidentified Video Objects (UVO) benchmark. To further enhance our approach, we utilize K-Medoids clustering for point initialization and track both positive and negative points to clearly distinguish the target object. We also employ multiple mask decoding passes for mask refinement and devise a point re-initialization strategy to improve tracking accuracy.

Introduction

The release of Meta’s Segment Anything Model (SAM) was a watershed moment for computer vision, providing a foundation model capable of segmenting nearly any object in an image given a simple prompt. However, extending this capability to video has proven difficult due to the challenge of maintaining consistent masks across dynamic frames without expensive retraining or manual frame-by-frame labeling.

Overview of the SAM-PT pipeline showing point tracking and mask generation.

SAM-PT (Segment Anything Meets Point Tracking) addresses this by shifting from an object-centric view to a point-centric view. By propagating sparse "query points" across video frames and using them to prompt SAM, the system achieves state-of-the-art zero-shot video object segmentation without ever training on a single video mask. This approach leverages the fact that local structures (points) are often easier to track over time than complex, changing shapes.

Methodology

The SAM-PT pipeline consists of four main stages designed to ensure temporal consistency and segmentation accuracy:

Detailed four-step pipeline of SAM-PT including query point selection, tracking, SAM segmentation, and reinitialization.
  1. Query Point Selection: The process begins with a mask in the initial frame. The system samples "positive" points (on the object) and "negative" points (on the background). Research indicates that K-Medoids clustering is the most effective sampling strategy, ensuring points are distributed across various parts of the object.
  2. Point Tracking: These points are propagated through the video using off-the-shelf long-term trackers. These trackers provide predicted trajectories and occlusion scores for each point, allowing the system to ignore points that are hidden behind other objects.
  3. Segmentation (The SAM Step): For every frame, SAM is prompted using the non-occluded points. A two-pass strategy is employed: first, prompting SAM with only positive points for rough localization, followed by a refinement pass using positive points, negative points, and the mask from the previous pass.
  4. Reinitialization: To handle long-term drift or object rotation, the system can "refresh" its query points every few frames based on the most recently predicted mask, maintaining tracking quality over time.

Datasets and Evaluation

SAM-PT was evaluated across a diverse range of benchmarks to test its versatility:

  • Standard VOS: DAVIS 2016/2017 and YouTube-VOS 2018.
  • Complex/Long-term: MOSE 2023, featuring objects that disappear and reappear.
  • Open-World: Unidentified Video Objects (UVO), testing the ability to segment arbitrary objects in a scene.
  • Real-World/Driving: An adapted version of BDD100K for video object segmentation.

Key Results and Insights

SAM-PT sets a new high bar for zero-shot performance. On the DAVIS 2017 benchmark, it achieved a mean $\mathcal{J\&F}$ score of 79.4, significantly outperforming other generalist models like SegGPT (75.6). Notably, in the open-world UVO Benchmark, SAM-PT (zero-shot) outperformed a fully-supervised Video Instance Segmentation (VIS) model by 6.7 points.

Key insights from the study include:

  • Points > Masks for Zero-Shot: Point tracking is more robust to semantic changes than mask propagation because trackers focus on local textures rather than object-level semantics.
  • Negative Points are Crucial: Including negative points (background prompts) significantly reduces "mask leakage," where the segmentation bleeds into the background.
  • K-Medoids Superiority: Using K-Medoids to find the centers of different object parts ensures that if one part of the object is occluded, the tracker maintains points on the visible sections.

Conclusion and Future Work

While SAM-PT demonstrates powerful zero-shot capabilities, it remains dependent on the quality of the underlying point tracker. Challenges persist with extreme motion blur, total occlusion, and very thin structures. Future work may involve tighter integration between the tracker and the segmenter, potentially allowing SAM’s mask features to inform the tracker’s confidence scores directly. Despite these challenges, SAM-PT represents a significant step toward general-purpose video understanding.

Summary updated

BibTeX
@inproceedings{rajic2025segment,
  author = {Frano Rajic and Lei Ke and Yu-Wing Tai and Chi-Keung Tang and Martin Danelljan and Fisher Yu},
  title = {{Segment Anything Meets Point Tracking}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00901},
}

Loading related content...

Figure