Introduction: The Distractor Problem in Open-Vocabulary Detection
Open-vocabulary object detection (OvOD) has revolutionized the field by allowing models to detect arbitrary objects defined by natural language descriptions. By leveraging vision-language embeddings like CLIP, these models can move beyond fixed category sets. However, a significant bottleneck remains: the "distractor" problem. When presented with a broad vocabulary, detectors often struggle with visually similar but contextually inappropriate classes. For instance, a model might misidentify a "Curling Stone" as a "Teapot" due to shared geometric features, failing to account for the global scene context (e.g., an ice rink).
The VocAda Framework
To address this, we introduce VocAda (Vocabulary Adapter), a training-free, plug-and-play module designed to filter detection vocabularies at test-time. VocAda uses Vision-Language Models (VLMs) to provide the necessary scene context that local detectors lack.
The pipeline consists of three primary components:
- Image Captioner (IC): Utilizing LLaVA-Next-7B, the system generates a detailed description of the scene, specifically prompted to identify both primary foreground objects and secondary background elements.
- Noun Extractor (NE): A spaCy-based natural language processing tool parses these captions to extract relevant noun phrases.
- Class Selector (CS): This core component maps extracted nouns back to the user-defined vocabulary. Two variants are proposed: VocAda-CLIP, which uses embedding similarity, and VocAda-LLM, which employs Llama3-8B to reason about class relevance based on the full scene description.
By passing only a filtered "adapted vocabulary" to the detector, VocAda significantly reduces the search space and eliminates potential distractors.
Experimental Results
VocAda was evaluated on the COCO and Objects365 benchmarks across multiple detector architectures (Detic, VLDet, CoDet).
- Quantitative Performance: VocAda-LLM achieved an average gain of +3.3 AP for novel classes on COCO. On Objects365, it improved Detic’s performance by +2.2 AP.
- The Oracle Gap: Experiments with an "Oracle" filter (using ground-truth categories) showed potential gains of up to +19.3 AP, highlighting that vocabulary noise is indeed a primary performance bottleneck.
- Qualitative Success: The system effectively prevents "hallucinations." For example, it can distinguish between a "Baseball Bat" and a "Bat (animal)" by recognizing the context of a sports field in the generated caption.
Discussion and Limitations
While VocAda provides substantial accuracy improvements without requiring additional training, it introduces computational overhead. The full VocAda-LLM pipeline increases inference time from ~0.1s to ~10.7s per image and requires significant VRAM (~31 GB). Future work will focus on optimizing these components using smaller VLMs and deployment frameworks like TensorRT to make the system more viable for real-time applications.
Summary updated