Abstract
Traditional Vision-Language Pre-training (VLP) models operate as "closed-book" learners, relying on the implicit memorization of world knowledge within their parameters. This approach is inherently inefficient, requiring massive datasets to capture the nuances of the physical world. We present REAVL (REtrieval-based knowledge Augmented Vision Language), a framework that provides models with an "open-book" advantage. By retrieving relevant 2-hop subgraphs from large-scale Knowledge Graphs (KGs) using both visual patches and text, REAVL achieves state-of-the-art performance on knowledge-intensive tasks like OK-VQA while using significantly less data than massive scale-up models.
Introduction
Standard VLP models, such as BLIP or ALBEF, learn to associate images with text by processing millions of pairs. However, their ability to reason about specific entities—such as identifying a particular landmark or understanding the seasonal blooming patterns of a flower—is limited by what they have explicitly memorized during training. This leads to two primary challenges: extreme data inefficiency and persistent knowledge gaps where visual cues are not explicitly named in accompanying captions.
REAVL addresses these limitations by explicitly linking visual and textual features to external world knowledge during the pre-training phase. Instead of forcing the model to memorize every fact, REAVL teaches the model how to look up and reason over structured knowledge.
Methodology
The Knowledge Retriever
Unlike previous knowledge-augmented models that rely solely on text-based entity linking, REAVL utilizes a visual-centric retrieval mechanism. It employs a CLIP-based backbone to map image regions directly to entity descriptions within a Knowledge Graph (specifically Wikidata5M).
Rather than retrieving a single isolated entity, the system extracts a 2-hop subgraph. This provides the model with a rich neighborhood of relational context (e.g., connecting a "Wetsuit" to the activity of "Surfing"). This relational structure is vital for tasks requiring multi-step reasoning.
Architecture and Fusion
REAVL utilizes a multimodal transformer architecture that fuses three distinct information streams:
- Visual Features: Extracted from image patches.
- Textual Features: Derived from the input query or caption.
- Knowledge Embeddings: Representing the retrieved KG subgraphs.
Knowledge-Aware Self-Supervised Learning
To effectively integrate these streams, the authors propose four training objectives:
- Knowledge-Masked Language/Vision Modeling (K-MLM & K-MVM): The model must fill in masked text or visual tokens by leveraging the retrieved external knowledge.
- Knowledge-Image-Text Contrastive Loss (K-ITC): Aligns the representations across all three modalities.
- Link Prediction (LinkPred): A novel task for VLP where the model predicts missing edges within the retrieved KG subgraph. This forces the transformer to understand the underlying logic and structure of the knowledge graph rather than treating entity embeddings as simple feature vectors.
Experimental Setup
REAVL was pre-trained on a combination of Conceptual Captions, SBU Captions, COCO, and Visual Genome, totaling approximately 5.1 million image-text pairs. The external knowledge base used was Wikidata5M, which contains 4 million nodes and 20 million edges.
Evaluation spanned several categories, including knowledge-based VQA (OK-VQA, AOK-VQA), general vision-language tasks (VQA-v2, SNLI-VE), and multimodal entity linking (WikiDiverse).
Key Insights and Results
State-of-the-Art Performance
REAVL achieved a new state-of-the-art on OK-VQA with 57.7% accuracy, surpassing previous leaders like REVIVE (56.6%) and BLIP (55.4%). This performance is particularly notable because OK-VQA specifically targets questions that cannot be answered by the image alone and require outside knowledge.
Massive Sample Efficiency
One of the most striking findings is REAVL's efficiency. The model remains competitive with SimVLM, a model trained on 1.8 billion images—roughly 500x more data than REAVL. This suggests that providing explicit access to structured knowledge is a powerful shortcut, reducing the need for the "brute-force" memorization typical of larger models.
The Power of Visual Retrieval
The research demonstrates that retrieving knowledge based on visual patches is often more effective than text-only retrieval. Captions often omit "obvious" or background entities that are nonetheless crucial for deep scene understanding. By "looking" at the image to query the KG, REAVL captures these silent entities.
Limitations
While highly effective, the retrieval process introduces computational overhead. Inference latency is approximately 2.0 seconds per sample compared to 1.8 seconds for "closed-book" models like BLIP. Additionally, the current knowledge index is static; future iterations could benefit from an asynchronous index that updates as the model learns.
Conclusion
REAVL represents a significant shift in Vision-Language Pre-training, moving from implicit memorization to explicit knowledge retrieval. By grounding visual and textual representations in a structured knowledge graph, REAVL achieves superior performance on complex reasoning tasks with a fraction of the data required by traditional large-scale models. This "open-book" approach paves the way for more efficient and knowledgeable multimodal AI systems.
Summary updated