Papers › Did the Model Understand the Question?

Did the Model Understand the Question?

14 May 2018ACL 2018 7arXiv:1805.05492archive 2025-07-28

Pramod Kaushik Mudrakarta, Ankur Taly, Mukund Sundararajan, Kedar Dhamdhere

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. 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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1805.05492")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: community (archive-listed): 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pramodkaushik/acl18_results officialmentioned in paper report
ankurtaly/Attributions mentioned on GitHubtf report
ankurtaly/Integrated-Gradients mentioned on GitHubtf report
pramodkaushik/np_analysis mentioned on GitHubtfApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pramodkaushik/np_analysis. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LSTMCell pramodkaushik/np_analysis/neural_programmer/nn_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 77535dcfef8b0dbc · report
apply_dropout pramodkaushik/np_analysis/neural_programmer/nn_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · ad5bb040fe1f5334 · report
convert_to_int_2d_and_pad pramodkaushik/np_analysis/neural_programmer/data_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · bc1a05fa2d44edab · report
correct_unicode pramodkaushik/np_analysis/neural_programmer/wiki_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 58b53508826d68cb · report
get_embedding pramodkaushik/np_analysis/neural_programmer/nn_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 6955954c1e19d195 · report
is_nan_or_inf pramodkaushik/np_analysis/neural_programmer/wiki_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 30c358b2ca0a8aea · report
restore_model pramodkaushik/np_analysis/neural_programmer/notebook_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · f74d08d012c8804a · report
return_index pramodkaushik/np_analysis/neural_programmer/data_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 947a25244430a341 · report
strip_accents pramodkaushik/np_analysis/neural_programmer/wiki_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 8378d8e8e76a6e45 · report
word_lookup pramodkaushik/np_analysis/neural_programmer/data_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · a40d31c6f62a9b43 · report

Tasks

Question AnsweringVisual Question AnsweringVisual Question Answering (VQA)model

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections