Generative Visual Question Answering

Ethan Shen, Scotty Singh, Bhavesh KumararXiv 2023 · DOI

Abstract

Visual Question Answering (VQA) models have achieved high performance on static benchmarks, yet their ability to generalize to future visual trends remains largely untested. Researchers at the University of Washington introduce GenVQA, a benchmark designed to evaluate model robustness against "temporal distribution shifts." By synthesizing futuristic versions of MS-COCO images using Stable Diffusion, the study demonstrates that even state-of-the-art architectures like BLIP-2 experience significant performance degradation when visual styles evolve beyond their training data. The results highlight the importance of vision transformers and contrastive learning in maintaining semantic stability across distributional drifts.

Introduction

Most contemporary VQA models are trained and validated on datasets like VQAv2, which primarily consist of imagery from over half a decade ago. While these models excel in static environments, they often lack temporal generalization. In the real world, technology, fashion, and environmental aesthetics change over time. A model trained exclusively on 2014 photography may struggle to correctly interpret a "futuristic" environment or novel technological artifacts. This paper addresses the lack of "future-shifted" data by investigating whether current VQA architectures are robust enough to handle inevitable shifts in visual data distributions.

The GenVQA Benchmark

To simulate future data, the authors developed a pipeline to transform existing datasets into "future-shifted" versions.

Methodology

  1. Image Generation: Using images from the MS-COCO dataset, the authors employed Stable Diffusion 2.1 to re-generate scenes. By prepending the descriptor "Futuristic" to the original image captions, they created prompts that guided the generative model to produce stylized, future-oriented versions of the original scenes.
  2. Answer Correction: Generative processes often alter specific image contents (e.g., removing a ceiling fan present in the source image). Consequently, the authors manually revised ground-truth answer annotations to ensure they remained accurate for the newly generated visual context.
  3. Robustness Metric: A custom robustness score ($r$) was introduced to balance accuracy ($a$) and stability: $$r = \gamma a - f$$ where $f$ represents the "flip rate" (the frequency at which a correct prediction on an original image becomes incorrect on the generated version) and $\gamma$ is a weighting factor (set to 1.5) to prioritize overall accuracy.
Figure 3: Comparison between an original image and its generated futuristic counterpart, illustrating the need for manual answer correction when objects (like the ceiling fan) disappear during generation.

Key Insights and Model Analysis

The study evaluated seven prominent models: BLIP-2, OFA, VLMo, ALBEF, ViLT, VisualBERT, and LXMERT. Several key findings emerged regarding model architecture and robustness:

  • Performance vs. Robustness: High accuracy on standard benchmarks does not guarantee stability. For example, VisualBERT exhibited the highest stability (lowest flip rate) but maintained low overall accuracy, indicating it was consistently incorrect across both domains.
  • The Advantage of Vision Transformers (ViTs): Models utilizing ViT-based image embeddings (e.g., ViLT, BLIP-2, ALBEF) proved significantly more robust than those relying on older convolutional neural networks like Faster-RCNN. Attention-based mechanisms appear better suited for generalizing to distributional drifts.
  • Contrastive Learning and Fusion Strategies: Models like BLIP-2 and ALBEF, which utilize contrastive learning to align image and text representations, showed superior performance. Furthermore, "late fusion" models like LXMERT (encoding modalities separately before merging) outperformed "early fusion" models like VisualBERT, suggesting that maintaining distinct representations helps preserve robustness.

Results

Every tested model experienced a significant performance hit on the GenVQA dataset. While BLIP-2 achieved the highest accuracy on GenVQA at 55.74%, this represents a steep decline from its 82.30% accuracy on the standard VQAv2 test set.

Figure 6: Scatter plot showing the correlation between accuracy on original COCO images versus the GenVQA benchmark. While accuracy drops across the board, models like BLIP-2 and ALBEF maintain the highest relative performance.

According to the robustness metric ($r$), ALBEF emerged as the most robust model ($r=62.42$), followed by BLIP-2 ($r=59.81$). Notably, model size was not a strict predictor of success; the relatively small ViLT (87.4M parameters) achieved GenVQA accuracy comparable to the much larger BLIP-2 (1.2B parameters).

Conclusion and Future Work

GenVQA serves as a proof-of-concept for testing temporal distribution shifts in VQA. While current state-of-the-art models show some resilience, the significant accuracy drops indicate that temporal generalization remains a major challenge. Future research should focus on scaling GenVQA to larger sample sizes and exploring a wider variety of shifts, such as different historical periods or diverse artistic styles, to further harden models against the inevitable evolution of visual data.

Summary updated

BibTeX
@misc{shen2023generative,
  author = {Ethan Shen and Scotty Singh and Bhavesh Kumar},
  title = {{Generative Visual Question Answering}},
  year = {2023},
  eprint = {2307.10405},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.10405},
}
Figure