Visual Abstraction (VISA) is a plug-and-play, test-time approach that significantly boosts text-to-visual retrieval by converting images and videos into dense textual descriptions. By using off-the-shelf large multimodal models to "abstract" visual content into text, VISA filters out irrelevant visual noise and uses a targeted question-answering process to match the specific level of detail requested by a user's query.
The Challenge of Visual Retrieval
Traditional Vision-Language Models (VLMs) like CLIP have revolutionized retrieval, but they suffer from two major "mismatches" when connecting text to visual data:
- Semantic Redundancy: VLMs often look at images globally. If you search for "cars in snow," the model might get distracted by the texture of tree branches or tire tracks (low-level features) rather than focusing on the high-level concept of the cars themselves.
- Granularity Mismatch: An image is "worth a thousand words," but web-crawled training captions are usually brief. If a user provides a highly detailed query (e.g., "a woman in a green jacket and red hat skiing"), a standard VLM might only have "learned" the general action of skiing, failing to capture the fine-grained attributes needed for a precise match.
Existing solutions usually involve retraining models from scratch on better data—a massive and expensive undertaking. VISA tackles this at inference time without any additional training.
The VISA Approach
VISA operates as a re-ranking module that transforms the retrieval task from a cross-modal problem (text-to-image) into a uni-modal one (text-to-text). The pipeline follows three main steps:
- Initial Filtering: A standard VLM (like CLIP or SigLIP) performs an initial pass to find the "Top-K" most relevant candidates from a large gallery.
- Visual Abstraction: For these top candidates, VISA generates a "Visual Abstraction" consisting of:
- General Description: An off-the-shelf Large Multimodal Model (LMM) like LLaVA generates a long-form, detailed caption. This naturally filters out "sparse" visual noise in favor of "dense" semantic concepts.
- QA-Based Refinement: To ensure the description matches the user's specific detail level, an LLM extracts key phrases from the query and generates targeted questions (e.g., "What is the person wearing?"). The LMM then answers these questions based on the image.
- Text-Level Re-ranking: The original query and the newly generated "Visual Abstraction" are compared using a high-performance text retriever (like Gemma2). The final ranking is a combination of the initial VLM score and this new text-similarity score.
Key Insights
- Text as a Filter: The core insight of VISA is that natural language acts as an excellent "compressor" for visual information. By forcing the model to describe the scene in words, the system ignores irrelevant pixel-level details (like snow texture) that often confuse standard cross-modal encoders.
- The Power of QA: Simply generating a caption isn't enough because a generic caption might miss the specific detail a user cares about. By using a Chain-of-Thought (CoT) approach to generate and answer query-specific questions, VISA ensures the "abstraction" is perfectly aligned with the user's intent.
- Plug-and-Play: Because it uses off-the-shelf models (LLaVA, Qwen, Gemma) and requires no training, it can be dropped into almost any existing retrieval system to provide an immediate performance boost.
Evaluation and Results
The authors evaluated VISA across ten diverse datasets to prove its versatility, covering Image Retrieval (MS-COCO, Flickr30K), Video Retrieval (MSR-VTT, LSMDC, DiDeMo, MSVD), and Long-Context Retrieval (DCI, IIW, Urban-1k, ShareGPT4v).
VISA demonstrated consistent, substantial improvements over state-of-the-art baselines:
- Long-Context Mastery: On the DCI dataset, which features complex, paragraph-length queries, VISA improved the R@1 (Recall at rank 1) by a staggering 12.1%.
- Image Retrieval: Applying VISA to SigLIP boosted R@1 on MS-COCO from 54.2% to 57.2%.
- Video Retrieval: On the DiDeMo dataset, it improved InternVideo2’s performance by 8.9%.
- Efficiency vs. Scale: Interestingly, the authors found that a smaller model enhanced by VISA often outperformed much larger models that didn't use the abstraction strategy, proving that how you process the information is as important as the raw parameter count.
Limitations and Future Work
While highly effective, VISA has a few limitations. Running LMMs and LLMs at test time introduces computational latency, making it significantly slower than a simple CLIP dot-product. While using lightweight retrievers (like stella-435M) helps, the "Top-K" re-ranking approach remains resource-intensive. Additionally, because VISA relies on LMMs to generate text, it is susceptible to hallucinations—describing objects that aren't actually in the image. The authors mitigate this with specific prompts (e.g., instructing the model to say "Uncertain"), but it remains an inherent challenge.
Looking forward, the authors suggest this "visual-to-text abstraction" framework could be extended to other complex multimodal tasks, such as video grounding or composed image retrieval.
Summary updated