Abstract
The handling of long videos with complex and occluded sequences has recently emerged as a new challenge in the video instance segmentation (VIS) community. However, existing methods have limitations in addressing this challenge. We argue that the biggest bottleneck in current approaches is the discrepancy between training and inference. To effectively bridge this gap, we propose a Generalized framework for VIS, namely GenVIS, that achieves state-of-the-art performance on challenging benchmarks without designing complicated architectures or requiring extra post-processing. The key contribution of GenVIS is the learning strategy, which includes a query-based training pipeline for sequential learning with a novel target label assignment. Additionally, we introduce a memory that effectively acquires information from previous states. Thanks to the new perspective, which focuses on building relationships between separate frames or clips, GenVIS can be flexibly executed in both online and semi-online manner. We evaluate our approach on popular VIS benchmarks, achieving state-of-the-art results on YouTube-VIS 2019/2021/2022 and Occluded VIS (OVIS). Notably, we greatly outperform the state-of-the-art on the long VIS benchmark (OVIS), improving 5.6 AP with ResNet-50 backbone.
Introduction
Video Instance Segmentation (VIS) requires a system to simultaneously detect, segment, and track every object in a video. While modern deep learning models have become excellent at segmenting objects in static images or short clips, they often struggle with long-range tracking in real-world videos.
A major bottleneck in current VIS research is the discrepancy between training and inference. Most VIS models are trained on very short sequences (1–2 frames or a single short clip) but are expected to perform on videos hundreds of frames long. To bridge this gap, existing methods usually rely on manual "heuristics"—such as IoU (Intersection over Union) matching or Re-ID thresholds—to stitch together predictions from different clips. These heuristics are brittle and often fail during heavy occlusion or when objects disappear and reappear.
GenVIS introduces a "Generalized" approach that can operate in both online (frame-by-frame) and semi-online (clip-by-clip) modes by learning to associate objects across clips during the training phase itself, eliminating the need for hand-crafted post-processing.
Methodology
GenVIS achieves heuristic-free association through several core innovations:
Unified Video Label Assignment (UVLA)
UVLA is the primary contribution of the framework. It is a target assignment strategy that maintains consistent object identities across clips during training. By tracking which "queries" (mathematical representations of objects) are "occupied" by a specific ground-truth object, the model learns to naturally "track" an object using the same query throughout the video. This removes the need for manual matching rules at inference time.
Instance Prototype Memory
To handle long-range dependencies and occlusions, the model stores "instance prototypes"—concise, compressed representations of objects from previous states—in a memory bank. When processing a new clip, the model "reads" from this memory to help re-identify objects that may have been occluded or moved significantly.
Sequential Learning
Unlike previous methods that train on isolated clips, GenVIS loads multiple consecutive clips during training. This allows the model to learn inter-clip relationships directly. Built upon the VITA architecture, GenVIS aggregates temporal context by passing queries through an Object Encoder and Decoder. Because it only trains these specific components, it is memory-efficient enough to train on sequences of ~100 frames on a single consumer-grade GPU.
Experimental Results
GenVIS was evaluated on the most challenging VIS benchmarks, including YouTube-VIS (2019/2021/2022) and Occluded VIS (OVIS). The model achieved impressive gains, particularly on the most difficult datasets:
- OVIS Benchmark: Using a ResNet-50 backbone, GenVIS improved the State-of-the-Art (SOTA) by 5.6 AP (reaching 35.8 AP). With a Swin-L backbone, it reached 45.4 AP, outperforming the previous best by 2.8 points.
- YouTube-VIS 2022 (Long Videos): It achieved 37.5 AP with ResNet-50, a significant jump over previous methods like VITA (32.6 AP) and MinVIS (23.3 AP).
- Heuristic-Free Inference: The model performs exactly as it learned, requiring zero hand-crafted matching logic during inference, which simplifies the deployment pipeline.
Conclusion
GenVIS demonstrates that tracking should not be a post-processing step. By simulating inference challenges during training via UVLA and utilizing an instance memory, the model learns long-range association as a feature. This generalized framework offers flexibility between online and semi-online modes, providing a robust solution for complex, real-world video instance segmentation.
Summary updated