SearchLVLMs: A Plug-and-Play Framework for Augmenting Large Vision-Language Models by Searching Up-to-Date Internet Knowledge

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

TL;DR

Large Vision-Language Models (LVLMs) struggle with questions requiring up-to-date knowledge because they are static snapshots of information. This paper introduces SearchLVLMs, a plug-and-play framework that augments existing LVLMs by dynamically searching the internet for relevant, current information during inference, significantly improving their ability to answer questions about recent events.

What Problem Does This Paper Address?

Modern LVLMs, like LLaVA or GPT-4V, are trained on massive datasets but are inherently limited by the knowledge cutoff date of their training data. This means they can't answer questions about events or information that emerged after their last training update. For instance, an LVLM released in early 2024 wouldn't know about a movie released in April 2024. While some commercial models offer "internet-augmented generation" (IAG), their internal workings are often proprietary. This paper aims to bridge this knowledge gap by providing an open, plug-and-play framework that allows any LVLM to access and utilize real-time internet knowledge for visual question answering (VQA).

Methods

SearchLVLMs is designed as a modular framework with four key components:

  1. Query Generator: This component takes a visual question and an image as input and generates effective search queries. It uses LLMs to extract relevant keywords from the question and Bing Visual Search to identify entities within the image.
  2. Search Engine: Standard search engines (like Google or Bing) are used to retrieve relevant websites based on the generated queries.
  3. Hierarchical Filtering Model: This is the core innovation. Since raw search results can be noisy and too long for LVLMs to process efficiently, a two-stage filtering process is employed:
  4. Website Filter: This model ranks websites based on their titles and snippets, selecting the most promising ones. It's trained using a quantitative usefulness score for websites.
  5. Content Filter: This model further refines the content from the selected websites by identifying and extracting the most relevant text segments that directly help answer the question.
  6. Diversity Selection: To prevent repetitive or redundant information from overwhelming the LVLM, a diversity selection mechanism is used to ensure the final retrieved content is varied.
  7. Augmented Generation: The filtered and relevant content is then provided as context to the original LVLM, enabling it to answer the visual question with up-to-date knowledge.

Datasets

The authors introduce a new benchmark dataset called UDK-VQA (Up-to-Date Knowledge VQA). This dataset is automatically generated by:

  • Scraping news articles based on trending search terms from Google Daily Search Trends and manually collected popular search terms.
  • Segmenting the news content and using GPT-3.5 to generate question-answer pairs.
  • Assigning images related to entities in the questions to create VQA samples.

The dataset is designed to specifically test LVLMs' ability to handle questions requiring recent information. They also evaluate their framework on existing datasets like GQA, InfoSeek, and A-OKVQA to demonstrate its generalizability.

Key Insights and Ideas

  • The Static Nature of LVLMs is a Major Bottleneck: The paper clearly demonstrates that even powerful LVLMs are severely limited by their training data's knowledge cutoff.
  • Hierarchical Filtering is Crucial for Efficiency: Simply feeding raw search results to LVLMs is impractical due to context length limitations and computational cost. The proposed hierarchical filtering model effectively distills relevant information.
  • Diversity Matters: Simply picking the "top-K" most relevant content segments can lead to redundancy and hinder performance. A diversity selection mechanism is essential for better results.
  • Plug-and-Play is Key: The framework is designed to be easily integrated with existing LVLMs without requiring extensive fine-tuning of the base model, making it broadly applicable.

Key Results

  • SearchLVLMs significantly improves the performance of various LVLMs on the UDK-VQA dataset.
  • When integrated with LLaVA-1.6, the framework outperforms GPT-4o by approximately 30% in accuracy on the UDK-VQA test set.
  • The framework consistently improves the accuracy of baselines across different categories of questions within the UDK-VQA dataset.
  • Ablation studies confirm the effectiveness of each component of the SearchLVLMs framework, including the query generator and the hierarchical filtering model.

Limitations and Future Work

  • Data Freshness: While the framework accesses up-to-date knowledge, there's a slight delay between when news is published and when it's scraped and processed.
  • Dataset Bias: The UDK-VQA dataset, while comprehensive, might have biases in entity distribution compared to real-world scenarios, leading to a slight decrease in improvement on newer, more diverse test sets.
  • Computational Cost: While more efficient than retraining, the search and filtering process still incurs computational overhead.
  • Future Work: The authors suggest exploring more advanced query generation strategies, improving the efficiency of the filtering process, and expanding the dataset to cover a wider range of knowledge domains. They also plan to investigate how to jointly train the hierarchical filtering model with LVLMs for potentially greater gains.

Summary updated

BibTeX
@inproceedings{li2024searchlvlms,
  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 = {{SearchLVLMs: A Plug-and-Play Framework for Augmenting Large Vision-Language Models by Searching Up-to-Date Internet Knowledge}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=i5qk1B1whL},
}
Figure