Introduction
Vision-Language Retrieval (VLR) is a fundamental task in computer vision and natural language processing, enabling users to search for images using text queries and vice versa. While dual-encoder models like CLIP have achieved remarkable efficiency and performance, they often struggle with fine-grained visual distinctions. Standard models frequently fail to differentiate between visually similar concepts because they lack specific, high-level visual knowledge. For instance, a model might easily distinguish a "beach" from a "forest," but struggle to tell a "camp of tents" apart from a "village."
To address this, researchers have explored augmenting queries with external knowledge. However, traditional sources like WordNet provide conceptual definitions rather than visual ones, which offers little benefit to a vision model. This paper introduces EvdCLIP (Entity Visual Description enhanced CLIP), a framework that leverages Large Language Models (LLMs) to generate detailed visual descriptions and integrates them into search queries using a trainable rewriter.
The EvdCLIP Framework
EvdCLIP operates in two primary phases designed to acquire and then seamlessly integrate visual knowledge into the retrieval process.
1. Offline EVD Generation
The authors first build an offline knowledge base of Entity Visual Descriptions (EVDs). By extracting visual entities from training datasets and prompting LLMs (such as ChatGPT) with specific instructions to focus on physical characteristics—shape, color, and component parts—they generate a library of approximately 10,000 entities. Unlike abstract dictionary definitions, these EVDs describe what an object actually looks like (e.g., describing a "camp of tents" by its "rainfly or tarp" rather than its social function).
2. EVD-aware Rewriter (EaRW)
Simply appending raw LLM descriptions to a query can introduce noise or hallucinations. To solve this, EvdCLIP employs a T5-large model as an EVD-aware Rewriter (EaRW). This module is trained in two steps:
- Warm-up: The rewriter learns to produce augmented queries by using CLIP's similarity scores as pseudo-labels.
- Preference Alignment: The model is further refined using Preference Rank Optimization (PRO), aligning the rewriter's output with the retriever's preferences to maximize image-text similarity scores.
Key Insights and Results
Visual Knowledge vs. Conceptual Knowledge
A core finding of the research is that visual grounding is far more effective than conceptual definitions for VLR. WordNet definitions often fail to improve performance because they do not describe the visual features the encoder is looking for. In contrast, LLM-generated descriptions focused on physical traits allow for much tighter cross-modal alignment.
Performance Benchmarks
EvdCLIP demonstrates consistent improvements across multiple standard benchmarks:
- Flickr30K: Improved Image-to-Text (I2T) R@1 from 89.1% to 90.7%.
- MSCOCO: Improved Text-to-Image (T2I) R@1 from 48.1% to 49.5%.
- Huawei Business Dataset: Achieved significant gains in real-world applications, particularly in the "Wallpaper" category, where R@50 improved by 6.70%.
Model Editability and Bias Correction
One of the most powerful features of EvdCLIP is its "editability." Developers can teach the model new concepts or correct existing biases without retraining the heavy visual encoder. By simply updating the EVD database with a new visual description (e.g., describing traditional Chinese wedding attire to correct a Western-centric bias), the model's retrieval behavior is instantly updated.
Conclusion
EvdCLIP represents a significant step forward in making Vision-Language models more precise and adaptable. By bridging the gap between abstract text and concrete visual features through LLM-generated descriptions, the framework enhances fine-grained retrieval while maintaining the efficiency of dual-encoder architectures. Future work may focus on making the EVD generation process dynamic and extending the framework to video-language tasks.
Summary updated