[Paper Review] Oriented Boxes for Accurate Instance Segmentation
This paper proposes oriented instance segmentation (OIS) using oriented bounding boxes (OBBs) instead of axis-aligned bounding boxes (AABBs) to improve mask accuracy, especially for diagonally aligned, touching, or overlapping objects. By aligning the pooling region with object orientation, OIS reduces background interference, improves mask consistency, and boosts mAP by 10–12% on D2S and Screws, while requiring only 10% of mask annotations on Pill Bags to outperform axis-aligned baselines.
State-of-the-art instance-aware semantic segmentation algorithms use axis-aligned bounding boxes as an intermediate processing step to infer the final instance mask output. This often leads to coarse and inaccurate mask proposals due to the following reasons: Axis-aligned boxes have a high background to foreground pixel-ratio, there is a strong variation of mask targets with respect to the underlying box, and neighboring instances frequently reach into the axis-aligned bounding box of the instance mask of interest. In this work, we overcome these problems by proposing to use oriented boxes as the basis to infer instance masks. We show that oriented instance segmentation improves the mask predictions, especially when objects are diagonally aligned, touching, or overlapping each other. We evaluate our model on the D2S and Screws datasets and show that we can significantly improve the mask accuracy by 10% and 12% mAP compared to instance segmentation using axis-aligned bounding boxes, respectively. On the newly introduced Pill Bags dataset we outperform the baseline using only 10% of the mask annotations.
Motivation & Objective
- To address the limitations of axis-aligned bounding boxes (AABBs) in instance segmentation, which lead to high background-to-foreground ratios and inaccurate mask predictions.
- To improve mask accuracy for objects that are diagonally oriented, elongated, or overlapping by using oriented bounding boxes (OBBs) as the basis for mask prediction.
- To reduce the need for expensive pixel-level mask annotations by showing that OIS achieves superior performance with only 10% of mask annotations.
- To enable better refinement of oriented box predictions using predicted masks, improving both mask and box mAP.
Proposed method
- Replace axis-aligned box proposals with oriented box detections as the input for mask head, using rotation-invariant pooling to align with object orientation.
- Adapt existing instance segmentation architectures (e.g., Mask R-CNN, RetinaMask) by modifying the RoI pooling layer to handle oriented boxes with rotation and aspect ratio.
- Use a differentiable differentiable rotation head to predict the orientation of each instance, enabling end-to-end training of OIS.
- Apply non-maximum suppression (NMS) on oriented boxes to filter overlapping proposals, reducing false positives.
- Train with sparse mask supervision by setting mask loss weights to zero for unannotated instances, enabling partial supervision.
- Refine oriented box predictions using predicted masks by re-estimating orientation from the mask, improving box mAP.
Experimental results
Research questions
- RQ1Can oriented bounding boxes significantly improve instance segmentation mask accuracy compared to axis-aligned boxes, especially for diagonally oriented or overlapping objects?
- RQ2To what extent can oriented instance segmentation reduce the need for expensive pixel-level mask annotations?
- RQ3Can predicted instance masks from OIS be used to refine oriented box detection, and if so, by how much does this improve box mAP?
- RQ4How does OIS perform on real-world industrial datasets with high object similarity and limited deformation?
Key findings
- On the D2S dataset, OIS improves mask mAP from 45% to 55% using Mask R-CNN, and from 46% to 55% using RetinaMask, representing a 10% relative gain.
- On the Screws dataset, OIS increases mask mAP from 41.5% to 53.4%, a 12% relative improvement, with significantly more consistent mask predictions.
- For the Pill Bags dataset, OIS achieves comparable mAP with only 10% of mask annotations, outperforming the axis-aligned baseline even when the latter uses 100% of annotations.
- Predicted masks from OIS can be used to refine oriented box detection, improving box mAP by 1.5% on Screws when using mask-derived orientation.
- OIS reduces background interference and mask variation by aligning the pooling region with object orientation, leading to more consistent and accurate mask targets.
- Qualitative results show that OIS produces sharper, more accurate masks, especially for elongated and diagonally aligned objects, compared to the axis-aligned baseline.
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.