Multimodal Reranking for Knowledge-Intensive Visual Question Answering

Haoyang Wen, Honglei Zhuang, Hamed Zamani, Alexander Hauptmann, Michael BenderskyarXiv 2024 · DOI

Introduction

Knowledge-Intensive Visual Question Answering (KI-VQA) represents a significant challenge in computer vision and natural language processing. Unlike standard VQA, which might ask about the color of an object, KI-VQA requires models to answer questions that cannot be solved by visual inspection alone. For example, identifying the specific US city associated with a particular style of pizza requires retrieving and reasoning over external knowledge sources like Wikipedia.

Current KI-VQA pipelines typically rely on a retrieval-then-generation approach. However, these systems often suffer from two primary flaws. First, local information bias occurs when retrievers focus on small image patches (like a single topping) rather than the holistic context of the question. Second, architectural limitations in common "two-tower" retrievers prevent "cross-item interaction," where the model compares the nuances of the question and the knowledge candidate simultaneously to determine true relevance.

The Three-Stage Framework

To address these limitations, this research proposes a robust three-stage framework: Retrieval → Reranking → Answer Generation.

Overview of the proposed KI-VQA framework consisting of retrieval, reranking, and answer generation stages.
  1. Retrieval: The system uses a dual-encoder model (ALIGN) to perform initial image-text retrieval from the Wikipedia-Based Image Text (WIT) dataset.
  2. Multimodal Reranking: This is the core innovation. The top candidates from the retriever are passed through a multimodal reranker based on the PaLI-3b model. Unlike the initial retriever, the reranker processes the question (image + text) and the candidate (image + text) together using a Transformer encoder-decoder. This allows for complex cross-encoding to output a precise relevance score.
  3. Answer Generation: An encoder-decoder model reasons over the reranked top candidates to produce the final answer. To train this without explicit relevance labels, the authors used distant supervision, labeling a candidate as relevant if the ground-truth answer appeared within its text.

Key Insights: Cross-Item Interaction and Training Discrepancies

A critical finding of the study is that cross-item interaction is essential for complex reasoning. The ability to look at all inputs simultaneously far outperforms simple vector similarity.

Furthermore, the researchers discovered a counter-intuitive training-testing discrepancy. They found that training the answer generator on "perfect" reranked data actually made the model brittle. The most robust performance was achieved by training the generator on noisier, initial retrieval results while applying the high-precision reranker only during the inference (test) phase. This ensures the generator learns to handle the inherent noise of external knowledge sources.

Results and State-of-the-Art Performance

The proposed model achieved state-of-the-art results on the OK-VQA and A-OKVQA benchmarks, significantly outperforming both specialized systems and massive zero-shot multimodal models.

Comparison of VQA accuracy on the OK-VQA benchmark against existing state-of-the-art methods.

As shown in the results, the model reached 52.6% accuracy on OK-VQA, surpassing larger models like Flamingo-80b (50.6%) and BLIP-2 (45.9%). When combined with GPT-3 generated candidates, the accuracy further improved to 57.2%. Notably, the authors demonstrated an "Oracle" potential of 64.4% accuracy if reranking were perfect, indicating that improving the retrieval/reranking pipeline is the most effective path forward for KI-VQA.

Conclusion

By specializing a 3-billion parameter model for multimodal reranking, this framework demonstrates that architectural sophistication and cross-item interaction can outperform sheer scale. While the computational cost of processing every question-candidate pair through a large Transformer remains a challenge for real-time scaling, the significant boost in accuracy sets a new standard for knowledge-intensive visual reasoning.

Summary updated

BibTeX
@misc{wen2024multimodal,
  author = {Haoyang Wen and Honglei Zhuang and Hamed Zamani and Alexander Hauptmann and Michael Bendersky},
  title = {{Multimodal Reranking for Knowledge-Intensive Visual Question Answering}},
  year = {2024},
  eprint = {2407.12277},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.12277},
}
Figure