[Paper Review] RefineMask: Towards High-Quality Instance Segmentation with Fine-Grained Features
RefineMask proposes a multi-stage refinement framework that enhances instance segmentation by iteratively incorporating fine-grained features into the mask prediction process, significantly improving boundary accuracy. By fusing high-resolution semantic features with RoI-aligned features through progressive upsampling and boundary-aware refinement, RefineMask achieves state-of-the-art performance with 2.6–3.8 AP gains over Mask R-CNN on COCO, LVIS, and Cityscapes, outperforming the LVIS 2020 challenge winner by 1.3 AP on the test-dev set.
The two-stage methods for instance segmentation, e.g. Mask R-CNN, have achieved excellent performance recently. However, the segmented masks are still very coarse due to the downsampling operations in both the feature pyramid and the instance-wise pooling process, especially for large objects. In this work, we propose a new method called RefineMask for high-quality instance segmentation of objects and scenes, which incorporates fine-grained features during the instance-wise segmenting process in a multi-stage manner. Through fusing more detailed information stage by stage, RefineMask is able to refine high-quality masks consistently. RefineMask succeeds in segmenting hard cases such as bent parts of objects that are over-smoothed by most previous methods and outputs accurate boundaries. Without bells and whistles, RefineMask yields significant gains of 2.6, 3.4, 3.8 AP over Mask R-CNN on COCO, LVIS, and Cityscapes benchmarks respectively at a small amount of additional computational cost. Furthermore, our single-model result outperforms the winner of the LVIS Challenge 2020 by 1.3 points on the LVIS test-dev set and establishes a new state-of-the-art. Code will be available at https://github.com/zhanggang001/RefineMask.
Motivation & Objective
- To address the coarse mask quality in two-stage instance segmentation methods like Mask R-CNN, which lose fine details due to downsampling and RoI pooling.
- To improve boundary accuracy in instance segmentation by preserving and integrating high-resolution features during mask prediction.
- To develop a lightweight, multi-stage refinement mechanism that enhances mask quality without relying on extra data or complex architectures.
- To establish a new state-of-the-art for instance segmentation on challenging benchmarks like LVIS and Cityscapes.
Proposed method
- Introduces a multi-stage refinement head that progressively upsamples the mask prediction from a low-resolution feature map while incorporating fine-grained features from the highest-resolution feature map in the FPN.
- Uses a boundary-aware refinement strategy that explicitly focuses on improving mask accuracy in boundary regions by attending to edge-sensitive features.
- Fuses high-resolution semantic features (from the P2 level of FPN) with instance-specific features via skip connections and concatenation at each refinement stage.
- Employs a modified mask head that processes features through multiple stages, each refining the mask prediction using both contextual instance features and fine-grained spatial details.
- Leverages RoIAlign for initial feature extraction but avoids early downsampling by integrating high-resolution features at each refinement step.
- Trains the model end-to-end with standard cross-entropy and dice loss, optimizing for both mask quality and boundary precision.
Experimental results
Research questions
- RQ1Can iterative refinement using fine-grained features significantly improve mask quality in two-stage instance segmentation?
- RQ2How does incorporating high-resolution semantic features at multiple stages affect boundary accuracy compared to standard RoI-based methods?
- RQ3To what extent can a multi-stage refinement head outperform state-of-the-art methods like PointRend and HTC without additional data or complex detection heads?
- RQ4Does the boundary-aware refinement strategy lead to measurable improvements on datasets with fine annotations like LVIS and Cityscapes?
- RQ5Can a single-model RefineMask surpass the winner of the LVIS Challenge 2020 without using extra human-annotated data?
Key findings
- RefineMask achieves a 2.6 AP improvement over Mask R-CNN on COCO val2017, with gains of 3.4 and 3.8 AP on LVIS and Cityscapes respectively, demonstrating consistent performance gains across datasets.
- On the LVISv1.0 test-dev set, RefineMask outperforms the winner of the LVIS Challenge 2020 by 1.3 AP, establishing a new state-of-the-art.
- For large objects on LVIS, RefineMask achieves a 6.0 AP improvement over Mask R-CNN, highlighting its effectiveness in handling complex, detailed regions.
- On Cityscapes, RefineMask achieves a 3.8 AP gain over Mask R-CNN, with particularly strong performance on hard cases like fine-grained object parts and boundaries.
- Qualitative results show that RefineMask produces masks with higher quality than ground truth in some cases, especially on sharp boundaries, indicating the need for stricter evaluation metrics.
- The method achieves these gains with only a small increase in computational cost, making it practical for real-world deployment.
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.