Knowledge-Routed Visual Question Reasoning: Challenges for Deep Representation Embedding

Qingxing Cao, Bailin Li, Xiaodan Liang, Keze Wang, Liang Lin

TL;DR

This paper introduces KRVQA, a novel dataset designed to rigorously evaluate Visual Question Answering (VQA) models' ability to perform multi-step reasoning using external knowledge. By carefully constructing questions and answers from scene graphs and knowledge bases, KRVQA aims to prevent models from exploiting superficial correlations and instead forces them to truly understand and integrate knowledge. Experiments show that even state-of-the-art VQA models struggle with this dataset, highlighting a significant gap in current knowledge reasoning capabilities.

What Problem Does This Paper Address?

Visual Question Answering (VQA) aims to answer questions about images. While many VQA models have achieved impressive performance, they often rely on superficial correlations between question words and answers, rather than genuine understanding of the image and underlying knowledge. Existing "knowledge VQA" datasets, while attempting to incorporate external knowledge, are often crowdsourced, leading to annotator bias and "shortcut learning" where models learn to exploit these biases instead of performing true reasoning. This makes it difficult to assess a VQA model's ability to:

  1. Perceive visual evidence in the image.
  2. Understand the reasoning logic within the question.
  3. Incorporate learned knowledge to arrive at the correct answer.

The paper addresses this by proposing a new dataset and methodology to disentangle true knowledge reasoning from these superficial biases.

Methods

The core of the paper's contribution lies in the creation of the Knowledge-Routed Visual Question Reasoning (KRVQA) dataset. The generation process involves:

  • Controlled Programs: Questions and answers are generated using tightly controlled programs that operate on the Visual Genome scene graph and an external knowledge base (FVQA). These programs ensure that questions can only be answered with the provided knowledge.
  • Disentangling Knowledge: The programs are designed to select one or two triplets from the scene graph or knowledge base. This multi-step reasoning process helps avoid answer ambiguity and balances answer distributions.
  • Key Constraints for Reasoning:
    • Image-Specific Knowledge: For questions where the answer is derived from the knowledge base, only one knowledge triplet is linked to an image object. This forces the model to correctly perceive the image rather than just relying on the question.
  • Unseen Knowledge Combinations: All questions are based on different knowledge, and crucially, testing knowledge is kept separate from training knowledge. This evaluates a model's ability to handle unseen combinations of question words and knowledge.
  • Image-Specific Knowledge Graph: For each image, its scene graph is merged with an external knowledge base to create a comprehensive, image-specific knowledge graph.
  • Triplet Sampling and Querying: The system samples triplets from this graph and uses various query types (e.g., "Given head entity and tail entity, return relation") to generate questions requiring different inference steps.
  • Template-Based Generation: Predefined question templates are used to construct the final question-answer pairs based on the generated programs and query types.

Datasets

  • Visual Genome: Used for its scene graph annotations.
  • FVQA: Used as the external knowledge base.
  • KRVQA (Newly Introduced): This is the primary contribution. It contains 32,910 images and 157,201 question-answer pairs. It is designed to be large-scale (over 100,000 QA pairs) and specifically targets knowledge reasoning on natural images. It differs from previous datasets by using controlled programs to minimize bias and provide ground truth for reasoning inspection.

Key Insights and Ideas

  • Annotator Bias is a Major Hurdle: The paper strongly emphasizes that current crowdsourced VQA datasets are susceptible to annotator bias, leading models to learn superficial correlations rather than true reasoning.
  • Controlled Generation is Crucial: The KRVQA dataset's strength lies in its programmatic and controlled generation process, which disentangles knowledge from other biases.
  • Multi-Step Reasoning is Hard: The dataset is specifically designed to require multi-step reasoning, and experiments show that current models struggle significantly with this, especially on "two-step" questions.
  • Image Perception is Still Essential: Even with knowledge, models must correctly perceive image content. The constraint that only one knowledge triplet relates to an image object forces this crucial step.
  • Unseen Knowledge is a Key Challenge: By withholding knowledge during training, the dataset tests a model's ability to generalize and reason with novel knowledge combinations.

Key Results

  • Significant Performance Gap: Even state-of-the-art VQA models, including those with knowledge graph embedding, achieve low answering accuracy on KRVQA. For instance, the MCAN baseline achieves only 20.52% overall accuracy.
  • Knowledge Embedding Benefits Specific Question Types: When ground truth knowledge triplets or entries are provided, models show significant improvements (e.g., >70% accuracy on certain question types), demonstrating the effectiveness of knowledge embedding. However, this benefit is less pronounced for questions where the answer is primarily image-based.
  • Knowledge Inference Challenges: Models that infer knowledge based on partial information (e.g., two entries) perform much worse than those with direct knowledge access, highlighting the difficulty of inferential reasoning.
  • Pretraining Helps but Overfits: Pretraining language models on knowledge surface text improves performance, but models tend to overfit the training set and struggle with unseen knowledge triplets.

Limitations and Future Work

  • Model Weakness Revealed: The paper's primary finding is the weakness of current deep embedding models in knowledge reasoning, rather than a specific model improvement.
  • Future Work: The authors plan to develop novel VQA models that can better handle large-scale knowledge bases and retrieve supporting information for answer prediction. They also aim to further evaluate these models on the KRVQA dataset.

Summary updated

BibTeX
@article{cao2022knowledge,
  author = {Qingxing Cao and Bailin Li and Xiaodan Liang and Keze Wang and Liang Lin},
  title = {{Knowledge-Routed Visual Question Reasoning: Challenges for Deep Representation Embedding}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2022},
  doi = {10.1109/tnnls.2020.3045034},
}
Figure