SipMask: Spatial Information Preservation for Fast Image and Video Instance Segmentation
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Video Instance Segmentation | YouTube-VIS 2019 (val) | AP35.8 | 567 | |
| Instance Segmentation | COCO (test-dev) | APM40.8 | 380 | |
| Video Instance Segmentation | YouTube-VIS 2021 (val) | AP31.7 | 344 | |
| Video Instance Segmentation | OVIS (val) | AP14.3 | 301 | |
| Video Instance Segmentation | YouTube-VIS (val) | AP35.8 | 118 | |
| Video Instance Segmentation | OVIS 2021 (val) | AP10.3 | 14 |