Skip to main content
QUICK REVIEW

[Paper Review] Counterfactual Samples Synthesizing for Robust Visual Question Answering

Long Chen, Xin Yan|arXiv (Cornell University)|Mar 14, 2020
Multimodal Machine Learning ApplicationsComputer Science41 references27 citations
TL;DR

This paper proposes a model-agnostic Counterfactual Samples Synthesizing (CSS) training scheme to improve visual question answering (VQA) models by generating counterfactual training samples through masking critical objects in images (V-CSS) or replacing key words in questions with [MASK] (Q-CSS), assigning them new ground-truth answers. The method significantly enhances both visual-explainable and question-sensitive capabilities, achieving a new state-of-the-art 58.95% accuracy on VQA-CP v2.

ABSTRACT

Despite Visual Question Answering (VQA) has realized impressive progress over the last few years, today's VQA models tend to capture superficial linguistic correlations in the train set and fail to generalize to the test set with different QA distributions. To reduce the language biases, several recent works introduce an auxiliary question-only model to regularize the training of targeted VQA model, and achieve dominating performance on VQA-CP. However, since the complexity of design, current methods are unable to equip the ensemble-based models with two indispensable characteristics of an ideal VQA model: 1) visual-explainable: the model should rely on the right visual regions when making decisions. 2) question-sensitive: the model should be sensitive to the linguistic variations in question. To this end, we propose a model-agnostic Counterfactual Samples Synthesizing (CSS) training scheme. The CSS generates numerous counterfactual training samples by masking critical objects in images or words in questions, and assigning different ground-truth answers. After training with the complementary samples (ie, the original and generated samples), the VQA models are forced to focus on all critical objects and words, which significantly improves both visual-explainable and question-sensitive abilities. In return, the performance of these models is further boosted. Extensive ablations have shown the effectiveness of CSS. Particularly, by building on top of the model LMH, we achieve a record-breaking performance of 58.95% on VQA-CP v2, with 6.5% gains.

Motivation & Objective

  • To address the failure of current ensemble-based VQA models in achieving visual-explainable and question-sensitive behaviors.
  • To reduce language biases in VQA models that arise from superficial linguistic correlations in training data.
  • To improve model generalization on distribution-shifted test sets like VQA-CP by enhancing sensitivity to visual and linguistic variations.
  • To develop a plug-and-play training scheme that is model-agnostic and effective across diverse VQA architectures.
  • To provide a unified solution that simultaneously improves both visual attention fidelity and linguistic robustness in VQA.

Proposed method

  • CSS generates counterfactual samples via two mechanisms: V-CSS masks critical objects in images and assigns a different ground-truth answer.
  • Q-CSS replaces critical words in questions with [MASK] tokens and assigns a different ground-truth answer to the new image-question pair.
  • The method is model-agnostic and can be integrated into any VQA model during training without architectural changes.
  • The training process includes both original samples and synthesized counterfactual samples to force models to attend to relevant visual and linguistic cues.
  • The approach uses attention-based saliency scoring (s(a, v) and s(a, w)) to identify critical visual objects and words for masking.
  • A new metric, Confidence Improvement (CI), is introduced to quantitatively evaluate question-sensitive behavior by measuring confidence drop when critical words are removed.

Experimental results

Research questions

  • RQ1Can counterfactual sample generation improve the visual-explainable ability of VQA models?
  • RQ2Does the proposed method enhance the model’s sensitivity to linguistic variations in questions?
  • RQ3Can the CSS training scheme consistently improve performance across diverse VQA models, including ensemble-based architectures?
  • RQ4How does the method affect robustness to rephrased questions in VQA-CP-Rephrasings?
  • RQ5To what extent does CSS reduce reliance on spurious linguistic correlations in training data?

Key findings

  • CSS achieves a new state-of-the-art performance of 58.95% on VQA-CP v2, representing a 6.5% absolute gain over the previous SOTA model LMH.
  • The visual-explainable ability is significantly improved, as shown by higher attention scores on relevant visual objects and reduced influence on irrelevant ones.
  • The question-sensitive ability is enhanced, with a 15.2% improvement in Consensus Score (CS(k)) on VQA-CP-Rephrasings, indicating better robustness to question rephrasings.
  • The Confidence Improvement (CI) metric shows that removing critical words leads to significantly larger confidence drops in ground-truth answers when CSS is applied.
  • Ablation studies confirm that both V-CSS and Q-CSS contribute independently to performance gains, with Q-CSS having a stronger effect on linguistic robustness.
  • Qualitative analysis confirms that models trained with CSS attend more accurately to critical visual objects (green boxes) and linguistic words (darker green), reducing reliance on spurious cues.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.