Introduction
Instance segmentation—the task of detecting and masking every individual object in an image—has traditionally been dominated by two-stage detectors like Mask R-CNN. While accurate, these methods are often complex and slow because they rely on region proposals and computationally expensive operations like RoIAlign.
Existing one-stage (single-shot) alternatives often struggle with two specific hurdles: instance differentiation (separating overlapping objects of the same category) and pixel-wise alignment (maintaining sharp boundaries). CenterMask addresses these challenges by introducing a simple, fast, and anchor-free one-stage method that represents objects by their center points.
The CenterMask Architecture
The core innovation of CenterMask is the decomposition of the segmentation task into two parallel components that are later assembled into a final mask. This approach avoids the overhead of anchor boxes and the inaccuracies inherent in box-based cropping.
Local Shape Prediction
Inspired by CenterNet, the model identifies objects by their center points. At each center point, the model predicts a fixed-size vector (e.g., $32 \times 32$) representing the coarse shape of the instance. This provides the "identity" and "rough boundary" of the object, which is crucial for separating overlapping instances.
Global Saliency Generation
Simultaneously, the network produces a full-resolution Global Saliency Map of the entire image. This map is instance-unaware—it does not distinguish between different objects—but it is pixel-precise, capturing the exact edges of all foreground objects.
Mask Assembly
To generate the final mask, the coarse Local Shape is resized to the object's predicted height and width and then multiplied (via Hadamard product) with a cropped region of the Global Saliency Map. In this assembly, the Local Shape acts as a "gate" that isolates the correct pixels from the high-resolution saliency map.
Key Results and Performance
CenterMask achieves a high-performance balance between accuracy and speed. Evaluated on the MS COCO benchmark, the model achieved 34.5 mask AP at 12.3 FPS using an Hourglass-104 backbone. For applications requiring higher throughput, a lighter DLA-34 backbone reached 33.1 AP at 25.2 FPS, significantly outperforming other one-stage methods like YOLACT (31.2 AP) and PolarMask (32.9 AP).
Beyond COCO, the authors tested CenterMask on the LVIS dataset, which features high-quality mask annotations and a long tail of categories. CenterMask-FCOS achieved 40.0 AP, notably outperforming Mask R-CNN's 36.0 AP on the same backbone. This result highlights the ability of the saliency-based approach to produce much sharper edges than traditional RoI-based methods.
Conclusion
CenterMask demonstrates that a point-based representation combined with a coarse-to-fine assembly strategy can match or exceed the performance of complex two-stage models while maintaining the speed of a single-shot pipeline. Its "plug-and-play" nature allows the Local Shape and Global Saliency branches to be easily integrated into other one-stage detectors, such as FCOS. Future work may explore extending this architecture toward one-stage panoptic segmentation, further unifying object and background processing.
Summary updated