arXiv:2610.01022cs.CVOct 2026

Manuscript Offprint

arXiv:2610.01022

Towards Automatic Video Annotation with ASH: Zero-Shot Open-Vocabulary Multi-Object Tracking and Segmentation

Arash Rocky, Q. M. Jonathan Wu

Abstract

Memory-attention-based Video Instance Segmentation (VIS) methods have demonstrated strong zero-shot tracking capability, yet their substantial memory requirements confine them to short video clips and their single-prompt inference design makes multi-category open-vocabulary tracking computationally prohibitive. This work introduces two contributions toward fully automated tracking annotation of arbitrary video. The Generalized Presence Token (GPT) reformulates SAM3's inference pipeline to process N text prompts simultaneously via virtual prompt batching, reducing image encoding cost from O(N)O(N) to O(1)O(1) with no modifications to any learned component. The Annotation and Segmentation Handler (ASH) extends any memory-attention VIS tracker to sequences of arbitrary length through overlapping temporal chunks with IoU-based inter-chunk identity matching, requiring no dataset-specific training. Instantiated on SAM3, the resulting pipeline — SAM3-ASH — achieves state-of-the-art HOTA on MOTS20 under fully zero-shot conditions and remains competitive with trained specialists across seven additional benchmarks, while peak GPU memory consumption stays below 25 GB, establishing a practical baseline for scalable, training-free automated video annotation.

Keywords: Auto Annotation, Multi-Object Tracking, Video Instance Segmentation, Open-Vocabulary Tracking, Memory-Attention Segmentation, Annotation and Segmentation Handler (ASH)

∗^{*}Corresponding author.

Email addresses: rocky@uwindsor.ca (Arash Rocky), jwu@uwindsor.ca (Q. M. Jonathan Wu)

Figure

t=88t = 88

t=158t = 158

Figure 1: SAM3-ASH output on MOT20-04 [1] at t=88 and t=158 (2.8 s apart). Mask colours encode track identity: the orange- and peach-outlined pedestrians at the right of each panel retain their identities across the interval. Scenes of this density, with many small and mutually occluding instances per frame, are precisely where manual annotation becomes prohibitive. MOT20 is shown for illustration only; its box ground truth is not commensurable with visible-mask output, so it is not used quantitatively.

1. Introduction

Recent advances in Vision-Language Models (VLMs) have demonstrated remarkable progress across image and video understanding tasks. Despite these advances, the progress of VLMs in video understanding remains bottlenecked by the scarcity and cost of large-scale annotated video datasets — a challenge that motivates the core contribution of this work.

Dataset Annotation. Despite remarkable progress in computer vision, a critical bottleneck remains unresolved: the creation of high-quality annotated datasets. Manual annotation is a time-consuming process that can extend over months, and is inherently vulnerable to annotator bias and inconsistencies. The financial burden of hiring expert annotators or utilizing data labeling platforms can be substantial, particularly for specialized domains requiring domain expertise. These challenges are further amplified when dealing with complex scenarios, such as annotating small objects or creating precise ground truth annotations for sequential frames, as illustrated by the scene density in Fig. 1. Moreover, annotations are often tailored to specific methodological requirements, forcing researchers to repeatedly re-annotate datasets to align with their specific research needs — a redundant and resource-intensive process that impedes research progress.

Annotation Scope. In this work, annotation refers to object tracking annotation specifically: assigning consistent identities to object instances across video frames, with bounding boxes derived from segmentation masks as the output format. We argue that automating this foundational annotation type can pave the way for generating richer annotation types — segmentation masks, action labels, event detections — with minimal additional effort.

Existing Approaches. Prior work has explored self-supervised learning, data augmentation, and annotation-free methods to reduce labeling cost, but none address the specific challenge of consistent multi-object identity tracking across unconstrained video sequences.

Proposed Solution. The field still lacks a robust automatic annotation method capable of generating high-quality datasets with minimal human intervention. We propose that automated tracking annotation can be achieved by building upon recent advances in open-vocabulary object detection [2, 3]. However, the central challenge remains maintaining consistent object identities across frames — motivating the need for reliable long-term tracking. And this is where memory-attention-based video segmentation can fill this gap. Toward this goal, recent work on SAM2 [4] advanced automated video annotation by introducing video tracking capabilities that allow human annotators to provide first-frame annotations and refine subsequent frames using positive and negative clicks. Although this reduces the manual effort, human intervention remains necessary. SAM3 [5] took a further step toward a fully automated annotation engine by integrating an open-vocabulary object detector and a masklet matcher into SAM2. The detector employs a noun-phrase-based prompting strategy and a learned presence token that disentangles object existence from localization, reducing false positives. The matcher further consolidates redundant segmentation masks across frames. Despite these advances, SAM3's design introduces substantial memory overhead on top of the already computationally demanding SAM2 backbone, constraining its application to short video clips on high-end hardware and limiting inference to a single prompt per forward pass, making multi-category open-vocabulary tracking computationally prohibitive.

Our response to these two constraints is deliberately training-free, and its concep-tual core is architectural rather than compositional. We observe that SAM3's presence token — introduced as a single-prompt construct — is implicitly prompt-indexed: by reformulating the inference batch as a virtual batch of N text prompts over a shared visual encoding, the decoder can predict presence, localization, and segmentation for N independent concepts in a single forward pass without modifying any learned component. This Generalized Presence Token (GPT) collapses the image-encoding cost of open-vocabulary multi-object inference from O(N)O(N) to O(1)O(1), turning multi-category tracking from prohibitive to practical. The memory constraint is addressed by the Annotation and Segmentation Handler (ASH), a model-agnostic chunked inference layer compatible with any memory-attention Video Instance Segmentation (VIS) method — a claim we substantiate empirically with two instantiations spanning two backbones and two prompt modalities: box-prompted SAM2 (as FLASH, prototyped in our earlier SAM2Auto pipeline [6]) and text-prompted SAM3 (Appendix Appendix D). The resulting pipeline, SAM3-ASH, serves as a strong baseline for automated tracking annotation, demonstrating the practical viability of memory-attention-based VIS on arbitrary-length video sequences. SAM3-ASH minimizes the need for manual annotation, ensures consistent object identification across frames, and operates without dataset-specific training or extensive parameter tuning.

Why Training-Free. Training-free operation is not an implementation convenience but a requirement of the annotation setting itself. An annotation engine that must be trained is circular: it presupposes labels in the very domain it is meant to label. Keeping every learned component frozen removes this circularity — SAM3-ASH requires no seed annotations, no per-domain retraining, and extends to novel vocabularies at deployment time by editing a text prompt. The gaps to trained specialists reported in Section 4 are the price of this property; the results show the price is consistently small and, on several benchmarks, nonexistent.

Contributions. The main contributions of this paper are as follows:

  1. Generalized Presence Token: The presence token in SAM3 was implicitly a single-prompt construct. We generalize it to a multi-presence token by reformulating the inference batch as a prompt-indexed virtual batch over a shared visual representation. This allows the decoder to simultaneously predict object presence, localization, and segmentation for N independent semantic concepts in a single forward pass, reducing redundant image encoding from O(N)O(N) to O(1)O(1).

  2. Annotation and Segmentation Handler (ASH): A model-agnostic Multi-Object Tracker (MOT) that extends any memory-attention-based Video Instance Segmentation (VIS) model to process video sequences of arbitrary length. ASH overcomes the inherent memory constraints of VIS models by decomposing long sequences into temporal chunks while maintaining consistent object identities across boundaries, enabling fully automated video annotation without dataset-specific training or human intervention.

  3. We integrate the Generalized Presence Token and ASH into SAM3, forming SAM3-ASH, and demonstrate through extensive experiments across eight benchmarks that SAM3-ASH achieves competitive zero-shot tracking performance without dataset-specific training, establishing a practical baseline for fully automated tracking annotation of arbitrary video sequences. We further validate ASH's model-agnostic design empirically by comparing against a second instantiation on box-prompted SAM2 [6].

The remainder of this paper is organized as follows: Section 2 reviews related work in the areas closest to automated annotation. Section 3 details the Generalized Presence Token and the Annotation and Segmentation Handler (ASH) that together form SAM3-ASH. Section 4 presents experimental results and discussion. Section 5 outlines future directions, and Section 6 concludes the paper.

References (46)