C-VQA: A Compositional Split of the Visual Question Answering (VQA) v1.0 Dataset.

Aishwarya Agrawal, Aniruddha Kembhavi, Dhruv Batra, Devi ParikharXiv 2017

TL;DR

The authors introduce C-VQA, a new evaluation split for Visual Question Answering (VQA) designed to test "compositionality"—the ability of a model to answer questions about novel combinations of concepts it has seen during training. Their experiments reveal that current state-of-the-art models rely heavily on superficial training set correlations and suffer significant performance drops when forced to generalize to these unseen compositions.

What Problem Does This Paper Address?

Visual Question Answering (VQA) is often hailed as a "holy grail" of AI because it requires a deep integration of computer vision, natural language processing, and reasoning. However, recent research has shown that many high-performing VQA models are "cheating." Instead of truly understanding the visual scene, they exploit superficial correlations and language priors in the training data. For example, if a training set always answers "green" to "What color is the grass?", a model might learn to ignore the image entirely and just guess "green."

The core issue is a lack of compositionality. A truly intelligent agent should be able to recognize a "red plate" at test time if it has seen "red stop lights" and "green plates" during training. This paper addresses the need for a benchmark that specifically measures this ability to compose known concepts into novel question-answer (QA) pairs.

Methods

The authors propose a new way to split the existing VQA v1.0 dataset, creating the Compositional VQA (C-VQA) split. The goal is to ensure that the QA pairs in the test set are compositionally novel compared to the training set.

The creation process involves three main steps:

  1. Question Reduction: Questions are stripped of stop words and lemmatized to identify core concepts (e.g., "What color are the cones?" becomes [what, color, cone]).
  2. Reduced QA Grouping: Questions with the same reduced form and the same ground-truth answer are grouped together.
  3. Greedy Re-splitting: The authors use a greedy algorithm to redistribute these groups into new train and test sets. The algorithm maximizes the coverage of test concepts in the training set while ensuring that the specific QA pairs in the test set never appeared during training.
Figure 1: Examples from our Compositional VQA (C-VQA) splits. Words belonging to same concepts are highlighted with same color to show the training instances from which the model can learn those concepts.

Datasets

  • VQA v1.0: The original benchmark dataset used as the source material.
  • C-VQA (Proposed): The new compositional split. Unlike the original VQA v1.0, which splits data by image, C-VQA splits by QA pairs. This means the same image might appear in both train and test sets, but with different, non-overlapping question-answer combinations.

Key Insights and Ideas

  • Distribution Shift: While the distribution of question types remains similar between the original and C-VQA splits (as seen in Figure 2), the answer distribution for those questions changes drastically. For instance, "tennis" might be the most common answer for "what sport" in training, but "skiing" might be the most common in the test set.
  • Priors as a Crutch: The significant performance drop on C-VQA suggests that models are overfitting to the specific answer distributions of the training set rather than learning generalizable visual concepts.
  • Compositional Design Helps (a little): Models like Neural Module Networks (NMN), which are designed to be modular and compositional, showed a smaller performance drop than monolithic architectures, though they still struggled.
Figure 2: Distribution of questions by their first four words for a random sample of 60K questions for C-VQA train split (left) and C-VQA test split (right). The ordering of the words starts towards the center and radiates outwards. The arc length is proportional to the number of questions containing the word. White areas are words with contributions too small to show.

Key Results

The authors evaluated several prominent VQA models, including Stacked Attention Networks (SAN), Multimodal Compact Bilinear Pooling (MCB), and Neural Module Networks (NMN). The results were stark:

  • Overall Performance Drop: Every model performed significantly worse on C-VQA than on the original VQA v1.0 val split.
  • MCB: Dropped from 60.97% to 54.15%.
  • SAN: Experienced a massive drop from 55.86% to 45.25%.
  • NMN: Showed more resilience but still fell from 54.83% to 49.05%.
  • Question-Specific Failures: The drop was most severe for questions like "What room is this?". In C-VQA, if the training set only contains "kitchen" and "bedroom" as answers, but the test set asks about a "living room" (which the model saw in other contexts but never as an answer to "what room"), the model almost always fails.

Limitations and Future Work

  • Image Sharing: Because C-VQA splits by QA pair, images are shared across train and test. While the authors' control experiments suggest this only provides a ~1% performance boost, it remains a potential point of contention for pure zero-shot evaluation.
  • VQA v1.0 vs v2.0: This work was performed on VQA v1.0. The later v2.0 dataset was specifically designed to reduce language priors by pairing similar images with different answers, which might change how these models behave on a compositional split.
  • Future Directions: The authors suggest that C-VQA should serve as a new benchmark for developing models that explicitly disentangle concepts and avoid relying on dataset-specific biases.

For more details, you can find the full paper here.

Summary updated

BibTeX
@misc{agrawal2017c,
  author = {Aishwarya Agrawal and Aniruddha Kembhavi and Dhruv Batra and Devi Parikh},
  title = {{C-VQA: A Compositional Split of the Visual Question Answering (VQA) v1.0 Dataset.}},
  year = {2017},
  eprint = {1704.08243},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1704.08243},
}
Figure