arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2612.01656cs.CV
收藏

使用冻结的SAM跟踪超过一千个目标

Tracking over a Thousand Objects with Frozen SAM

Fudan University(复旦大学)

Kaining Ying, Henghui Ding

AI总结:

针对SAM系列模型跟踪千个目标计算成本高的问题,提出无需训练的SAM1K方法,通过限制目标相关计算至自适应窗口、共享无关上下文等实现高效跟踪,在48 GiB GPU上速度提升13.4-14.6倍,精度损失小于1.5点,还推出含千个目标的MOSE1K基准。

摘要:

Segment Anything模型(如SAM 2.1和SAM 3)会为每个被提示的目标独立执行全帧跟踪,这使得跟踪数百或数千个目标(如人群中的细胞和行人)的计算成本很高。为降低该成本,我们提出SAM1K,这是一种无需训练的方法,保留原始模型权重,将与目标相关的计算限制在每个目标周围的自适应窗口内,并在所有目标间共享与目标无关的上下文。具体而言,每个目标维护一个小型内存补丁,而共享背景内存每帧计算一次;少量卫星令牌允许每个窗口访问其边界外的目标特定内存。在单个48 GiB GPU上跟踪1024个目标时,SAM1K的运行速度比使用相同SAM 2.1和SAM 3模型的全帧跟踪快13.4倍至14.6倍。为促进跟踪数千个目标的研究,我们进一步推出MOSE1K,这是一个渲染基准,每个视频包含超过一千个被提示的目标,在该基准上,已发布的SAM 2.1、SAM 3.1和SAM-MT预测器均会内存不足,而SAM1K在单次流处理中即可跟踪所有目标。在真实世界视频上,SAM1K-2.1和SAM1K-3的跟踪精度在所有稀疏和密集数据集上均与原始跟踪器保持在1.5个点的误差范围内。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

相关深度报道

↑