[Paper Review] SipMask: Spatial Information Preservation for Fast Image and Video Instance Segmentation
SipMask proposes a fast, single-stage instance segmentation method that preserves spatial information within object bounding boxes by using a lightweight Spatial Preservation (SP) module to generate sub-region-specific spatial coefficients, improving mask accuracy for adjacent objects. It achieves state-of-the-art performance among single-stage methods with a 1.0% AP gain over TensorMask and a 3.0% gain over YOLACT, while running four times faster than TensorMask and at real-time speed on a Titan Xp.
Single-stage instance segmentation approaches have recently gained popularity due to their speed and simplicity, but are still lagging behind in accuracy, compared to two-stage methods. We propose a fast single-stage instance segmentation method, called SipMask, that preserves instance-specific spatial information by separating mask prediction of an instance to different sub-regions of a detected bounding-box. Our main contribution is a novel light-weight spatial preservation (SP) module that generates a separate set of spatial coefficients for each sub-region within a bounding-box, leading to improved mask predictions. It also enables accurate delineation of spatially adjacent instances. Further, we introduce a mask alignment weighting loss and a feature alignment scheme to better correlate mask prediction with object detection. On COCO test-dev, our SipMask outperforms the existing single-stage methods. Compared to the state-of-the-art single-stage TensorMask, SipMask obtains an absolute gain of 1.0% (mask AP), while providing a four-fold speedup. In terms of real-time capabilities, SipMask outperforms YOLACT with an absolute gain of 3.0% (mask AP) under similar settings, while operating at comparable speed on a Titan Xp. We also evaluate our SipMask for real-time video instance segmentation, achieving promising results on YouTube-VIS dataset. The source code is available at https://github.com/JialeCao001/SipMask.
Motivation & Objective
- To address the poor performance of single-stage instance segmentation models in accurately delineating spatially adjacent objects due to loss of spatial information within bounding boxes.
- To improve mask prediction accuracy without sacrificing inference speed, particularly for real-time applications.
- To develop a lightweight module that enables fine-grained spatial representation within object proposals.
- To extend the method to real-time video instance segmentation with consistent performance.
Proposed method
- Introduces a novel lightweight Spatial Preservation (SP) module that splits each object's bounding box into sub-regions and generates a separate set of spatial coefficients for each sub-region to preserve spatial details.
- Employs a mask alignment weighting loss that re-weights pixel-wise BCE loss based on both classification confidence and IoU with ground-truth, prioritizing accurate boxes.
- Applies a feature alignment scheme to enhance feature representation for both detection and mask prediction heads, improving correlation between detection and segmentation.
- Adapts the single-stage framework to video instance segmentation by adding a fully convolutional tracking branch for instance association across frames.
- Uses a single-scale inference setup with ResNet101-FPN backbone for COCO and ResNet50-FPN for YouTube-VIS, enabling real-time performance.
- Employs a $2\times2$ sub-region split as the optimal trade-off between accuracy and speed, validated through ablation.
Experimental results
Research questions
- RQ1Can preserving spatial information within object bounding boxes improve mask quality in single-stage instance segmentation?
- RQ2Does using sub-region-specific spatial coefficients lead to better delineation of spatially adjacent instances?
- RQ3Can a lightweight spatial preservation module improve accuracy without compromising inference speed?
- RQ4How does the proposed mask alignment weighting loss affect mask prediction performance?
- RQ5Can the single-stage SipMask framework be effectively extended to real-time video instance segmentation?
Key findings
- SipMask achieves 32.8 mask AP on COCO test-dev with a single-scale input of $544\times544$, operating at real-time speed (30 fps) on a Titan Xp.
- On COCO test-dev, SipMask outperforms the state-of-the-art single-stage method TensorMask by 1.0% in mask AP while achieving a four-fold speedup.
- Compared to real-time YOLACT, SipMask improves mask AP by 3.0% under similar inference speed settings on a Titan Xp.
- The ablation study shows that using $2\times2$ sub-regions provides the best trade-off, yielding 32.9 AP, with marginal gains beyond $3\times3$.
- The mask alignment weighting loss improves performance by 0.8% (from 31.2 to 32.0 AP) when combining both classification and localization scores for re-weighting.
- On YouTube-VIS, SipMask achieves 32.5 AP, surpassing MaskTrack R-CNN by 2.2% in mask accuracy while operating at 30 fps.
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.