Instance-aware, Context-focused, and Memory-efficient Weakly Supervised Object Detection.

Zhongzheng Ren, Zhiding Yu, Xiaodong Yang, Ming-Yu Liu, Yong Jae Lee, Alexander G. Schwing, Jan Kautz

Abstract

Weakly supervised learning has emerged as a compelling tool for object detection by reducing the need for strong supervision during training. However, major challenges remain: (1) differentiation of object instances can be ambiguous; (2) detectors tend to focus on discriminative parts rather than entire objects; (3) without ground truth, object proposals have to be redundant for high recalls, causing significant memory consumption. Addressing these challenges is difficult, as it often requires to eliminate uncertainties and trivial solutions. To target these issues we develop an instance-aware and context-focused unified framework. It employs an instance-aware self-training algorithm and a learnable Concrete DropBlock while devising a memory-efficient sequential batch back-propagation. Our proposed method achieves state-of-the-art results on COCO (12.1% AP, 24.8% AP50), VOC 2007 (54.9% AP), and VOC 2012 (52.1% AP), improving baselines by great margins. In addition, the proposed method is the first to benchmark ResNet based models and weakly supervised video object detection. Code, models, and more details are available at: https://github.com/NVlabs/wetectron.

Introduction: The Challenges of Weak Supervision

Standard object detection requires "strong supervision"—thousands of images where every object is meticulously outlined with a bounding box. Weakly Supervised Object Detection (WSOD) aims to train detectors using only "weak" image-level labels (e.g., "this image contains a dog"), which are much cheaper to obtain. However, WSOD faces three persistent challenges:

  1. Instance Ambiguity: The model often misses less obvious objects or clumps multiple adjacent objects (like a row of cows) into one giant box.
  2. Part Domination: Because the model only knows the category exists, it gravitates toward the most "discriminative" part. For example, it might become a "face detector" instead of a "person detector" because faces provide the most consistent signal.
  3. Memory Consumption: To ensure high recall without ground-truth boxes, WSOD models must process thousands of "object proposals" per image. This creates a massive memory bottleneck that has historically prevented the use of modern, deep architectures like ResNet.
Common failure modes in WSOD: missing instances, grouped instances, and part domination.

Proposed Methodology

The authors propose a three-part solution to address these hurdles:

Multiple Instance Self-Training (MIST)

Instead of just picking the highest-scoring proposal as a pseudo-label—which often leads to overfitting on easy parts—MIST selects a diverse set of high-scoring, non-overlapping regions. It uses an image-adaptive threshold to ensure that the number of pseudo-labels scales with the complexity of the image, preventing the model from collapsing into a state where it only sees the "easiest" instance.

Concrete DropBlock

This is a learnable, adversarial spatial dropout module designed to combat part domination. During training, it identifies the most discriminative parts of an object and "hides" them (zeroes them out). This forces the network to look at the surrounding context and the full extent of the object to maintain high classification accuracy. It uses a Gumbel-Softmax trick to make this "dropping" operation differentiable and end-to-end learnable.

Sequential Batch Back-Propagation (Seq-BBP)

To solve the memory crisis, the authors developed Seq-BBP. They observed that the "Neck" of the network (after ROI-Pooling) is where memory usage explodes. Seq-BBP splits the thousands of proposals into smaller sub-batches during the gradient update phase, allowing deep models like ResNet-101 to be trained on standard GPUs.

Experimental Results

The framework, dubbed "Wetectron," set new records across several benchmarks:

  • MS COCO: Achieved 12.1% AP and 24.8% AP₅₀, nearly doubling the performance of several previous baselines.
  • PASCAL VOC: Reached 54.9% AP₅₀ on VOC 2007 and 52.1% AP on VOC 2012, outperforming previous state-of-the-art methods.
  • Efficiency: Seq-BBP enabled the use of ResNet-101, which was previously impossible on 16GB GPUs with 2k+ proposals.
  • Video Detection: Demonstrated that motion cues (optical flow) can be integrated to establish the first-ever benchmark for weakly supervised video object detection.
Qualitative detection results of Wetectron on various datasets, demonstrating successful instance localization.

Conclusion

Wetectron significantly narrows the gap between weakly and fully supervised object detection by addressing instance ambiguity, part domination, and memory efficiency. While challenges remain for categories with high intra-class variation, the integration of adversarial context learning and memory-efficient training provides a scalable path forward for weakly supervised vision tasks.

Summary updated

BibTeX
@misc{ren2020instance,
  author = {Zhongzheng Ren and Zhiding Yu and Xiaodong Yang and Ming-Yu Liu and Yong Jae Lee and Alexander G. Schwing and Jan Kautz},
  title = {{Instance-aware, Context-focused, and Memory-efficient Weakly Supervised Object Detection.}},
  year = {2020},
  eprint = {2004.04725},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.04725},
}
Figure