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

Object-aware Instance Labeling for Weakly Supervised Object Detection

Satoshi Kosugi, Toshihiko Yamasaki

Abstract

Weakly Supervised Object Detection (WSOD) is a challenging task that involves training object detectors using only image-level labels. Traditional WSOD methods often struggle with two primary issues: the "discriminative part problem," where detectors focus on small, highly identifiable parts of an object, and the "multiple instance problem," where additional object instances are mistakenly labeled as background. This paper proposes two novel labeling strategies—Context-Aware Positive (CAP) and Spatially Restricted Negative (SRN)—to address these challenges. By leveraging context classification loss and spatial constraints, our approach significantly improves localization performance, achieving state-of-the-art results on PASCAL VOC benchmarks.

Introduction

Weakly Supervised Object Detection (WSOD) represents a significant step toward scalable computer vision by eliminating the need for expensive, manually annotated bounding boxes. Instead, it utilizes image-level labels (e.g., "dog," "car") to guide the learning process. Despite its potential, WSOD models are prone to two major failure modes:

  1. The Discriminative Part Problem: Models often converge on the most identifiable part of an object (e.g., a person's face) rather than the whole body, leading to incomplete localization.
  2. The Multiple Instance Problem: In images with multiple objects of the same class, standard "winner-takes-all" algorithms often label secondary instances as background, creating contradictory training signals.

Proposed Methodology

The authors build upon the Online Instance Classifier Refinement (OICR) framework, introducing two key modules to refine the labeling process during training.

Context-Aware Positive (CAP) Labeling

CAP addresses the part-based problem by analyzing the area outside a proposed bounding box. The core intuition is that if a box perfectly encapsulates an object, the surrounding context should not contain features of that object. By training a context classifier and forcing it to label the outside area as the object class, the resulting training loss serves as a signal: a high loss indicates a good fit, while a low loss suggests the box only covers a part of the object.

Spatially Restricted Negative (SRN) Labeling

To mitigate the multiple instance problem, SRN moves away from labeling all non-top-scoring regions as background. Instead, it imposes a spatial restriction: only regions with a very low Intersection over Union (IoU) with the positive box are considered negative samples. This "benefit of the doubt" prevents the model from accidentally suppressing nearby valid object instances.

Comparison of baseline instance labeling (a) and the proposed object-aware labeling strategies (b), highlighting the use of context loss and spatial restrictions.

Experimental Results

The proposed method was evaluated on the PASCAL VOC 2007 and 2012 datasets, achieving state-of-the-art performance for VGG16-based models at the time.

  • PASCAL VOC 2007: Achieved 47.6% mAP, a substantial improvement over the 41.2% OICR baseline.
  • PASCAL VOC 2012: Achieved 43.4% mAP, outperforming the baseline by 5.5%.
  • Localization Accuracy: The improvement was most pronounced in classes typically affected by part-based detection. For instance, precision for the "cat" class in VOC 2007 rose from 28.4% to 67.8%.
Qualitative results demonstrating the effectiveness of the proposed method (red boxes) in capturing entire objects compared to part-based baseline localizations (green boxes).

Conclusion and Future Work

While the CAP and SRN strategies significantly narrow the gap between weakly and fully supervised detection, challenges remain. The CAP method can be sensitive to highly correlated contexts (e.g., planes always appearing in the sky), and the system currently relies on pre-computed saliency maps. Future research will focus on reducing these dependencies and further closing the performance gap with fully supervised models, which still maintain a significant lead in mean Average Precision.

Summary updated

BibTeX
@inproceedings{kosugi2019object,
  author = {Satoshi Kosugi and Toshihiko Yamasaki},
  title = {{Object-aware Instance Labeling for Weakly Supervised Object Detection}},
  booktitle = {Nihon},
  year = {2019},
}
Figure