Abstract
Open-vocabulary object detection (OVD) has been studied with Vision-Language Models (VLMs) to detect novel objects beyond the pre-trained categories. Previous approaches improve the generalization ability to expand the knowledge of the detector, using 'positive' pseudo-labels with additional 'class' names, e.g., sock, iPod, and alligator. To extend the previous methods in two aspects, we propose Retrieval-Augmented Losses and visual Features (RALF). Our method retrieves related 'negative' classes and augments loss functions. Also, visual features are augmented with 'verbalized concepts' of classes, e.g., worn on the feet, handheld music player, and sharp teeth. Specifically, RALF consists of two modules: Retrieval Augmented Losses (RAL) and Retrieval-Augmented visual Features (RAF). RAL constitutes two losses reflecting the semantic similarity with negative vocabularies. In addition, RAF augments visual features with the verbalized concepts from a large language model (LLM). Our experiments demonstrate the effectiveness of RALF on COCO and LVIS benchmark datasets. We achieve improvement up to 3.4 box AP${50}^{\text{N}}$ on novel categories of the COCO dataset and 3.6 mask AP${\text{r}}$ gains on the LVIS dataset.
Introduction
Open-Vocabulary Object Detection (OVD) aims to build systems capable of detecting objects not encountered during training. While current methods leverage Vision-Language Models (VLMs) like CLIP to match image regions with positive labels (e.g., "Is this a sock?"), they often overlook critical information. Specifically, they ignore "negative" semantic information—what an object is not—and rely on sparse labels that fail to capture the rich visual attributes of complex objects.
To address these gaps, we introduce RALF (Retrieval-Augmented Losses and visual Features). RALF sharpens decision boundaries by retrieving semantically similar "negative" classes and enriches visual features using "verbalized concepts" generated by Large Language Models (LLMs).
Methodology
The RALF framework consists of two primary components: Retrieval-Augmented Losses (RAL) and Retrieval-Augmented visual Features (RAF).
Retrieval-Augmented visual Features (RAF)
RAF addresses the sparsity of single-word labels by enriching visual features with descriptive attributes. Using an LLM (e.g., GPT-3), we generate "verbalized concepts" for each class—detailed descriptions like "sharp teeth" for an alligator or "worn on the feet" for a sock.
These concepts are stored in a "Concept Store." During inference, a transformer-based "Augmenter" retrieves relevant concepts and fuses them with raw visual features, providing the classifier with a descriptive "cheat sheet" for better categorization of novel objects.
Retrieval-Augmented Losses (RAL)
RAL improves training by introducing a more nuanced loss function. Instead of just training the model to identify the correct class, RAL retrieves "hard negatives" (semantically similar classes like "cat" vs. "jaguar") and "easy negatives" (dissimilar classes). By sampling informative negatives from a large external vocabulary (V3Det), the model learns a more robust and discriminative embedding space.
Experiments and Results
We evaluated RALF on the COCO and LVIS benchmarks, using V3Det as an external vocabulary store for retrieval.
- COCO Benchmark: RALF improved novel category detection by 4.7 $AP^{N}_{50}$ over the Object-Centric-OVD baseline, reaching a state-of-the-art score of 41.3.
- LVIS Benchmark: The method achieved a 3.6 mask $AP_r$ gain on rare categories.
- Generalization: Performance on base categories remained stable, demonstrating that RALF enhances novel object recognition without degrading existing knowledge.
Conclusion
RALF demonstrates that open-vocabulary detection can be significantly improved by leveraging contrastive semantic information and high-level visual descriptions from LLMs. By treating LLMs as "visual consultants," RALF bridges the gap between raw pixels and complex semantics, offering a modular and effective upgrade for existing OVD detectors.
Summary updated