Weakly Supervised Object Localization Using Size Estimates

Miaojing Shi, Vittorio Ferrari · DOI

Abstract

Weakly Supervised Object Localization (WSOL) often struggles because models attempt to learn from "hard" images containing small objects too early in the training process. This paper introduces a curriculum learning strategy that sorts training images from large to small objects and utilizes a size-regressor to weight object proposals. This approach leads to a significant 16.7% improvement in localization accuracy over standard baselines on the PASCAL VOC benchmark.

Introduction

Training a standard object detector typically requires thousands of manually annotated bounding boxes—a process that is notoriously tedious, expensive, and slow. Weakly Supervised Object Localization (WSOL) aims to bypass this bottleneck by learning to localize objects using only image-level labels (e.g., "this image contains a car") without explicit spatial coordinates.

The core challenge in WSOL is a "chicken-and-egg" problem: to find an object, one needs a reliable detector; however, to train a reliable detector, one needs to know where the objects are located. Most WSOL algorithms treat all images equally, often getting stuck in local minima. Small objects are particularly problematic early on, as the model may pick up background noise and inadvertently corrupt its own training process.

Methodology

The authors propose a multi-stage pipeline designed to break the cycle of poor localization through three main innovations:

  1. Automatic Size Estimation: A Kernel Ridge Regressor (KRR) is trained on an external dataset to predict object size given only the whole image as input. Crucially, this regressor requires only a single scalar (the object's area) for training, rather than full bounding boxes.
  2. Curriculum Learning (Size Order): Instead of training on the entire dataset simultaneously, the model follows a "curriculum." It begins training on images with the largest (and thus "easiest") objects. Once the model establishes a clean appearance model, it progressively introduces batches of images with smaller, more challenging objects.
  3. Size Weighting: During the re-localization phase, candidate object proposals are weighted based on how closely their size matches the regressor's estimate. Using a "three-sigma rule" for weighting, this acts as a spatial prior that filters out proposals that are disproportionately large or small relative to the expected object size.
The proposed WSOL pipeline featuring Size Order curriculum and Size Weighting mechanisms.

Following initial SVM-based training, the resulting localizations are used to initialize a Fast R-CNN, which is then fine-tuned end-to-end for a final performance boost.

Experimental Results

The proposed method achieved significant gains on the PASCAL VOC 2007 dataset. The baseline Multiple Instance Learning (MIL) approach achieved a localization accuracy (CorLoc) of 39.1%. Implementing the Size Order curriculum raised this to 46.3%, and adding Size Weighting pushed performance to 55.8%.

Qualitative localization results showing the model's ability to handle complex street scenes.

The best-performing model (utilizing a VGG16 backbone) reached 64.7% CorLoc and 37.2 mAP (mean Average Precision), significantly outperforming contemporary state-of-the-art methods. A key insight from the study is the effectiveness of size as a proxy for "easiness." Furthermore, the size regressor demonstrated impressive cross-class generalization; a regressor trained on vehicles could effectively help localize animals, suggesting the network learns general visual cues regarding image composition.

Conclusion and Future Work

While highly effective, the method currently relies on an external dataset with size annotations to train the regressor. Future research could explore integrating size estimates directly into the end-to-end deep learning loop, such as making them part of the Fast R-CNN's internal loss function. Additionally, moving from discrete batches to a continuous curriculum update could further refine the model's learning trajectory.

Summary updated

BibTeX
@inproceedings{shi2016weakly,
  author = {Miaojing Shi and Vittorio Ferrari},
  title = {{Weakly Supervised Object Localization Using Size Estimates}},
  booktitle = {European Conference on Computer Vision},
  year = {2016},
  doi = {10.1007/978-3-319-46454-1\_7},
}
Figure