Exploring Question Decomposition for Zero-Shot VQA

Zaid Khan, Vijay Kumar b g, Samuel Schulter, Manmohan Chandraker, Yun Fu

Introduction

Visual Question Answering (VQA) models typically expend the same computational effort on every question, regardless of its complexity. Unlike humans, who naturally break down complex problems into simpler steps, standard VQA models get one shot to answer an image-based query. This means simple perceptual queries (e.g., "Is the sky blue?") and complex reasoning queries (e.g., "Does this animal pose a threat to me?") are treated with the exact same computational effort.

While Large Language Models (LLMs) have benefited immensely from task decomposition techniques like Chain-of-Thought prompting, VQA has lagged behind. Historically, vision-language models (VLMs) were too small to effectively utilize these techniques, and prompting strategies usually focused on providing more image context rather than breaking down the reasoning process. This paper explores whether modern, multi-billion parameter VLMs can leverage a two-step reasoning approach, and investigates if forcing a model to break down every question is actually beneficial.

Methodology: Selective Decomposition

The authors propose a training-free, in-context learning approach that treats VQA as a two-step process involving two distinct roles (which can be played by the same or different models):

  1. The Decomposer: A language model that looks at the main question and generates a simpler, related sub-question.
  2. The Recomposer: A VQA model that answers the sub-question, and then uses both the sub-question and its answer as extra context to solve the main question.

Crucially, the authors discovered that applying this pipeline to every single question actually degrades overall performance. To address this, they introduce Selective Decomposition. In this setup, the Recomposer first attempts to answer the main question. If its confidence (probability score) falls below a specific threshold ($\tau$), it triggers the decomposition pipeline to "second-guess" itself. If it is highly confident, it skips decomposition and sticks with its initial answer.

Examples of question decomposition correcting initial VQA predictions across various domains.

Experimental Setup

The researchers evaluated their approach in a zero-shot setting across eight datasets spanning three distinct domains:

  • Natural Images: A-OKVQA, OK-VQA (requires external knowledge).
  • Specialized Domains: ArtVQA (art), SLAKE, VQA-Rad, PathVQA (medical).
  • Compositionality: Winoground (a notoriously difficult benchmark testing visio-linguistic compositionality, reformulated here as a yes/no VQA task).
  • VQA-Introspect: Used primarily to test if models could utilize "oracle" (human-written) decompositions.

Key Findings and Results

  • Logic Over Keyword Matching: By scrambling the words in human-written sub-questions, the authors proved that models rely on the logical structure of the decomposition to arrive at the right answer, rather than just exploiting surface-level word statistics.
  • Decomposition is a Linguistic Skill: Surprisingly, text-only LLMs (like FLAN-T5) were highly effective at generating visual sub-questions without even seeing the image. They performed nearly as well as multimodal VLMs at the Decomposer role.
  • The "Second-Guessing" Problem: Naively decomposing every question hurts performance. For easy questions, forcing a decomposition often causes the model to hallucinate misleading sub-questions, flipping initially correct answers to incorrect ones.
  • Domain-Specific Gains: Selective decomposition yields much higher net gains on specialized domains (like medical or art) where the model's baseline understanding is poorer. This mirrors human behavior: we deliberate and break down problems more often when we are in unfamiliar territory.
  • Massive Medical Improvements: The approach yielded >20% accuracy improvements on medical VQA datasets (SLAKE, VQA-Rad, PathVQA).
  • Beating Chance on Winoground: Standard BLIP-2 (13B) performs below random chance on the Winoground dataset. Using selective decomposition (with a tiny 80M parameter FLAN-T5 as the decomposer), BLIP-2's performance was boosted to significantly above chance (+18%), correcting over 30% of its initially wrong answers.

Limitations and Future Directions

The authors acknowledge a few limitations in their current approach. First, they only explored a "depth of 1" for decomposition—meaning the model only asks a single sub-question. Extending this to multi-step, open-ended reasoning chains remains unexplored for large VLMs. Second, the method relies entirely on in-context learning (few-shot prompting). Explicitly fine-tuning models to produce and consume visual decompositions could yield even stronger and more reliable results in the future.

Summary updated

BibTeX
@inproceedings{khan2023exploring,
  author = {Zaid Khan and Vijay Kumar b g and Samuel Schulter and Manmohan Chandraker and Yun Fu},
  title = {{Exploring Question Decomposition for Zero-Shot VQA}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=LV83JEihHu},
}
Figure