A Picture May Be Worth a Hundred Words for Visual Question Answering

Yusuke Hirota, Noa García, Mayu Otani, Chenhui Chu, Yuta Nakashima

TL;DR

This paper explores using detailed textual descriptions of images, rather than traditional deep visual features, as the primary input for Visual Question Answering (VQA). They demonstrate that language-only models, augmented with clever text-based data augmentation, can achieve competitive performance with state-of-the-art visual models, while offering significantly improved interpretability.

What Problem Does This Paper Address?

Visual Question Answering (VQA) systems aim to answer questions about images. Traditionally, these systems rely heavily on "deep visual features" extracted by complex neural networks from the image itself. While powerful, these features have two major drawbacks: they often fail to capture nuanced semantic relationships within an image, and their decision-making processes are opaque and difficult for humans to understand. This lack of interpretability is a significant hurdle for deploying VQA in critical applications. The paper questions whether rich, human-written textual descriptions of images could serve as a more interpretable and equally effective alternative to these "black box" visual features.

Methods

The core of the proposed approach is a language-only Transformer model (specifically, RoBERTa) that takes a question and a detailed image description as input. Instead of processing raw pixels, the model learns to reason from text.

To enhance the model's robustness and generalization, the authors introduce several data augmentation techniques:

  • VQA-specific augmentation: Inspired by methods that manipulate images, they adapt these to text by creating synthetic descriptions. This includes:
  • Hypernym/Hyponym Replacement: Swapping words with their broader or more specific terms (e.g., "car" to "vehicle" or "sedan").
  • Color Inversion: Replacing color words in descriptions.
  • Adversarial Replacement: Swapping object words with similar but semantically different ones.
  • Counterfactual Samples: Modifying descriptions to create alternative scenarios.
  • Language-specific augmentation: Leveraging established NLP techniques:
  • EDA (Easy Data Augmentation): Synonym replacement, random insertion, swap, and deletion.
  • Back Translation: Translating text to another language and back to create paraphrased versions. This proved particularly effective.

Datasets

The paper utilizes standard VQA datasets for training and evaluation:

  • VQA 2.0: A large-scale dataset with 1.1 million question-answer pairs.
  • VQA-CP v2: A dataset designed to mitigate biases present in VQA 2.0.

Image descriptions are sourced from:

  • COCO Captions: Provides five short captions per image, focusing on key elements.
  • Localized Narratives: Offers more comprehensive, detailed descriptions, often generated by annotators describing images aloud.

Key Insights and Ideas

  • Text as a primary representation: The study strongly suggests that detailed textual descriptions can be a viable, and sometimes superior, alternative to deep visual features for VQA. This challenges the long-held assumption that raw visual data is indispensable.
  • Interpretability is achievable: By using text-only models, the decision-making process becomes inherently more transparent. Examining the textual descriptions and how the model processes them offers a clear path to understanding why an answer was given.
  • Back translation is a powerful tool: This NLP technique, when applied to questions, significantly boosts performance, especially for Yes/No questions, by introducing linguistic diversity without altering meaning.
  • Conciseness can be key: While detailed descriptions are beneficial, the study found that even shorter, well-chosen captions can be highly effective, suggesting that humans often ask about the most salient aspects of an image. This hints at a "reporting bias" where humans naturally focus on key elements.

Key Results

  • Competitive Performance: The language-only model, using descriptions of approximately 100 words, achieved performance comparable to, and in some cases exceeding, deep visual feature-based models on VQA 2.0 and VQA-CP v2.
  • Data Augmentation Impact: Back translation applied to questions yielded the largest improvement, increasing Yes/No accuracy by 17.30 percentage points.
  • Efficiency: The language-only model trained approximately 3.2 times faster than a strong visual feature-based model (BAN), highlighting a significant computational advantage.
  • Qualitative Strengths: The text-only model excelled at tasks requiring object counting and understanding actions described in text, often outperforming visual models that missed details or misinterpreted object presence.

Limitations and Future Work

  • Visual-Text Alignment: The model sometimes struggled with precise visual-text alignment, particularly when the description was incomplete or when subtle spatial relationships were crucial, an area where deep visual features might still have an edge.
  • Ambiguity Handling: Insufficient detail in text descriptions can lead to incorrect predictions, suggesting a need for models that can better infer or handle ambiguity.
  • Automated Description Generation: A key future direction is to automatically generate image descriptions, either to supplement or replace deep visual features, further bridging the gap between textual and visual approaches.
  • Dynamic Feature Selection: Developing models that can dynamically decide when to rely on text versus visual input based on task complexity is another promising avenue.
  • Broader Baselines: Incorporating a wider range of baseline models would provide a more comprehensive evaluation of the approach's generalizability.

Summary updated

BibTeX
@inproceedings{hirota2024picture,
  author = {Yusuke Hirota and Noa García and Mayu Otani and Chenhui Chu and Yuta Nakashima},
  title = {{A Picture May Be Worth a Hundred Words for Visual Question Answering}},
  booktitle = {Electronics},
  year = {2024},
  doi = {10.3390/electronics13214290},
}
Figure