Skip to main content
QUICK REVIEW

[Paper Review] Counterfactual Variable Control for Robust and Interpretable Question Answering

Sicheng Yu, Yulei Niu|arXiv (Cornell University)|Oct 12, 2020
Topic ModelingComputer Science54 references6 citations
TL;DR

This paper proposes Counterfactual Variable Control (CVC), a novel method to improve robustness and interpretability in question answering by explicitly disentangling comprehensive reasoning from shortcut correlations using causal inference. By leveraging a multi-branch neural architecture and counterfactual inference, CVC achieves state-of-the-art robustness against adversarial attacks while preserving model interpretability on BERT-based QA benchmarks.

ABSTRACT

Deep neural network based question answering (QA) models are neither robust nor explainable in many cases. For example, a multiple-choice QA model, tested without any input of question, is surprisingly "capable" to predict the most of correct options. In this paper, we inspect such spurious "capability" of QA models using causal inference. We find the crux is the shortcut correlation, e.g., unrobust word alignment between passage and options learned by the models. We propose a novel approach called Counterfactual Variable Control (CVC) that explicitly mitigates any shortcut correlation and preserves the comprehensive reasoning for robust QA. Specifically, we leverage multi-branch architecture that allows us to disentangle robust and shortcut correlations in the training process of QA. We then conduct two novel CVC inference methods (on trained models) to capture the effect of comprehensive reasoning as the final prediction. For evaluation, we conduct extensive experiments using two BERT backbones on both multi-choice and span-extraction QA benchmarks. The results show that our CVC achieves high robustness against a variety of adversarial attacks in QA while maintaining good interpretation ability.

Motivation & Objective

  • To investigate why state-of-the-art QA models exhibit poor robustness and lack interpretability despite high accuracy.
  • To identify shortcut correlations—such as word alignment between passage and options—as the root cause of model fragility.
  • To develop a method that explicitly mitigates shortcut correlations while preserving comprehensive reasoning for robust and interpretable QA.
  • To validate the approach on multiple QA benchmarks using diverse BERT backbones under adversarial and in-domain settings.

Proposed method

  • CVC employs a multi-branch neural network architecture with a robust reasoning branch and multiple shortcut branches to disentangle reasoning and spurious correlations during training.
  • The method uses counterfactual analysis to simulate the effect of removing a variable (e.g., question) and isolate the contribution of comprehensive reasoning.
  • Two inference methods are proposed: CVC-IV (intervention-based) and CVC-MV (mean-variation-based), both designed to estimate the indirect effect of reasoning by subtracting shortcut-influenced predictions.
  • CVC-IV computes counterfactual predictions by masking the reasoning representation and subtracting from the normal prediction to isolate reasoning effects.
  • CVC-MV uses a learnable control mechanism to adjust the influence of shortcut branches, with a loss function that encourages disentanglement through distance metrics between probability distributions.
  • The approach is trained in a multi-task fashion, preserving standard supervised learning while enabling counterfactual inference at test time.

Experimental results

Research questions

  • RQ1What causes the robustness failure in pre-trained QA models, especially when they perform well without any question input?
  • RQ2How can we formally separate comprehensive reasoning from shortcut correlations in QA models using causal inference?
  • RQ3Can counterfactual inference improve model robustness against adversarial attacks while maintaining high accuracy on standard benchmarks?
  • RQ4How does the disentanglement of reasoning and shortcut components affect model interpretability and performance under distribution shift?

Key findings

  • CVC achieves state-of-the-art robustness on adversarial benchmarks, with a 56.3% accuracy on Adv1 and 66.2% on Adv2 using BERT-base on MCTest.
  • On in-domain dev sets, CVC-IV achieves 86.6% accuracy on MCTest and 87.2% on SQuAD, outperforming baseline models.
  • Ablation studies show that removing shortcut branches or using alternative distance metrics reduces performance, confirming the importance of the full CVC mechanism.
  • The CVC-MV variant performs better than CVC-IV on in-domain data, suggesting that learned control mechanisms improve generalization when trained on diverse data.
  • Case studies demonstrate that CVC correctly identifies the right answer even when word alignment shortcuts mislead standard models.
  • The method maintains high performance on standard benchmarks while significantly reducing reliance on spurious correlations, as evidenced by robustness to question-muting attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.