Enhancing Visual Question Answering through Question-Driven Image Captions as Prompts

Övgü Özdemir, Erdem AkagündüzWorkshops @ CVPR 2024 · DOI

Introduction

Visual Question Answering (VQA) represents a significant challenge in artificial intelligence, requiring the integration of computer vision, natural language processing, and multi-step reasoning. While native multimodal models like GPT-4V demonstrate impressive capabilities, their high training and alignment costs make modular pipelines an attractive alternative. These pipelines typically use a Vision-Language Model (VLM) to generate a text description of an image, which is then processed by a text-only Large Language Model (LLM) to answer a specific question.

However, a persistent "information bottleneck" exists: general-purpose captions often omit the granular details necessary to answer specific or niche questions. This paper proposes a "question-driven" (QD) approach to bridge this gap by making the captioning process context-aware.

The Proposed Framework

The authors introduce a three-stage pipeline designed for zero-shot VQA, focusing on transferring critical visual evidence into the text domain through targeted descriptions.

Overview of the Question-Driven (QD) captioning pipeline for zero-shot VQA.
  1. Keyword Extraction: The system utilizes KeyBERT to identify the most semantically significant keywords within a user's question.
  2. Question-Driven (QD) Captioning: Rather than requesting a generic description, the VLM (tested with models like CogVLM and BLIP-2) is prompted to describe the scene specifically considering the extracted keywords. This ensures the model's "eyes" focus on relevant visual elements.
  3. LLM Reasoning: The resulting QD caption and the original question are provided to GPT-3.5-turbo, which performs the final reasoning to generate a concise answer.

Experimental Evaluation

The framework was evaluated using the GQA (Genome Question Answering) dataset, specifically the balanced test-dev subset containing over 12,000 questions. GQA is particularly demanding as it emphasizes compositional reasoning and grounded object recognition over simple scene classification.

Key Results

  • Performance Gains: The CogVLM-chat model utilizing QD captions achieved an accuracy of 49.50%, a notable improvement over the 48.06% achieved with generic captions.
  • Category-Specific Success: The QD approach was most effective for "verify" (yes/no) questions (66.83% vs. 63.01%) and "attribute" questions (54.62% vs. 51.75%), where specific visual details are paramount.
  • Reduced Failure Rates: When using general captions, the LLM failed to find an answer in the text 1.7% of the time. With QD captions, this "I don't know" rate dropped significantly to 0.5%.

Discussion and Insights

The study revealed that the captioning model effectively acts as a translator. By providing keywords, the system ensures the reasoning "brain" (the LLM) is not starved of visual evidence. However, this focus comes with a trade-off: a "global penalty" was observed where QD captioning occasionally hindered performance on questions regarding the overall scene context, as the model became too focused on specific details.

Furthermore, while the QD pipeline outperforms other modular approaches like BLIP-2 (42.99%) and FuseCap (41.58%), it still trails behind native multimodal VQA models. This suggests that while text is a robust intermediary, some visual nuances are inevitably lost during the translation from pixels to prose.

Conclusion and Future Work

This research demonstrates that question-driven prompts can significantly enhance the utility of modular VQA systems. By guiding the VLM to look for specific keywords, the information bottleneck of generic captioning is partially mitigated. Future work may involve exploring graph-based models to better represent spatial relationships between objects and upgrading the reasoning component to more advanced models like GPT-4 to further close the performance gap with native multimodal systems.

Summary updated

BibTeX
@inproceedings{ozdemir2024enhancing,
  author = {Övgü Özdemir and Erdem Akagündüz},
  title = {{Enhancing Visual Question Answering through Question-Driven Image Captions as Prompts}},
  booktitle = {Workshops @ CVPR},
  year = {2024},
  doi = {10.1109/cvprw63382.2024.00163},
}
Figure