Detector discovery in the wild: Joint multiple instance and representation learning

Judy Hoffman, Deepak Pathak, Trevor Darrell, Kate Saenko

Abstract

We develop methods for detector learning which exploit joint training over both weak (image-level) and strong (bounding box) labels and which transfer learned perceptual representations from strongly-labeled auxiliary tasks. Previous methods for weak-label learning often learn detector models independently using latent variable optimization, but fail to share deep representation knowledge across classes and usually require strong initialization. Other previous methods transfer deep representations from domains with strong labels to those with only weak labels, but do not optimize over individual latent boxes, and thus may miss specific salient structures for a particular category. We propose a model that subsumes these previous approaches, and simultaneously trains a representation and detectors for categories with either weak or strong labels present. We provide a novel formulation of a joint multiple instance learning method that includes examples from classification-style data when available, and also performs domain transfer learning to improve the underlying detector representation. Our model outperforms known methods on ImageNet-200 detection with weak labels.

Introduction

Training modern object detectors typically necessitates "strong labels"—extensive datasets where humans have manually annotated bounding boxes for every object instance. While effective, these annotations are expensive and time-consuming to produce. In contrast, "weak labels" (e.g., image-level tags indicating the presence of an object) are abundant and easily collected but provide no information regarding object location.

Previous attempts to utilize weak labels often relied on Multiple Instance Learning (MIL), which treats an image as a "bag" of potential object proposals. However, MIL is prone to local minima, often focusing on discriminative background features rather than the objects themselves. This paper introduces a framework that jointly learns image representations and object detectors by transferring knowledge from auxiliary categories that possess strong labels.

Conceptual overview of joint learning from strong and weak labels.

Methodology

The proposed approach utilizes a four-stage joint optimization pipeline designed to bridge the gap between weak and strong labels by evolving the underlying feature representation alongside the detectors.

The four-stage joint optimization pipeline for detector discovery.
  1. Initialization: The process begins with a standard CNN pre-trained on ImageNet classification data to establish a baseline for visual categories.
  2. Generic Feature Adaptation: The network is fine-tuned using a set of "auxiliary" categories with bounding box annotations (e.g., "person," "bicycle"). This stage teaches the model a generic sense of "objectness," enabling it to distinguish salient structures from background noise.
  3. MIL Patch Discovery: Leveraging these adapted features, the model performs MIL on weakly labeled target images. The improved representation significantly reduces the likelihood of the MIL process converging on background patches.
  4. Joint Refinement: In the final stage, the discovered boxes from weak categories and ground-truth boxes from strong categories are used to fine-tune the entire deep network simultaneously. This ensures that the feature representation and the final detectors are mutually optimized.

Results and Discussion

The framework was evaluated on the ImageNet-200 (ILSVRC13) detection dataset, using 100 categories with strong labels as the auxiliary set and 100 different categories with only weak labels as the target set.

The proposed method achieved a mean Average Precision (mAP) of 22.81% on the weakly labeled categories. This represents a significant improvement over previous state-of-the-art domain adaptation methods (LSDA, 17.01%) and a massive 200% relative improvement over standard MIL approaches (LCL, 6.0%). Qualitatively, the model demonstrated a superior ability to isolate objects from co-occurring contexts, such as distinguishing a tennis racket from the person holding it.

However, the authors noted challenges regarding "semantic divergence," where strong labels for a sub-part (like a keyboard) can cause a weak-label detector for a larger object (like a laptop) to focus only on that sub-part. Additionally, the iterative nature of the pipeline presents computational scaling challenges.

Conclusion

The core contribution of this work is the demonstration that "objectness" is a transferable property. By using auxiliary strong labels to refine the feature space before and during the MIL process, the "blind" search of standard weak-label learning is replaced with a guided discovery process. This joint learning approach provides a robust path toward scaling object detection to thousands of categories in the wild.

Summary updated

BibTeX
@inproceedings{hoffman2015detector,
  author = {Judy Hoffman and Deepak Pathak and Trevor Darrell and Kate Saenko},
  title = {{Detector discovery in the wild: Joint multiple instance and representation learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=Bk46QRZO-S},
}
Figure