Towards Precise End-to-end Weakly Supervised Object Detection Network

Ke Yang, Dongsheng Li, Yong Dou

Abstract

Weakly Supervised Object Detection (WSOD) significantly reduces the cost of manual annotation by learning to detect objects using only image-level labels. However, traditional WSOD methods typically rely on a two-stage pipeline where a Multiple Instance Learning (MIL) detector generates pseudo-ground truth boxes for a subsequent supervised detector. This often leads to the "local minima" problem, where the model focuses on the most discriminative object parts rather than the whole object. This paper introduces a novel end-to-end network that jointly optimizes detection and regression branches. By incorporating a Guided Attention Module (GAM) and a unified multi-task learning framework, the proposed method effectively captures full object extents, achieving state-of-the-art performance on PASCAL VOC benchmarks.

Introduction

The primary challenge in WSOD is the lack of instance-level spatial information during training. While image-level labels indicate the presence of a category, they do not specify location or scale. Most existing solutions address this using Multiple Instance Learning (MIL), which treats an image as a bag of instances (proposals). A significant drawback of MIL is its tendency to be "lazy" — it identifies the most discriminative parts (e.g., a cat's face) to satisfy the classification objective, often ignoring the rest of the object. Once a model overfits to these parts, subsequent refinement stages are unable to recover the full object bounding box.

Methodology

The authors propose a unified architecture to break the dependency on disjoint training phases.

Joint Training and Refinement

Unlike traditional methods that separate pseudo-label generation from detector training, this approach trains the MIL branch and the bounding-box regression branch simultaneously. This "early intervention" strategy allows the regressor to act as a regularizer, pulling the detector's focus outward to the whole object before the MIL detector can lock onto a single discriminative feature.

Comparison of the proposed end-to-end architecture against traditional two-stage WSOD pipelines.

Guided Attention Module (GAM)

To further enhance feature representation, a Guided Attention Module is integrated into the backbone. The GAM utilizes a dedicated classification loss to supervise spatial and channel attention maps. By forcing the network to attend to regions relevant for classification, the module encourages the backbone to produce features that are more aware of the object's global structure.

Experiments and Results

The method was evaluated on the PASCAL VOC 2007 and 2012 datasets, two industry-standard benchmarks for object detection.

Quantitative Performance

The proposed end-to-end network achieved 48.6% mAP on PASCAL VOC 2007, outperforming previous single-model state-of-the-art methods. When integrated with Proposal Cluster Learning (PCL), the performance further improved to 51.5% mAP. On the larger PASCAL VOC 2012 dataset, the model reached 46.8% mAP, demonstrating its scalability and robustness.

Qualitative Analysis

Visualizations of the training process highlight the effectiveness of joint optimization. As shown in the comparison below, while baseline MIL detectors and sequential pipelines often collapse onto small object parts as training progresses, the proposed method maintains and refines boxes that encompass the entire object.

Evolution of bounding boxes across training iterations, comparing the proposed method with standard MIL and two-stage baselines.

Conclusion

This work demonstrates that end-to-end joint training is a powerful strategy for overcoming the part-based local minima in WSOD. By coupling the MIL detector with a regressor and guided attention from the start, the network learns to localize entire objects more precisely. While a performance gap still exists compared to fully supervised methods, this approach sets a new benchmark for weakly supervised learning and provides a foundation for future work in video-based detection or complex scene analysis.

Summary updated

BibTeX
@inproceedings{yang2019towards,
  author = {Ke Yang and Dongsheng Li and Yong Dou},
  title = {{Towards Precise End-to-end Weakly Supervised Object Detection Network}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00846},
}
Figure