LSDA: Large Scale Detection through Adaptation

Judy Hoffman, Sergio Guadarrama, Eric Tzeng, Ronghang Hu, Jeff Donahue, Ross B. Girshick, Trevor Darrell, Kate Saenko

TL;DR

LSDA (Large Scale Detection through Adaptation) is an algorithm that transforms image classifiers into object detectors without requiring expensive bounding box annotations for every category. By learning a generic "classification-to-detection" transformation from a small subset of labeled data, the authors scaled a detector to recognize over 7,600 object categories—a massive leap over the 200 categories typically found in standard detection benchmarks.

What Problem Does This Paper Address?

The "annotation bottleneck" is a primary hurdle in computer vision. While we have millions of images with simple tags (e.g., "this image contains a dog"), we have very few images with precise bounding boxes (e.g., "the dog is exactly in this rectangle").

Collecting bounding boxes is orders of magnitude more expensive and time-consuming than collecting image-level labels. Consequently, while state-of-the-art classifiers can recognize tens of thousands of categories, detectors are usually stuck in the low hundreds. This paper asks: Can we learn the "essence" of what makes a detector different from a classifier and apply that knowledge to categories where we only have classification data?

Concept of LSDA: Transferring knowledge from classifiers to detectors

Methods

The authors propose a multi-stage adaptation process based on Convolutional Neural Networks (CNNs):

  1. Category-Invariant Adaptation: They start with a CNN pre-trained on a large classification dataset (ImageNet). They then fine-tune the first seven layers of the network using a small subset of categories that do have bounding box data. This teaches the internal filters how to handle "object proposals" (small crops of images) and how to distinguish objects from generic background clutter.
  2. Category-Specific Adaptation: The final layer of a classifier (the weights that define a "dog" vs. a "cat") needs to change when moving to detection. The authors calculate a "delta" (the difference between classification weights and detection weights) for the categories they have boxes for.
  3. The "Nearest Neighbor" Transfer: For a new category that has no bounding boxes (e.g., a specific breed of rare bird), the algorithm looks at its nearest neighbors in the feature space among the categories that do have boxes. It then applies the average "delta" from those neighbors to the new category's classification weights to "detect-ify" them.

Datasets

  • ImageNet LSVRC-2012: Used for initial classification pre-training (1.2M images, 1000 categories).
  • ImageNet LSVRC-2013 Detection: Used for the main experiments. The authors split the 200 categories into 100 "seen" categories (with boxes) and 100 "held-out" categories (no boxes during training) to test the adaptation.
  • ImageNet Leaf Nodes: Used to scale the final system to a massive 7,604 categories.

Key Insights and Ideas

  • Background is the Key: The biggest difference between a classifier and a detector isn't just identifying the object; it's identifying what isn't the object. Adding a dedicated "background" class and fine-tuning the network to reject "non-object" patches provides a massive performance boost.
  • The Transformation is Generic: The paper proves that the shift from "looking at a whole image" to "localizing an object" is somewhat consistent across categories. You don't need to see a bounding box for a "lemon" to learn how to localize one, provided you've learned how to localize "oranges" or "apples."
  • Localization vs. Classification Errors: Without adaptation, classifiers often "detect" an object by looking only at its most discriminative part (like a bird's head). The adaptation process teaches the network to encompass the entire extent of the object.

Key Results

  • 50% Relative Improvement: On held-out categories (those with no bounding boxes during training), LSDA improved the mean Average Precision (mAP) from 10.31% (baseline classifier) to 16.15%.
Performance improvements of LSDA over baseline classification networks
  • Massive Scaling: The authors successfully produced a detector for 7,604 categories, far exceeding the scale of any previous detection system at the time.
  • Efficiency: By modifying the architecture (using spatial pyramid pooling), they created a version of the 7.6K detector that runs at 2 frames per second, making large-scale detection computationally feasible.

Limitations and Future Work

  • The "Oracle" Gap: While the 16.15% mAP is a huge jump over the baseline, it is still significantly lower than the "Oracle" performance (26.25%), which is what the system achieves if it does have access to bounding boxes for all categories.
  • Dependency on Proposals: The system relies on external "region proposal" algorithms to suggest where objects might be. If the proposal algorithm misses an object, the LSDA detector cannot find it.
  • Future Directions: The authors suggest exploring Multiple Instance Learning (MIL) to further refine the detectors by mining "latent" object locations in the classification data, potentially closing the gap with fully supervised models.

Summary updated

BibTeX
@inproceedings{hoffman2014lsda,
  author = {Judy Hoffman and Sergio Guadarrama and Eric Tzeng and Ronghang Hu and Jeff Donahue and Ross B. Girshick and Trevor Darrell and Kate Saenko},
  title = {{LSDA: Large Scale Detection through Adaptation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2014},
  url = {https://openreview.net/forum?id=H1bS9dZdbH},
}
Figure