Introduction
Instance segmentation is a critical task in computer vision, requiring models to not only detect objects but also delineate their precise boundaries. However, the cost of obtaining pixel-level annotations is prohibitive—taking nearly eight times longer than simple bounding box labeling. This paper introduces BoxCaseg, a novel framework that leverages class-agnostic learning from salient images to achieve high-precision instance segmentation using only bounding box supervision.
The Challenge of Weak Supervision
Weakly-supervised instance segmentation (WSIS) aims to train models using cheaper labels like bounding boxes. Traditional methods often struggle with boundary "bleeding" or failing to separate overlapping objects. The authors hypothesize that the key missing component is a general "boundary awareness"—the innate ability to identify object edges regardless of the specific category.
Methodology: The BoxCaseg Pipeline
The proposed method follows a three-stage process to bridge the gap between box labels and pixel masks.
1. Training the BoxCaseg Model
The core of the approach is the Box-supervised Class-agnostic Segmentation (BoxCaseg) model. It is trained using a multi-task learning strategy on two distinct data sources:
- Salient Images: A small set of images (e.g., from the DUTS dataset) where objects are clearly defined and have precise mask labels. This teaches the model the fundamental geometry of what constitutes an "object."
- Box-supervised Images: The target dataset where only bounding boxes are available. A Multiple Instance Learning (MIL) loss is employed here to guide the model to find object pixels within the provided boxes.
2. Generating and Refining Proxy Masks
Once trained, BoxCaseg generates "proxy masks" for the entire training set. To ensure quality, the authors implement a "Merge and Drop" strategy. "Merge" resolves overlaps by assigning shared pixels to the smaller (likely foreground) object. "Drop" discards masks that show poor alignment (low IoU) with the original ground-truth bounding boxes.
3. Final Training
The refined proxy masks are then used as pseudo-ground truth to train a standard Mask R-CNN. This allows the final model to benefit from the robust architecture of state-of-the-art instance segmentors while only requiring box-level human effort.
Key Results and Insights
The performance of BoxCaseg is highly competitive across standard benchmarks.
- PASCAL VOC: Achieved an AP50 of 67.6, nearly matching the 67.9 AP of a fully-supervised Mask R-CNN.
- COCO: On the more complex COCO dataset, BoxCaseg reached 30.9 AP, a significant jump from the previous state-of-the-art (BBTP) at 20.8 AP.
The Power of Class-Agnosticism
A key insight is that learning to segment any salient object provides enough geometric intuition to segment specific categories like "sheep" or "trains" using only box boundaries. The authors also found that aggressive data augmentation, such as jittering bounding boxes during training, forced the model to rely more on image features than box coordinates, further improving robustness. Remarkably, only ~8,000 salient images are needed to provide the necessary "historical memory" for the model to generalize across much larger datasets.
Conclusion
BoxCaseg proves that a small amount of high-quality, class-agnostic data can dramatically improve the performance of weakly-supervised models. By focusing on the "objectness" of salient items, the framework achieves near-human-level boundary precision without the associated labeling costs. Future work will focus on improving performance in highly cluttered scenes where object overlap remains a challenge.
Summary updated