OLIVE: Object Level In-Context Visual Embeddings
Timothy Ossowski, Junjie Hu
TL;DR
OLIVE tackles the bottleneck of fine-grained object grounding in vision-language models by introducing a lightweight object encoder that encodes objects into a single vector aligned with the language model's space, thus avoiding exhaustive patch-level fusion. It couples this with a region-level retrieval system and code-switch prompts to enable in-context object reasoning across multiple images, enabling rapid adaptation to unseen concepts without retraining. The approach achieves competitive object classification and captioning while demonstrating zero-shot generalization, robustness in challenging contexts, and efficient training and inference. This combination of compact object representations and retrieval-augmented prompting holds practical potential for domain-specific tasks where labeled data is scarce and unseen objects frequently appear.
Abstract
Recent generalist vision-language models (VLMs) have demonstrated impressive reasoning capabilities across diverse multimodal tasks. However, these models still struggle with fine-grained object-level understanding and grounding. In terms of modeling, existing VLMs implicitly align text tokens with image patch tokens, which is ineffective for embedding alignment at the same granularity and inevitably introduces noisy spurious background features. Additionally, these models struggle when generalizing to unseen visual concepts and may not be reliable for domain-specific tasks without further fine-tuning. To address these limitations, we propose a novel method to prompt large language models with in-context visual object vectors, thereby enabling controllable object-level reasoning. This eliminates the necessity of fusing a lengthy array of image patch features and significantly speeds up training. Furthermore, we propose region-level retrieval using our object representations, facilitating rapid adaptation to new objects without additional training. Our experiments reveal that our method achieves competitive referring object classification and captioning performance, while also offering zero-shot generalization and robustness to visually challenging contexts.
