Abstract
Video Instance Segmentation (VIS) is a complex task requiring simultaneous detection, segmentation, and tracking of objects across video frames. Traditional training methodologies rely on expensive pixel-wise annotations. We present BoxVIS, a novel framework that enables high-quality video segmentation using only bounding box labels. By incorporating a Spatial-Temporal Pairwise Affinity (STPA) loss and leveraging a large-scale box-annotated dataset (BVISD), BoxVIS achieves performance comparable to state-of-the-art pixel-supervised models while reducing annotation costs by approximately 84%.
Introduction
The primary bottleneck in scaling Video Instance Segmentation (VIS) is the high cost of manual pixel-wise mask annotation. Labeling a polygon mask takes nearly ten times longer than drawing a simple bounding box (79.2s vs. 7s per object). This cost constraint limits the size of existing VIS datasets, hindering model generalization in real-world scenarios characterized by heavy occlusion and rapid motion. BoxVIS addresses this challenge by demonstrating that high-quality segmenters can be trained using only bounding boxes, unlocking the potential of much larger, more diverse datasets.
Methods
BoxVIS builds upon the Mask2Former-VIS architecture, adapting it for box-supervised learning through three primary innovations:
- Box-Supervised Baseline: The model utilizes a Projection Loss to constrain predicted masks within bounding box boundaries and a Pairwise Affinity Loss to ensure that neighboring pixels with similar colors share the same label.
- Spatial-Temporal Pairwise Affinity (STPA) Loss: To enforce temporal consistency, STPA extends affinity calculations across frames. It employs Box-Center Guided Shifting to align pixel search areas between frames $t$ and $t+1$ based on object motion, providing a low-cost consistency mechanism without requiring expensive optical flow computations.
- Teacher-Student Learning: An Exponential Moving Average (EMA) Teacher model generates high-quality pseudo-masks to supervise the student model during training, further refining segmentation accuracy.
Datasets and Training
The framework is evaluated on standard benchmarks like YouTube-VIS 2021 and the challenging OVIS dataset. To improve generalization, the authors introduced the Box-annotated VIS Dataset (BVISD). This dataset merges existing VIS data with 90,000 "pseudo-video" clips generated from static COCO images using synthetic transformations—such as random zooms, rotations, and crops—to simulate realistic object motion.
Results
BoxVIS demonstrates that increased data volume can effectively compensate for lower label precision. On the YTVIS21 dataset, BoxVIS achieved a mask AP of 43.2%, matching the performance of the pixel-supervised Mask2Former-VIS. On the OVIS dataset, which features heavy occlusions and crowded scenes, BoxVIS reached 29.0% AP, significantly outperforming several fully supervised counterparts.
Key findings include:
- Baseline Strength: Switching to box-supervision on existing models resulted in only a ~2% performance drop, suggesting that pre-trained representations provide a robust foundation for segmentation.
- Cost Efficiency: Annotating BVISD required only 80 worker days, compared to an estimated 898 days for pixel masks—a reduction to 16% of the traditional cost.
- Inference Speed: The model maintains high efficiency, running at approximately 37.8 FPS, suitable for real-time applications.
Conclusion
BoxVIS proves that box-level supervision is a viable and cost-effective alternative for high-performance VIS. While the model can face challenges in extremely crowded scenes where patch correlations may overlap between distinct objects, it sets a new precedent for leveraging large-scale weakly labeled data. Future work will focus on improving occlusion handling and refining pseudo-video generation techniques to further bridge the gap between static images and complex video reality.
Summary updated