DetCLIP: Dictionary-Enriched Visual-Concept Paralleled Pre-training for Open-world Detection

Lewei Yao, Jianhua Han, Youpeng Wen, Xiaodan Liang, Dan Xu, Wei Zhang, Zhenguo Li, Chunjing Xu, Hang Xu

Abstract

Open-world object detection aims to recognize and localize objects described by arbitrary category names, moving beyond the limitations of fixed-vocabulary detectors. While recent models like GLIP have made strides by treating detection as a phrase-grounding problem, they suffer from computational inefficiencies and semantic gaps due to their sentence-based formulation. This paper introduces DetCLIP, a paralleled visual-concept pre-training framework that leverages a large-scale concept dictionary for knowledge enrichment. By processing concepts in parallel and utilizing external definitions, DetCLIP achieves superior zero-shot performance and training efficiency. Notably, DetCLIP-T outperforms GLIP-T by 9.9% mAP on the LVIS benchmark and shows a 13.5% improvement on rare categories, while being significantly faster in both training and inference.

The Challenge of Open-World Detection

Traditional object detection models are typically "closed-vocabulary," meaning they can only identify a pre-defined set of classes (e.g., the 80 categories in COCO). Open-world detection seeks to overcome this by enabling models to detect any object described by natural language.

The previous state-of-the-art approach, GLIP, reformulated detection as a "phrase grounding" task. In this setup, all possible category names from a dataset are concatenated into a single long sentence, and the model is tasked with aligning image regions to specific phrases within that sentence.

The grounding task involves aligning specific phrases in a caption to bounding boxes in an image.

However, this grounding-centric approach has two major drawbacks:

  1. Computational Inefficiency: The text encoder performs expensive self-attention across all category names in a sentence, even when those names are semantically unrelated (e.g., "person" and "toothbrush").
  2. Semantic Fragmentation: Different datasets often use different labels for the same visual concept (e.g., "cell phone" vs. "mobile phone"). Without external knowledge, models struggle to bridge these semantic gaps.

Methodology: DetCLIP

DetCLIP addresses these issues through three core innovations:

1. Paralleled Concept Formulation

Instead of concatenating categories into a single sentence, DetCLIP extracts individual "concepts" (category names or phrases) and feeds them into the text encoder separately and in parallel. This eliminates unnecessary cross-word interactions, allowing the model to focus on the specific semantics of each concept. This change significantly reduces computational overhead and allows for the inclusion of more detailed descriptions for each concept.

2. Concept Dictionary & Knowledge Enrichment

The authors constructed a massive dictionary of approximately 14,000 concepts sourced from Objects365, YFCC100M, and WordNet. During training, the model is provided with both the concept name and its definition (e.g., "car: a motor vehicle with four wheels..."). This provides a "common ground" that helps the model learn hierarchical relationships and shared visual features across disparate datasets, effectively bridging the gap between different naming conventions.

3. Label Completion

Web-scale image-text pairs often contain "noisy" or incomplete captions. DetCLIP uses its extensive dictionary to "fill in the blanks" by identifying objects in an image that were not mentioned in the original caption. This process creates richer, more complete training data from existing web-scale sources.

Datasets and Evaluation

DetCLIP was pre-trained on a hybrid dataset comprising:

  • Detection Data: Objects365 (0.66M images).
  • Grounding Data: GoldG (0.77M images).
  • Image-Text Pairs: A 1M subset of YFCC100M with pseudo-labels.

Evaluation focused on zero-shot performance on the LVIS dataset (1,203 categories) and a suite of 13 downstream detection datasets from Roboflow.

Key Results

DetCLIP demonstrates a significant leap in both accuracy and efficiency over previous grounding-based models.

  • Zero-Shot Accuracy: On the LVIS minival set, DetCLIP-T achieved 35.9% mAP, a 9.9% improvement over GLIP-T.
  • The Long Tail: The model excels at identifying rare objects, showing a 13.5% improvement on rare classes compared to a fully-supervised baseline with the same backbone.
DetCLIP significantly improves detection performance across both common and rare object classes.
  • Efficiency Gains:
    • Training: DetCLIP-T required only 2.0K GPU hours, a 5x reduction compared to GLIP-T's 10.7K hours.
  • Inference: DetCLIP runs at 2.3 FPS on a V100, nearly 20x faster than GLIP-T (0.12 FPS).

Conclusion

DetCLIP proves that for open-world detection, "less is more" regarding text context. By moving from sentence-based grounding to a paralleled concept formulation enriched by a dictionary, the model achieves state-of-the-art zero-shot performance while being drastically more efficient. The use of explicit definitions acts as a semantic bridge, allowing the model to master the "long tail" of rare objects that traditional detectors often miss.

Summary updated

BibTeX
@inproceedings{yao2022detclip,
  author = {Lewei Yao and Jianhua Han and Youpeng Wen and Xiaodan Liang and Dan Xu and Wei Zhang and Zhenguo Li and Chunjing Xu and Hang Xu},
  title = {{DetCLIP: Dictionary-Enriched Visual-Concept Paralleled Pre-training for Open-world Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=KINjZBM5Bn6},
}
Figure