titleTracking over a Thousand Objects with Frozen SAM
authorsKaining Ying, Henghui Ding
date2026-12-01
venuearXiv (preprint, not peer reviewed)
idarXiv:2612.01656
affiliationFudanCVL
upvotes6 (Hugging Face Daily Papers, 2026-12-04)
linksabs pdf hf code
cite
relatedRoboEscape: Generating Verifiable Escape Rooms for Long-Horizon Robot-Use Agents
SAM2Matting: Generalized Image and Video Matting
OcclusionFormer: Arranging Z-Order for Layout-Grounded Image Generation
SAM-MT: Real-Time Interactive Multi-Target Video Segmentation
abstractSegment 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. Specifically, each object maintains a small memory patch, while a shared background memory is computed once per frame. A small number of satellite tokens allow each window to access object-specific memory outside its boundaries. When tracking 1024 targets on a single 48 GiB GPU, SAM1K runs 13.4x to 14.6x faster than full-frame tracking with the same SAM 2.1 and SAM 3 models. To facilitate research on tracking thousands of objects, we further introduce MOSE1K, a rendered benchmark containing over a thousand prompted targets per video, on which the released SAM 2.1, SAM 3.1, and SAM-MT predictors all run out of memory. SAM1K tracks all targets in a single streaming pass. On real-world videos, both SAM1K-2.1 and SAM1K-3 maintain tracking accuracy within a 1.5-point margin of their original trackers across all sparse and dense datasets.

bibtex

@misc{ying2026tracking,
  title={Tracking over a Thousand Objects with Frozen SAM},
  author={Kaining Ying and Henghui Ding},
  year={2026},
  eprint={2612.01656},
  archivePrefix={arXiv},
  url={https://arxiv.org/abs/2612.01656}
}