Introduction
Standard object detection systems are typically restricted to a fixed set of categories defined during training. This "closed-vocabulary" constraint limits their utility in real-world scenarios where users may need to identify an arbitrary range of objects. Open-Vocabulary Object Detection (OVOD) addresses this by enabling models to detect novel categories at inference time.
While recent advancements in Vision-Language Models (VLMs) like CLIP have provided a foundation for OVOD, most current methods rely on simple class names to generate classifiers. This approach suffers from significant drawbacks: lexical ambiguity (e.g., "nail" as a fastener vs. a fingernail), a lack of descriptive visual detail for rare classes, and a reliance on the user's ability to provide the correct label. This paper proposes a more robust framework by constructing multi-modal classifiers that leverage both rich natural language descriptions from Large Language Models (LLMs) and visual information from image exemplars.
Methodology
The authors utilize a two-stage detector architecture based on CenterNet2 with a ResNet-50 backbone, following the Detic framework. The core innovation lies in how the final classification layer is constructed for novel categories.
1. Text-based Classifiers via LLMs
Instead of using a single prompt like "a photo of a [class name]," the researchers query an LLM (GPT-3) to generate ten detailed visual descriptions for each category. For example, instead of just "dalmatian," the model receives descriptions of its white coat, black spots, and athletic build. These descriptions are encoded using a frozen CLIP text encoder and averaged to create a high-dimensional, descriptive text classifier. This method effectively uses the LLM as a "visual consultant" to provide the detector with discriminative attributes.
2. Vision-based Classifiers via Visual Aggregation
To incorporate visual examples, the model uses a set of $K$ image exemplars. Rather than simply averaging the CLIP embeddings of these images—which can be noisy—the authors propose a Visual Aggregator. This component consists of a stack of Transformer blocks trained with a contrastive InfoNCE loss on ImageNet-21k. The aggregator learns to attend to the most relevant visual features across the exemplar set, filtering out background noise and focusing on the object of interest.
3. Multi-Modal Fusion
The final classifier is a fusion of the text and visual streams. By $l_2$-normalizing the respective embeddings and summing them, the model benefits from the general conceptual knowledge of the LLM and the specific visual nuances captured by the image exemplars.
Experimental Results
The proposed method was evaluated primarily on the LVIS dataset, which is known for its long-tailed distribution and 1,203 distinct categories.
Performance on Rare Classes
The text-based classifier alone achieved 19.3 AP on rare categories (APr), surpassing the previous state-of-the-art F-VLM (18.6 AP) and the Detic baseline (16.3 AP). When the multi-modal approach was employed using additional image-level data from ImageNet-21k, the performance jumped to 27.3 APr. Notably, this open-vocabulary model outperformed a fully-supervised version of the same detector (25.5 APr), demonstrating the power of combining LLM knowledge with visual exemplars.
Cross-Dataset Generalization
To test the model's robustness, it was evaluated on the Objects365 dataset after being trained on LVIS. The text-based model outperformed the baseline by nearly 1.0 mAP, suggesting that the detailed descriptions provided by the LLM help the model generalize to different labeling conventions and vocabularies.
Discussion and Insights
The research highlights several key insights:
- Complementarity: Text and images provide distinct advantages. Text excels at defining general attributes and concepts, while images capture visual details that are difficult to articulate.
- Learned Aggregation: The Transformer-based visual aggregator significantly outperformed simple mean-pooling (a 3.5 AP gain on rare classes), proving that how we combine visual examples is as important as the examples themselves.
- LLM Knowledge: LLMs contain a wealth of implicit visual knowledge that can be successfully extracted to guide computer vision tasks.
Limitations and Future Work
Despite its success, the framework has limitations. The visual aggregator is currently trained offline and remains frozen during the detector's training phase; end-to-end training could potentially improve performance. Additionally, the reliance on multiple image exemplars and LLM queries increases the computational footprint, though the authors suggest that these classifiers can be pre-computed for known vocabularies. Future research may explore more sophisticated fusion techniques and methods to resolve contradictions between textual descriptions and visual examples.
Conclusion
By moving beyond simple class names and embracing the richness of multi-modal data, this work sets a new standard for Open-Vocabulary Object Detection. The integration of LLM-generated descriptions and learned visual aggregation allows for more precise and flexible object detection, bridging the gap between human-level conceptual understanding and machine vision.
Summary updated