[Paper Review] Sparse Instance Activation for Real-Time Instance Segmentation
This paper proposes SparseInst, a novel real-time instance segmentation framework that uses sparse instance activation maps (IAMs) to highlight discriminative object regions instead of relying on bounding boxes or dense centers. By leveraging bipartite matching for end-to-end training and avoiding non-maximum suppression, SparseInst achieves 40 FPS inference speed with 37.9 mask AP on COCO, outperforming prior methods in both speed and accuracy.
In this paper, we propose a conceptually novel, efficient, and fully convolutional framework for real-time instance segmentation. Previously, most instance segmentation methods heavily rely on object detection and perform mask prediction based on bounding boxes or dense centers. In contrast, we propose a sparse set of instance activation maps, as a new object representation, to highlight informative regions for each foreground object. Then instance-level features are obtained by aggregating features according to the highlighted regions for recognition and segmentation. Moreover, based on bipartite matching, the instance activation maps can predict objects in a one-to-one style, thus avoiding non-maximum suppression (NMS) in post-processing. Owing to the simple yet effective designs with instance activation maps, SparseInst has extremely fast inference speed and achieves 40 FPS and 37.9 AP on the COCO benchmark, which significantly outperforms the counterparts in terms of speed and accuracy. Code and models are available at https://github.com/hustvl/SparseInst.
Motivation & Objective
- To address the inefficiency and high latency of existing real-time instance segmentation methods that rely on dense predictions and post-processing.
- To develop a fully convolutional, end-to-end framework that avoids non-maximum suppression (NMS) and reduces computational overhead.
- To improve feature aggregation by highlighting informative, instance-aware regions using sparse activation maps instead of region or center-based representations.
- To achieve a superior speed-accuracy trade-off for real-time applications such as autonomous driving and robotics.
Proposed method
- Proposes instance activation maps (IAMs) as a new object representation that highlight discriminative, instance-aware regions in the feature space.
- Uses a $3\times3$ convolutional layer to generate IAMs from feature maps, enabling local context perception and spatial localization.
- Applies bipartite matching via the Hungarian algorithm to assign ground-truth instances to predictions during training, enabling end-to-end learning without NMS.
- Employs a single-level feature prediction head to reduce computational cost and latency.
- Designs a fully convolutional decoder that directly generates instance features and segmentation masks from IAMs, avoiding RoI-Align or region-based operations.
- Introduces a lightweight post-processing pipeline that eliminates sorting and NMS, reducing inference time significantly.
Experimental results
Research questions
- RQ1Can a sparse, instance-aware activation map representation outperform dense center or region-based representations in real-time instance segmentation?
- RQ2How can instance activation maps be effectively trained end-to-end without relying on hand-crafted spatial priors like anchors or centers?
- RQ3Can bipartite matching be used to train IAMs such that they suppress redundant predictions and eliminate the need for NMS?
- RQ4To what extent does using $3\times3$ convolutions for IAM generation improve feature quality compared to $1\times1$ convolutions or query-based attention?
- RQ5What is the speed-accuracy trade-off of a single-level, fully convolutional framework using IAMs compared to multi-level, detector-based methods?
Key findings
- SparseInst achieves 40.0 FPS inference speed on a single NVIDIA 2080Ti GPU with 37.9 mask AP on the COCO test-dev set, significantly outperforming prior real-time methods in both speed and accuracy.
- With a $448\times448$ input resolution, SparseInst reaches 58.5 FPS while maintaining competitive accuracy, demonstrating high efficiency on smaller inputs.
- The use of bipartite matching for label assignment enables end-to-end training without NMS, reducing post-processing time by nearly 10% of total inference time.
- Visualizations show that IAMs consistently highlight discriminative object parts across varying scales, occlusions, and poses, enabling robust instance localization.
- Replacing IAMs with 4-head cross attention or 100 queries results in a 0.2 to 0.9 AP drop, confirming the superiority of the $3\times3$ convolution-based IAM design.
- The method generalizes well to crowded scenes, producing precise segmentation masks with fine boundaries even under high instance density.
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.