Tracking over a Thousand Objects with Frozen SAM
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. 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.
Create a lesson
Metadata
- Comments
- 38 pages. Project page: https://fudancvl.github.io/robotics/sam1k/ Code: https://github.com/FudanCVL/SAM1K Data: https://huggingface.co/datasets/FudanCVL/MOSE1K
Related papers
PhysGenHOI: Physics-Conditioned Hand--Object Interaction Video Generation
Shared title terminologycs.CVBinzhu Xie, Sicheng Zhang, Hao Xu et al.
Enhancing Transferability of Targeted Adversarial Attacks for Object Detection
Shared title terminologycs.CVAlexis Winter, Romaric Audigier, Angélique Loesch et al.
Feature Suppression for Black-Box Vanishing Adversarial Attack in Object Detection
Shared title terminologycs.CVAlexis Winter, Romaric Audigier, Angélique Loesch et al.
Point2RBox++: Revisiting Point-Supervised Oriented Object Detection
Shared title terminologycs.CVXue Yang, Teng Zhang, Ziqian Fan et al.
MySAM: Inverting Any Object Identity into the Prompt Space of SAM3
Shared title terminologycs.CVTilemachos Aravanis, Bill Psomas, Giorgos Kordopatis-Zilos et al.
Keeping Targets on Track: Evidence-Grounded Lightweight Infrared-Visible Video Fusion
Shared title terminologycs.CVChusheng Fang, Xilai Li, Hang Liu et al.