[Paper Review] SG-Net: Spatial Granularity Network for One-Stage Video Instance Segmentation
SG-Net proposes a one-stage video instance segmentation framework that enhances mask quality and inference efficiency by dynamically dividing detected instances into sub-regions for spatial granularity segmentation, using a proposal-free, end-to-end architecture with joint optimization across detection, segmentation, and tracking. It achieves state-of-the-art performance on YouTube-VIS with improved accuracy and speed over two-stage methods.
Video instance segmentation (VIS) is a new and critical task in computer vision. To date, top-performing VIS methods extend the two-stage Mask R-CNN by adding a tracking branch, leaving plenty of room for improvement. In contrast, we approach the VIS task from a new perspective and propose a one-stage spatial granularity network (SG-Net). Compared to the conventional two-stage methods, SG-Net demonstrates four advantages: 1) Our method has a one-stage compact architecture and each task head (detection, segmentation, and tracking) is crafted interdependently so they can effectively share features and enjoy the joint optimization; 2) Our mask prediction is dynamically performed on the sub-regions of each detected instance, leading to high-quality masks of fine granularity; 3) Each of our task predictions avoids using expensive proposal-based RoI features, resulting in much reduced runtime complexity per instance; 4) Our tracking head models objects centerness movements for tracking, which effectively enhances the tracking robustness to different object appearances. In evaluation, we present state-of-the-art comparisons on the YouTube-VIS dataset. Extensive experiments demonstrate that our compact one-stage method can achieve improved performance in both accuracy and inference speed. We hope our SG-Net could serve as a strong and flexible baseline for the VIS task. Our code will be available.
Motivation & Objective
- To address the limitations of two-stage video instance segmentation methods, such as redundant proposal generation and low-resolution mask features.
- To improve mask quality by enabling fine-grained, dynamic sub-region segmentation instead of uniform RoI-based prediction.
- To enhance inference efficiency by eliminating proposal-based RoI operations and reducing runtime dependency on prediction count.
- To strengthen tracking robustness through centerness-based motion modeling that is naturally integrated with the detection head.
Proposed method
- SG-Net uses a one-stage, fully convolutional backbone (inspired by FCOS) to jointly optimize detection, segmentation, and tracking heads without region proposal networks.
- It dynamically partitions each detected bounding box into sub-regions (up to 6×6 grid) based on spatial granularity, enabling high-resolution mask prediction per sub-region.
- The mask head performs instance-aware, dynamic prediction on each sub-region using feature maps upsampled to half the input resolution (factor=4), preserving boundary details.
- A novel tracking head leverages object centerness from detection to model temporal motion, improving robustness to appearance variation and object overlap.
- Feature sharing is enhanced via instance-aware connections across detection, segmentation, and tracking heads, enabling end-to-end joint optimization.
- The base mask is generated from FPN features (P3–P5), with ablation showing P3–P5 yields the best accuracy-speed trade-off.
Experimental results
Research questions
- RQ1Can a one-stage, proposal-free architecture achieve better accuracy and speed than two-stage methods in video instance segmentation?
- RQ2How does dynamic sub-region segmentation improve mask quality compared to uniform RoI-based or fixed-grid methods?
- RQ3To what extent does centerness-based tracking enhance robustness in challenging scenarios like object overlap or appearance variation?
- RQ4What is the optimal trade-off between sub-region division count and inference efficiency in spatial granularity segmentation?
- RQ5How does feature resolution and location affect the performance of the base mask generation in the segmentation head?
Key findings
- SG-Net achieves 36.3% AP on YouTube-VIS 2019, outperforming MaskTrack R-CNN and other two-stage baselines with faster inference.
- Increasing sub-region divisions from 2× to 6× improves AP from 34.0% to 36.3%, but further increases to 8× yield only marginal gains (36.4%) at significant speed cost.
- Upsampling base mask features to 1/2 input resolution (factor=4) improves AP by 1.4% (from 34.9% to 36.3%) and boosts AP@0.75 by 1.5% (38.1% to 39.6%).
- Using deeper FPN features (P3–P5) for base mask generation increases AP to 36.3% and AP@0.75 to 39.6%, compared to 35.0% and 37.0% using only P3.
- The inference time of SG-Net increases only marginally with more predictions, unlike two-stage methods whose runtime scales linearly with the number of proposals.
- SG-Net achieves superior accuracy to SipMask and CondInst on COCO image benchmark, with margins of 1.3–1.8% and 0.8–1.3% respectively under same backbone settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.