UDKAG: Augmenting Large Vision-Language Models with Up-to-Date Knowledge

Chuanhao Li, Zhen Li, Chenchen Jing, Shuo Liu, Wenqi Shao, Yuwei Wu, Ping Luo, Yu Qiao, Kaipeng Zhang

Abstract

Large vision-language models (LVLMs) are ignorant of up-to-date knowledge because they cannot be updated frequently due to the large amount of resources required. For example, a model released in January 2024 would not know the singer of a theme song for a movie released in April 2024. To solve this, we propose SearchLVLMs, a plug-and-play framework for augmenting existing LVLMs with internet search during inference. A hierarchical filtering model is trained to effectively find the most helpful content from search results to prompt LVLMs. We also introduce UDK-VQA, a dataset of news-related VQA samples. Experimental results demonstrate that our framework outperforms GPT-4V by about 25% in accuracy.

Introduction

State-of-the-art Large Vision-Language Models (LVLMs) like LLaVA and GPT-4V possess impressive reasoning capabilities but are constrained by a "knowledge cutoff." Training these models is computationally expensive, making frequent updates impractical. Consequently, these "frozen" models fail or hallucinate when queried about recent events or emerging entities. While some commercial models integrate Internet-Augmented Generation (IAG), the underlying mechanisms for selecting and processing web content remain opaque. SearchLVLMs addresses this by providing a transparent, modular framework to bridge the gap between static model weights and the dynamic real-world information landscape.

The SearchLVLMs Framework

The SearchLVLMs framework operates as a four-stage pipeline that can be integrated with any existing LVLM without requiring additional fine-tuning of the base model.

Figure 1: The SearchLVLMs framework uses a hierarchical filtering model to provide up-to-date knowledge to frozen LVLMs.
  1. Query Generation: The system uses an LLM to generate text-based search queries. To handle visual entities unknown to the base model, it leverages Bing Visual Search to identify specific objects or people in the image.
  2. Search & Parsing: Queries are sent to search engines (Google/Bing). The system parses the full text of the resulting websites to move beyond the limited information provided in search snippets.
  3. Hierarchical Filtering Model: This core component manages the "noise" of the internet. It first employs a Website Filter to rank pages by relevance, followed by a Content Filter that segments the text and selects only the most informative sentences. This prevents the LVLM from being overwhelmed by irrelevant data.
  4. Diversity Selection: Using CLIP embeddings, the system clusters the filtered segments to ensure the final context provided to the LVLM is both diverse and concise, avoiding redundancy from multiple news sources.

The UDK-VQA Dataset

To evaluate the framework's ability to handle temporal knowledge, the authors developed the UDK-VQA (Up-to-Date Knowledge VQA) dataset. This dataset consists of 1,000 test samples focused on news and events from April 2024.

Figure 3: Examples from the UDK-VQA dataset and the distribution of topics across categories like sports, entertainment, and politics.

The dataset was constructed using an automated pipeline that monitors Google Daily Search Trends. GPT-3.5 was used to generate question-answer pairs based on trending topics, which were then paired with relevant images. As shown in the category distribution, the dataset covers a wide range of real-world domains, with significant portions dedicated to sports (37%), entertainment (26%), and politics (13%).

Experimental Results

The effectiveness of SearchLVLMs was validated across 15 different LVLMs. On the UDK-VQA benchmark, the framework enabled LLaVA-1.6 to reach 90.2% accuracy, a dramatic increase from its baseline of 31.8%. Notably, this performance exceeds the internet-augmented capabilities of GPT-4V, which achieved approximately 65% accuracy on the same set.

A key finding was the efficiency of the hierarchical filter. The researchers observed that providing the top 40% of retrieved tokens yielded nearly the same accuracy as providing the entire text, suggesting that intelligent filtering is more effective than simply increasing the context window. Furthermore, keeping the LVLM "frozen" while training only the filtering model preserved the model's original reasoning capabilities better than joint training approaches.

Conclusion

SearchLVLMs provides a robust, open-source solution for the knowledge cutoff problem in vision-language models. By combining visual search with a sophisticated hierarchical filtering mechanism, it allows even modest open-source models to outperform industry leaders on tasks requiring real-time information. Future work will focus on reducing the latency of the retrieval pipeline and improving the synthesis of contradictory information from multiple web sources.

Summary updated

BibTeX
@inproceedings{li2024udkag,
  author = {Chuanhao Li and Zhen Li and Chenchen Jing and Shuo Liu and Wenqi Shao and Yuwei Wu and Ping Luo and Yu Qiao and Kaipeng Zhang},
  title = {{UDKAG: Augmenting Large Vision-Language Models with Up-to-Date Knowledge}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=i5qk1B1whL},
}
Figure