Visual Perturbation-aware Collaborative Learning for Overcoming the Language Prior Problem

Yudong Han, Liqiang Nie, Jianhua Yin, Jianlong Wu, Yan YanarXiv 2022 · DOI

TL;DR

This paper introduces a novel "Visual Perturbation-aware Collaborative Learning" framework to combat the "language prior problem" in Visual Question Answering (VQA). By strategically perturbing image features and employing a dual-discriminator approach for intra-instance invariance and inter-instance discrimination, the model learns to rely more on visual cues and less on superficial language correlations, achieving significant performance gains on challenging VQA benchmarks.

What Problem Does This Paper Address?

Visual Question Answering (VQA) models are designed to answer questions about images. However, many existing VQA models suffer from a "language prior problem." This means they tend to learn spurious correlations between question types and answers from the training data, rather than truly understanding the image content. For example, if questions about "how many" often have numerical answers in the training set, the model might predict a number even if the image doesn't support it. This leads to poor performance on datasets with different answer distributions than the training set. While previous methods have tried to improve image dependency, they often overlook how specific visual cues influence the learned answer representation and tend to focus on class-level distinctions, missing finer instance-level patterns.

Methods

The core of this paper is the "Visual Perturbation-aware Collaborative Learning" framework. Here's a breakdown of the key components:

  • Visual Perturbation Controller: This component generates two types of modified image features from the original image feature.
  • Soft Perturbation: This involves slightly altering or masking trivial image region features, aiming to preserve crucial visual information.
  • Hard Perturbation: This involves masking salient object features and replacing them with features from other instances, significantly altering the visual content.
  • Collaborative Learning with Two Discriminators:
    • Relation-aware Discriminator (Dr): This discriminator focuses on intra-instance invariance. It encourages the model to produce similar representations for the original image and its soft-perturbed version, ensuring robustness to minor visual changes.
  • Class-aware Discriminator (Dc): This discriminator focuses on inter-instance discrimination. It aims to distinguish the representation of the original image from its hard-perturbed version, forcing the model to rely on essential visual cues that are disrupted by hard perturbation.
  • Information Bottleneck Modulator: This component is applied to the latent representation to remove redundant information and reduce input bias. It helps ensure that the learned representation contains only the minimal sufficient information for accurate prediction, further enhancing discriminability.

These components work together to train the VQA model to be more sensitive to fine-grained visual details and less susceptible to language biases.

Datasets

The proposed method was evaluated on the following datasets:

  • Diagnostic Datasets:
    • VQA-CP v2: A large-scale dataset (~658K questions) derived from VQA v2, specifically designed to highlight the language prior problem due to differing train/test distributions.
  • VQA-CP v1: Another dataset (~370K questions) curated from VQA v1, also used to evaluate generalization ability.
  • Balanced Dataset:
    • VQA v2: A widely used benchmark dataset, used to demonstrate the robustness of the proposed approach on more standard VQA tasks.

Key Insights and Ideas

  • Perturbation as a Learning Signal: The core idea is that strategically perturbing image features (both subtly and drastically) can reveal what visual information is truly important for answering a question, and what is just a linguistic shortcut.
  • Intra-Instance Invariance + Inter-Instance Discrimination: Combining these two learning objectives is crucial. Invariance helps the model ignore minor visual noise, while discrimination forces it to focus on the core visual elements that differentiate answers.
  • Instance-Level Focus: The method moves beyond class-level discrimination to learn finer, instance-specific visual characteristics, which is key to overcoming language priors.
  • Model Agnostic: The framework is designed to be plug-and-play, meaning it can be integrated with existing VQA architectures without significant modifications.

Key Results

  • Significant Performance Gains on VQA-CP: The proposed method achieved substantial improvements on the diagnostic VQA-CP datasets. For example, it boosted the performance of the UpDn baseline by 19.67% on VQA-CP v2 and 22.91% on VQA-CP v1.
  • State-of-the-Art Performance: The method achieved the highest overall accuracy on both VQA-CP v1 and v2, surpassing numerous state-of-the-art baselines.
  • Robustness on Balanced Datasets: The approach also demonstrated strong performance on the balanced VQA v2 dataset, indicating its generalizability.
  • Qualitative Improvements: Visualizations (using t-SNE) showed that the learned answer representations from the proposed model were more spread out and better distinguished across different question types, indicating a reduced reliance on language priors.

Limitations and Future Work

  • Potential for Over-Correction: While the method effectively reduces language bias, the paper notes that some approaches might over-correct, leading to performance drops on balanced datasets if not carefully tuned. The proposed method aims to strike a better balance.
  • Hyperparameter Sensitivity: The paper shows that the performance can be sensitive to the coefficients of the regularization losses (e.g., $\lambda_c$, $\lambda_b$, $\lambda_{vib}$), requiring careful tuning.
  • Future Directions: The authors suggest two main avenues for future work:
  • Attention Perturbation: Investigating how to directly optimize the learned attention map using perturbation techniques for even better language prior alleviation.
  • Generalization to Other Tasks: Exploring the applicability of their perturbation-aware learning strategy to other general classification tasks beyond VQA.

Summary updated

BibTeX
@misc{han2022visual,
  author = {Yudong Han and Liqiang Nie and Jianhua Yin and Jianlong Wu and Yan Yan},
  title = {{Visual Perturbation-aware Collaborative Learning for Overcoming the Language Prior Problem}},
  year = {2022},
  eprint = {2207.11850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.11850},
}
Figure