SparseInst
Real-time instance segmentation that finds objects with a sparse set of instance activation maps, without NMS.
Segmentation · 800 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Segmentation
- Parameters
- 32.8M
- Operations
- 800
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2022
- Cited by
- 226 (as of 27 October 2026)
- Authors
- Tianheng Cheng, Xinggang Wang, Shaoyu Chen and others
- Source
- GitHub: hustvl/SparseInst
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20520
- Graph hash
- df0a475e75a402741196be96da11b18ac7540ba74b95c25f1ccbe911630a4ec1
- Skeleton hash
- c8cb70face510974a39ff52449fe714d7cc5018ee46144cce8fc710576a532ff
- Architecture hash
- a23644d5f1838c757ddcce14923dbae94ca4237c5f569d14a09820ab5ca474ba
- Diagram SHA-256
- 96b5a0182d3b1947122b035d917f92a4730cd50cd28222e1607e79978c746319
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SparseInst is a fully convolutional network for real-time instance segmentation. Where most earlier methods detect objects first and predict masks from bounding boxes or dense centers, SparseInst represents each object with an instance activation map (IAM), a weighted map that highlights the informative regions of that object. Features are aggregated over the highlighted regions into one vector per potential object, and three linear layers turn that vector into a class prediction, an objectness score and a mask kernel.
The network has three parts: a backbone, an instance context encoder and an IAM-based decoder. The encoder fuses features from several scales so that prediction happens at a single level, and the decoder's mask branch produces mask features that are multiplied with the predicted kernels to give the segmentation masks. Training assigns ground-truth objects to predictions by bipartite matching, so each object is predicted once and sorting and non-maximum suppression are not needed at inference.
This model is the Group-IAM version with a ResNet-50 backbone. Group-IAM uses a 4-group 3×3 convolution to produce several activation maps per object and concatenates the features from a group. The paper adopts 100 instances per image, and reports 37.9 mask AP on COCO test-dev at 40.0 FPS on one NVIDIA 2080Ti GPU.
Key idea. SparseInst replaces boxes and dense centers with a sparse set of instance activation maps, trained with bipartite matching so that objects are predicted one-to-one without non-maximum suppression.
- sparseinst
- sparse instance activation
- instance activation maps
- iam
- group-iam
- g-iam
- instance segmentation
- real-time instance segmentation
- nms-free segmentation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cheng2022sparseinstanceactivationrealtime,
title={Sparse Instance Activation for Real-Time Instance Segmentation},
author={Tianheng Cheng and Xinggang Wang and Shaoyu Chen and Wenqiang Zhang and Qian Zhang and Chang Huang and Zhaoxiang Zhang and Wenyu Liu},
year={2022},
eprint={2203.12827},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2203.12827},
}