Introduction
Visual Question Answering (VQA) and Generation (VQG) are essential for advancing human-AI interaction. However, the development of these systems is often bottlenecked by the requirement for massive, manually annotated datasets. Creating such datasets is a tedious and expensive process. Furthermore, existing automated generation methods frequently produce generic questions that do not require deep scene understanding. This paper proposes a weakly supervised framework, VQAG, designed to generate specific, non-generic QA pairs using only images and their associated captions.
The VQAG Pipeline
The proposed VQAG framework consists of a four-module pipeline that transforms image-caption pairs into high-quality training data for VQA models.
- Answer Extraction: A pre-trained Faster R-CNN detects objects within an image. These objects are cross-referenced with the image's caption; if a detected object appears in the text, it is selected as a potential answer.
- Nearest Question Generation: The selected answer word in the caption is replaced with a mask token to create a proto-question (e.g., "The
<Animal>is wearing a hat"). - Relevant Question Generation: Utilizing dependency parsing and a custom in-order tree traversal algorithm, the model restructures the masked caption into a grammatically correct, natural-sounding question. This linguistic restructuring allows the model to generate diverse "wh-" questions (who, what, where, etc.) without relying on rigid templates.
- Fine-tuning: The synthetically generated QA pairs are used to fine-tune a ViLBERT (Vision-and-Language BERT) model, bridging the gap between visual features and complex linguistic queries.
Qualitative Advantages and Specificity
A primary innovation of this work is the move from template-based generation to structural reconstruction. By anchoring questions to specific detected objects and their actions as described in captions, the model avoids the "generic question" trap common in previous VQG efforts.
As shown in the comparison above, the VQAG model generates detailed, scene-specific questions (e.g., "What competitive game a group of guys are playing?") whereas standard datasets often contain simpler, more generic queries (e.g., "What sport are they playing?"). This specificity ensures that the resulting VQA models must engage more deeply with the visual content.
Experimental Results
The VQAG method was evaluated using MSCOCO captions and the VQA Dataset as ground truth. The results demonstrate significant improvements over previous state-of-the-art (SOTA) weakly supervised models:
- BLEU Score: The model achieved a score of 47.78, a substantial increase over the previous SOTA of 41.87.
- METEOR: The performance reached 27.61, more than doubling several baseline models.
These metrics, combined with qualitative analysis, suggest that captions contain sufficient latent structural information to generate complex questions when processed through dependency-tree-based restructuring.
Conclusion and Future Work
This research presents a robust framework for generating high-quality VQA data without human intervention. By leveraging weak supervision from captions and employing advanced linguistic restructuring, the VQAG model produces questions that are more detailed and scene-specific than previous methods. Future directions include moving beyond "wh-" questions to more complex, multi-step reasoning and deeper integration of Transformer architectures to further enhance semantic reasoning capabilities.
Summary updated