Generalizing Visual Question Answering from Synthetic to Human-Written Questions via a Chain of QA with a Large Language Model

Taehee Kim, Yeongjae Cho, Heejun Shin, Yohan Jo, Dongmyung Shin

Introduction

Visual Question Answering (VQA) represents a significant challenge in multimodal artificial intelligence, requiring models to synthesize visual perception with linguistic reasoning. While general-purpose Vision-Language Models (VLMs) like GPT-4V have shown remarkable flexibility, they often lack the granular, domain-specific expertise required for specialized tasks, such as medical imaging. Conversely, specialized models trained on large-scale synthetic datasets—generated via rigid templates—are highly accurate within their training distribution but fail when faced with the nuances of human-written, free-form questions.

This paper introduces CoQAH (Chain of QA for Human-written questions), a framework designed to bridge the gap between specialized synthetic-trained models and complex human queries. By utilizing a Large Language Model (LLM) as a reasoning bridge, CoQAH decomposes human intent into a sequence of simple, template-based tasks that a specialized vision model can execute with high precision.

The CoQAH Framework

The core philosophy of CoQAH is "translation over fine-tuning." Rather than retraining a vision model to understand the infinite variations of human language, CoQAH uses an LLM to translate human questions into the specific "language" of the vision model’s training templates.

The Reasoning Loop

CoQAH operates as an iterative dialogue between two components: an LLM (the "reasoner") and a specialized VQA model (the "eyes"). Crucially, the LLM never sees the image; it builds a conceptual understanding of the scene based solely on the feedback from the vision model. The process follows three main steps:

  1. Decomposition: Upon receiving a complex human question, the LLM generates a simple, template-based question (e.g., "Is there a red cube?") that the specialized VQA model is equipped to answer.
  2. Observation: The specialized VQA model processes the image and returns an answer to the LLM.
  3. Iteration: The LLM integrates this new information into its context. It then decides whether to ask a follow-up question to resolve further ambiguity or to provide a final answer to the user.

Logical Guardrails: The Existence and Uniqueness Handler (EUH)

To mitigate "hasty conclusions" and hallucinations, the researchers implemented the Existence and Uniqueness Handler (EUH). This logical module forces the system to verify the presence and count of objects before inquiring about their attributes. For instance, before asking "What color is the sphere?", the EUH ensures the system first confirms that exactly one sphere exists in the scene. This prevents the model from being misled by non-existent objects or multiple identical targets.

Experimental Evaluation

The researchers evaluated CoQAH across two distinct domains to test its generalizability and specialized performance.

General Domain: CLEVR-Human

Using the CLEVR dataset (synthetic) for training the base vision models, the framework was tested on CLEVR-Human, which contains complex, free-form questions. CoQAH achieved an accuracy of 74.3%, significantly outperforming both GPT-4-Vision (60.1%) and the previous state-of-the-art template-based model, MDETR (59.9%).

Medical Domain: VQA-RAD and SLAKE

In the medical field, where human-annotated data is particularly scarce, CoQAH was trained on MIMIC-Diff-VQA (synthetic chest X-ray data). When tested on human-written benchmarks VQA-RAD and SLAKE, CoQAH reached 67.5% accuracy on closed-form questions in VQA-RAD, surpassing specialized medical foundation models like MedVInT-TD (57.3%).

Discussion and Insights

The success of CoQAH highlights several key insights:

  • Modularity: The framework is model-agnostic. As LLMs or specialized VQA models improve, they can be swapped into the CoQAH pipeline to enhance performance without retraining the entire system.
  • Sequential Reasoning: Ablation studies demonstrated that the "Chain of QA" approach is essential. When the LLM was asked to generate all sub-questions simultaneously rather than sequentially, accuracy dropped from 75.8% to 63.1%, proving that the iterative feedback loop is vital for handling logical complexity.
  • Zero-Shot Generalization: CoQAH achieved state-of-the-art results without any fine-tuning on human-written data, suggesting a scalable path forward for specialized AI applications.

Limitations and Future Work

Despite its performance, the framework faces specific bottlenecks. Error analysis revealed that 48% of failures were due to reasoning errors by the LLM (e.g., failing to ask the correct sequence of questions), while 25% stemmed from the underlying VQA model providing incorrect answers to simple templates. Furthermore, the system is inherently limited by the diversity of the underlying templates; if a human question requires information that the templates cannot capture, the system cannot provide an answer.

Future research will focus on expanding template diversity and improving the LLM's ability to identify and handle "impossible" questions that fall outside the scope of the available vision tools.

Conclusion

CoQAH demonstrates that the gap between synthetic training and human-centric application can be bridged through intelligent orchestration. By leveraging the reasoning capabilities of LLMs to interface with specialized vision experts, we can create robust, interpretable, and highly accurate VQA systems that generalize across domains without the need for exhaustive human labeling.

Summary updated

BibTeX
@inproceedings{kim2024generalizing,
  author = {Taehee Kim and Yeongjae Cho and Heejun Shin and Yohan Jo and Dongmyung Shin},
  title = {{Generalizing Visual Question Answering from Synthetic to Human-Written Questions via a Chain of QA with a Large Language Model}},
  booktitle = {ECAI},
  year = {2024},
  doi = {10.3233/faia240501},
}
Figure