Abstract
Visual Question-Answer Pair Generation (VQAPG) is an emerging multimodal task that requires AI systems to autonomously generate both a diverse set of questions and their corresponding accurate answers from a single image. This paper investigates the inherent trade-off between diversity and consistency in VQAPG. By leveraging variational inference, Region Representation Scaling, and Attention Alignment, the authors propose three architectural paradigms—Pipeline, Joint, and Sequential—to address these challenges. Experimental results on VQA2.0 and Visual-7w benchmarks demonstrate that these models can generate high-quality synthetic data, which significantly enhances the performance of downstream vision-language models.
Introduction: The VQAPG Challenge
In traditional Multimodal AI, research typically bifurcates into Visual Question Answering (VQA)—answering a specific question about an image—and Visual Question Generation (VQG)—formulating a question based on an image or a target answer. However, the more complex task of generating a complete, coherent Question-Answer Pair (QAP) from scratch remains a significant hurdle.
The authors identify two primary objectives for successful VQAPG:
- Diversity: Models must capture the rich, multifaceted information within an image, moving beyond generic queries to address specific objects, attributes, and actions.
- Consistency: The generated question must be grounded in the visual evidence, and the answer must be factually correct relative to that specific question.
Solving VQAPG is crucial for data augmentation; it allows for the "hallucination" of massive, high-quality synthetic datasets, reducing the reliance on expensive human annotation.
Methodology
The researchers propose an encoder-decoder framework implemented through three distinct architectural paradigms:
- Pipeline Model: A two-stage process where the model generates a question first, which then serves as context for answer generation (or vice versa).
- Joint Model: Employs two parallel decoders to generate the question and answer simultaneously.
- Sequential Model: Treats the QAP as a single continuous text sequence separated by a delimiter.
To optimize the diversity-consistency balance, several innovations were introduced:
- Variational Inference: Latent variables ($Z$) are integrated to encourage the model to explore different semantic regions of the image, enhancing output diversity.
- Region Representation Scaling: The model uses latent variables to dynamically weight specific image regions, effectively "zooming in" on relevant details during generation.
- Attention Alignment: Specifically for the Joint model, a loss term ensures that both the question and answer decoders attend to the same visual regions.
- Consistency Evaluator: A secondary neural network acts as a discriminator, trained to identify factually inconsistent pairs.
Experimental Results and Insights
The models were evaluated on the VQA2.0 and Visual-7w benchmarks. Key findings include:
- The Diversity-Consistency Trade-off: The Pipeline model excels in diversity, achieving a Distinct-4 score of 27.30% on VQA2.0. Conversely, the Sequential model provides superior consistency, reaching a 98.95% consistency score by treating the QAP as a unified logical unit.
- Utility of Synthetic Data: Pre-training standard VQA models on machine-generated QAPs leads to measurable performance gains on human-annotated test sets, validating VQAPG as a powerful tool for data augmentation.
- Latent Space Navigation: Beyond providing randomness, latent variables were shown to guide the model's spatial attention through Region Representation Scaling, improving grounding.
Conclusion and Future Directions
While variational models significantly outperform non-variational baselines, challenges remain. Current models primarily generate "one-hop" questions regarding simple visible attributes and struggle with complex reasoning. Future work will focus on improving the controllability of latent spaces and developing more robust evaluators to handle linguistically sophisticated but factually incorrect outputs.
Summary updated