Rethinking Segmentation Guidance for Weakly Supervised Object Detection

Ke Yang, Peng Zhang, Peng Qiao, Zhiyuan Wang, Huadong Dai, Tianlong Shen, Dongsheng Li, Yong Dou

Introduction

Weakly Supervised Object Detection (WSOD) aims to train object detectors using only image-level labels, bypassing the need for expensive bounding box annotations. However, standard Multiple Instance Learning (MIL) approaches often suffer from "part-mining," where the model focuses on the most discriminative parts of an object (e.g., a cat's head) rather than the entire instance.

The Averaging Trap in Segmentation Guidance

To address part-mining, researchers often use weakly supervised segmentation maps to guide the detection process. By scoring candidate boxes based on the underlying segmentation heatmap, the model should theoretically prefer boxes that cover the whole object.

However, conventional methods typically average the pixel-wise scores within a box. As a bounding box expands from a high-confidence "part" to encompass the full object, the average score often decreases because it incorporates lower-confidence pixels at the object's boundaries. This "averaging trap" effectively penalizes the model for selecting complete objects.

Comparison of objectness scores without OCR (a) and with OCR (b). Note how OCR maintains high scores for larger, more complete boxes.

Objectness Consistent Representation (OCR)

The authors propose Objectness Consistent Representation (OCR) to overcome this bias. Instead of simple averaging, OCR employs a novel projection mechanism:

  1. Orthogonal Projection: Segmentation confidence scores are projected into horizontal and vertical directions using a max operation.
  2. Consistency Criterion: By using the maximum value along these axes, the "objectness" signal remains strong across the entire span of the object. This creates a plateau of high scores, ensuring that a box covering the whole object is not penalized for its size.
  3. Context Subtraction: To prevent boxes from becoming excessively large, the model evaluates the "context" area immediately outside the proposal. A high-quality box must exhibit high internal consistency and low external scores.
The OCR mechanism uses orthogonal projection to preserve objectness signals across the entire object area.

Experimental Results

The OCR method was evaluated on the PASCAL VOC 2007 and 2012 benchmarks, using initial segmentation maps from AffinityNet and IRNet. The results demonstrate that OCR significantly outperforms previous state-of-the-art segmentation-guided methods:

  • PASCAL VOC 2007: OCR achieved 54.6% mAP, a substantial jump over the OICR baseline (41.2%) and previous methods like TS2C (44.3%).
  • PASCAL VOC 2012: The method reached 51.1% mAP, maintaining a clear lead over competing approaches.

Notably, OCR showed even greater relative gains when evaluated at higher Intersection over Union (IoU) thresholds (e.g., 0.7), demonstrating its superior ability to localize precise object boundaries compared to methods that rely on score averaging.

Conclusion

By rethinking how segmentation maps are translated into objectness scores, OCR effectively mitigates the part-mining problem in WSOD. The use of max-pooling and orthogonal projections ensures that complete object proposals are prioritized, leading to more accurate and robust detection models without requiring additional supervision.

Summary updated

BibTeX
@inproceedings{yang2020rethinking,
  author = {Ke Yang and Peng Zhang and Peng Qiao and Zhiyuan Wang and Huadong Dai and Tianlong Shen and Dongsheng Li and Yong Dou},
  title = {{Rethinking Segmentation Guidance for Weakly Supervised Object Detection}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00481},
}
Figure