Abstract
Weakly supervised semantic and instance segmentation aim to train models using inexpensive annotations like bounding boxes. We propose Bounding Box Attribution Map (BBAM), a method that extracts pixel-level information from pre-trained object detectors. By optimizing a perturbation-based attribution map that considers both classification and box regression heads, and introducing an adaptive stride mechanism, BBAM generates high-quality pseudo-labels. Our approach achieves state-of-the-art performance on PASCAL VOC 2012 and MS COCO 2017, significantly narrowing the gap between weakly and fully supervised segmentation.
Introduction
The success of deep learning in computer vision is largely attributed to large-scale datasets. However, pixel-level annotations for tasks like semantic and instance segmentation are prohibitively expensive, requiring significantly more time than simple bounding box annotations. Weakly supervised learning offers a solution by utilizing these cheaper labels. Previous methods often relied on low-level image features, which lack semantic understanding. BBAM addresses this by leveraging the high-level semantic knowledge embedded in standard object detectors.
Proposed Method
BBAM treats a pre-trained object detector as a source of pixel-level knowledge. The core idea is to identify the minimal set of pixels within a bounding box that allows the detector to maintain its prediction.
Attribution via Perturbation
Unlike gradient-based methods, BBAM uses a perturbation-based approach. It optimizes an attribution map (mask) to find the smallest image region that yields the same detection result as the original image. This process effectively "interviews" the detector to reveal which pixels it considers essential.
Dual-Head Integration
A key observation in BBAM is the complementary nature of the detector's heads. The classification head ($f^{cls}$) typically focuses on the discriminative interior regions of an object, while the box regression head ($f^{box}$) is sensitive to object boundaries. By integrating signals from both, BBAM produces a comprehensive mask that covers the entire object extent.
Adaptive Stride
To handle objects of varying scales, BBAM introduces an adaptive stride for the perturbation units. Instead of a fixed grid, the size of the perturbation blocks is scaled relative to the bounding box dimensions, ensuring high-resolution attribution for small objects and efficient processing for large ones.
Experiments and Results
The proposed method was evaluated on the PASCAL VOC 2012 and MS COCO 2017 benchmarks.
Quantitative Performance
On PASCAL VOC, BBAM achieved a mean Intersection over Union (mIoU) of 73.7 for semantic segmentation and an AP50 of 63.7 for instance segmentation. These results represent a 3-6% improvement over previous state-of-the-art weakly supervised methods. On the more complex MS COCO dataset, BBAM reached 26.0 AP, a substantial increase from the previous baseline of 21.1 AP. Remarkably, BBAM recovers over 90% of the performance of fully supervised models.
Qualitative Analysis
Visual comparisons demonstrate that BBAM produces masks that are more aligned with object boundaries and less prone to over-segmentation or missing parts compared to existing methods like IRNet or FickleNet. The method is also robust to "sloppy" initial bounding boxes, maintaining accuracy even with significant box noise.
Conclusion
BBAM demonstrates that standard object detectors contain sufficient information to generate high-quality segmentation masks. By combining dual-head attribution with an adaptive stride, the method provides a robust framework for weakly supervised learning. Future work includes reducing the computational cost of the optimization process and extending the method to one-stage detectors.
Summary updated