Skip to content
AI.info

Papers

Tracking over a Thousand Objects with Frozen SAM

SAM1K makes thousand-instance video tracking practical on one GPU by sharing frame context and limiting per-object work, without changing SAM weights.

The paper’s first page · arXiv:2612.01656
arXiv
2612.01656 · Preprint · not peer-reviewed
Published
2026-12-01
Authors
Kaining Ying, Henghui Ding

In plain words

Promptable video trackers can follow objects from masks supplied in the first frame, but standard methods repeat much of the full-frame computation for every object. That becomes expensive and can exceed GPU memory when a scene contains hundreds or thousands of targets.

Key results

  • Faster tracking at high object counts. On stress clips with 1024 objects, SAM1K is reported to be 14.6× faster than full-window execution with SAM 2.1 and 13.4× faster with SAM 3 on a single 48 GiB GPU.
  • Accuracy close to the base trackers on real datasets. The paper reports that SAM1K stays within a 1.5-point margin of its corresponding base tracker across the evaluated sparse and dense datasets.
  • Tracking where released predictors run out of memory. On MOSE1K, the released SAM 2.1, SAM 3.1, and SAM-MT predictors run out of memory on the Short videos.

AI summary

Overview

  • Research area: Video object segmentation and multi-object tracking, especially efficient tracking of many prompted objects.
  • Technical level: Intermediate.
  • Scope: The paper presents SAM1K, a training-free way to scale frozen SAM 2.1 and SAM 3 tracking by doing object-specific work in local windows while sharing frame context and background memory.

What This Paper Is About

Promptable video trackers can follow objects from masks supplied in the first frame, but standard methods repeat much of the full-frame computation for every object. That becomes expensive and can exceed GPU memory when a scene contains hundreds or thousands of targets. The paper aims to reduce that cost without retraining the models or changing their weights, while keeping tracking accuracy close to the original trackers.

Key Contributions

  1. SAM1K: A method that tracks each object in an adaptive window around its predicted location, rather than repeating all object-specific computation over the whole frame.
  2. Shared context and factorized memory: It computes background context once per frame and represents each object’s memory using a small object-specific patch plus shared background memory.
  3. Satellite tokens: It adds a small set of tokens outside each window so object-specific memory and pointers can still inform tracking beyond the local region.
  4. MOSE1K and evaluation: It introduces a rendered benchmark with 10 videos, each containing over a thousand prompted targets, and evaluates tracking efficiency and accuracy against several trackers and SAM variants.

Main Findings

  • Faster tracking at high object counts: On stress clips with 1024 objects, SAM1K is reported to be 14.6× faster than full-window execution with SAM 2.1 and 13.4× faster with SAM 3 on a single 48 GiB GPU.
  • Smaller object memory banks: In the 1024-object comparison, SAM1K-2.1 reduces the stored bank from 3.50 GiB to 0.16 GiB, a 22× reduction. SAM1K-3 reduces it from 4.43 GiB to 0.36 GiB, a 12× reduction.
  • Accuracy close to the base trackers on real datasets: The paper reports that SAM1K stays within a 1.5-point margin of its corresponding base tracker across the evaluated sparse and dense datasets. Dataset-level changes are −0.2 to +0.9 points for SAM1K-2.1 relative to SAM 2.1, and 0.0 to +0.4 points for SAM1K-3 relative to SAM 3.
  • Tracking where released predictors run out of memory: On MOSE1K, the released SAM 2.1, SAM 3.1, and SAM-MT predictors run out of memory on the Short videos. SAM1K tracks all targets in a single streaming run.
  • MOSE1K results against chunked references: On Short videos, SAM1K-2.1 scores 61.5 in 𝒥 & ℱ versus 58.8 for SAM 2.1 Freed; SAM1K-3 scores 65.3 versus 61.5 for SAM 3 Chunks. SAM1K-3 raises IDF1 from 64.2 to 66.6. Its 𝒥 & ℱ margin comes mostly from absent frames, where false masks fall from 46.5% to 31.7%.
  • Limitations on challenging cases: The paper reports larger losses on some very small targets and on drone and fishpond scenes. Its stride test shows narrower margins at stride 4; velocity-centered windows improve the SAM1K-2.1 margin in that test.

Methodology in Plain English

SAM1K starts by encoding each frame into image features, as the original trackers do. It then places a window around each object’s current predicted mask and runs that object’s tracking steps mainly inside that window. The window can grow or shrink as the object’s mask changes.

Local windows still need information from outside their boundaries. SAM1K therefore computes a shared full-frame context pass using background memories, which can be reused across objects. Each object also keeps its own small memory patch and pointers. Satellite tokens let the object read its own memory at selected positions outside the window, supplementing the shared context with object-specific information.

After predicting a mask, the method uses it to set the next window. It also includes checks for masks touching a window edge, objects predicted to be absent, and objects found again after absence. The model weights remain unchanged, and no training is required. When windows cover the full frame throughout the tracking history, SAM1K reduces to the base tracker’s computation, apart from floating-point reordering.

Why This Matters

Impact on research: SAM1K offers a way to study and perform high-count promptable tracking without retraining the underlying model. MOSE1K provides a rendered benchmark with dense target counts and exact target masks, including labels for absent or occluded targets.

Potential applications:

  • Tracking individual nuclei or cells in microscopy videos.
  • Following pedestrians and heads in dense crowd-surveillance footage.
  • Tracking many cells or microbial colonies, including the kinds of sequences represented by the paper’s cell datasets.
  • Analyzing other videos where many objects can be prompted in an initial frame.

Industry relevance: Reducing repeated full-frame computation and per-object memory may make promptable tracking more practical for high-density video analysis on a single GPU. The paper evaluates the method on a 48 GiB GPU; it does not report deployment results on production systems or at commercial scale.

Future Directions

  1. Add objects that appear later or divide: The paper evaluates first-frame prompted tracking and leaves newly appearing objects and cell divisions outside its scope.
  2. Improve recovery after long occlusions: The authors report that a small share of videos falls behind the base tracker after long occlusions.
  3. Strengthen tracking of small targets and fast motion: The paper reports difficult results for some very small targets and narrower margins in its stride test; more robust window placement is a natural next question.
  4. Test how rendered stress results transfer: MOSE1K enables controlled evaluation with exact labels, but further work could examine how well those results predict performance in real videos with similarly high target counts.

Target Audience

This paper is most useful for computer vision researchers and engineers working on video object segmentation, multi-object tracking, or efficient inference with promptable models. It may also interest researchers who analyze microscopy, dense crowds, or other videos in which many objects must be tracked at once.

Authors’ abstract

Segment Anything Models such as SAM 2.1 and SAM 3 perform full-frame tracking independently for each prompted object. This makes tracking hundreds or thousands of objects, such as cells and people in crowds, computationally expensive. To reduce this cost, we present SAM1K, a training-free method that preserves the original model weights, restricts object-specific computation to adaptive windows around each object, and shares object-independent context across all objects.…

The full abstract on arXiv
Read the original paper

Related papers