Did the Model Understand the Question?

Pramod Kaushik Mudrakarta, Ankur Taly, Mukund Sundararajan, Kedar Dhamdhere
5/14/2018
211 citations
cs.CLcs.AI

Official code: pramodkaushik/acl18_results (33 stars, last commit 2018-07-17).

Abstract

We analyze state-of-the-art deep learning models for three tasks: question answering on (1) images, (2) tables, and (3) passages of text. Using the notion of \emph{attribution} (word importance), we find that these deep networks often ignore important question terms.

Show full abstract

Leveraging such behavior, we perturb questions to craft a variety of adversarial examples. Our strongest attacks drop the accuracy of a visual question answering model from $61.1\%$ to $19\%$, and that of a tabular question answering model from $33.5\%$ to $3.3\%$. Additionally, we show how attributions can strengthen attacks proposed by Jia and Liang (2017) on paragraph comprehension models. Our results demonstrate that attributions can augment standard measures of accuracy and empower investigation of model performance. When a model is accurate but for the wrong reasons, attributions can surface erroneous logic in the model that indicates inadequacies in the test data.

View on arXivView PDF

Code Implementations(1)

Code to reproduce results in our ACL 2018 paper "Did the Model Understand the Question?"

337May 11, 20188 years ago
adversarial-attacksdeep-learningmachine-learningnatural-language-processingquestion-answering+1 more

Similar Papers

Cite this paper

@article{mudrakarta2018model,
  title  = {Did the Model Understand the Question?},
  author = {Pramod Kaushik Mudrakarta and Ankur Taly and Mukund Sundararajan and Kedar Dhamdhere},
  year   = {2018},
  eprint = {1805.05492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.05492}
}

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

Discussion