Abstract
Semantic segmentation typically requires expensive pixel-level annotations. BoxSup is an iterative training framework that enables deep convolutional networks to learn semantic segmentation using only bounding box annotations. By alternating between selecting optimal region proposals and updating the network, BoxSup achieves performance nearly identical to pixel-mask supervision, drastically reducing labeling costs and enabling the use of large-scale box-annotated datasets.
The Annotation Bottleneck in Semantic Segmentation
Semantic segmentation—the task of assigning a category label to every pixel in an image—is notoriously data-hungry. Traditionally, state-of-the-art models require thousands of pixel-accurate "masks" for training. However, labeling these masks is a significant challenge: the authors note that labeling a mask in the Microsoft COCO dataset takes more than 15 times longer than simply drawing a bounding box.
This "annotation bottleneck" limits the scale of datasets available for training. Meanwhile, bounding box annotations are abundant in datasets like ImageNet. BoxSup addresses this by investigating whether "coarse" box labels can serve as a proxy for "fine" pixel labels without a substantial loss in accuracy.
The BoxSup Methodology
The authors propose BoxSup, a method that treats segmentation as a weakly-supervised problem. The core of the approach is an iterative loop:
- Candidate Generation: For every training image, off-the-shelf region proposal methods (such as Multiscale Combinatorial Grouping or Selective Search) generate hundreds of potential object segments.
- Mask Selection (Update Masks): For a given ground-truth bounding box, the system selects the candidate segment that best represents the "true" mask. Selection is based on high overlap (IoU) with the ground-truth box and consistency with the current network’s predictions. A "winner-takes-all" approach with random sampling from the top $k$ candidates prevents the network from converging to local optima.
- Network Training (Update Network): A Fully Convolutional Network (FCN) is trained using these estimated masks as proxy ground truth.
- Iteration: As the network improves, it provides more accurate feedback, allowing for the selection of better masks in subsequent epochs.
Datasets and Evaluation
The method was evaluated on several key benchmarks:
- PASCAL VOC 2012: The standard benchmark for semantic segmentation.
- PASCAL-CONTEXT: A challenging dataset involving 59 categories of both "objects" and "stuff" (e.g., sky, grass).
- Microsoft COCO: Utilized for its massive collection of bounding boxes (over 123,000 images) to demonstrate scalability.
Key Insights
- Recognition vs. Boundary: Error analysis revealed that additional bounding boxes primarily improve the network's recognition (identifying interior pixels) rather than boundary accuracy. Since recognition is often the more difficult component, boxes provide a high return on investment.
- The Power of Iteration: Despite starting with coarse initial masks, the iterative feedback loop successfully recovers detailed object shapes over time.
- Proposals as Data Augmentation: The inherent noise and variety in region proposals act as a form of data augmentation, enhancing network robustness compared to training on static estimates.
Experimental Results
BoxSup demonstrates remarkable efficiency and scaling potential:
- Box vs. Mask Supervision: On PASCAL VOC 2012, BoxSup trained only on boxes achieved 62.0% mIoU, compared to 63.8% for a model trained on expensive human-annotated masks. This represents a minimal performance drop for a 15x reduction in labeling effort.
- Semi-Supervised Efficiency: Combining a small fraction of masks (1,464) with 9,000 boxes yielded 63.5% mIoU, matching the fully-supervised baseline.
- State-of-the-Art Scaling: By leveraging the extensive box annotations in COCO, BoxSup reached 75.1% mIoU on the PASCAL VOC test set, a state-of-the-art result at the time.
Limitations and Future Work
While effective, BoxSup's performance is bounded by the quality of the underlying region proposal methods. If the proposal generator fails to capture an object's shape, the network cannot easily recover it. Additionally, while object interiors are handled well, boundaries remain a challenge. Future research may involve integrating boundary-aware layers, such as Conditional Random Fields (CRFs), directly into the training loop or exploring even weaker supervision like image-level tags.
Summary updated