Crossover Learning for Fast Online Video Instance Segmentation

Shusheng Yang, Yuxin Fang, Xinggang Wang, Yu Li, Chen Fang, Ying Shan, Bin Feng, Wenyu Liu

Abstract

CrossVIS is a high-speed, online video instance segmentation (VIS) model that achieves state-of-the-art results by rethinking how temporal context is learned. By employing a novel "crossover learning" scheme during training and a global embedding branch for tracking, it delivers a significant boost in accuracy without adding any computational overhead during inference. This approach allows the model to maintain high frame rates while effectively handling challenges like occlusion and appearance changes.

Introduction

Video Instance Segmentation (VIS) is a complex computer vision task requiring simultaneous detection, segmentation, and tracking of object instances across video frames. Performing this "online"—processing frames sequentially without future knowledge—is critical for real-time applications such as autonomous driving and live surveillance.

The primary challenge in online VIS is maintaining temporal consistency. Objects frequently move, undergo occlusion, or change appearance due to lighting and pose variations. Existing solutions typically fall into two categories: heavy feature aggregation, which is accurate but computationally expensive at test time, and simple tracking-by-detection, which is fast but prone to losing objects during complex motions or occlusions.

Methodology

CrossVIS addresses these challenges through two main innovations built upon the CondInst framework, a fully convolutional instance segmentation architecture.

1. Crossover Learning

The core innovation is the crossover learning scheme. In the underlying CondInst framework, an object is segmented by generating a dynamic filter (a set of weights) unique to that instance. While standard training uses a filter from Frame $t$ to segment the object in the same Frame $t$, CrossVIS introduces a "crossover" mechanism.

The CrossVIS architecture featuring the crossover learning scheme.

During training, the model takes the filter generated for an object in Frame $t$ and uses it to segment the same object in a different time step, Frame $t+\delta$. This forces the model to learn appearance features robust enough to identify the object despite changes in background or pose. Because this crossover is only performed during training to supervise the model's learning, it adds zero computational cost to the final inference speed.

2. Global Balanced Instance Embedding

To improve tracking stability, CrossVIS moves away from unstable pair-wise frame matching. Instead, it treats tracking as a global classification problem. The model maintains a set of "proxies" (learnable weights) for every unique object in the entire training dataset. By utilizing Focal Loss to manage the imbalance between a specific object and the rest of the dataset, the model learns more discriminative and stable mathematical "fingerprints" for tracking, preventing the feature drift common in local trackers.

Experimental Results

The model was evaluated on major benchmarks including YouTube-VIS-2019, YouTube-VIS-2021, and the Occluded Video Instance Segmentation (OVIS) dataset.

Performance and Efficiency

CrossVIS sets a new standard for online VIS methods. On YouTube-VIS-2019, it achieved 36.3 AP (Average Precision) at 39.8 FPS using a ResNet-50 backbone, outperforming previous leaders like SipMask-VIS (33.7 AP) while maintaining a higher frame rate.

Qualitative comparison showing how crossover learning improves mask quality and temporal consistency under occlusion.

Handling Occlusion

On the challenging OVIS dataset, which features heavy occlusions, CrossVIS achieved 18.1 AP, significantly outperforming the MaskTrack R-CNN baseline (15.4 AP). Ablation studies confirmed that the Crossover Learning scheme alone contributes approximately 1.0 AP improvement with no impact on inference time.

Conclusion

CrossVIS demonstrates that temporal context can be effectively baked into model weights during training, eliminating the need for expensive cross-frame attention at test time. While it currently trails the absolute accuracy of offline models that process entire videos at once, its efficiency and stability make it a powerful solution for real-time applications. Future work may extend this crossover philosophy to related tasks such as multi-object tracking and video object detection.

Summary updated

BibTeX
@inproceedings{yang2021crossover,
  author = {Shusheng Yang and Yuxin Fang and Xinggang Wang and Yu Li and Chen Fang and Ying Shan and Bin Feng and Wenyu Liu},
  title = {{Crossover Learning for Fast Online Video Instance Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00794},
}
Figure