Transfer Learning by Ranking for Weakly Supervised Object Annotation

Zhiyuan Shi, Parthipan Siva, Tao XiangBMVC 2012

Abstract

Training object detectors typically requires expensive, manually annotated bounding boxes. Weakly Supervised Learning (WSL) attempts to use only image-level labels but often fails to accurately localize objects in cluttered scenes. This paper introduces a "Transfer Learning by Ranking" framework that utilizes fully annotated auxiliary datasets—even those with unrelated categories—to learn a universal ranking function for object regions. By prioritizing candidate boxes that best represent an object's appearance, the model achieves state-of-the-art performance on standard benchmarks like PASCAL VOC 2007.

Introduction

The primary bottleneck in computer vision is the high cost of manual annotation. While Fully Supervised Learning (FSL) yields high accuracy, it requires precise bounding boxes for every object instance. Weakly Supervised Learning (WSL) offers a more scalable alternative by using only presence/absence labels. However, WSL methods often struggle with "intra-class variation" and background clutter, often selecting salient background regions instead of the actual objects.

Comparison of Weakly Supervised Learning (a), standard Transfer Learning (b), and the proposed Transfer Learning by Ranking (c).

The authors propose a shift in perspective: instead of relying solely on internal cues from the target dataset, we can transfer knowledge from existing, fully-annotated datasets. The key insight is that the relationship between a region's appearance and its quality as an annotation is transferable across categories. A model can learn what a "good" bounding box looks like for a car and apply that logic to find a cat.

Methodology: Transfer Learning by Ranking

The core of the proposed method is a Ranking Model (specifically RankSVM) trained on an auxiliary dataset. Unlike classification, which treats boxes as binary (correct/incorrect), ranking captures the nuances of "near-misses," providing a richer training signal.

Feature Representation

Regions are represented using Bag-of-Words (BoW) histograms of SIFT descriptors. To ensure category independence, the authors compute a difference vector representing the absolute difference between a candidate region's histogram and the average histogram of all salient regions in that image. This serves as a proxy for the unknown ground truth appearance in the target set.

The Ranking Process

  1. Candidate Generation: A generic objectness filter generates the top 100 candidate regions per image.
  2. Scoring: The RankSVM model, trained on auxiliary data to prefer regions with higher overlap with ground truth, scores these candidates.
  3. Selection: The highest-ranked region is selected as the final annotation for the weakly labeled image.
Illustration of the ranking process where candidate regions are ordered based on their predicted overlap with the object.

Experimental Setup

The framework was evaluated on the PASCAL VOC 2007 dataset. To test transferability, the researchers used a cross-validation approach: 10 classes were randomly selected as the "fully annotated" auxiliary set, while the remaining 10 served as the "weakly labeled" target set. This process was repeated 10 times to ensure statistical robustness.

Results and Discussion

The ranking model demonstrated significant improvements over existing WSL baselines:

  • Superior Accuracy: On the AllView 20-class task, the model achieved 32.13% accuracy, outperforming standard Multiple Instance Learning (MI-SVM) at 25.12% and the previous state-of-the-art (29.29%).
  • Complementary Cues: Combining the ranking score with local "Objectness" saliency further boosted performance to 32.60%, indicating that the transferred knowledge captures global patterns that local filters miss.
  • Robustness to Background: The model was particularly effective in scenarios where objects appear against consistent backgrounds (e.g., boats on water), where traditional WSL methods often fail by selecting the background.

Conclusion

This research highlights the power of framing object annotation as a ranking problem. By leveraging auxiliary data, the model learns a category-agnostic measure of "annotation quality." While limited by the initial quality of objectness filters and the simplicity of SIFT features, this approach provides a strong foundation for more advanced transfer learning techniques in object detection. Future work could involve integrating deep learning features (CNNs) to further enhance the discriminative power of the ranking model.

Summary updated

BibTeX
@inproceedings{shi2012transfer,
  author = {Zhiyuan Shi and Parthipan Siva and Tao Xiang},
  title = {{Transfer Learning by Ranking for Weakly Supervised Object Annotation}},
  booktitle = {BMVC},
  year = {2012},
  doi = {10.5244/c.26.78},
}
Figure