TL;DR
This paper introduces a lightweight coarse-to-fine regression strategy for boundary-based instance segmentation. By first predicting an approximate shape and then refining it using features sampled directly at the boundary, the network overcomes the "long-distance regression" problem that plagues previous single-shot methods, achieving a 31.7% mask AP on COCO with negligible computational overhead.
What Problem Does This Paper Address?
Instance segmentation—identifying every object in an image and outlining its specific pixels—is usually handled in one of two ways. Pixel-based methods (like Mask R-CNN) classify every pixel within a bounding box, which is accurate but computationally heavy. Boundary-based methods (like PolarMask) are much faster; they treat the object as a center point and regress the distance to the boundary along various rays.
However, boundary-based methods have a major weakness: long-distance regression. A single feature vector at the object's center is expected to predict boundary points that might be hundreds of pixels away. Because neural network signals decay as you move away from the center of their receptive field, the model often fails to capture fine details or distant edges accurately.
Methods
The authors propose two main architectural additions to the PolarMask baseline to solve this:
- Coarse-to-Fine Module (CFM): Instead of trying to get the boundary right in one shot, the model does it in two steps.
- Coarse Stage: The model predicts an initial, approximate boundary (radius lengths).
-
Fine Stage: The network uses these initial predictions to "look" at the specific locations where it thinks the boundary is. It uses bilinear sampling to extract features from the Feature Pyramid Network (FPN) at those exact coordinates. A refined regressor then predicts a small correction to the initial radius. This mimics the human visual system: glance at the whole object first, then focus on the edges to see details.
Conceptual overview of the coarse-to-fine approach -
Holistic Boundary-Aware Branch (HBB): To help the backbone learn better global features, the authors add a parallel branch that performs instance-agnostic boundary classification. It essentially asks the network, "Is this pixel part of any object's edge?" This branch is only used during training to guide the feature extractor and is discarded during inference, making it a "free lunch" for performance.
Datasets
The model was trained and evaluated on the MS COCO dataset, the gold standard for instance segmentation. Specifically, they used:
- trainval35k: A union of 80k training images and a 35k subset of validation images for training.
- minival: 5k images for ablation studies.
- test-dev: For final comparison against state-of-the-art methods.
Key Insights and Ideas
- Decomposition is Key: The hardest part of boundary regression isn't the shape itself, but the distance. By splitting the task into "approximate global position" and "local refinement," the optimization becomes much easier for the network.
- Feature Sampling Matters: In the fine stage, the model doesn't just look at the center pixel again. It samples features from the actual predicted boundary locations. This ensures the refined regressor has access to local edge information.
- Grouped Convolutions for Efficiency: To keep the model lightweight, the refined regressor uses grouped 1×1 convolutions. This means each boundary point is refined independently, which the authors found to be nearly as accurate as standard convolutions but much faster.
- Explicit Supervision: The authors found that providing ground truth labels for both the coarse and fine stages (explicit supervision) significantly boosted performance compared to only supervising the final output.
Key Results
- Accuracy Boost: Equipped with a ResNet-101 backbone, the method achieved 31.7% mask AP on COCO. This is a 1.3% improvement over the PolarMask baseline.
- Efficiency: The additional modules are incredibly lightweight. The inference model adds less than 1% additional parameters (0.01M) and GFLOPs (1.54) compared to the baseline.
- Qualitative Improvement: As seen in Figure 4, the coarse-to-fine strategy produces much tighter, more accurate boundaries than direct regression, and is better at capturing instances that the baseline might miss entirely.
Limitations and Future Work
- Small Object Degradation: The authors noted that the Holistic Boundary-Aware Branch (HBB) provides less benefit for small objects. This is likely because boundary masks for small objects degrade significantly when downsampled within the FPN.
- Polar Coordinate Constraints: While the model avoids self-intersection by design, it still relies on a fixed number of rays (36). Extremely complex or highly concave shapes might still pose a challenge for this representation.
- Future Directions: The paper suggests that further exploring how to preserve high-resolution boundary details during downsampling could further improve performance on small instances.
Summary updated