Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering

Weizhe Lin, Jinghong Chen, Jingbiao Mei, Alexandru Coca, Bill Byrne

TL;DR

Researchers from the University of Cambridge have introduced FLMR (Fine-grained Late-interaction Multi-modal Retrieval), a novel approach that significantly boosts the accuracy of knowledge-based visual question answering. By moving away from "coarse" single-vector retrieval to a token-level "late interaction" mechanism, FLMR achieves a ~61% score on the OK-VQA benchmark, outperforming massive models like Flamingo-80B while being significantly more parameter-efficient.

What Problem Does This Paper Address?

Knowledge-based Visual Question Answering (KB-VQA) is a tough nut to crack. Unlike standard VQA, where the answer is usually visible in the image, KB-VQA requires external knowledge. For example, if you see a picture of a bird and the question is "On what holiday do people traditionally eat this bird?", the system must first identify the bird as a turkey and then retrieve the fact that turkeys are associated with Thanksgiving.

Current state-of-the-art systems use a framework called RA-VQA (Retrieval-Augmented VQA). However, the authors identify two major bottlenecks in how these systems find information:

  1. Incomplete Image Understanding: Most systems convert images into text (captions or object lists) before searching. This "image-to-text" step is lossy and often misses subtle visual cues.
  2. Coarse Retrieval: Standard retrievers (like DPR) squash an entire query or image into a single mathematical vector. This "one-dimensional" approach is often too blunt to capture the fine-grained relevance between a complex visual scene and a specific sentence in a massive knowledge base.

Methods

The authors propose FLMR, which upgrades the retrieval process in three key ways:

  • Multi-modal Querying: Instead of just using text captions, FLMR uses a vision model (like ViT) to produce "visual tokens." These are aligned with the text retriever's latent space using a simple, lightweight mapping network.
  • Late Interaction (The "Secret Sauce"): Inspired by the ColBERT architecture for text, FLMR avoids squashing everything into one vector. Instead, it maintains token-level embeddings for both the query (text + visual tokens) and the documents. It computes the similarity between every pair of tokens and uses a "MaxSim" operation to find the best matches. This allows the model to recognize that a specific "pink nose" in an image matches the word "cat" in a document.
  • Region-of-Interest (ROI) Integration: FLMR doesn't just look at the whole image; it crops specific objects (like the bird in our example) and treats them as additional visual tokens, providing the retriever with high-resolution details.
Figure 1: Overview of RA-VQA-v2. The system consists of two steps: (A) Knowledge Retrieval and (B) Answer Generation. (A.1) A text retriever is used to obtain token-level embeddings of text-based vision (obtained by captioning and object detection) and text documents in the database. (A.2) Visual tokens are obtained from the image and the region-of-interest patches using a vision model and a mapping network. (A.3) Relevance score between the query and the document is computed by aggregating the fine-grained relevance at token level with late interaction mechanism (Eq. 12). (B.1) The answer generator takes the text query, the image, and the retrieved documents as input, generating one candidate answer per retrieved document. (B.2) The answer with the highest joint probability is selected.

Datasets

The primary benchmark for evaluation is OK-VQA (Outside Knowledge VQA). To demonstrate generalizability, the authors also tested on:

  • FVQA: A fact-based VQA dataset.
  • Infoseek: A newer, large-scale KB-VQA dataset.

For the knowledge source, they utilized the Google Search Corpus and a custom Wikipedia Corpus containing over 100,000 passages.

Key Insights and Ideas

  • Visual and Textual Features are Complementary: The authors found that text-based vision (captions) provides high-level semantic context, while feature-based vision (ViT tokens) provides raw, fine-grained detail. Using both together yields the best results.
  • Late Interaction Scales with Detail: In traditional DPR systems, adding more detail (like ROIs) can actually hurt performance by adding "noise" to the single embedding vector. Because FLMR uses late interaction, it actually gets better as you add more ROIs, as it can selectively attend to the most relevant patches.
  • Efficiency over Scale: By improving the retrieval quality, the authors achieved results comparable to the 562-billion-parameter PaLM-E using a much smaller BLIP-2 model (~3B parameters). This suggests that "smarter" retrieval is a viable alternative to simply building bigger models.

Key Results

  • Retrieval Boost: FLMR improved the PRRecall@5 (the probability that a relevant document is in the top 5 results) by approximately 8% over standard DPR baselines.
  • State-of-the-Art Performance: Equipped with a BLIP-2 answer generator, the system achieved a 62.08% VQA score on OK-VQA.
  • Outperforming Giants: This score surpasses the 80-billion-parameter Flamingo model (57.8%) by a significant margin, despite FLMR's generator being roughly 25 times smaller.

Limitations and Future Work

  • Knowledge Coverage: The system is only as good as its knowledge base. The authors note that even with Google Search and Wikipedia, some niche questions remain unanswerable.
  • Retrieval Latency: Late interaction is computationally more expensive than simple dot-product retrieval. While the authors used the PLAID engine to keep speeds "affordable," it still introduces more latency than coarse-grained methods.
  • Multi-modal Documents: While the paper briefly explores retrieving documents that contain both images and text, they admit the gains there were marginal and suggest this as a major area for future research.

Summary updated

BibTeX
@inproceedings{lin2023fine,
  author = {Weizhe Lin and Jinghong Chen and Jingbiao Mei and Alexandru Coca and Bill Byrne},
  title = {{Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=IWWWulAX7g},
}
Figure