Introduction
Weakly Supervised Object Detection (WSOD) represents a significant challenge in computer vision, aiming to train detectors using only image-level labels instead of labor-intensive instance-level bounding boxes. Traditional approaches typically frame WSOD as a Multi-Instance Learning (MIL) problem, treating an image as a "bag" of object proposals. However, these methods often suffer from the salient region problem, where the model focuses exclusively on the most discriminative parts of an object (e.g., a bird's head) rather than the entire body, and the same-class multi-instance problem, where multiple objects of the same class are incorrectly merged or ignored.
Proposed Methodology: WSTDN
To address these limitations, this paper introduces the Weakly Supervised Transformer Detection Network (WSTDN). Unlike conventional CNN-based backbones that process proposals independently, WSTDN leverages a Vision Transformer to model inter-proposal relationships via self-attention. This allows the network to capture semantic and spatial dependencies across the entire image "bag."
The architecture consists of three core components:
- WSTDN Backbone: A tailored Transformer that replaces standard classification heads with an averaging operation, better suited for utilizing incomplete weakly supervised annotations.
- Memory Transfer Refinement (MTR): This module treats iterative refinement stages as a sequence, using weighted historical proposal scores to supervise current training and prevent the model from converging on local saliency traps.
- Bounding Box Mining (BBM): A novel module designed to expand the detector's focus from salient parts to the full object extent.
Bounding Box Mining (BBM)
The BBM module moves beyond simply selecting the highest-scoring proposal. Instead, it clusters proposals based on spatial relevance and synthesizes improved bounding boxes through an adaptive coordinate averaging procedure.
By averaging the coordinates of spatially related proposals, the model effectively "hallucinates" a more comprehensive bounding box that covers the entire object, even if the initial proposals were fragmented or focused only on specific parts.
Experimental Results
The model was evaluated on the PASCAL VOC 2007 and 2012 benchmarks. WSTDN achieved state-of-the-art performance for standalone WSOD methods:
- mAP (Mean Average Precision): Reached 54.7% on the VOC 2007 test set, outperforming previous leaders like OICR and C-MIL.
- CorLoc (Correct Localization): Achieved 70.4% on VOC 2007 trainval, indicating superior localization accuracy.
Qualitative analysis confirms that WSTDN successfully detects entire object bodies and distinguishes between multiple instances of the same class in complex scenes, areas where previous i.i.d.-based methods typically failed.
Conclusion and Future Work
WSTDN demonstrates that Transformers are a natural fit for Multi-Instance Learning in WSOD. By modeling inter-instance relationships and employing spatial averaging for supervision, the framework significantly mitigates the salient region problem. While performance on rigid and simple non-rigid objects is high, future work is needed to improve detection for complex non-rigid categories like "Person," potentially through larger-scale pre-training or more advanced relationship modeling.
Summary updated