On learning to localize objects with minimal supervision

Hyun Oh Song, Ross B. Girshick, Stefanie Jegelka, Julien Mairal, Zaïd Harchaoui, Trevor Darrell

Training robust object detectors traditionally relies on a "gold standard" approach: drawing precise bounding boxes around every object of interest in a massive dataset. This process is incredibly slow, expensive, and prone to human error. A more scalable alternative is weakly-supervised learning, where the algorithm is only given image-level labels (e.g., "this image contains a dog") but is not told where the object is located.

This paper introduces a powerful framework for training object detectors using only these image-level labels. By combining a discriminative submodular cover algorithm for initialization with a novel smoothed latent SVM for refinement, the authors achieved a 50% relative improvement in detection accuracy over previous state-of-the-art methods.

The "Chicken and Egg" Problem

The core challenge in weakly-supervised object localization is a classic "chicken and egg" dilemma: to train a good detector, you need to know where the objects are; but to find where the objects are in a weakly-labeled image, you need a good detector.

Most existing methods, often framed as Multiple Instance Learning (MIL), struggle with this because they easily get stuck in "local minima." An algorithm might latch onto the wrong parts of an image—such as consistently identifying a patch of grass instead of the cow standing on it—and never recover. This paper aims to solve this by finding a high-quality initialization and employing a more robust optimization strategy.

A Two-Stage Pipeline

To overcome the limitations of standard MIL approaches, the authors propose a two-stage pipeline consisting of a robust initialization phase followed by a smoothed refinement phase.

1. Initialization via Submodular Cover

Instead of evaluating every possible pixel, the system uses "selective search" to propose approximately 2,000 candidate windows per image. The challenge then becomes picking the "best" windows to initialize the detector. The authors treat this as a submodular cover problem.

They build a graph connecting similar candidate windows across different images.

Graph connecting similar windows across images

The goal is to select a small set of windows that are:

  • Relevant: They appear frequently in positive images.
  • Discriminative: They do not appear in negative images.
  • Complementary: They cover different visual "modes" or angles of the object.

Because the objective function is submodular, an efficient greedy algorithm can be used to find a near-optimal starting set. This mathematical incentive ensures the algorithm doesn't just find the "easiest" version of an object (like a side-view of a car) but captures a diverse set of appearances.

2. Refinement via Smoothed Latent SVM (SLSVM)

Standard Latent SVMs are "non-smooth," meaning their mathematical landscape has sharp edges that make optimization difficult. To fix this, the authors apply Nesterov’s smoothing technique to the objective function, allowing them to use efficient quasi-Newton optimization (L-BFGS).

Crucially, while a standard LSVM only looks at the single "best" window during training, the smoothed version considers a weighted average of the top-N windows. This transition from a "hard-max" (picking one box) to a "soft-max" (averaging several high-scoring boxes) acts as a regularizer. In the early stages of training, when the model is uncertain, looking at multiple plausible windows prevents it from over-committing to a false positive.

Key Results and Insights

The researchers evaluated their approach on the PASCAL VOC 2007 dataset (the industry-standard benchmark for object detection at the time) and several classic MIL datasets (Musk1, Musk2, Elephant, Fox, Tiger, and TREC).

  • Massive Accuracy Boost: On PASCAL VOC 2007, the method achieved a mean Average Precision (mAP) of 22.7%. While this may seem low compared to modern fully-supervised models, it represented a 50% relative improvement over the previous state-of-the-art for weakly-supervised learning (~15% mAP).
  • Strong Initialization: The submodular initialization method alone proved incredibly powerful. Even without the refinement step, it achieved 20.3% mAP, outperforming previous complete systems.
  • Deep Features: The paper successfully utilizes features from Deep Convolutional Neural Networks (specifically DeCAF/R-CNN style features), providing a much richer representation of image windows than earlier hand-crafted features.
  • Generalization: The Smoothed Latent SVM consistently outperformed the standard version across almost all classic MIL datasets, proving its optimization benefits extend beyond computer vision.

Limitations and Future Work

Despite the significant leap in performance, a substantial gap remains between this weakly-supervised approach and fully-supervised models, which were achieving 40-50% mAP at the time.

Furthermore, the system is heavily dependent on the quality of the initial "selective search" window proposals; if the object isn't captured in those initial 2,000 boxes, the system cannot detect it. Finally, while more efficient than exhaustive search, the graph-based submodular initialization requires significant memory and computation. As datasets grow into the millions of images, future work will need to explore more scalable "mode-seeking" algorithms to handle the computational load.

Summary updated

BibTeX
@inproceedings{song2014learning,
  author = {Hyun Oh Song and Ross B. Girshick and Stefanie Jegelka and Julien Mairal and Zaïd Harchaoui and Trevor Darrell},
  title = {{On learning to localize objects with minimal supervision}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
  url = {https://openreview.net/forum?id=rkNdxnbOWB},
}
Figure