Abstract
Open-Vocabulary Video Instance Segmentation (VIS) is attracting increasing attention due to its ability to segment and track arbitrary objects. However, the recent Open-Vocabulary VIS attempts obtained unsatisfactory results, especially in terms of generalization ability of novel categories. We discover that the domain gap between the VLM features (e.g., CLIP) and the instance queries and the underutilization of temporal consistency are two central causes. To mitigate these issues, we design and train a novel Open-Vocabulary VIS baseline called OVFormer. OVFormer utilizes a lightweight module for unified embedding alignment between query embeddings and CLIP image embeddings to remedy the domain gap. Unlike previous image-based training methods, we conduct video-based model training and deploy a semi-online inference scheme to fully mine the temporal consistency in the video. Without bells and whistles, OVFormer achieves 21.9 mAP with a ResNet-50 backbone on LV-VIS, exceeding the previous state-of-the-art performance by 7.7. Extensive experiments on some Close-Vocabulary VIS datasets also demonstrate the strong zero-shot generalization ability of OVFormer (+ 7.6 mAP on YouTube-VIS 2019, + 3.9 mAP on OVIS).
Introduction
Video Instance Segmentation (VIS) requires a model to simultaneously classify, segment, and track objects across video frames. Traditionally, these models are limited to a fixed set of categories seen during training. Open-Vocabulary VIS aims to break this limitation, allowing models to detect and track arbitrary objects (e.g., a "walrus" or "hedgehog") even if they weren't in the training set.
The authors identify two major hurdles in current approaches:
- The Domain Gap: Most methods use CLIP as a frozen classifier. However, the "instance queries" generated by the segmentation backbone often reside in a different feature space than CLIP’s image/text embeddings, leading to poor recognition of novel categories.
- Temporal Inconsistency: Many existing methods operate frame-by-frame (online) or attempt to process the whole video at once (offline). Online methods often lose track of objects, while offline methods struggle with long videos and high memory costs.
Methods
The authors propose OVFormer, which consists of three main components:
- Instance Query Generation: Using a standard backbone (like ResNet-50 or Swin-B) and a Transformer decoder, the model generates "video-level" queries that represent an object across a short clip rather than a single frame.
- Unified Embedding Alignment (UEA): This is the core innovation. Instead of directly comparing queries to text embeddings, OVFormer uses a lightweight cross-attention module. Here, the instance queries act as "queries" and the CLIP image features act as "keys" and "values." This process "aligns" the segmentation model's internal representations with the CLIP feature space.
- Semi-Online Inference: To handle long videos while maintaining temporal context, the model processes the video in overlapping clips. It uses the Hungarian algorithm to match instance queries between consecutive clips, ensuring stable tracking without the memory overhead of full-video processing.
Key Results
OVFormer sets a new high-water mark for the field across several key benchmarks:
- LV-VIS Benchmark: Achieved 21.9 mAP with a ResNet-50 backbone, outperforming the previous state-of-the-art (OV2Seg) by 7.7 points.
- Novel Category Performance: On LV-VIS, the performance on "novel" categories (those not seen during training) was nearly identical to "base" categories (21.8 vs 22.1 mAP), demonstrating exceptional generalization.
- Zero-Shot Generalization: Without any fine-tuning, it improved performance on YouTube-VIS 2019 by +7.6 mAP and on the highly occluded OVIS dataset by +3.9 mAP.
Discussion and Future Work
The "aha moment" of this research is that simply using CLIP as a final-stage classifier is insufficient. By using CLIP's image features to refine the instance queries via cross-attention, the model learns to produce features that are inherently more "CLIP-like." This alignment module is remarkably lightweight—adding only 1.2M parameters—yet it provides the majority of the performance gain.
While OVFormer performs exceptionally well, some limitations remain. Like most query-based transformers, the model uses a fixed number of queries (100), which may miss instances in extremely crowded scenes. Additionally, very long-term occlusions still pose a challenge for Hungarian matching. Future directions include exploring more sophisticated temporal modeling and integrating more powerful Vision-Language Models.
Summary updated