Elamur Research

Pathologies of Neural Models Make Interpretations Difficult

Paper · 2018 · Shi Feng, Eric Wallace, Alvin Grissom II et al.

Summary

A word highlighted in a heatmap can tell us something about how a system reacts to a sentence. It is harder to tell whether that word helps explain the answer. The authors examine this gap in interpretability by turning a familiar technique around. Rather than displaying the words whose removal would most affect a prediction, they remove the words whose absence matters least. After each deletion, they check whether the system still gives its original answer and reassess the words that remain. They call this procedure input reduction. A search over several deletion paths helps it reach shorter fragments than a procedure that commits to the first available path.

The experiments use validation data from SQuAD, SNLI and VQA. Input reduction shortens a reading comprehension question, an inference hypothesis or a question about an image, while keeping its companion input intact. The edited text often shrinks to one or two words. DrQA, the reading comprehension system, gives the same correct answer to a question reduced to did, with greater confidence than it had on the full question. Across the tasks, crowd workers answer reduced examples less successfully than original ones. When asked to choose between a fragment found by input reduction and one shortened randomly to the same length, they show almost no preference. A separate SNLI check finds that fragments generated with BiMPM elicit the same prediction from a different architecture 81.3% of the time in the tested sample.

The paper identifies two sources of difficulty. Confidence can remain high after the information needed to justify an answer has disappeared. A deletion can also leave the prediction nearly untouched while changing which of the surviving words look important. This helps explain why a heatmap of the original sentence and the endpoint of a sequence of deletions can tell very different stories. The authors relate the first problem to overconfidence under maximum-likelihood training and to earlier work on adversarial examples. They find similar reduction behavior at earlier DrQA training checkpoints and report qualitatively similar observations on single-input tasks. They also explain why matching confidence to accuracy across a held-out dataset leaves open the problem of how a system responds to a particular incomplete question.

The authors then use the fragments for fine-tuning. They continue to train for accurate answers on intact examples and encourage a less concentrated distribution of answers on reduced ones. Afterwards, the search leaves longer fragments, people answer them more successfully, and they prefer them to fresh, length-matched random fragments. Accuracy on intact validation examples holds up. Randomly shortened training inputs fail to produce the same improvements. Input reduction thus gives the paper both a stress test for word-level explanations and a way to find examples on which to teach greater uncertainty.

Deep dive: Pathologies of Neural Models Make Interpretations Difficult

Input reduction tests what neural text predictions depend on by deleting words, exposing confident answers to questions that have lost their meaning. · about 37 minutes to read

The problem and its context

What a word-level explanation is trying to explain

Suppose a reader has a paragraph and a question, and a system points to the passage it takes to be the answer. A heatmap over the question offers an explanation at the level of individual words. Darker shading might indicate that removing a word would deprive the chosen answer of support. A reader can then look for an association between what the system seems to use and what a person would use to answer the question. This is an appealing approach to question answering because the evidence is presented in the same words the reader has already seen. It can be inspected for each answer, including answers that happen to be correct for an unexpected reason.

The paper describes this as a form of feature attribution. A feature is some part of the input for which the explanation assigns a score. Here, the feature is a word at a particular position. One way of scoring it is to change the input and ask what would happen to the prediction under that change. The comparison is counterfactual in the ordinary sense that one of its inputs is an alternative to the sentence the system actually received. A large drop in support for the answer after deletion gives the word a high score. Earlier work described by the authors uses related changes to an input to explain individual predictions. Why Should I Trust You? · Understanding Neural Networks through Representation Erasure

There is a second route to a score. A neural network takes numerical representations of words, and a gradient indicates how the output responds to small changes in those representations near the current input. It can supply a local approximation to the effect of removing a word. The authors place this approach alongside earlier uses of gradients to visualize what matters to an image prediction and earlier work on explaining predictions over text. Both the exact deletion score and the gradient approximation yield a list of values that can be drawn as a heatmap. The resulting display is easy to read as a statement about which words the answer depends on. Deep Inside Convolutional Networks · Visualizing and Understanding Neural Models in NLP

A score obtained on the full sentence speaks about a word in the company of all the other words. This qualification matters even if the score is obtained by actually performing the deletion. Two words might supply overlapping information, so dropping either alone would have a limited effect. A word may also play its role through a phrase whose interpretation changes as the phrase is shortened. The attribution for a word in the current sentence can be accurate for the specified intervention while giving a poor guide to later interventions. Once one deletion has been made, the remaining words make up a different input, and a fresh measurement can yield a different ranking.

Input reduction puts that dependence on the current sentence to work. It asks whether words whose absence seems harmless can be removed in succession, leaving a compact piece of text that still supports the answer. The expectation examined in the paper is that the final words should look like particularly strong evidence and should resemble the important words highlighted on the original sentence. The authors had reason to take the expectation seriously. As they describe the earlier work, ordinary word-level interpretations can select features that accord with human judgments. Following low-scoring words through a sequence of deletions tests how far that agreement extends.

The approach also raises a second question. A system has to choose from the answers it can represent, even when the text makes a choice hard to justify. The confidence attached to the winning answer tells the investigator how much of the available probability the system has assigned to it. Whether that value reflects the strength of the evidence is a separate empirical question. A study that examines only a heatmap on well-formed inputs may have few occasions to notice this distinction. Successively shortening a question creates occasions to see how attribution behaves when the system is forced to distribute probability over answers to an increasingly incomplete request.

Perturbations, confidence and the benchmark setting

In the earlier adversarial work discussed by the authors, a small change to an input can produce a large change in the output. Some studies in natural language processing look for changes that flip a classification, including edits at the character or word level. The paper also discusses research on paraphrases and on noise in machine translation. Misspellings can arise naturally, so a system may encounter a damaging change during ordinary use. An incomplete question poses a different diagnostic problem. Once part of its meaning is gone, an unchanged output can itself be surprising. HotFlip · Adversarial Example Generation with Syntactically Controlled Paraphrase Networks

Earlier image experiments provide another point of comparison. As the authors describe them, a classifier can assign a high probability to a recognizable class even when a person sees no recognizable member of any class in the image. Pure noise can sometimes elicit this behavior. The paper uses the term rubbish examples for inputs that lack grounds for a meaningful classification yet draw a confident answer. By starting with an ordinary benchmark item, the authors can follow the transition from a meaningful request to an input of this kind. The path of edits lets them ask which part of the question was lost when a target became difficult or impossible for a reader to identify. Explaining and Harnessing Adversarial Examples

The benchmarks also matter because a high score on a familiar test can coexist with dependence on clues that its designers did not intend. The authors discuss earlier findings about linguistic annotation in SNLI. The process that produced its hypotheses left clues that could support a classifier trained without premises. They also note prior evidence that images can play a surprisingly small role in training on VQA. Their own intervention takes place during evaluation and changes the hypothesis or the question of a system trained on paired inputs. This setup makes the diagnostic question concrete. With the other input still available, how much of the original request can disappear while the system keeps committing to the same answer? Annotation Artifacts in Natural Language Inference Data

The paper also places its reading comprehension experiment in the context of work that adds unanswerable questions to SQuAD. A benchmark that includes such questions gives a system a reason to recognize when the passage and question do not support an answer. The paper's own operation starts from an existing question and progressively takes away information. Both setups bring uncertainty into an evaluation that could otherwise focus on answer selection alone. In input reduction, the sequence of intermediate questions offers a way to observe how confidence behaves as evidence is taken away. Know What You Don't Know

The method, step by step

Start with the answer the system actually gave

The procedure begins by running a trained system on an intact example. The authors record its top prediction. In reading comprehension, that prediction is a span, a continuous stretch of text selected from the paragraph. In inference, it is a relation between sentences. In visual question answering, it is the chosen answer to a question paired with an image. The recorded prediction becomes the target for the whole reduction. A later version of the input qualifies to stay in the search if it returns that prediction. For the reading task, the system must select the same span in the passage, including the same beginning and end.

This choice makes reduction applicable to a system's mistakes as well as to its correct answers. The target is taken from the system's response to the original example. The search has no access to the reference answer or class supplied by the dataset. Labels reenter the study for other purposes, such as selecting correctly answered examples for the human experiment and training on intact inputs. Keeping those purposes distinct matters because the deletion trajectory is meant to test what sustains a prediction that has already been made. It would be a different experiment to search for fragments that elicit a desired answer supplied by the investigator.

The second decision is which part to edit. The three main tasks all have a companion input that stays intact. A passage can still be read when its question has become a fragment. A premise is still visible when an inference hypothesis has lost words. An image still provides visual information when its question becomes incomplete. The reduction therefore measures how much of the edited component can disappear in the presence of the other component. This point also matters for the human evaluation. A reader has access to the passage, premise or image and may sometimes use it to make a good guess.

Measure what a deletion does

The authors define a word's importance as a change in the probability of the winning answer. The following notation describes a sentence and its prediction before a candidate deletion.

𝐱 = ⟨x₁, x₂, …, xₙ⟩

Here 𝐱 is the ordered sentence under consideration. Each x with a subscript is the word at that position. The subscripts run from 1 through n, where n is the length of this sentence. The angle brackets mark a sequence, and the ellipsis stands for its intervening positions. Each position can be deleted individually, even when the same word occurs elsewhere in the sentence. In a paired task, the definition leaves the companion input implicit. The score is evaluated with that companion present.

y = argmaxᵧ′ f(y′ ∣ 𝐱)

Here f is the trained predictor, and f(y′ ∣ 𝐱) is the probability it gives a candidate answer y′ when presented with 𝐱. The vertical bar is read as “given.” The operation argmax chooses the candidate at which the probability is greatest. The resulting y is the prediction whose support is being measured. Along a successful reduction path, the system's best answer on each accepted fragment also agrees with the prediction recorded on the original input.

g(xᵢ ∣ 𝐱) = f(y ∣ 𝐱) − f(y ∣ 𝐱₋ᵢ)

Here g is the importance score and i identifies the position being tested. The sequence 𝐱₋ᵢ is 𝐱 with the word xᵢ deleted. The first probability is for answer y on the current sentence. The second is for that same y on the edited sentence, even if some other answer now has the greatest probability. A positive score means deletion weakens support for y. A score close to zero means the measured probability barely moves. A negative score means the deletion raises the probability of y. The lowest score is the preferred candidate for a greedy deletion.

This rule, frequently called leave-one-out, asks a direct question about a finite edit. It compares the exact probabilities from two runs. To rank every word by this method, each candidate deletion needs a separate forward pass, the computation that takes an input to its outputs. The cost recurs whenever the search accepts a shorter fragment and needs a new ranking. With branching, the same issue arises at several possible fragments. The paper uses an approximation to make that repeated ranking practical.

The approximation begins with word embeddings, numerical vectors that represent words in the network. A backward pass computes the gradient of the relevant output with respect to each input embedding. This gradient is a vector of local rates of change, one for each coordinate of the embedding. The approximation takes a dot product, multiplying corresponding coordinates of an embedding and its gradient and adding the products. It yields a scalar for each word. The authors describe it as a first-order approximation, meaning that it uses how the output changes locally to estimate the effect of an edit.

A single forward and backward computation can produce these scores for the whole sentence. The authors report that the approximation selected the same words for removal as their comparison with exact scoring, and they use it throughout the experiments. The predicted answer is still checked on each proposed edit. This distinction is important. The approximation makes the ranking cheaper, while the actual run on the shorter input determines whether the prediction survives. A score that favors some deletion does not itself assert that the resulting text will produce the desired answer.

Follow deletions and keep viable alternatives

In the greedy version, the procedure removes the lowest-scoring word and evaluates the edited input. If the answer survives, the search continues from the shorter text. It assigns importance scores again because the current fragment has changed. If the edit changes the predicted answer, the last fragment that preserved it is the endpoint of this path. Each repetition thus calls for a ranking and an outcome check. A word rated important at the beginning can become a promising deletion later, once the words around it have changed.

Greedy search commits to one route. The best next edit under the importance score can lead to a fragment that resists further shortening, while another low-scoring edit can leave a route to a shorter fragment. The authors use beam search to explore these alternatives. At a given fragment, they consider deletions among the words at the low end of the ranking, within a set whose size is bounded. Predicted-answer agreement stays in force for the alternatives. The aim is to reach short surviving fragments using a tractable search through possible deletion orders.

Input reduction with beam search

The steps in order.

Input reduction with beam searchStep 1: Record the prediction on the full input1. Record the prediction on the full inputStep 2: Score words in the current text2. Score words in the current textStep 3: Propose deletions of low-scoring words3. Propose deletions of low-scoring wordsStep 4: Check each proposal against the original prediction4. Check each proposal against the original predictionStep 5: Continue from surviving shorter candidates5. Continue from surviving shorter candidatesStep 6: Collect the shortest fragments the search reaches6. Collect the shortest fragments the search reaches

The authors shrink the allowed set of deletion candidates as the sentence gets shorter. Their rule for the effective beam size is as follows.

max(1, min(k, L − 3))

Here k is the maximum beam size and L is the length of the sentence currently being reduced. The inner operation min picks the smaller of k and L minus 3. The outer operation max chooses the larger of that result and 1. The nested operations allow a broader choice on longer sentences and narrow it on short ones, with a floor of 1. The authors use a maximum beam size of five after finding that larger values gave comparable results at greater computational cost. A shortest fragment in this search is a shortest one reached under the procedure. Exploring every possible subset of words would ask a different computational question.

Apply the same test to different kinds of answers

For SQuAD, the authors use the Document Reader from DrQA and identify an open-source implementation. The input comprises a question and a paragraph. The reader represents paragraph words using GloVe embeddings, additional word features and attention scores tying paragraph words to question words. A bidirectional long short-term memory network, or BiLSTM, then processes the paragraph sequence. It builds a representation for each position with information from both directions. The question enters through the features that link it to the passage, so shortening the question changes what the reader can draw on to choose a span.

The span selector uses separate classifiers for the beginning and the end. The selected answer is the span with the largest product of the two endpoint probabilities. A question edit can change either probability while leaving the chosen span intact. This is why the paper plots confidence at both endpoints, and why the acceptance rule checks the actual span. As long as the same start and end are selected, a fragment can survive in the search in spite of changes in the probability assigned to either position. The paragraph remains available in every run.

For SNLI, the authors use an open-source implementation of BiMPM, short for Bilateral Multi-Perspective Matching. The premise supplies a situation or piece of information and the hypothesis states something to be judged in relation to it. Entailment means the hypothesis follows from the premise, contradiction means the two conflict, and neutral covers cases in which the premise settles neither relation. The system encodes both sentences with GloVe embeddings and a BiLSTM. It compares their representations from several perspectives, combines the resulting matches with another BiLSTM, and feeds that representation to classification layers. Reduction changes the hypothesis. The acceptance check uses the predicted relation for the full pair.

For VQA, the authors identify an open-source implementation of Show, Ask, Attend, and Answer. This is a vision and language task, where the image supplies the scene and the question specifies what the system is being asked to identify. The architecture uses ResNet-152 to represent the image and a long short-term memory network, or LSTM, to represent the question. It uses their representations to determine where to attend in the image and combines the resulting information for answer prediction. Reduction changes the question alone. The same picture can support many distinct questions, so the ability to return a familiar answer after a deletion deserves a separate check of whether the surviving text still identifies the request.

Use reduced training examples to teach uncertainty

The second part of the method starts from the trained systems and reuses the search on their training inputs. A single original input can yield multiple fragments at the same shortest length reached by the beam. The authors collect all of those tied fragments. This provides a set of examples on which an existing system has shown that it can carry its answer into much shorter text. The paper treats these as negative training examples in the sense that they are used to discourage confident answers. Each regular training example still supplies its usual target. The reduced examples supply a different training signal.

The training signal for a fragment is entropy, a measure of how spread out the output probabilities are. A distribution dominated by one answer has low entropy. A distribution that gives several answers appreciable probability has higher entropy. The authors want the system to concentrate probability on the reference answer for an intact training item and spread it out when it encounters the stripped-down version. Their objective is written as a sum of the two contributions.

∑₍𝐱,ᵧ₎ ∈ ₍𝒳,𝒴₎ log(f(y ∣ 𝐱)) + λ ∑𝐱̃ ∈ 𝒳̃ ℍ(f(· ∣ 𝐱̃))

The first ∑ adds a term for each intact training input 𝐱 paired with its reference answer y. The collection 𝒳 contains the regular training inputs, and 𝒴 contains their corresponding labels or answers. The symbol ∈ indicates membership in the specified collection. The function f(y ∣ 𝐱) gives the predicted probability of the reference answer and log takes its logarithm. Maximizing this term is maximum-likelihood training. The second ∑ ranges over 𝐱̃, the reduced training inputs in the collection 𝒳̃. The dot in f(· ∣ 𝐱̃) indicates that ℍ, the entropy function, takes the whole output distribution. The symbol λ is the weight of that second term. The plus sign joins the two parts of the objective being maximized.

The appendix describes an alternating update schedule. The authors update on two batches of intact examples for maximum likelihood, followed by two batches of fragments for maximum entropy. The fragment batches are sampled randomly from the collection generated by input reduction. This sampling takes place after collection, so the words in those fragments were chosen through the reduction procedure. There are separate Adam optimizers, one for each training term. For SQuAD and SNLI, the learning rate is 2e⁻⁴ and λ is 1e⁻³. For VQA, the learning rate and λ are both 1e⁻⁴.

After the updates, the authors apply input reduction to the fine-tuned systems on validation examples. This calls for a new search with the new probabilities and word rankings. A fragment found before training need not be the endpoint afterward. The experiment measures which fragments can now be reached, how people make sense of them, and whether answer quality on regular inputs has been preserved. It also repeats the experiment with a training baseline that uses randomly shortened inputs of matching lengths. The baseline tests whether the selection of the discarded words matters for the uncertainty objective.

Experiments and results

How much text the validation predictions can lose

The main comparisons use the validation splits of SQuAD, SNLI and VQA. Each original example can be compared with an edited version obtained from that same example. The primary measurements in this part of the experiment are the length of the remaining sentence and the probability assigned to the chosen prediction. For SQuAD, the authors present one confidence distribution for the start of the answer span and another for its end. On SNLI and VQA, the comparison concerns confidence in the predicted class or answer. The unchanged output is a condition of the search. The experiment tests how far the search can go under that condition, and what happens to confidence along the way.

On each of the three tasks, many edited inputs reach one or two words. The confidence distributions remain similar to those on the original inputs. SQuAD and SNLI show a slight decrease in confidence, while the VQA distribution shows an increase. These are comparisons across sets of examples. For an individual fragment, the score can rise, fall or move very little, so long as the original answer remains the winner. The VQA result illustrates how the label constraint can leave room for a distribution to move in a direction opposite to human expectations about a question losing information.

The opening SQuAD example puts the answer and the lost evidence side by side. The full question asks about Astor's spending. At the end of reduction, the question consists of did. With the original paragraph still in view, DrQA selects the span about the Colorado Springs experiments and gives that answer greater confidence than it gave on the intact question. The passage still contains the answer, which explains how the system can select it as text. The fragment gives a reader very little basis for determining which fact in the passage is being requested. The example makes the contrast visible without treating the reader's inability to recover the request as a statement about which span the system will in fact choose.

The unchanged selection also fixes the score against a reference answer on a given example. A prediction that matched the reference before reduction continues to match afterward, and a wrong answer stays wrong. The confidence comparisons add information to this built-in equality. If the system consistently approached indecision as the evidence disappeared while keeping the same winning answer, the experiment would look quite different. Instead, the aggregate confidence distributions show that an apparently strong preference for the answer can survive into a region of inputs where the question or hypothesis has become hard to interpret.

How people respond to the fragments

For each task, the authors sample 200 validation examples originally answered correctly by the system. This makes the human comparison particularly revealing. Every sampled case comes from a successful machine prediction, and the accepted fragment preserves that output. The human experiment can therefore ask how much usable evidence survives in these particular successes. One group of crowd workers answers the intact examples, and another answers the versions produced by input reduction. Both groups have the companion material that belongs to the task. The experiment changes what they see of the question or hypothesis while leaving the available passage, premise or image in place.

The study includes a second comparison on the sampled items. For each original sentence, the authors also delete words at random until they reach the length of its guided fragment. Workers see the original item and choose between the two shortened versions. The chart shows how the three settings draw on the SQuAD validation sample in the human experiments. The intact and guided versions are used for the answer comparison, and the guided and random versions are paired for the preference comparison.

SQuAD validation items represented in each human-study input setting

Each setting uses the same original items, so every guided fragment has a randomly shortened counterpart.

SQuAD validation items represented in each human-study input settingIntact questions: 200Intact questions200Randomly shortened questions: 200Randomly shortened questions200Questions shortened by input reduction (this paper): 200Questions shortened by input reduction(this paper)200
The numbers
System or settingsampled validation examples
Intact questions200
Randomly shortened questions200
Questions shortened by input reduction (this paper)200

On the answer task, human performance drops substantially with reduced inputs across all three benchmarks. For SQuAD the paper reports F1, a measure of overlap between the words in a proposed answer and the reference answer. This allows some credit when their spans overlap. The other human accuracy results are reported as percentages. On SNLI, the results distinguish entailment, neutral and contradiction, since each describes a different relation and the distribution of errors can differ. The result across tasks is that people find the original answer harder to recover from the fragments, even though the prediction kept for each successful machine example is the same.

The preference experiment addresses a narrower possibility. Perhaps the fragment is too short to answer by itself, yet the ranking-and-deletion procedure still preserves recognizable clues better than an arbitrary edit of equal length. The nearly even split in workers' choices gives little support for that expectation before fine-tuning. Since participants see the original, they can compare the surviving words with the original request. Since the two fragments have matching lengths, the decision cannot be explained simply by one candidate having more words. The result concerns human preference in this choice task, alongside the separate evidence that answering the reduced items is more difficult.

What changes after training on fragments

The authors compare the original and fine-tuned systems on ordinary validation examples. Accuracy remains broadly stable, with a slight improvement on SQuAD. They also compare average fragment length when they run a fresh input reduction search. It increases on all three tasks. On the Astor question, the original reader can be reduced to the auxiliary verb alone. After fine-tuning, the surviving fragment contains words about spending, Astor and money. It is still abbreviated, but those words give a person a way to connect the question to the relevant part of the passage.

The repeated human experiments provide evidence beyond length. Workers answer the post-training fragments more successfully across the three tasks. For the preference task, the authors regenerate the random deletions to match the lengths of the new guided fragments. Workers now favor the guided versions. This updated control matters because comparing the new fragments with the old random ones would give the new versions a potential length advantage. Here, the preference is observable against a random fragment with the same number of words, while the answer comparison checks whether people can use what remains to recover the expected output.

The random-training baseline asks a different question from the random preference comparison. For that baseline, the uncertainty objective is trained on inputs shortened by random deletion, with lengths set to match the inputs generated by the original search. The authors report that this baseline improves neither regular-input accuracy nor the fragment-length measure used to assess reduction behavior. The contrast indicates that the way the training inputs were selected mattered in this experiment. The test addresses the practical question of whether simply exposing a system to short or incomplete text is enough to reproduce the result of training on examples specifically found to sustain a confident prediction.

Checks beyond the main benchmark systems

To investigate transfer, the authors use fifty reduced SNLI inputs from each class, generated with BiMPM. They give the resulting examples to a Decomposable Attention Model. The second architecture gives the same prediction as the first 81.3% of the time in this sample. This is a prediction-agreement measurement on already reduced examples. It shows that the examples can carry the behavior across the tested architectures. The measurement concerns agreement with BiMPM's prediction on the fragments, with the premise still present.

The paper also reports similar observations on single-input tasks, including Quizbowl and sentiment analysis. A single-input task removes the feature shared by the three main setups, namely a separate passage, sentence or image that remains intact throughout the edits. The authors present the paired tasks as the primary demonstration because it is easy to see how truncating the question or hypothesis can remove what a person needs to make sense of the companion input. The single-input observations widen the reported setting of the phenomenon. The fuller distributions, human studies and fine-tuning comparisons belong to the paired tasks. Learning Word Vectors for Sentiment Analysis

What the ablations show

The importance of selecting the training fragments

The clearest controlled training comparison substitutes random deletions for gradient-guided reduction. Both approaches supply incomplete sentences, and the constructed sets match in fragment length. The random baseline therefore includes exposure to the limited information and broken syntax that frequently come with short fragments. Guided reduction supplies an additional property. The selected text has survived a search conditioned on keeping the original answer. Training on such text directs the uncertainty objective toward cases in which the current system has already demonstrated a willingness to continue predicting in spite of the missing words.

The length result after fine-tuning differs between the two sources of training examples. The targeted fragments teach a change that becomes visible when the search is run again, while the random-fragment baseline fails to reproduce that change. One plausible reading is that length matching alone leaves the two training sets very different in terms of the predictor's existing behavior. A random deletion may erase a signal that the predictor already relies on. A fragment found by input reduction is deliberately chosen from the cases where the original output persists. The comparison supports the value of that selection rule under the reported setup. It leaves open which individual properties of the selected fragments account for the benefit.

The baseline also clarifies the meaning of a longer endpoint after training. Remaining length is a behavioral result of the reduction procedure. A longer endpoint means that the search has more difficulty continuing to remove words while retaining the same answer. This could happen if a system becomes more responsive to losing evidence, or if its new rankings lead the finite search down different paths. The crowd experiments matter here because they assess the resulting fragments directly. The advantage observed against length-matched random alternatives is evidence about what the remaining words communicate in the study's task setting.

Whether a larger search or more training explains the effect

The beam comparison checks a practical alternative to a single deletion path. By allowing several low-scoring possibilities, the search can reach shorter texts without changing what counts as a successful edit. Increasing the maximum beam beyond five gives broadly comparable results in the authors' tests and requires more computation. This supports their chosen tradeoff for these experiments. The comparison concerns the observed endpoints under different search budgets. Even when further widening shows little gain, the selected paths still depend on the ranking and the candidate restriction.

The authors also examine whether the behavior is mainly a result of late training. Their discussion draws on earlier work in which further optimization of likelihood can make the output distribution more concentrated even when validation accuracy has stopped increasing. If very late training were what allowed a system to remain confident on a fragment, using a checkpoint from an earlier epoch might substantially change the reduction result. The authors repeat input reduction on DrQA checkpoints from every epoch of its training and observe similar behavior on the earlier checkpoints. This places the problem earlier in the process than an explanation confined to late overfitting would predict.

That checkpoint analysis and the entropy-training comparison address different aspects of the training explanation. An earlier snapshot changes how far the original objective has been optimized. The regularized fine-tuning changes what the objective asks the system to do on selected inputs. The persistence of the behavior in earlier DrQA snapshots gives a reason to test a change in objective. The fine-tuning result then shows that adding a training signal for uncertainty can alter the behavior seen by the same diagnostic. The paper grounds this conclusion in the trajectories and benchmarks it ran.

What changes on the way to the endpoint

One SQuAD path illustrates how early the decisive loss of information can occur. The first deletion removes Broncos. With that team name gone, a reader no longer has the information needed to determine which team the question is about. The system still chooses the correct span, and its confidence stays high along the path. In the original question, the gradient ranking had placed the team name at the bottom. A leave-one-out display on the full question can also reveal the discrepancy by assigning the name little prominence, despite its role in specifying the intended referent.

This example matters because it shows a way in which a feature attribution can accurately convey problematic behavior. If an essential word barely affects the chosen output under the specified edit, a low importance score reports that fact. The surprising judgment belongs to the behavior being measured. A longer trajectory expands the diagnostic reach of this kind of explanation. Sometimes the full question still contains multiple clues, and the disagreement with a reader becomes visible only after several changes. A heatmap on the intact input describes the first set of interventions. A reduction path exposes further interventions on successively different inputs.

A separate heatmap analysis follows the word advertisement. It appears at the top of the importance ranking at the second step and at the bottom at the third, even though the intervening edit removes a word judged unimportant at the time. The heatmaps in this example are obtained with leave-one-out scoring. The shift thus concerns measured deletion effects, rather than merely noise in a gradient approximation. The deletion has a small effect on the answer it directly tests, while changing what happens when one of the remaining words is deleted in turn. The original map and the new map answer local questions about different sentences.

The authors call this second-order sensitivity. In their usage, first-order sensitivity concerns how the output reacts to an input change. Second-order sensitivity concerns how the pattern of those reactions changes. A gradient captures local first-order behavior. A heatmap shift suggests that a direction with little immediate impact on the prediction can have a large impact on the sensitivities attributed to other words. The paper compares this with image work that deliberately changes a saliency map while preserving the classifier's answer. In the text example, the shift arises through a deletion selected for its low influence on the current prediction.

This analysis also puts a limit on reading an attribution map as if it gave independent weights that add up to an explanation. When a system builds its representation from nonlinear interactions among words, a word's score can change when its neighbors change. The paper discusses an unordered composition architecture as an example for thinking about when a simpler weighted representation is a better fit. The observed reversal of ranking gives the reader a direct test of the independent-weights interpretation in the particular reduction path. The weights attached to surviving words do not behave as constants under the change. Deep Unordered Composition Rivals Syntactic Methods

Why calibration and targeted uncertainty address different questions

The authors discuss post-hoc calibration in connection with the high confidence on fragments. The temperature scaling procedure they describe adjusts the softmax, the operation that turns output scores into probabilities. It selects a temperature using held-out examples so that the resulting confidence values better track accuracy across a distribution of cases. Such calibration asks whether predictions carrying a given degree of confidence are correct at a comparable rate in the calibration setting. Input reduction asks what happens to confidence as the evidence for an individual prediction is progressively removed.

The paper's objection is that a shared temperature changes confidence across the whole distribution. It gives the system no specific training signal for a question whose referent has just been deleted. The entropy objective, in contrast, associates diffuse predictions with a collection of particular reduced inputs while preserving the likelihood objective on regular ones. The paper presents this discussion as a reason to use a targeted training objective. Its controlled training evidence comes from the baseline with randomly shortened inputs and from comparing the reduction behavior before and after fine-tuning. Earlier entropy regularization applied a confidence penalty to regular examples for a different training purpose. Regularizing Neural Networks by Penalizing Confident Output Distributions

Limitations

Limits identified by the authors

The paper's explanation begins with a limitation of confidence itself. Likelihood training supplies a reason to put probability on the available reference answers. A fragment that no longer states a determinate request need not resemble the examples on which that objective taught the system what confidence to express. The authors attribute the behavior primarily to inadequate uncertainty estimates when the input loses its meaning, drawing on earlier examples of highly confident predictions for degenerate images. They also recognize that benchmark artifacts can encourage unexpected ways of choosing an answer. These are complementary possibilities. The diagnostic can show that a system continues to answer after a loss of evidence, while the reliability of the dataset and the system's learned cues remain separate questions.

The authors also identify the limits of heatmaps as accounts of a decision. A map can communicate the effect of specific interventions in the current sentence. Trouble arises when that local measurement is treated as a stable decomposition of a nonlinear computation. The text examples show that edits judged small by their effects on the chosen output can produce large changes in what a heatmap highlights. The authors point toward evaluations that examine interpretations more thoroughly, better estimates of uncertainty, and explanations that go beyond a collection of separately colored words. Their method gives an example of such an evaluation by showing what happens across edits.

The fine-tuning result is framed as a mitigation. Even after training, the evaluation still concerns fragments obtained from input reduction and their usefulness to people. The authors use increased length and improved judgments to support a claim about more reasonable fragments and greater interpretability under this test. The procedure encourages diffuse outputs on the reduced training examples. How such an objective would fare across other kinds of malformed inputs, perturbations or decision settings remains a broader question. The comparison with random deletion addresses one alternative way to assemble the negative set.

The choice of paired-input tasks is also deliberate. It gives the reader a familiar situation in which one component identifies how to use information in another. If the hypothesis disappears, the premise can remain perfectly intelligible while the requested inference becomes unclear. The authors report that the behavior also appears in single-input settings and that certain reduced inputs transfer between architectures. The scope of those additional observations is narrower than the primary evaluations. The transfer check specifies the source and destination architectures and a class-based sample. The single-input results are described qualitatively.

Limits that follow from the experimental design

The search favors cases in which the answer survives. A fragment's unchanged prediction is therefore evidence that the search found a path satisfying its constraint. The prevalence of short endpoints and the confidence distribution after that selection are the findings to interpret. The experiment would answer a different question if it reported how frequently the answer persisted after arbitrary sequences of deletions. Length-matched random deletions are used as controls in the human preference and fine-tuning comparisons. The paper's main length and confidence results describe fragments generated under the prediction-preserving rule.

Likewise, a shortest search outcome depends on the candidates the beam explores. A deletion with a relatively high importance score can lie outside its permitted set even if that deletion would make an eventual disappearance of more words possible. A path pruned because its prediction changes could in principle lead through more edits to a fragment that restores the original answer. The paper studies the more specific phenomenon of preserving the answer throughout a sequence. That makes the intermediate steps interpretable as a trajectory of the same prediction. It also sets the boundaries of what the resulting fragment establishes about other subsets of the original words.

The full companion input complicates any claim about where the remaining support comes from. A very short question may pair with a passage in which one candidate span is especially salient to the reader system. An image can supply details relevant to many questions. A premise can interact with a surviving hypothesis word. Thus the observations concern what the complete system does with a fragment in context. To say that an isolated word is sufficient for an answer would require accounting for the fixed companion as well. The paired design keeps that context constant so the influence of deletions in one component can be observed.

The human study also has a defined population of items. Its 200 examples per task come from the cases the system answered correctly in the validation data. This selection makes the success on the intact example a shared reference point for comparing the human and machine behavior. The human performance gap applies to that sample of correctly answered items. The comparison of separate worker groups measures performance with different inputs. The preference experiment addresses how those fragments look to workers who are shown the original and offered alternatives. Neither outcome gives a direct estimate of how a crowd worker would reconstruct the entire reasoning process behind a particular machine decision.

There is a related distinction between answerability and preference. A worker might prefer a fragment because it preserves a recognizable subject or action, even when it gives too little information to select an exact answer. A nearly even preference split also leaves open the possibility that some guided fragments retain helpful clues and others discard them. The answer task addresses whether people can recover the reference output, while the paired preference task addresses comparative judgments at matched lengths. Both are evidence about comprehensibility and evidence retention under the stated conditions. They leave room for more detailed judgments about the exact point at which each particular request becomes unanswerable.

The entropy objective treats the collected fragments as cases for which more uncertainty is desirable. Some fragments can still support a legitimate inference when read with their companion input. The human results show an aggregate loss of answerability on the original reduced sets and an aggregate improvement for the new fragments. They do not certify every generated example individually. Likewise, preserved validation accuracy tests performance on ordinary examples from these benchmarks. It gives a check on the main task after training, while broad calibration on future inputs or the quality of decisions about when to abstain would require corresponding evaluations.

Finally, the heatmap trajectory supports a qualitative claim about interactions. A substantial change in a leave-one-out map after a low-impact deletion shows that attribution values can be unstable under the edits investigated. It provides no estimate of how often all such directions are steep, how quickly any particular gradient changes in a continuous neighborhood, or how the result extends to every possible explanation technique. A word deletion is a discrete edit, and the attribution comparison is tied to the selected prediction and scoring procedure. Those features make the example concrete and interpretable while bounding the mathematical conclusions it can support.

What came after

Attacks, perturbations and robustness

Later citing work extends across both sides of the paper's problem, perturbations that test prediction behavior and methods that explain what predictions depend on. Universal Adversarial Triggers for Attacking and Analyzing NLP takes up the use of deliberately chosen text perturbations as an instrument for attacking and analyzing systems. Its stated emphasis is on triggers with a universal scope. Input reduction pursues its search separately for an existing prediction on an individual example. The relationship is in the analytic role of the perturbation. In each case, the behavior elicited by an edited input is evidence about what can drive the system beyond ordinary benchmark examples. Universal Adversarial Triggers

TextAttack brings adversarial attacks, data augmentation and adversarial training into the scope of a single framework. These activities cover both finding altered text that elicits a behavior and using altered text in training. Input reduction gives a concrete example of why both stages matter. The search uses answer preservation to select fragments. The training objective then uses these fragments to encourage uncertainty. The framework's wider scope connects the two activities without implying that every perturbation works as the same kind of training example. TextAttack

BAE studies BERT-based adversarial examples for text classification. Its subject connects with the paper's account of adversarial text as a test of classification behavior. The original reduction study identifies an extreme persistence of the prediction under deletion. The later work's stated focus places a different kind of adversarial example in the same broader investigation of how a classifier responds to changes in its input. A comparison of their questions makes the control conditions important. Whether a perturbation should preserve the right answer depends on how it changes the information available to the reader. BAE

Pretrained Transformers Improve Out-of-Distribution Robustness studies the robustness of pretrained transformers on inputs outside the usual distribution. The connection is the treatment of out-of-distribution behavior as a problem in its own right. The reduction paper starts from a familiar validation item and makes edits that carry it away from an ordinary question or hypothesis. The later title frames the wider issue in terms of pretraining and robustness. Measure and Improve Robustness in NLP Models addresses the measurement and improvement of robustness at survey scale. Input reduction supplies a particular case for that wider subject, where the measured behavior is unjustified confidence in a stable answer. Pretrained Transformers Improve Out-of-Distribution Robustness · Measure and Improve Robustness in NLP

Testing explanations and making them part of the prediction

A Diagnostic Study of Explainability Techniques for Text Classification makes the assessment of explanation techniques a research object in its own right. That is the closest methodological connection to input reduction. Instead of taking the heatmap's visual plausibility as the end of the investigation, the reduction paper evaluates what happens when the scores are put to use in a sequence of edits. A diagnostic study of explanation techniques addresses a broader comparison problem. The reduction case suggests two questions such comparisons can keep distinct, whether a score reflects behavior under a given intervention and whether an explanation tells a human reader what supports an answer. A Diagnostic Study of Explainability Techniques for Text Classification

Learning to Faithfully Rationalize by Construction pursues faithful rationalization as part of system design. The word faithful concerns the relation between a displayed rationale and the computation actually used to make the prediction. Input reduction gives that concern a concrete form. A fragment can preserve a decision while losing the evidence a person would accept for it. Making rationalization part of the construction addresses how explanation and prediction are connected in the first place. Separately, NILE makes faithful natural language explanations the focus of a system for natural language inference. This engages the task used in the SNLI experiment, with the explanation expressed in language rather than solely as scores over surviving words. Learning to Faithfully Rationalize by Construction · NILE

The surveys Analysis Methods in Neural Language Processing and Towards Faithful Model Explanation in NLP place the citing relationship in two overlapping areas. The former surveys ways of analyzing neural systems for language. The latter makes faithfulness the central issue. The 2018 study belongs in their intersection because the interpretation method is itself part of the measurement. A low leave-one-out score may faithfully record that deleting a team name barely changed the prediction, even when the team's identity is essential to the question. Assessing explanations therefore requires attention to the question each technique answers and to the behavior that answer brings into view. Analysis Methods in Neural Language Processing · Towards Faithful Model Explanation in NLP

In AllenNLP Interpret, the stated contribution is a framework for explaining predictions in natural language processing. Inseq frames the tooling problem around interpretability for sequence generation. These works bring the citing relationship to the practical setting in which analysts inspect predictions and their explanations. In the reduction paper, the word ranking becomes most informative when it is recomputed and compared across edited inputs. The original heatmap, the path of deletions and the confidence in the surviving answer each convey something different about the same example. That distinction remains relevant when the object under inspection extends from a class or span to generated text. AllenNLP Interpret · Inseq

Other citing work brings the question of which words matter to instructional prompts. ZIP states its aim as quantifying word importance in zero-shot prompts, where the instruction supplies the task without worked examples in the prompt. This moves the attribution question from evidence inside a benchmark item to language specifying what a system is supposed to do. A word in either position can help determine the meaning of a request, and an attribution procedure measures the behavioral effect of changing it. The earlier reduction study is a reminder to interpret such a measurement in the context of the rest of the words and of the decision being measured. ZIP

Cite

Cite as Shi Feng, Eric Wallace, Alvin Grissom II, Mohit Iyyer, Pedro Rodriguez and Jordan Boyd-Graber. 2018. Pathologies of Neural Models Make Interpretations Difficult. Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/d18-1407 · arXiv 1804.07781

@inproceedings{feng2018pathologies,
  title = {{Pathologies of Neural Models Make Interpretations Difficult}},
  author = {Shi Feng, Eric Wallace, Alvin Grissom II, Mohit Iyyer, Pedro Rodriguez and Jordan Boyd-Graber},
  booktitle = {Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1407},
  eprint = {1804.07781},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/d18-1407}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/feng-2018-pathologies-neural-models-make-interpretations/

References

33 references, from the paper's own bibliography.

  1. Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C. Lawrence Zitnick, and Devi Parikh. 2015. VQA: Visual question answering. In International Conference on Computer Vision. our card
  2. Leila Arras, Franziska Horn, Grégoire Montavon, Klaus-Robert Müller, and Wojciech Samek. 2016. Explaining predictions of non-linear classifiers in NLP. In Workshop on Representation Learning for NLP. OpenAlex ↗ · Scholar ↗
  3. David Baehrens, Timon Schroeter, Stefan Harmeling, Motoaki Kawanabe, Katja Hansen, and Klaus-Robert Müller. 2010. How to explain individual classification decisions. Journal of Machine Learning Research. OpenAlex ↗ · Scholar ↗
  4. Yonatan Belinkov and Yonatan Bisk. 2018. Synthetic and natural noise both break neural machine translation. In Proceedings of the International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  5. Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of Empirical Methods in Natural Language Processing. our card
  6. Jordan L. Boyd-Graber, Brianna Satinoff, He He, and Hal Daumé III. 2012. Besting the quiz master: Crowdsourcing incremental classification games. In Proceedings of Empirical Methods in Natural Language Processing. OpenAlex ↗ · Scholar ↗
  7. Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. 2017. Reading wikipedia to answer open-domain questions. In Proceedings of the Association for Computational Linguistics. our card
  8. Javid Ebrahimi, Anyi Rao, Daniel Lowd, and Dejing Dou. 2017. HotFlip: White-box adversarial examples for text classification. In Proceedings of the Association for Computational Linguistics. our card
  9. Amirata Ghorbani, Abubakar Abid, and James Y. Zou. 2017. Interpretation of neural networks is fragile. arXiv preprint arXiv: 1710.10547. OpenAlex ↗ · Scholar ↗
  10. Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. 2015. Explaining and harnessing adversarial examples. In Proceedings of the International Conference on Learning Representations. our card
  11. Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. 2017. On calibration of modern neural networks. In Proceedings of the International Conference of Machine Learning. OpenAlex ↗ · Scholar ↗
  12. Suchin Gururangan, Swabha Swayamdipta, Omer Levy, Roy Schwartz, Samuel R. Bowman, and Noah A. Smith. 2018. Annotation artifacts in natural language inference data. In Conference of the North American Chapter of the Association for Computational Linguistics. our card
  13. Mohit Iyyer, Varun Manjunatha, Jordan Boyd-Graber, and Hal Daumé III. 2015. Deep unordered composition rivals syntactic methods for text classification. In Proceedings of the Association for Computational Linguistics. our card
  14. Mohit Iyyer, John Wieting, Kevin Gimpel, and Luke S. Zettlemoyer. 2018. Adversarial example generation with syntactically controlled paraphrase networks. In Conference of the North American Chapter of the Association for Computational Linguistics. our card
  15. Robin Jia and Percy Liang. 2017. Adversarial examples for evaluating reading comprehension systems. In Proceedings of Empirical Methods in Natural Language Processing. our card
  16. Vahid Kazemi and Ali Elqursh. 2017. Show, ask, attend, and answer: A strong baseline for visual question answering. arXiv preprint arXiv: 1704.03162. OpenAlex ↗ · Scholar ↗
  17. Pieter-Jan Kindermans, Sara Hooker, Julius Adebayo, Maximilian Alber, Kristof T. Schütt, Sven Dähne, Dumitru Erhan, and Been Kim. 2017. The (un)reliability of saliency methods. arXiv preprint arXiv: 1711.00867. OpenAlex ↗ · Scholar ↗
  18. Jiwei Li, Xinlei Chen, Eduard H. Hovy, and Daniel Jurafsky. 2016a. Visualizing and understanding neural models in NLP. In Conference of the North American Chapter of the Association for Computational Linguistics. our card
  19. Jiwei Li, Will Monroe, and Daniel Jurafsky. 2016b. Understanding neural networks through representation erasure. arXiv preprint arXiv: 1612.08220. our card
  20. Andrew Maas, Raymond Daly, Peter Pham, Dan Huang, Andrew Ng, and Christopher Potts. 2011. Learning word vectors for sentiment analysis. In Proceedings of the Association for Computational Linguistics. our card
  21. W. James Murdoch, Peter J. Liu, and Bin Yu. 2018. Beyond word importance: Contextual decomposition to extract interactions from lstms. In Proceedings of the International Conference on Learning Representations. OpenAlex ↗ · Scholar ↗
  22. Anh Mai Nguyen, Jason Yosinski, and Jeff Clune. 2015. Deep neural networks are easily fooled: High confidence predictions for unrecognizable images. In Computer Vision and Pattern Recognition. OpenAlex ↗ · Scholar ↗
  23. Nicolas Papernot, Patrick D. McDaniel, Ananthram Swami, and Richard E. Harang. 2016. Crafting adversarial input sequences for recurrent neural networks. IEEE Military Communications Conference. our card
  24. Ankur P. Parikh, Oscar Täckström, Dipanjan Das, and Jakob Uszkoreit. 2016. A decomposable attention model for natural language inference. In Proceedings of Empirical Methods in Natural Language Processing. our card
  25. Gabriel Pereyra, George Tucker, Jan Chorowski, Lukasz Kaiser, and Geoffrey E. Hinton. 2017. Regularizing neural networks by penalizing confident output distributions. In Proceedings of the International Conference on Learning Representations. our card
  26. Pranav Rajpurkar, Robin Jia, and Percy Liang. 2018. Know what you don't know: Unanswerable questions for squad. In Proceedings of the Association for Computational Linguistics. our card
  27. Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. SQuAD: 100, 000+ questions for machine comprehension of text. In Proceedings of Empirical Methods in Natural Language Processing. our card
  28. Marco Túlio Ribeiro, Sameer Singh, and Carlos Guestrin. 2016. Why should i trust you?": Explaining the predictions of any classifier. In Knowledge Discovery and Data Mining. our card
  29. Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2018. Semantically equivalent adversarial rules for debugging nlp models. In Proceedings of the Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  30. Karen Simonyan, Andrea Vedaldi, and Andrew Zisserman. 2014. Deep inside convolutional networks: Visualising image classification models and saliency maps. In Proceedings of the International Conference on Learning Representations. our card
  31. Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. 2016. Rethinking the inception architecture for computer vision. In Computer Vision and Pattern Recognition. OpenAlex ↗ · Scholar ↗
  32. Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus. 2014. Intriguing properties of neural networks. In Proceedings of the International Conference on Learning Representations. our card
  33. Zhiguo Wang, Wael Hamza, and Radu Florian. 2017. Bilateral multi-perspective matching for natural language sentences. In International Joint Conference on Artificial Intelligence. our card