Introduction
Weakly Supervised Object Detection (WSOD) aims to train object detectors using only image-level labels, significantly reducing the high cost associated with full bounding box annotations. However, a persistent challenge in WSOD is the incomplete box detection problem. Because these models are typically based on classification networks, they tend to focus on the most discriminative parts of an object—such as a person's head or a cat's face—rather than the entire object body. This leads to a substantial performance gap compared to fully supervised counterparts.
The Box Correction Network (BCNet)
To bridge this gap, we introduce the Box Correction Network (BCNet). This approach operates in a "low-shot" regime, leveraging a massive dataset of image-level labels alongside a very small subset of fully annotated images.
Learning the Transfer Function
The core of BCNet is a learned transfer function, $T$, which predicts the spatial offsets required to transform an incomplete "weak box" into a complete "strong box."
The pipeline consists of four main stages:
- Weak Box Generation: An initial WSOD model (e.g., OICR) is trained on image-level labels to generate baseline weak boxes for the entire dataset.
- Transfer Function Training: On the small annotated subset, the model learns to map these weak boxes to ground-truth strong boxes using a fully connected neural network branch.
- Pseudo-labeling: The learned function is applied to the unannotated portion of the dataset to generate "pseudo-strong" boxes.
- Balanced Training: A final detection network is trained using a combination of real ground-truth boxes and the generated pseudo-labels.
Multi-Stage Iterative Correction
A key technical insight is that standard bounding box regression losses (like $smooth_{L1}$) often struggle to significantly expand boxes in a single step. BCNet addresses this through an iterative, multi-stage correction process that gradually stretches the boxes, supported by image-level regularization to maintain stability.
Experimental Results
We evaluated BCNet on the PASCAL VOC 2007 benchmark under semi-supervised and few-shot constraints.
- Semi-supervised Performance: With only 16% of images fully annotated, BCNet achieved 64.0% mAP, outperforming existing state-of-the-art methods (62.4%).
- Few-shot Performance: In a 4-shot setting (4 annotated images per class), BCNet reached 52.8% mAP, significantly outperforming the 48.0% baseline.
- Class-Specific Improvements: The method is particularly effective for classes prone to partial detection. For instance, in the 4-shot scenario, accuracy for the "person" class jumped from 13.6% to 54.3%, and "cat" jumped from 34.4% to 62.7% compared to the base WSOD model.
Conclusion
BCNet demonstrates that explicitly learning a mapping from weak to strong boxes is more effective than simply mixing data types. By utilizing a small amount of "strong" supervision to correct "weak" predictions, we can significantly improve the accuracy of object detectors in data-constrained environments. Future work will explore more complex architectures for the transfer function and the integration of meta-learning techniques.
Summary updated