CrossVQA: Scalably Generating Benchmarks for Systematically Testing VQA Generalization

Arjun R. Akula, Soravit Changpinyo, Boqing Gong, Piyush Sharma, Song-Chun Zhu, Radu Soricut

Abstract

Current Visual Question Answering (VQA) models often rely on statistical biases rather than true multi-modal understanding. Evaluating their generalization is challenging because cross-dataset evaluations typically conflate visual shifts (new image types) with language shifts (new question styles). We present CrossVQA, a semi-automatic framework that uses a controllable generative model to disentangle these factors. Our findings reveal a significant "generalization gap," where models lose up to 40% accuracy when faced with unfamiliar visual distributions, even when question styles remain constant.

Introduction: The Challenge of VQA Generalization

VQA models are notorious for exploiting shortcuts. For instance, a model might learn to answer "yellow" to any question about a banana without processing the image pixels. To test if a model has truly learned to reason, researchers often evaluate it on a dataset different from its training set. However, this introduces a "multi-modal distribution shift": both the images (e.g., curated COCO images vs. blurry "in-the-wild" photos) and the questions (e.g., complex reasoning vs. utilitarian queries) change simultaneously. This makes it impossible to pinpoint why a model fails. Furthermore, creating high-quality, human-annotated benchmarks for every new domain is prohibitively expensive.

The CrossVQA Framework

To address these issues, we propose a semi-automatic framework centered on a Visual Question-Answer Generation (VQAG) module. This module is designed to be controllable, allowing us to generate specific question styles for any given image.

Controllable Generation via VQAG

The core of our approach is a transformer-based encoder-decoder model. Unlike standard generators, VQAG utilizes "control knobs" or dataset indicators. These indicators allow the model to mimic the linguistic style of one dataset while processing images from another. For example, it can generate a "VQA2-style" question for a "VizWiz" image.

The VQAG module generates multiple question-answer styles for a single input image, enabling the disentanglement of visual and language shifts.

Enhancing Robustness and Diversity

To ensure the generator handles rare objects and diverse queries, we implemented two key enhancements:

  1. Large-scale Pre-training: We pre-trained the model on 12 million image-alt-text pairs (Conceptual 12M). This helps the model recognize "long-tail" objects that might not appear in standard VQA datasets.
  2. Agnostic Control Signals: By conditioning the model on question prefixes (e.g., "How many...") and intended answer categories, we ensure the generated pairs are both relevant to the image and linguistically diverse.

Experimental Setup and Datasets

We utilized three primary datasets to construct the CrossVQA benchmark:

  • VQA2: Curated images from COCO with questions designed to challenge automated systems.
  • VizWiz: Images taken by visually impaired users, often featuring motion blur and practical, utilitarian questions.
  • Open Images (OID): A massive dataset with diverse object categories. Previously lacking VQA data, we used our framework to generate a new synthetic test set for OID.

By applying different "style knobs" across these image sets, we created a matrix of test splits where only one variable (vision or language) changes at a time.

The CrossVQA methodology (b) fills the gaps of traditional cross-dataset evaluation (a) by generating all question styles for all image sets.

Key Results and Insights

Our evaluation of state-of-the-art models like ViLBERT and LXMERT yielded several critical insights:

  • The Dominance of Visual Shifts: VQA models are far more sensitive to changes in the visual environment than to changes in question phrasing. When the image distribution shifted (e.g., from VQA2 to VizWiz), accuracy dropped by as much as 40% absolute, even when the question style was held constant.
  • Effectiveness of Style Control: The VQAG model successfully disentangled "what" is in an image from "how" a community asks about it. This allowed us to scale benchmark generation to datasets like Open Images, providing a new frontier for testing model robustness.
  • The Robustness Paradox: We found that standard "robustness" techniques—such as training on additional datasets like GQA—did not significantly improve performance on our disentangled splits. This suggests that current methods are not yet addressing the fundamental issue of visual distribution shift.

Limitations and Future Work

While CrossVQA is a significant step toward scalable benchmarking, it remains "semi-automatic." Human-in-the-loop filtering is still required to ensure answer correctness, which currently ranges between 51% and 74%. The generator also struggles with complex reasoning tasks, such as precise counting or spatial relationships. Future research will focus on improving the "world logic" of the underlying generative models to reduce the need for human intervention.

Summary updated

BibTeX
@inproceedings{akula2021crossvqa,
  author = {Arjun R. Akula and Soravit Changpinyo and Boqing Gong and Piyush Sharma and Song-Chun Zhu and Radu Soricut},
  title = {{CrossVQA: Scalably Generating Benchmarks for Systematically Testing VQA Generalization}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.164},
}
Figure