Detecting 11K Classes: Large Scale Object Detection without Fine-Grained Bounding Boxes

Hao Yang, Hao Wu, Hao Chen

Abstract

Recent advances in deep learning have significantly boosted object detection performance on benchmark datasets. However, state-of-the-art methods like Faster-RCNN and R-FCN require exhaustive bounding box annotations, which are difficult to scale due to high costs. Conversely, weakly-supervised methods using only image-level labels often underperform. This paper proposes a semi-supervised framework for large-scale fine-grained detection. By utilizing bounding box annotations for a small set of coarse-grained classes and image-level labels for a vast number of fine-grained classes, the method achieves nearly fully-supervised accuracy across 11,000 categories. This is accomplished through a shared backbone, soft-attention proposal re-ranking, and a dual-level memory module.

Introduction: The Annotation Bottleneck

In computer vision, object detection is significantly more resource-intensive than image classification. While classification requires only a single label per image, detection demands precise bounding boxes for every instance. Scaling this to the "long tail" of thousands of categories creates a massive bottleneck. For a dataset like ImageNet with 11,000 categories, full annotation has an $O(NC)$ complexity that is prohibitively expensive.

Weakly-supervised methods attempt to bridge this gap using only image tags, but they frequently fall into the "part-detection trap"—focusing on highly discriminative features (like a bird's beak) rather than the entire object. This research introduces a semi-supervised middle ground that leverages the hierarchical relationship between objects to scale detection efficiently.

Methods: A Two-Stream Architecture

The core of the proposed approach is a two-stream network architecture built upon the Region-based Fully Convolutional Network (R-FCN). The framework enables knowledge transfer from well-annotated coarse categories to weakly-labeled fine-grained ones.

The proposed two-stream architecture for semi-supervised large-scale object detection.

1. Coarse-to-Fine Streams

The network consists of two primary streams: a fully supervised stream trained on a small set of coarse-grained classes (e.g., "dog") and a weakly supervised stream for a large number of fine-grained classes (e.g., "Labrador"). Both streams share a common CNN backbone to extract features.

2. Soft-Attention Proposal Re-ranking

To solve the part-detection problem, the model uses the coarse stream's output as a guide. If the coarse stream identifies a "dog" in a specific region, that information is converted into a soft-attention mask. This mask directs the fine-grained stream to look within that specific bounding box for the sub-category, ensuring the model considers the whole object rather than just a fragment.

3. Dual-Level Memory Module (DLM-FA)

Semi-supervised training can be unstable due to noisy image-level labels. The authors introduce a memory module that stores feature representations and predictions across iterations. This acts as a regularizer, providing a stable "memory" of category characteristics that helps the model ignore batch-specific noise.

Datasets and Evaluation

The researchers evaluated the framework on two massive benchmarks:

  • OpenImages V4: 34 coarse-grained classes with boxes were used to assist in detecting 462 fine-grained classes.
  • ImageNet: The model was tested on a 3,000-class subset and eventually scaled to the full 11,000 class set, using 200 coarse classes as anchors.

Key Results

The semi-supervised approach significantly outperformed traditional weakly-supervised baselines and approached the performance of fully-supervised models at a fraction of the cost.

  • OpenImages: The DLM-FA model achieved 51.9 mAP on fine-grained classes, compared to just 20.2 mAP for the weakly-supervised baseline. A fully-supervised model reached 59.1 mAP, showing the semi-supervised gap is narrow.
  • ImageNet 11K: The model successfully scaled to 11,000 classes, achieving 35.1 mAP on a 3,000-class subset, nearly doubling the 19.9 mAP achieved by YOLO-9000.
Qualitative detection results showing the model's ability to identify multiple fine-grained categories.

Qualitative results demonstrate that the model can successfully distinguish between visually similar species and complex human activities without ever seeing specific bounding boxes for those fine-grained categories during training.

Conclusion

This work demonstrates that "objectness" is a transferable trait. By intelligently choosing a small subset of coarse classes for full annotation, researchers can unlock high-accuracy detection for thousands of additional categories. While the method currently relies on existing hierarchies like WordNet, future work may involve automated discovery of the most "helpful" coarse classes to further optimize annotation efficiency.

Summary updated

BibTeX
@inproceedings{yang2019detecting,
  author = {Hao Yang and Hao Wu and Hao Chen},
  title = {{Detecting 11K Classes: Large Scale Object Detection without Fine-Grained Bounding Boxes}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
}
Figure