Generative Bias for Robust Visual Question Answering

Jae-Won Cho, Dong-Jin Kim, Hyeonggon Ryu, In So Kweon

Introduction

Visual Question Answering (VQA) requires a model to reason over both visual and textual inputs to provide an accurate answer. Despite significant progress, deep learning models often fall into the trap of exploiting statistical shortcuts—language priors—rather than performing genuine multi-modal reasoning. For instance, if a dataset frequently pairs the question "What color is the banana?" with the answer "yellow," a model might learn to ignore the image entirely and rely solely on the question. This "lazy" learning leads to poor generalization when the model encounters out-of-distribution data where these priors no longer hold.

The Challenge of Model-Specific Bias

Existing debiasing strategies often employ an "ensemble-based" approach. They train a secondary "bias model"—typically a question-only branch—to capture dataset shortcuts. The main "target model" is then trained to avoid the errors made by this bias model. However, these simple bias models often fail to capture the complex, dynamic ways a full VQA model becomes biased during training. Bias is not just a property of the data; it is a property of the interaction between the data and the specific model architecture.

Methodology: GenB (Generative Bias)

To address these limitations, this paper introduces GenB, a generative framework that treats the bias model as a stochastic generator.

1. The Generative Bias Model

Unlike static classifiers, GenB utilizes a Generative Adversarial Network (GAN) architecture. The bias model ($F_b$) takes the question ($Q$) and a random noise vector ($z$) as input. This noise vector acts as a "hallucinated" visual feature, allowing the bias model to simulate the diverse range of biased outputs the target model might produce.

2. Adversarial Training and Distillation

The framework employs a two-stage training process. First, the bias model and a discriminator ($D$) are trained. The discriminator's role is to distinguish between the answer distributions of the target model ($y$) and the bias model ($y_b$). This adversarial loss forces the bias model to accurately mimic the target model's specific "cheating" patterns. Additionally, a knowledge distillation loss (KL-divergence) ensures the bias model's logic aligns with the target model when visual information is absent.

The GenB training framework: (a) training the generative bias model and discriminator, and (b) training the target model using the captured bias.

3. Debiasing the Target Model

Once the bias model has effectively "captured" the shortcuts, the target model is trained using a modified loss function ($\\mathcal{L}_{debias}$). This function suppresses answers that the bias model predicts with high confidence, effectively forcing the target model to rely on actual visual evidence ($V$) from the image to arrive at the correct answer.

Experimental Evaluation

The researchers evaluated GenB on several rigorous benchmarks designed to test for robustness against bias:

  • VQA-CP2 & VQA-CP1: These "Challenge Priors" datasets feature test sets with answer distributions intentionally different from the training sets.
  • GQA-OOD: An out-of-distribution variant of the GQA dataset.
  • VQA-CE: A dataset focused on counter-examples that contradict common shortcuts.

Key Results

GenB demonstrated significant performance improvements across all benchmarks. On the standard UpDn baseline for VQA-CP2, GenB increased accuracy from 39.94% to 59.15%.

Performance comparison of GenB against state-of-the-art debiasing methods on VQA-CP benchmarks.

As shown in the table above, GenB outperforms a wide array of existing methods, including those based on modifying language modules, strengthening visual attention, and other ensemble-based approaches. Notably, GenB achieves state-of-the-art results while maintaining competitive performance on standard, non-biased VQA benchmarks—a common pitfall for other debiasing techniques.

Insights and Conclusion

The success of GenB highlights two critical insights:

  1. Bias is Model-Specific: By training the bias model to mimic the target model via GANs, GenB captures a more accurate "fingerprint" of the specific shortcuts a model is prone to.
  2. Stochasticity Enhances Robustness: The use of a noise vector allows the bias model to represent a distribution of potential biased answers, making the subsequent debiasing process more comprehensive.

While the GAN-based framework adds some complexity to the training pipeline, the substantial gains in robustness make GenB a powerful tool for developing more reliable multi-modal systems.

Summary updated

BibTeX
@inproceedings{cho2023generative,
  author = {Jae-Won Cho and Dong-Jin Kim and Hyeonggon Ryu and In So Kweon},
  title = {{Generative Bias for Robust Visual Question Answering}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01124},
}
Figure