[Paper Review] Boundary-preserving Mask R-CNN
This paper proposes Boundary-preserving Mask R-CNN (BMask R-CNN), a novel instance segmentation framework that enhances mask localization accuracy by jointly learning object boundaries and masks via feature fusion blocks in a unified mask head. Without additional bells and whistles, it achieves a 1.7% AP gain on COCO and 2.2% on Cityscapes over Mask R-CNN, with larger improvements under stricter IoU thresholds.
Tremendous efforts have been made to improve mask localization accuracy in instance segmentation. Modern instance segmentation methods relying on fully convolutional networks perform pixel-wise classification, which ignores object boundaries and shapes, leading coarse and indistinct mask prediction results and imprecise localization. To remedy these problems, we propose a conceptually simple yet effective Boundary-preserving Mask R-CNN (BMask R-CNN) to leverage object boundary information to improve mask localization accuracy. BMask R-CNN contains a boundary-preserving mask head in which object boundary and mask are mutually learned via feature fusion blocks. As a result, the predicted masks are better aligned with object boundaries. Without bells and whistles, BMask R-CNN outperforms Mask R-CNN by a considerable margin on the COCO dataset; in the Cityscapes dataset, there are more accurate boundary groundtruths available, so that BMask R-CNN obtains remarkable improvements over Mask R-CNN. Besides, it is not surprising to observe that BMask R-CNN obtains more obvious improvement when the evaluation criterion requires better localization (e.g., AP$_{75}$) as shown in Fig.1. Code and models are available at \url{https://github.com/hustvl/BMaskR-CNN}.
Motivation & Objective
- To address the issue of coarse, imprecise mask predictions in Mask R-CNN due to ignoring object boundaries and shapes.
- To improve mask localization accuracy by explicitly leveraging boundary information during mask prediction.
- To design a unified network that jointly learns masks and boundaries through feature fusion, enhancing boundary alignment.
- To investigate the impact of boundary supervision on mask quality, especially under high IoU thresholds.
- To provide a simple yet effective baseline that can be easily integrated into existing Mask R-CNN frameworks.
Proposed method
- Replace the standard mask head in Mask R-CNN with a boundary-preserving mask head that predicts both masks and boundaries in parallel.
- Introduce two feature fusion blocks to enable bidirectional feature interaction between boundary and mask prediction branches.
- Use a combined loss function of binary cross-entropy and dice loss to optimize boundary prediction, addressing class imbalance and sparse annotations.
- Design a Sobel mask head as an ablation variant, using Sobel operators on predicted masks to generate boundary features.
- Train the model end-to-end with standard training protocols, using ResNet-50-FPN and ResNet-101-FPN backbones on COCO and Cityscapes.
- Leverage the shape and localization cues from boundary features to refine mask predictions, improving alignment with ground truth.
Experimental results
Research questions
- RQ1Can explicit boundary supervision improve mask localization accuracy in instance segmentation?
- RQ2How does joint learning of masks and boundaries via feature fusion affect mask quality and boundary precision?
- RQ3Does the performance gain of BMask R-CNN increase under higher IoU thresholds, indicating better localization?
- RQ4How does the choice of boundary loss (BCE + Dice) impact training stability and boundary prediction quality?
- RQ5Can a simple Sobel-based boundary head serve as an effective alternative to a dedicated boundary branch?
Key findings
- BMask R-CNN achieves a 1.7% absolute AP gain over Mask R-CNN on the COCO validation set, with consistent improvements across different backbones.
- On the Cityscapes test set, BMask R-CNN achieves a 2.2% AP gain over Mask R-CNN, demonstrating superior performance on high-quality annotations.
- The method shows larger improvements at higher IoU thresholds (e.g., AP75), confirming enhanced localization accuracy.
- The Sobel mask head variant achieves 34.0 AP, improving Mask R-CNN by 0.8 AP but underperforming the main method by 0.7 AP.
- Qualitative results show that BMask R-CNN produces clearer, more distinct masks with fewer overlaps and better boundary alignment than Mask R-CNN.
- Ablation studies confirm that feature fusion blocks and boundary features significantly contribute to performance gains, validating the design choice.
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.