QIRL: Boosting Visual Question Answering via Optimized Question-Image Relation Learning

Quanxing Xu, Ling Zhou, Xian Zhong, Feifei Zhang, Rubing Huang, Chia-Wen LinarXiv 2025 · DOI

Introduction: The Language Bias Problem

Visual Question Answering (VQA) models often suffer from a significant flaw known as language bias. Instead of performing true multi-modal reasoning by looking at an image to answer a question, these models frequently exploit statistical shortcuts found in training data. For instance, if a dataset predominantly features yellow bananas, a model may learn to answer "yellow" to any question regarding banana color, ignoring the actual visual evidence.

Example of language bias where a model predicts 'yellow' for bananas regardless of the actual image content.

Existing debiasing methods typically attempt to balance datasets or penalize biased guesses through auxiliary branches. However, these approaches often struggle with two major issues: poor contrast in negative samples and blind inference, where models fail to recognize when a question is completely irrelevant to the provided image.

The QIRL Framework

To address these limitations, the authors propose QIRL (Optimized Question-Image Relation Learning). This framework introduces two specialized modules designed to sharpen the model's understanding of the relationship between text and vision:

  1. Negative Image Generation (NIG): Traditional methods create "negative" samples by randomly swapping images. However, a random swap might accidentally pair a question about a cat with another image that also contains a cat, leading to ambiguous training signals. NIG uses a generative pipeline—including a Diffusion Model—to synthesize images that are explicitly irrelevant to the original question, providing a much clearer contrast for learning.
  2. Irrelevant Sample Identification (ISI): This module acts as a "gatekeeper." During inference, it uses stacked cross-attention to calculate a similarity score between the question and the image. If the score is too low, the model can "abstain" from answering, preventing the wild, biased guesses that typically occur when a model is presented with nonsense inputs.
Illustration of relevant vs. irrelevant question-image (QI) pairs and the ambiguity of random image substitution.

Key Results and Insights

QIRL is model-agnostic and can be integrated into various existing VQA architectures. The experimental results demonstrate its effectiveness across major benchmarks:

  • Significant Performance Gains: When applied to the UpDn backbone on the VQA-CPv2 dataset, QIRL improved overall accuracy from 39.74% to 61.73%.
  • Robustness through Abstention: By introducing a specialized metric ($Acc_{spe}$) that rewards the model for correctly identifying irrelevant pairs, the authors show that filtering nonsense inputs significantly reduces overall error rates.
  • Generalization: Unlike many debiasing techniques that only work on specific "trick" datasets, QIRL showed consistent improvements on standard benchmarks like VQAv2 and knowledge-based datasets like OKVQA.

Conclusion and Future Work

QIRL represents a shift toward more robust VQA by teaching models not just how to answer, but how to recognize when a question-image pair is valid. While the current framework focuses primarily on language bias, future work may expand these generative and gatekeeping techniques to address vision-based biases and integrate with larger transformer-based architectures like LLMs.

Summary updated

BibTeX
@misc{xu2025qirl,
  author = {Quanxing Xu and Ling Zhou and Xian Zhong and Feifei Zhang and Rubing Huang and Chia-Wen Lin},
  title = {{QIRL: Boosting Visual Question Answering via Optimized Question-Image Relation Learning}},
  year = {2025},
  eprint = {2504.03337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.03337},
}
Figure