Variational Causal Inference Network for Explanatory Visual Question Answering

Dizhan Xue, Shengsheng Qian, Changsheng Xu

Introduction

In the field of Visual Question Answering (VQA), providing a correct answer is no longer the sole benchmark for success. The emerging sub-field of Explanatory VQA (EVQA) demands that models also provide a multimodal explanation—combining text and visual pointers—to justify their reasoning. Despite significant progress, current EVQA models often suffer from a "honesty" problem: the predicted answer and the generated explanation are frequently inconsistent. For instance, a model might correctly identify an object but point to an unrelated region in its explanation, revealing that its "reasoning" is merely a hallucination.

Example of an EVQA task where the model must identify what a girl is looking at and provide a reasoning process and explanation.

The Challenge of Inconsistency

Traditional EVQA frameworks typically employ separate "heads" for answer prediction and explanation generation. This architectural separation leads to two primary issues:

  1. Logical Contradiction: The explanation may not support the answer, undermining the model's credibility.
  2. Cross-Modal Complexity: Explanations must integrate textual vocabulary with specific visual region IDs (e.g., "Because object #8 is in front of object #1"), a task that standard sequence models struggle to perform reliably.

To address these, this paper introduces the Variational Causal Inference Network (VCIN), which treats the relationship between an answer and its explanation as a structural causal dependency.

Methodology: Causal Grounding

The core of VCIN is a Structural Causal Model (SCM) that defines a rigorous flow of information: $(Question, Image) \to Multimodal Features \to Explanation \to Answer$. This ensures the answer is logically derived from the explanation.

The VCIN architecture, illustrating the causal paths from multimodal features (M) to explanations (E) and ultimately to the answer (A) via a latent feature (F).

Key Components

  • Multimodal Explanation Gating Transformer (MEGT): MEGT employs a gating mechanism to dynamically select between generating natural language words or specific visual region IDs, enabling precise multimodal explanations.
  • Variational Causal Inference: To bridge the gap between training (with ground-truth explanations) and testing (with generated explanations), VCIN uses variational inference to maximize the Evidence Lower Bound (ELBO). This process learns a robust, latent explanation feature ($F$) that maintains consistency across different explanation sources.
  • Answer Classifier: The final answer is predicted by combining original multimodal features with the latent feature $F$. This "front-door" causal path forces the model to use the explanation as a prerequisite for the answer.

Experimental Results

VCIN was evaluated on the GQA-REX dataset (which adds multimodal explanations to GQA) and the GQA-OOD dataset (designed to test out-of-distribution generalization).

  • State-of-the-Art Explanations: VCIN achieved a CIDEr score of 519.23 on GQA-REX, significantly outperforming the previous best of 466.01.
  • Improved Accuracy and Consistency: VQA accuracy rose to 60.61%, while the "Consistency" metric—measuring how often the answer is supported by the explanation—jumped from 84.90% to 93.44%.
  • Causal Verification: Through intervention analysis (e.g., manually altering a word in a generated explanation), the researchers confirmed that VCIN's answers change predictably to match the new explanation, proving a true causal link.

Conclusion

The Variational Causal Inference Network represents a significant step toward more "honest" AI. By enforcing a causal relationship between reasoning and results, VCIN not only improves performance on standard benchmarks but also enhances the reliability and interpretability of multimodal models. Future work may extend this variational causal approach to other complex reasoning tasks like robotic navigation or video understanding.

Summary updated

BibTeX
@inproceedings{xue2023variational,
  author = {Dizhan Xue and Shengsheng Qian and Changsheng Xu},
  title = {{Variational Causal Inference Network for Explanatory Visual Question Answering}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.00238},
}
Figure