[Paper Review] Detecting Twenty-thousand Classes using Image-level Supervision
Detic proposes a simple yet effective method to train object detectors for up to 21,000 classes using only image-level labels from large-scale datasets like ImageNet-21K, by decoupling classification from localization and applying image-level supervision exclusively to the largest proposal per image. This approach achieves state-of-the-art performance on open-vocabulary and long-tail detection benchmarks, improving mAP by 8.3 points on novel classes in LVIS and closing the performance gap between rare and common classes.
Current object detectors are limited in vocabulary size due to the small scale of detection datasets. Image classifiers, on the other hand, reason about much larger vocabularies, as their datasets are larger and easier to collect. We propose Detic, which simply trains the classifiers of a detector on image classification data and thus expands the vocabulary of detectors to tens of thousands of concepts. Unlike prior work, Detic does not need complex assignment schemes to assign image labels to boxes based on model predictions, making it much easier to implement and compatible with a range of detection architectures and backbones. Our results show that Detic yields excellent detectors even for classes without box annotations. It outperforms prior work on both open-vocabulary and long-tail detection benchmarks. Detic provides a gain of 2.4 mAP for all classes and 8.3 mAP for novel classes on the open-vocabulary LVIS benchmark. On the standard LVIS benchmark, Detic obtains 41.7 mAP when evaluated on all classes, or only rare classes, hence closing the gap in performance for object categories with few samples. For the first time, we train a detector with all the twenty-one-thousand classes of the ImageNet dataset and show that it generalizes to new datasets without finetuning. Code is available at \url{https://github.com/facebookresearch/Detic}.
Motivation & Objective
- To address the limited vocabulary size in object detection due to scarcity of bounding box annotations for rare or long-tail classes.
- To enable detection models to generalize to tens of thousands of classes without requiring box annotations for each class.
- To simplify weakly supervised detection by decoupling classification from localization, avoiding complex prediction-based label assignment.
- To improve performance on rare and novel classes by leveraging large-scale image classification data.
Proposed method
- Detic trains a detector using standard box-level annotations for base classes and image-level labels from large-scale datasets like ImageNet-21K for all classes.
- It applies a classification loss only to the largest proposal per image, bypassing the need for complex label-to-box assignment schemes.
- The method decouples localization (trained with box supervision) from classification (trained with image-level supervision), enabling scalable vocabulary expansion.
- It uses a shared backbone and head across detection and classification heads, with the classifier head pre-trained on image classification data.
- The approach is compatible with various detection architectures (e.g., Mask R-CNN, DETR) and backbones (e.g., Swin-B, ResNeXt).
- Co-training with image-level data improves both feature and classifier learning, orthogonal to pretraining advances.
Experimental results
Research questions
- RQ1Can image-level supervision from large-scale datasets like ImageNet-21K significantly improve detection performance on rare and novel classes without box annotations?
- RQ2Does a simple, non-prediction-based label assignment strategy (e.g., assigning all image labels to the largest proposal) outperform complex assignment schemes in weakly supervised detection?
- RQ3Can a detector trained on 21,000 classes generalize to new datasets with disjoint label spaces without fine-tuning?
- RQ4How does Detic’s performance compare to fully supervised baselines and prior weakly supervised methods on open-vocabulary and standard LVIS benchmarks?
Key findings
- Detic achieves 41.7 mAP and 41.7 mAP<sub>rare</sub> on the standard LVIS benchmark, closing the performance gap between rare and common classes.
- On the open-vocabulary LVIS benchmark, Detic improves mAP by 2.4 points on all classes and 8.3 points on novel classes over a strong box-supervised baseline.
- With ImageNet-21K image-level supervision, Detic matches the performance upper bound of full annotation training, achieving 24.9 mAP<sub>novel</sub> on novel classes.
- Detic generalizes to new datasets without fine-tuning, achieving 21.5 mAP on Objects365 and 55.2 mAP<sub>50</sub> on OpenImages.
- The method is robust across different backbones and classifiers, including CLIP, FastText, and random-initial classifiers, with consistent gains.
- Co-training with image-level data provides consistent improvements regardless of pretraining data, indicating orthogonal gains to pretraining.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.