[Paper Review] BoxInst: High-Performance Instance Segmentation with Box Annotations
BoxInst achieves high-performance instance segmentation using only bounding-box annotations by introducing a novel mask loss with two components: projection consistency between predicted masks and ground-truth boxes, and pairwise label consistency for neighboring pixels with similar colors. This approach achieves 33.2% mask AP on COCO without any mask annotations, significantly improving upon prior weakly supervised methods.
We present a high-performance method that can achieve mask-level instance segmentation with only bounding-box annotations for training. While this setting has been studied in the literature, here we show significantly stronger performance with a simple design (e.g., dramatically improving previous best reported mask AP of 21.1% in Hsu et al. (2019) to 31.6% on the COCO dataset). Our core idea is to redesign the loss of learning masks in instance segmentation, with no modification to the segmentation network itself. The new loss functions can supervise the mask training without relying on mask annotations. This is made possible with two loss terms, namely, 1) a surrogate term that minimizes the discrepancy between the projections of the ground-truth box and the predicted mask; 2) a pairwise loss that can exploit the prior that proximal pixels with similar colors are very likely to have the same category label. Experiments demonstrate that the redesigned mask loss can yield surprisingly high-quality instance masks with only box annotations. For example, without using any mask annotations, with a ResNet-101 backbone and 3x training schedule, we achieve 33.2% mask AP on COCO test-dev split (vs. 39.1% of the fully supervised counterpart). Our excellent experiment results on COCO and Pascal VOC indicate that our method dramatically narrows the performance gap between weakly and fully supervised instance segmentation. Code is available at: https://git.io/AdelaiDet
Motivation & Objective
- To close the performance gap between fully supervised and weakly supervised instance segmentation by training with only bounding-box annotations.
- To eliminate the need for expensive pixel-wise mask annotations in instance segmentation.
- To develop a simple, single-shot, and efficient method that outperforms prior weakly supervised approaches on large benchmarks like COCO.
- To enable generalization to unseen categories in semi-supervised settings using partial mask and box annotations.
- To demonstrate the method's generality on other tasks, such as character segmentation, using only box-level supervision.
Proposed method
- Replace the standard pixel-wise mask loss in CondInst with a new loss composed of two terms: projection consistency and pairwise label consistency.
- Use a projection loss that minimizes the discrepancy between the horizontal and vertical projections of the predicted mask and the ground-truth box.
- Apply a pairwise loss that encourages consistent labeling between neighboring pixels (dilation rate 2) based on color similarity, using only confident pairs to reduce noise.
- Define a color similarity threshold to identify reliable pixel pairs for supervision, ensuring that only likely same-label pairs contribute to the loss.
- Train the model end-to-end using only box annotations, with no need for iterative refinement or external tools like GrabCut.
- Leverage the fully convolutional nature of the framework to enable fast, GPU-parallel inference, unlike slower, non-differentiable methods such as GrabCut.
Experimental results
Research questions
- RQ1Can instance segmentation be trained effectively with only bounding-box annotations, achieving performance close to fully supervised methods?
- RQ2Can a simple, single-shot loss design outperform complex, iterative weakly supervised methods on large-scale benchmarks like COCO?
- RQ3Can the proposed loss components—projection consistency and pairwise label consistency—jointly enable high-quality mask prediction without mask annotations?
- RQ4To what extent can the model generalize to unseen categories when only partial mask annotations are available?
- RQ5Can the method be extended to other segmentation tasks, such as character segmentation, with only box-level supervision?
Key findings
- BoxInst achieves 33.2% mask AP on the COCO test-dev split using only bounding-box annotations and a ResNet-101 backbone with a 3× training schedule, outperforming the previous best of 21.1%.
- The method improves mask AP to 31.8% when using only the projection loss and to 32.5% when both projection and pairwise losses are applied, demonstrating the effectiveness of the dual-loss design.
- In semi-supervised settings, BoxInst achieves 30.9% mask AP on 60 unseen COCO categories when trained with mask annotations on 20 classes and box annotations on the rest, significantly outperforming baseline methods.
- When trained with mask annotations on 60 classes and box annotations on 20 unseen classes, BoxInst achieves 35.7% mask AP on the unseen classes, showing strong generalization capability.
- Qualitative results on the ICDAR 2019 ReCTS dataset show that BoxInst generates high-quality character masks using only character box annotations, demonstrating the method's generality.
- BoxInst is significantly faster than GrabCut-based methods (e.g., 36.5% mask AP vs. 19.0% for GrabCut) and fully differentiable, enabling efficient end-to-end training on modern GPUs.
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.