NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

W2F: A Weakly-Supervised to Fully-Supervised Framework for Object Detection

Yongqiang Zhang, Yancheng Bai, Mingli Ding, Yongqiang Li, Bernard Ghanem

Abstract

Training high-performance object detectors typically requires extensive datasets with precise bounding box annotations, which are costly and time-consuming to produce. The W2F (Weakly-to-Fully supervised) framework overcomes this limitation by utilizing only image-level labels to generate high-quality "pseudo ground-truth" boxes. By integrating Pseudo Ground-truth Excavation (PGE) and Adaptation (PGA), W2F enables standard fully-supervised detectors like Faster R-CNN to achieve state-of-the-art performance on PASCAL VOC benchmarks without human-annotated boxes.

Introduction

Object detection is a fundamental task in computer vision, yet its progress is often hindered by the "data hunger" of modern supervised models. Training a standard detector requires thousands of images with precise, hand-drawn bounding boxes. Weakly-Supervised Object Detection (WSOD) attempts to mitigate this by training models using only image-level tags (e.g., "cat," "dog"). However, WSOD traditionally suffers from two major issues: the "Part Trap," where models focus on the most discriminative parts of an object (like a face) rather than the whole body, and "Single Instance Bias," where models fail to detect multiple instances of the same class in a single image.

The W2F framework bridges this performance gap by treating the outputs of a weak detector as "pseudo ground-truth" to train a more robust fully-supervised detector.

Methodology

The W2F framework operates through a multi-stage pipeline designed to refine coarse image-level labels into precise object boundaries.

The W2F framework pipeline, showing the transition from image labels to a fully-supervised detector.

1. Weakly-Supervised Detector (WSD)

The process begins with a baseline detector combining a Weakly Supervised Deep Detection Network (WSDDN) with Online Instance Classifier Refinement (OICR). This stage identifies regions of interest based solely on image labels.

2. Pseudo Ground-truth Excavation (PGE)

A core innovation of W2F is the PGE stage. The authors observed that while weak detectors often assign the highest scores to object parts, they do successfully identify whole-object boxes, albeit with lower confidence scores. PGE employs an iterative algorithm to remove redundant "part" boxes and merge overlapping regions, ensuring the resulting pseudo-labels cover the entire object and account for multiple instances.

3. Pseudo Ground-truth Adaptation (PGA)

To further refine localization, PGA utilizes a Region Proposal Network (RPN) from the Faster R-CNN architecture. The RPN is adept at regressing box boundaries to fit object edges, effectively "tightening" the pseudo-labels generated by PGE before final training.

4. Fully-Supervised Detector (FSD)

In the final stage, the refined pseudo-labels are used to train a standard, off-the-shelf supervised detector, such as Faster R-CNN or Fast R-CNN.

Key Insights and Results

A primary insight of the W2F research is that the information required for whole-object detection is often present in the data but overshadowed by part-based features. By prioritizing the "whole" over the "part," W2F significantly improves localization accuracy.

Qualitative comparison between the baseline WSOD and the W2F framework, illustrating the successful transition from part-based to whole-object detection.

The framework was evaluated on the PASCAL VOC 2007 and 2012 benchmarks. W2F achieved a mean Average Precision (mAP) of 52.4% on VOC 2007, a substantial improvement over the previous state-of-the-art of approximately 47%. On VOC 2012, it reached 47.8% mAP. Furthermore, the model achieved a CorLoc (Correct Localization) score of 70.3%, demonstrating its superior ability to identify object locations within the training set. The method proved particularly effective for non-rigid objects like cats and people, where shape variability often poses a challenge for traditional WSOD.

Conclusion

W2F represents a significant advancement in bridging the gap between weakly and fully supervised object detection. While the framework sets new performance benchmarks, the authors note a remaining challenge: instance merging. In scenarios where multiple objects of the same class are in close proximity, the PGE algorithm may occasionally merge them into a single bounding box. Future research may focus on incorporating instance counting or more sophisticated disentanglement techniques to further refine the excavation process.

Summary updated

BibTeX
@inproceedings{zhang2018w,
  author = {Yongqiang Zhang and Yancheng Bai and Mingli Ding and Yongqiang Li and Bernard Ghanem},
  title = {{W2F: A Weakly-Supervised to Fully-Supervised Framework for Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00103},
}
Figure