Connecting Attributions and QA Model Behavior on Realistic Counterfactuals

Xi Ye, Rohan Nair, Greg Durrett
4/9/2021
cs.CL

Official code: xiye17/EvalQAExpl (17 stars, Python, last commit 2021-04-25).

Abstract

When a model attribution technique highlights a particular part of the input, a user might understand this highlight as making a statement about counterfactuals (Miller, 2019): if that part of the input were to change, the model's prediction might change as well. This paper investigates how well different attribution techniques align with this assumption on realistic counterfactuals in the case of reading comprehension (RC).

Show full abstract

RC is a particularly challenging test case, as token-level attributions that have been extensively studied in other NLP tasks such as sentiment analysis are less suitable to represent the reasoning that RC models perform. We construct counterfactual sets for three different RC settings, and through heuristics that can connect attribution methods' outputs to high-level model behavior, we can evaluate how useful different attribution methods and even different formats are for understanding counterfactuals. We find that pairwise attributions are better suited to RC than token-level attributions across these different RC settings, with our best performance coming from a modification that we propose to an existing pairwise attribution method.

View on arXivView PDF

Code Implementations(1)

xiye17/EvalQAExplOfficial100%

Code for Evaluating Explanations for Reading Comprehension with Realistic Counterfactuals.

173Python, ShellMar 29, 20215 years ago

Similar Papers

Cite this paper

@article{ye2021connecting,
  title  = {Connecting Attributions and QA Model Behavior on Realistic Counterfactuals},
  author = {Xi Ye and Rohan Nair and Greg Durrett},
  year   = {2021},
  eprint = {2104.04515},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.04515}
}

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/2104.04515.svg)](https://codeofpaper.com/paper/2104.04515)

Discussion