Abstract
Video instance segmentation (VIS) is a critical task in computer vision requiring simultaneous detection, segmentation, and tracking. While existing top-performing methods typically extend two-stage architectures like Mask R-CNN, we propose SG-Net, a novel one-stage spatial granularity network. SG-Net features interdependent task heads that share features for joint optimization, avoids proposal-based RoI features to reduce complexity, and employs dynamic sub-region mask prediction for high-quality, fine-grained results. Additionally, a centerness tracking head enhances robustness to appearance changes. SG-Net achieves state-of-the-art performance on the YouTube-VIS dataset with improved accuracy and inference speed.
Introduction
Video Instance Segmentation (VIS) presents a significant challenge: models must identify, outline, and follow every object instance across video frames. Historically, the field has relied on two-stage methods like MaskTrack R-CNN. However, these approaches face three major bottlenecks:
- Resolution Loss: Cropping and resizing features into small, fixed patches (e.g., 14x14) destroys fine details, particularly for large objects.
- Computational Redundancy: Processing hundreds of candidate proposals, most of which are discarded, leads to slow inference.
- Fragmented Optimization: Disjoint task heads prevent the network from learning fully optimized, shared features.
SG-Net addresses these issues by introducing a one-stage, proposal-free architecture that treats detection, segmentation, and tracking as interconnected sub-tasks.
Methodology
SG-Net is built upon the Fully Convolutional One-Stage (FCOS) object detector and introduces three novel components designed for interdependent operation.
Spatial Granularity and Mask Prediction
Instead of predicting a single mask for an entire bounding box, SG-Net dynamically divides detected instances into a grid of sub-regions. The Spatial Attention Module predicts attention scores for these regions, allowing the model to focus on specific object parts with high precision. The Base Mask Module generates masks from multi-level feature maps, which are then combined by the Granularity Blender using the attention scores. This approach preserves boundary details often lost in two-stage methods.
Centerness Tracking
To improve tracking robustness, SG-Net moves beyond complex appearance matching. The Centerness Tracking Head models the geometric movement of an object's "centerness"—its logical center. By predicting a 2D movement vector to link centers between frames, the model achieves robust tracking that is less sensitive to changes in object appearance or shape.
Experimental Results
The authors evaluated SG-Net on the YouTube-VIS dataset, using ResNet-50 and ResNet-101 backbones.
Performance and Efficiency
SG-Net demonstrates a superior balance of speed and accuracy:
- Accuracy: On the YouTube-VIS validation set, SG-Net (ResNet-50) achieved 34.8 AP, outperforming MaskTrack R-CNN (30.3 AP).
- Speed: The ResNet-50 version runs at 43.5ms per frame, approximately 2.3x faster than MaskTrack R-CNN (98.8ms).
- Qualitative Quality: As shown in the comparison above, SG-Net produces significantly sharper mask edges and handles overlapping objects more effectively than proposal-based baselines.
Conclusion
SG-Net provides a simple yet powerful one-stage baseline for the VIS task. By avoiding RoI-Align and utilizing dynamic sub-regions, it maintains high feature resolution for superior segmentation. While the current "greedy matching" tracking head is highly efficient, future work may explore more sophisticated temporal modeling to handle extremely dense scenes with identical-looking objects. Additionally, addressing data biases—such as the misclassification of rare animal species—remains an area for improvement.
Summary updated