Generative Bias for Visual Question Answering

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

Introduction

Visual Question Answering (VQA) models frequently struggle with "language priors"—statistical shortcuts within training datasets that allow models to guess answers without truly understanding the visual content. For instance, if a dataset predominantly features "green" as the answer to "What color is the grass?", a model may learn to ignore the image entirely.

To address this, researchers have developed ensemble-based debiasing methods that train a secondary "bias model" (often question-only) to identify these shortcuts. The main "target model" is then trained to avoid the patterns captured by the bias model. However, traditional bias models are often too simplistic, relying on static statistics that fail to capture the dynamic, complex biases that emerge during the training of the target model itself.

The GenB Framework

The authors introduce GenB (Generative Bias), a novel framework that uses a generative adversarial network (GAN) to "hallucinate" the specific biases a model is likely to exploit. Unlike static models, GenB learns the bias distribution directly from the target model's behavior.

The GenB training pipeline consists of two phases: (a) training the generative bias model and discriminator to mimic the target model's failure modes, and (b) using the bias model to debias the target model.

The architecture consists of several key components:

  1. The Generator ($G$): Instead of processing image features, the bias model receives the question and a random noise vector ($z$). This allows it to stochastically explore various biased answer distributions.
  2. Adversarial Training: A discriminator distinguishes between the "real" bias (the target model's actual answer distribution) and the "fake" bias produced by the generator. This forces the bias model to closely mirror the target model's specific failure modes.
  3. Knowledge Distillation (KD): A KL-divergence loss ensures the bias model's behavior aligns with the target model when only the question is provided.
  4. Refined Debiasing Loss: The authors utilize a modified Greedy Gradient Ensemble (GGE) loss, incorporating raw logits and a clipping function to better account for the "intensity" of identified biases.

Key Insights: Bias as a Model Property

A central tenet of GenB is that bias is not just a property of the dataset, but an emergent property of how a specific architecture interacts with that data. By forcing the bias model to act as a "devil's advocate" that mimics the target model, GenB identifies the exact shortcuts the target model is tempted to take. The use of a noise vector ($z$) further enables the model to synthesize "hard negatives"—biased answers that are most likely to fool the target model—providing a more rigorous training signal.

Experimental Results

GenB was evaluated on several rigorous benchmarks designed to diagnose VQA bias, including VQA-CP2, VQA-CP1, and GQA-OOD.

Performance comparison of GenB against state-of-the-art debiasing methods on VQA-CP2 and VQA-CP1 benchmarks.

As shown in the results table, GenB achieved state-of-the-art performance across multiple categories:

  • VQA-CP2: Using a standard UpDn backbone, GenB reached 59.15% accuracy, a significant improvement over previous methods like GGE (57.32%).
  • Backbone Scalability: When integrated with the LXMERT architecture, it achieved 71.16% on VQA-CP2, the highest reported score at the time without using external data.
  • Generalization: On the GQA-OOD benchmark, accuracy jumped to 49.43%, demonstrating that the generative approach generalizes beyond specific challenge partitions.
  • Robustness: Unlike many methods that trade off performance on "easy" samples to improve on "counter-examples," GenB showed consistent improvements across Yes/No, Number, and Other question types.

Conclusion and Future Directions

While GenB represents a significant step forward in robust VQA, it introduces higher computational overhead due to the simultaneous training of a generator, discriminator, and target model. Additionally, the authors noted that the interaction between visual features and language priors remains complex; empirically, using real images in the bias model during the final debiasing phase proved more effective than noise alone. Future work may explore applying this generative debiasing approach to other multi-modal tasks, such as image captioning, where models are similarly prone to exploitative shortcuts.

Summary updated

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