Counterfactual Reasoning for Robust Visual Question Answering

Truong-Binh Duong, Thanh-Ngan Tran, Ngoc-Thao Nguyen, Bac Le
9/15/2026
cs.CV

No official code found. Best implementation: duongtruongbinh/robust-vqa-counterfactual (0 stars, last commit 2025-11-23).

Abstract

Modern Visual Question Answering (VQA) models often exploit spurious correlations in training data, leading to poor out-of-distribution (OOD) generalization due to language bias. Although counterfactual learning has shown promise, existing methods can be improved to better guide attention toward causal evidence and strengthen feature discrimination. To address this, we propose a novel training framework that enhances counterfactual contrastive learning for VQA. Our framework introduces three key contributions: (1) a three-stage curriculum for stable multi-objective optimization, (2) an enhanced Batch-Contrastive loss for more discriminative feature learning, and (3) two novel regularizers, Answer-Contrastive (AC) loss to refine the prediction space and Gradient-Discrepancy (GD) loss to enforce causal visual grounding. Our model achieves a competitive accuracy of 61.64% on the bias-sensitive VQA-CP v2 benchmark while maintaining 62.80% on the standard VQA v2 dataset, yielding a small generalization gap of 1.16%. This demonstrates a strong balance between OOD robustness and in-distribution performance.

View on arXivView PDF

Code Implementations(1)

[KES 2026] Implementation for Counterfactual Reasoning for Robust Visual Question Answering

00Nov 16, 202511 months ago

Similar Papers

Cite this paper

@article{duong2026counterfactual,
  title  = {Counterfactual Reasoning for Robust Visual Question Answering},
  author = {Truong-Binh Duong and Thanh-Ngan Tran and Ngoc-Thao Nguyen and Bac Le},
  year   = {2026},
  eprint = {2609.16567},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.16567v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.16567.svg)](https://codeofpaper.com/paper/2609.16567)

Discussion