Probing What Different NLP Tasks Teach Machines about Function Word Comprehension
Paper · 2019 · Najoung Kim, Roma Patel, Adam Poliak et al.
Summary
A preposition can tell a reader whether a phrase describes a location or sets a numerical threshold. A conjunction can ask the reader to find a contrast between ideas that would otherwise read as simple additions. These are small parts of a sentence with consequences for how the whole sentence is understood. The authors ask whether a sentence encoder, a system that turns text into numerical representations, becomes better at preserving such distinctions depending on the task it first learns. They focus on function words because of their role in combining meanings and the relatively little attention they had received in diagnostic testing and distributional semantics.
The authors build nine challenge datasets containing 3,544 annotated examples. They select sentences or sentence pairs from existing corpora, make edits aimed at particular constructions, and ask people to judge the results. Four tests concern acceptability: the fit of a wh-word, the choice of articles, the relation conveyed by a conjunction, and the placement of a sentence boundary. Five use natural language inference, or NLI, in which a classifier decides whether a premise supports a proposed conclusion, conflicts with it, or leaves it unresolved. The inference tests focus on prepositions, comparisons, quantities, spatial descriptions, and negation.
The main experiment keeps the recurrent encoder design fixed across training conditions. The authors vary the task used to train it, freeze the trained encoder, and fit classifiers that read its outputs. Predicting words gives the strongest average performance. Two other conditions, assigning detailed grammatical categories and judging inferences, perform comparably to each other. The rankings change across the tests. Inference pretraining gives the strongest recurrent result on negation, with the advantage concentrated in examples using not. Grammatical supertagging leads on sentence boundaries. Some pretraining conditions even yield lower scores than the same encoder design with randomly initialized recurrent weights. A separate comparison finds that BERT performs strongly on several tests while still struggling with wh-words and articles. BERT
One result illustrates how much an overall score can conceal. The caption-trained and inference-trained encoders are equally accurate on spatial instances of below. On its abstract instances, the inference-trained condition gets 3/6 correct and the caption-trained condition gets 0/6. The authors suggest that visual supervision may favor concrete readings. They also find that larger pretraining datasets give no consistent advantage and that measured vocabulary overlap fails to predict accuracy significantly. The results point to different gaps under different training tasks. Whether combining those tasks would fill the gaps remains an open question.
Deep dive: Probing What Different NLP Tasks Teach Machines about Function Word Comprehension
A study of how sentence encoder pretraining affects the interpretation of function words, using targeted tests of naturalness and inference. · about 37 minutes to read
The problem and its context
What an encoder has to preserve
A sentence encoder produces numerical features that another component can use to make a prediction. Its usefulness depends on what remains available in those features. Suppose a classifier has to decide whether an expression of place fits a sentence. Recognizing the words around it may supply some clues, but the decision can also depend on what sort of place the sentence calls for and how the expression fits the larger construction. A diagnostic test, or probe, gives the classifier a specific decision to make and uses its performance to study the information available from the encoder.
Function words make this particularly interesting. An article can help establish whether the reader is expected to identify a referent. A conjunction can connect ideas as alternatives, additions, or contrasts. A preposition relates expressions whose interpretation depends on the surrounding words. In each case, knowing that the word occurred is only a starting point. The question is whether a representation makes its contribution to the larger expression available. These are problems of meaning as well as of grammatical form. Semantics
Consider definiteness. A sentence may have an article in every place that calls for one, yet be awkward because it treats an entity as identifiable without giving the reader enough context. In another sentence, changing the article may produce a perfectly natural statement about a different referent. Acceptability therefore provides a way to examine some consequences of article choice, while leaving many changes in meaning outside its reach. The authors’ interest lies in this interaction between the expression and the particular context in which it appears.
Frequency alone gives little basis for deciding which distinctions a training task will encourage an encoder to preserve. Function words occur often, but their effects can depend on the relation between whole clauses or on information that the sentence leaves implicit. A wh-word, for instance, can introduce a question whose expected answer is a person, a location, or a reason. The type of answer may be recoverable from the clause even when the clause supplies no word for it. In such a case, a useful representation has to connect the short expression with a larger unit of meaning.
Why compare pretraining tasks?
The paper situates its question in a line of research that learns representations on an initial task and reuses them for other predictions. The initial task is called pretraining because it precedes the particular application being evaluated. The authors cite approaches based on predicting text and on translating a source sentence. Such approaches can differ both in the computation used to encode the input and in the prediction used to train that computation. Comparing their downstream performance directly leaves both factors in play. Deep Contextualized Word Representations
The authors want to know whether changing the training signal makes a discernible difference to specific linguistic abilities. Predicting an upcoming word can reward attention to the immediate construction and to the larger meaning of the sentence. Assigning a grammatical category supplies more explicit information about structure. Judging an inference makes the relation between assertions important. Matching a caption to a picture supplies evidence about visible entities and their arrangement. These demands give the researchers reasons to expect different outcomes, though each training task could reward several kinds of information at once.
Holding the recurrent design steady makes this comparison more informative. Every condition has the same basic machinery for producing contextual features, so differences in accuracy can be examined in relation to the training the encoder received. The paper defines a pretraining task as an objective together with its dataset. That definition matters because assigning grammatical categories and matching images use different sources of examples, as well as different predictions. The main comparison concerns the training tasks as implemented on the shared encoder.
There is also a practical reason to make the evaluation narrow. An overall score on a broad inference benchmark combines many types of decisions. A system can improve that score without gaining much sensitivity to a particular conjunction or numerical comparison. A focused dataset identifies the phenomenon selected for evaluation and gives researchers a chance to see where two training conditions diverge. The resulting score is easier to interpret if the examples make that phenomenon consequential for the answer.
Where the tests come from
The paper draws on earlier studies that attach auxiliary predictors to learned representations. The predictor might recover a sentence property, for instance, by reading a vector produced from the input. The authors cite sentence-embedding studies as precedents for their single-sentence tests. They also describe work built around individual phenomena, including agreement, ellipsis, and negative polarity. Those studies share the premise that a narrow diagnostic can reveal behavior that a general performance measure leaves unresolved. Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Tasks
A second tradition gives semantic diagnostics a common format by recasting them as inference between sentences. Under this approach, a researcher devises a premise and a hypothesis whose relation depends on the property under investigation. The paper mentions earlier use of recast inference to test semantic information in translation encoders. It also relates the choice of a shared format to work that casts diverse problems as question answering, to edge probing’s common format for labeling aspects of linguistic structure, and to GLUE’s collection of classification tasks. Edge probing for sentence structure · GLUE
Other precedents come from research that edits inputs to test a system’s behavior. Some of the work discussed in the paper aims to expose errors by changing the wording while preserving its meaning. In the function-word study, a change can be designed to alter the appropriate answer. Exchanging a conjunction can make a connection between clauses awkward. Exchanging a preposition can change the circumstances an event description implies. The answer to the edited item is therefore a question for annotation. The authors also describe their procedure as more tightly constrained and more specifically directed at particular words than earlier inference stress tests.
This background explains the choice of formats. An acceptability judgment is suitable when the question is whether a particular expression fits its setting. Inference is useful when an edited sentence remains intelligible and the change concerns what follows from it. The two formats let the authors study several roles of function words without making every phenomenon fit the same decision. They also impose different requirements on the classifiers, a distinction that matters when interpreting the scores.
The method, step by step
From a linguistic contrast to a test item
The authors first specify what kind of expression or structure an item should contain. They find candidates in a corpus, retain original material where appropriate, and produce variants through a restricted edit. People judge the examples, and the authors filter the judgments into an evaluation dataset. In parallel, the authors train encoders on different initial tasks. The experiment brings these parts together by asking classifiers with access to those encoders’ outputs to predict the human judgments.
Building and running the function-word tests
The steps in order.
An edit is a way to propose a diagnostic contrast. Its usefulness depends on what happens in the actual sentence. A different wh-word might produce a reading that the researchers had not anticipated. A preposition might be a reasonable substitute in one construction and make another construction difficult to interpret. The paper uses human judgments to turn this preliminary selection into labeled examples, with separate rules for the two test formats.
Single-sentence judgments and sentence boundaries
The wh-word, article, and conjunction tasks draw their original sentences from the test split of the Billion Word Benchmark. The authors choose sentences that already contain the relevant construction and alter half of the selected material. The unchanged and altered groups give the annotators examples with different intended judgments. Acceptance into the dataset depends on the judgments described below. Billion Word Benchmark
For wh-words, the authors look for occurrences of who, what, where, when, why, or how. To generate a variant, they choose randomly among the remaining alternatives and put the chosen word into the original position. A useful way to understand the diagnosis is to imagine an embedded question about someone’s place of residence. The verb and clause can lead the reader to expect a location even if no location is named. Replacing the wh-word with one that normally asks for a person can make that interpretation difficult. The relevant knowledge concerns both what the new word asks for and what the surrounding construction can supply.
For articles, the authors find sentences with repeated instances of the definite article or repeated instances of the indefinite article. A mutation switches the relevant instances to the other article type. When a switch produces an indefinite article, the choice of a or an depends on the word that follows it. The unchanged material covers both kinds of repeated article, and the altered material covers both directions of substitution. This is a test of definiteness in context, with the determiner positions themselves mostly preserved. Determiners
The emphasis on repeated instances is deliberate. The authors found that switching a single article frequently affected interpretation while leaving the sentence reasonably acceptable. A person can readily imagine a context in which either a definite or an indefinite expression would work, with a different reading in each case. Multiple switches make it easier to obtain a difference that people will register on a naturalness scale. This also makes the dataset specifically a test of conspicuous article mismatches under the available context.
For coordination, the candidates contain and, but, or or. In the altered examples a different conjunction appears in that position. The grammatical units on either side provide the material from which the reader has to recover the relationship. In the paper’s example, descriptions of cleanliness and a fresh smell are presented as if they were in opposition. The awkwardness comes from the contrast called for by the conjunction. An annotator who can infer a plausible contrast in a different context might reach a different judgment, which is why the replacement itself is only a heuristic. Coordinating conjunctions
The end-of-sentence test, called EOS, presents a proposed split of running text. Its source is the WikiText-103 test set, from which the authors take adjacent sentences in the same paragraph. They use this corpus because adjacent entries in the Billion Word Benchmark need not come from continuous prose. They remove punctuation and capitalization, then put the words from both sentences together. This removes familiar visual signals of where to divide the text while preserving the original order of the words. WikiText-103 · Tokenization and segmentation
Half the candidates use the original boundary. For the other half, the authors generate a wrong split by sampling a position from a Gaussian distribution centered on the true boundary and rounding to the nearest integer. The Gaussian puts more weight near its center, making nearby positions natural candidates for a shifted break. The paper specifies its spread as follows.
σ = 2
Here σ denotes the standard deviation of the distribution over positions. The equals sign specifies its value, and 2 is the reported spread in the units of the segmentation index. An altered split can put the beginning of a clause at the end of one segment and leave the rest in the next. The annotator or classifier has to judge the two segments together, using the linguistic material on each side.
Inference after a targeted change
The inference tests start from pairs in Multi-Genre Natural Language Inference, abbreviated MNLI. The first sentence is the premise and the second is the hypothesis. In the test, the premise supplies the information to take as given, while the hypothesis proposes something that might follow. Entailment indicates that the premise supports the conclusion, contradiction that it conflicts with the conclusion, and neutrality that it leaves the issue open. The paper uses an arrow to represent the entailment relation. Multi-Genre Natural Language Inference
p → h
Here p is the premise and h is the hypothesis. The arrow points from the statement accepted for the judgment to the conclusion it licenses. In a targeted example, a small change to either side can change the relation being evaluated. The authors use that possibility to construct pairs whose labels are intended to depend on the expression being tested.
The preposition task begins with a manually assembled list of expressions that can often trade places without making the sentence ungrammatical. It includes terms for position and location, including multiword forms, as well as expressions such as with, without, and about. When the procedure finds a listed preposition, it selects a replacement from the list at random. In an example involving a sudden movement, the premise connects an event to a jerk. The alternative hypotheses change how the event relates to that movement, including whether it happened without it. Much of the original event description can thus be recognizable while the inference changes. Adpositions
For comparatives the authors select MNLI pairs with a comparison on each side. Their list includes words for relative quantity or degree, such as more and less, and words for dimensions such as size. They generate changed examples by negating the hypothesis. An assertion that a quantity exceeds a threshold, for instance, calls for different judgments about a hypothesis that places it under the threshold and a hypothesis that denies it is under. The paper contrasts this corpus-based selection with previous work on artificial sentences built around more and less.
The quantification task uses the same hypothesis-negation operation on a different group of examples. Both the premise and the hypothesis must contain a relevant quantity expression. Those expressions include words such as all and some, number words, and expressions of proportion. One illustration concerns whether anything remains when the premise indicates that the available supply has been taken up. What matters for the inference is the interaction between the quantity in the premise and the affirmation or denial in the hypothesis.
For spatial expressions the selection is based on whether the pair uses language about spatial configurations. Terms of direction or distance, including left, right, close, and far, can qualify. Changes are again generated through negation. An example in the paper concerns instructions for taking a turn down an alley. Changing the polarity of a direction in the hypothesis changes how it relates to the route described in the premise. The spatial and preposition tasks consequently have different selection criteria. Spatial expressions qualify by meaning, while the preposition list includes expressions that can also have abstract uses.
The negation task varies the changes on both sides. The authors first locate pairs containing antonyms, words with opposed meanings, with one member in the premise and the other in the hypothesis. They then vary lexical negation, which here means replacing a word with its antonym, and explicit negation, which means adding not. For each sentence the available choices are to leave it alone, replace the antonym, add not, or apply both changes. Applying those choices independently to the premise and hypothesis gives the reported 16 patterns per source pair. The resulting candidates cover cases in which the negative word, the lexical opposition, or their interaction can matter to the final inference judgment.
How people turn candidates into labels
The authors recruit annotators through Amazon Mechanical Turk. Each item receives three judgments, with each person seeing either a sentence or a pair as required by the task. The retained label is based on majority agreement. When no response has a majority under the relevant labeling procedure, the item is removed. This part of the design lets the authors keep the intended linguistic manipulation while allowing actual readers to decide how a specific example is interpreted. Linguistic annotation
For acceptability, the annotators choose among natural, unnatural, and neither. The authors manually prescreen edited sentences that remain felicitous, meaning they still fit their context. The retained altered examples must have a majority judgment of unnatural. The retained originals must have a majority judgment of natural. In EOS the unit of annotation is the proposed pair of segments. The classifier ultimately learns a binary decision from the retained examples.
The batches continue until the authors have roughly 250 unnatural examples per acceptability task. They then choose natural examples from the pooled material to balance the labels, favoring cases where the annotators agree unanimously. The authors describe the datasets as having around 500 examples each, with the exact totals varying across the tasks. The balance comes from selection after annotation, so it describes the diagnostic design rather than how often natural and unnatural sentences occur in the source corpus.
For inference, the authors collect judgments on a 5-point scale. Its endpoints are 1 for definite contradiction and 5 for definite entailment. Annotators are asked to assume that the sentences refer to the same people, objects, or situation as appropriate. They take the premise as given and judge the hypothesis in that context, including cases involving descriptions or opinions. A separate response lets a worker flag a sentence that fails to make sense. The authors exclude a pair if any annotator uses that option, and manually remove ungrammatical material that escaped the annotation check.
The inference judgments are converted to the categories used by the classifier. Ratings of 5 and 4 count as entailment, 3 as neutral, and 2 and 1 as contradiction. Majority agreement is then determined over these categories. This allows annotators to differ about the strength of the inference while agreeing on its direction. The scale gives them a way to register borderline judgments during annotation. The released label supplies the broader distinction needed for evaluation. The authors make the resulting datasets available through the Diverse Natural Language Inference Collection.
The features the classifiers receive
The common recurrent encoder starts with the pretrained character-level convolutional network from ELMo. It constructs a representation from the characters of each input word. At this stage the features concern that word alone. Using characters allows the encoder to form an input representation for a word without requiring a separately stored vector for every word encountered. This is especially relevant when the source of the text changes between training and evaluation. Word embeddings
The next component is a 2-layer 1024d bidirectional long short-term memory network, or BiLSTM. The recurrent computation moves through the words in both directions so the output at a position can reflect surrounding material. The task-specific component sees states from the top recurrent layer. It also receives the original word features through a skip connection, a path that carries those features directly to a later stage. The downstream predictor can therefore draw on contextual states and on the character-derived inputs.
For the two sentence-pair classification objectives, NLI and DisSent, the paper uses attention inspired by bidirectional attention flow. The encoder produces a sequence of vectors for each sentence. The task component compares every word position of one sequence with every word position of the other using dot products. The resulting attention gives each position access to information from the corresponding sentence in the pair. Another BiLSTM processes these enriched sequences before they are pooled into sentence vectors. Bidirectional Attention Flow
The pooling operation takes the largest value in each vector coordinate across the positions in a sequence. It yields a vector of fixed size even when sentences differ in length. Once the head has a pooled vector for each sentence, it passes the following matching features to a multilayer perceptron, or MLP, which is the feedforward network that predicts the class.
[h₁; h₂; h₁ · h₂; |h₁ − h₂|]
Here h₁ and h₂ are the pooled vectors for the first and second sentences, with the subscripts 1 and 2 identifying their order. The brackets enclose the complete feature vector, and semicolons indicate that its parts are concatenated. The centered dot denotes a coordinatewise product in the matching features. The subtraction is also coordinatewise, and the vertical bars give the absolute magnitudes of those differences. The classifier thus receives each vector by itself as well as features describing where the two vectors align or differ. The coordinatewise product in this vector serves a different purpose from the earlier dot products used to score attention between positions.
For objectives that generate a sequence, the task component needs a decoder. The authors use a single-layer 1024d LSTM whose initial state derives from the pooled encoder output. A linear projection reduces the decoder’s output dimension by half before the softmax, the operation that converts the output scores into a distribution over candidate tokens. The task of generating text supplies training to the encoder. The encoder’s output is then what the diagnostic classifier can use.
The tasks that train the encoder
In language modeling, the objective is word prediction using the Billion Word Benchmark. An unrestricted bidirectional representation would make this training problem trivial if the prediction could use the word it is supposed to recover. The authors train separate forward and backward two-layer 1024d predictors. The directional states are concatenated when the representation is transferred. This gives the diagnostic classifier information from both directions without giving either predictor the answer through the opposite direction during its own training. Language modeling
Skip-thought training asks the system to generate the following sentence from the previous sentence. The authors use WikiText-103 because this objective needs actual continuations in running text. The encoder learns from the decoder’s attempt to predict how the text continues. The learned sentence representation may therefore contain information relevant to continuing a passage. The supervision is the next sentence as a whole, with no separate label for the particular relation connecting it to the preceding sentence.
Combinatory Categorial Grammar, or CCG, supplies labels describing the grammatical roles a word can take and how it can combine with other expressions. The pretraining task predicts a supertag for each word in a sentence using CCGbank. The paper compares the format to part-of-speech tagging, with categories that carry more structural information. This gives the encoder direct feedback about grammatical composition at the word level. CCGbank · Supertagging
DisSent uses clauses from WikiText-103. The authors apply an existing extraction procedure that looks for clauses with a specified dependency relation. The prediction concerns which discourse marker links the clauses, with examples including and, because, and so. The training signal therefore asks the encoder to help identify the connection between pieces of text. It differs from skip-thought even though both conditions draw on the same corpus. The former predicts a marker for extracted clauses, and the latter generates a following sentence.
For NLI pretraining, the authors use MNLI to predict entailment, contradiction, or neutrality. The task requires the pairwise classification machinery described above. In the probing stage, classifiers in other pretraining conditions also learn these categories from MNLI. The NLI-pretrained encoder is distinctive because that supervision has already shaped the features it supplies. The design allows the authors to ask whether earlier training of the encoder on inference makes a difference when the later reader of those features also learns an inference task.
The translation objective uses WMT14 English-German data. An attention-based decoder generates German from the English input, and the encoder receives training through that prediction. Translation and skip-thought are both sequence generation tasks. Their targets place different demands on the input representation. One output expresses the source material in another language, while the other belongs to the subsequent discourse. The authors reuse the encoder learned from each kind of target. Machine translation
Image-caption matching gives text a visual target. The training data pair captions with images from Microsoft COCO. A Resnet-101 pretrained on ImageNet produces a 1024-dimensional representation of the picture. The authors linearly project the sentence representation to the same dimensionality and use a cosine embedding loss to bring the representations of corresponding captions and images closer. Cosine distance concerns the directions of the vectors, so the training signal rewards alignment between the encoded caption and image features. The diagnostic classifier later receives the text representation. Microsoft COCO · Deep Residual Learning for Image Recognition
Training and reading out the representations
The authors apply dropout at the input, after each recurrent layer, and after each MLP layer in the task-specific classifier. Dropout temporarily masks part of the representation during training as a form of regularization. The setting is given as follows.
p = 0.2
In this expression p is the dropout probability, the equals sign specifies the setting, and 0.2 is its value. This use of p refers only to the training parameter. The premise in the inference notation is a separate use of the same symbol.
The reported maximum sequence length is 40 tokens. The recurrent setup uses the Moses tokenizer, with byte-pair encoding used for translation. The character encoder can produce input word features without a word-level vocabulary. Generation tasks still need a set of possible output symbols, and the authors specify an output vocabulary of 20,000 tokens for the sequence-to-sequence tasks. These choices distinguish the handling of an input word from the decoding decision that predicts an output token. Subword tokenization
Training uses AMSGrad. The initial learning rate is 1e-3 for text generation and 1e-4 for the other tasks. The authors check validation performance every 1,000 iterations. After more than 4 validation checks without improvement, they multiply the rate by 0.5. Training stops after 20 evaluations without a new best result or when the rate drops below 1e-6. The authors recover the checkpoint with the best validation result. The implementation is open source under the name jiant and uses PyTorch and AllenNLP. AMSGrad · AllenNLP
Once pretraining is complete, the authors fix the recurrent encoder’s weights. For the inference diagnoses they fit the attention-based classifier on MNLI using the frozen features and then score it on the challenge pairs. No fitting takes place on the individual inference diagnostics. The classifier has learned the general inference categories and must use that experience to judge pairs selected to make a particular expression important.
For the usual single-sentence acceptability tasks, the authors pool the sequence of hidden states into one vector and feed it to a 512d MLP. For EOS, they pool the candidate segments separately, join their vectors, and give the combined representation to the MLP. This lets the boundary decision depend on the contents of both segments. The authors train each acceptability classifier on examples from its own diagnostic, leaving a separate portion for testing.
BERT base, uncased, supplies a separate comparison. The inference evaluation uses an existing MNLI-fine-tuned classifier. For acceptability, the authors attach a linear classifier to the final hidden state at the first input position, where a special CLS token marks the classification position. A SEP token separates the segments in a paired input. The classifier assigns probabilities through a softmax, and its parameters and the encoder’s are adjusted together to increase the log-probability of the reference label. This joint training is called fine-tuning.
Experiments and results
What goes into an accuracy score
The final acceptability datasets contain 584 wh-word examples, 508 article examples, 456 conjunction examples, and 478 EOS examples. For EOS, an example is a candidate split presented as a pair of segments. The final inference datasets contain 591 negation pairs and 358 preposition pairs. The remaining sets contain 323 quantification pairs, 157 spatial pairs, and 89 comparative pairs. These counts describe the retained datasets after annotation and filtering.
Accuracy is the share of evaluated items assigned the reference label. For acceptability, the paper uses 10-fold cross-validation to estimate test accuracy on each small dataset. The authors divide the data into 10 folds with balanced labels. For a test run they use 8 folds for training and 1 fold for development, reserving the remaining fold for the test. Each fold supplies the test examples in turn, and the reported score averages the test accuracies across folds. The paper describes the amount of training material in an acceptability run as around 400 examples per task.
For inference, accuracy is measured directly on the relevant challenge dataset after fitting the classification head on MNLI. This gives the two families of accuracy different interpretations. The acceptability score measures how well a classifier trained on examples of the target construction generalizes to held-out examples from the same diagnostic. The inference score measures how well a classifier trained on a general inference corpus transfers to pairs chosen for the target construction. These interpretations matter when reading the overall ranking, which summarizes results obtained under both regimes.
Baselines for the labels, the encoder, and the annotators
One baseline always picks the most frequent label. It establishes how far a classifier can get from the answer distribution alone. A more demanding comparison uses the common encoder design with its recurrent weights left at random initialization. The character-derived input features are still available, and a classifier is trained to read the resulting representation. This condition shows what the retained input information and the untrained recurrent features can support before any of the compared pretraining tasks is applied.
The paper reports a spread across five random initializations of the recurrent encoder. Its average standard deviation across the tests is around 1 percentage point. The mean test accuracy on the wh-word diagnostic is 51.37%, with a standard deviation of 0.36 percentage points. For articles, the mean is 57.77%, with a standard deviation of 0.97 percentage points. The EOS mean is 52.74%, with a standard deviation of 1.30 percentage points. Thus even among balanced acceptability tasks the trained classifier can make different use of the features available in the random condition.
The corresponding random-encoder means on the inference challenge sets include 46.14% on prepositions and 53.78% on negation, with standard deviations of 0.89 and 0.84 percentage points. Quantification has a mean of 61.1% and a standard deviation of 1.55 percentage points. On comparatives the mean is 51.22%, with a standard deviation of 2.31 percentage points. The typical spread gives context for comparisons across pretraining conditions, and the individual values show how that scale varies by task.
Individual annotator accuracy on the final datasets gives a further point of comparison. The authors also report how frequently annotators agree pairwise and how frequently the judgments are unanimous. For prepositions the pairwise agreement is 54.7%, the unanimous share is 32.1%, and individual accuracy against the expected final label is 77.4%. For conjunctions these are 75.3%, 62.9%, and 87.6%, respectively. For EOS the same quantities are 64.9%, 47.3%, and 82.4%. Agreement describes how consistently people judge the material. The individual accuracy on retained examples is the figure used for the human comparison in the results.
Performance across the diagnostic suite
Language modeling leads on average in the controlled recurrent comparison. CCG supertagging and NLI are close to each other within the range of variation discussed by the authors. Which condition leads depends on the diagnostic. NLI gives the highest recurrent scores for negation and conjunctions. CCG leads the recurrent conditions on EOS. The authors see a plausible connection between the structural labels used in CCG and the need to identify a coherent boundary after written boundary cues have been removed.
Some pretrained conditions perform below the random encoder. That is the pattern the authors highlight for skip-thought and image-caption matching on spatial expressions and prepositions. CCG and image-caption matching also score below the random comparison on negation, where NLI improves performance. The same choice that yields a good diagnostic result for one construction can be of little help on another. Looking at improvements and declines relative to the random features makes that dependence visible.
BERT improves performance on many of the tests and exceeds the individual annotator comparison for conjunctions and EOS. On wh-words and definite versus indefinite articles, its accuracy is below the randomly initialized recurrent baseline. These are results on the paper’s retained examples and under the respective fitting procedures. They show how strong performance on the reading of a boundary or conjunction can coexist with difficulties on expressions that call for different contextual judgments.
The authors also report standard MNLI development accuracy. This score concerns the general inference task, with its ordinary development examples. It helps describe the encoder conditions independently of their ranking on examples selected around function words.
Encoder accuracy on the MNLI development split
The inference-pretrained encoder leads these conditions, and the random encoder also ranks above the word-prediction and caption-trained encoders.
The numbers
| System or setting | accuracy % |
|---|---|
| Image-caption matching | 62.6 |
| Language modeling | 72.6 |
| Random recurrent encoder | 73.8 |
| NLI pretraining (this paper) | 75.6 |
The development score and the targeted results put different demands on the representations. The word-prediction condition leads on average across the diagnostic suite even though its MNLI development score is below the NLI-pretrained condition’s score. The random encoder’s development performance also gives some context for the authors’ use of it as a substantial comparator. Diagnostic accuracy supplies the finer distinctions, such as whether the training leads to better handling of explicit negation or of a conjunction in context.
What the ablations show
Do different encoders make the same decisions?
The authors’ follow-up comparisons look at individual predictions, subsets of examples, and properties of the pretraining datasets. The comparison of pretraining tasks is an intervention on the training setup for the common recurrent encoder. The subset comparisons ask where an observed advantage occurs. They use the predictions already produced by the different conditions, grouping examples by the linguistic property of interest.
Prediction overlap measures how frequently two conditions assign exactly the same label to an item. Accuracy uses the reference label as its point of comparison, whereas overlap compares predictions with each other. Conditions can have similar accuracy while getting different examples right. A pair can also have high overlap because both versions tend to make the same mistakes. This is why the authors examine agreement itself alongside the scores.
Image-caption matching and skip-thought stand out as the conditions whose predictions most often diverge from the others in the overall comparison. The inference-trained and image-caption-trained conditions form the least closely aligned pair across the tests. The departure of the caption condition is especially pronounced on prepositions. This observation directs attention to which kinds of preposition use a training signal based on pictures might favor. Overlap locates a difference in the decision patterns before the authors examine a possible explanation.
The negation gain is concentrated in explicit marking
The overall negation score combines pairs involving not, lexical opposition, and their interaction. The authors inspect subset scores to see which examples contribute to the improvement from NLI pretraining. They report the overall result alongside results for examples involving antonym-based negation and those explicitly negated using not. These subsets are possible because the data construction varies the two operations separately.
The comparison puts the main improvement in the explicit-negation subset. It therefore gives the NLI result a more precise interpretation. Earlier inference training seems particularly helpful when a separate word explicitly marks negation. The authors see much less of the advantage in the lexical-negation examples. A single overall score would leave the impression that the benefit extends more evenly across how the test expresses polarity.
This comparison also ties a practical choice in corpus construction to what the authors can learn afterwards. A diagnostic that only included not could show sensitivity to explicit negation. Varying antonyms and explicit markers independently creates an opportunity to ask whether the same encoder benefits across both types. The observed concentration helps identify the part of the phenomenon in which the training signal has the clearest association with better judgments.
The same preposition in concrete and abstract readings
The preposition below can describe an object’s physical position or place a quantity on a scale. The spelling is the same in both cases. The words around it indicate whether the relation concerns height, a numerical limit, or some other point of comparison. The authors examine this word because the weak prediction overlap for image-caption training is especially visible in the preposition diagnostic.
They identify 17 instances of below, of which 11 are spatial and 6 abstract. On the spatial cases the NLI and image-caption conditions both obtain 64% accuracy, reported as 7/11 correct. On the abstract cases the NLI condition obtains 50%, or 3/6 correct, while the image-caption condition has 0/6 correct. In this comparison the conditions reach the same performance on the kind of relation readily depicted in an image, and they differ on the subset for which the relation is abstract.
One of the abstract examples concerns an income condition for eligibility. A premise gives an upper limit tied to the federal poverty level, and the hypothesis uses below to describe the limit. The paper treats the pair as entailment. The inference-trained classifier predicts that label, and the caption-trained condition misses it. The illustration makes the authors’ hypothesis tangible. Visible arrangements can show that one object is lower than another. A picture offers much less direct evidence that a preposition can express how a number compares with a threshold.
The authors use the contrast as evidence consistent with a bias toward concrete senses under image-caption matching. They also point out that the division between concrete and abstract readings extends beyond below among prepositions. The measured comparison is specific to the occurrences they inspect. The fact that the NLI and image-caption conditions tie on the spatial instances helps locate the observed divergence in the abstract subset.
What the dataset comparisons can explain
The amount of training material varies markedly across the conditions. CCG is competitive on the diagnostic suite despite using the smallest training dataset in the comparison. The paper describes that dataset as an order of magnitude smaller than NLI’s and two orders smaller than the one for language modeling. Since the suite includes several conditions in which pretraining lowers accuracy, a larger number of examples alone gives little guidance to the expected ranking. The supervision carried by each example can matter to how the trained encoder supports a specific distinction.
The authors also ask whether there is a straightforward lexical explanation for the results. Each corpus brings its own vocabulary, so a condition might do better because its training data included more words from the diagnostic examples. The authors calculate the ratio of overlapping words between training and probe datasets and use a regression to test whether that measure predicts accuracy. The overall p-value is 0.39. In the separate regressions for the diagnostics, all p-values are greater than .05 after Bonferroni correction for multiple comparisons. The measured overlap gives no statistically significant prediction of performance under these analyses.
Corpus overlap at the word level and sensitivity to a word’s senses address different questions. A word can occur in two datasets even if the use that matters for evaluation was uncommon in the training data. The authors’ study of below makes that distinction concrete. Their regression examines shared vocabulary in aggregate, while the sense comparison examines judgments about a word that is visibly the same across several uses. Together the analyses narrow the plausible explanations for the observed scores without identifying a single source of every difference.
Limitations
Limits identified by the authors
The authors describe the study as exploratory and find some differences easier to interpret than others. Explicit negation is a plausible beneficiary of NLI supervision, and CCG’s grammatical labels give a plausible reason for its performance on boundaries. Those explanations connect the training objectives to linguistic demands of the diagnostics. Establishing which elements of the training signal yield those outcomes would require further investigation. The different conditions can supply several kinds of information simultaneously.
The authors likewise propose visual grounding as an explanation for the caption encoder’s pattern on prepositions. The comparison of concrete and abstract uses is an illustration of that account. The analysis is small and concerns a single preposition with several uses in the challenge set. Measuring a broader sense distribution in the pretraining data or varying the visual supervision would address the proposed explanation more directly. The observed result is a pattern among predictions under the training conditions used.
The authors report trying a general acceptable-sentence classifier trained on CoLA, with direct evaluation on the acceptability challenges. That would have paralleled their use of a general inference classifier on the inference diagnostics. The attempt produced scores around chance. The paper suggests that CoLA may have been difficult for the base encoder, given similarly low performance in the comparison it cites. Training each acceptability classifier on its own diagnostic supplies a workable evaluation, with the consequence that it measures a different kind of transfer from the inference setup.
The paper ends by suggesting that several training tasks could address gaps left by individual ones. The changes in ranking and the differences in prediction overlap give that suggestion a motivation. The experiment compares the individual tasks. It leaves questions about which tasks to combine, how to combine their signals, and whether the strengths would persist after joint training.
Limits of what the design can establish
The architecture control applies to the main recurrent comparison. The corpora, supervision, and task components used for pretraining vary with the condition. A grammatical label, an image representation, and a continuation each require a different prediction process, and the corresponding datasets provide different linguistic material. The results compare these packages of objective and data under a common encoder design. An experiment aimed at attributing a difference to the loss alone would need to control more of those ingredients. The vocabulary and size analyses investigate particular explanations among the remaining differences.
The choice of a frozen encoder narrows what can change during probing. The downstream classifier still learns. It can use lexical features from the character component and contextual features from the recurrent layers, and the scores aggregate over whatever combination is useful for the labels. High accuracy establishes that the available features support the prediction under the particular training procedure. Questions about which layer contains the decisive information, how the classifier uses it, or whether the same information plays a role in the original task require other evidence. Low accuracy can reflect difficulty extracting useful information with that classifier or a weakness in the features it receives.
Acceptability also has a specific selection effect. The retained unnatural items come from altered examples, and the retained natural items come from originals. The filters establish that people judge the selected items as intended. A classifier trained on such material could still use regularities associated with how the replacements were chosen. For example, a substitution may create a rare local combination, which can be predictive without settling whether the classifier resolves the larger relation between clauses. The cross-validation scores apply to held-out examples generated and screened by the same general procedure.
The same concern plays out differently in the inference diagnostics. These pairs are derived from MNLI, and the downstream inference classifier is trained on MNLI. The classifier gets no task-specific fitting on the probes, while the evaluations use material derived from the corpus that provides its general supervision. This is a way to test sensitivity to controlled variations within that setting. Generalization to another corpus or to naturally occurring examples of the same phenomenon is a separate question.
Some of the inference results also reflect the operation used to generate the examples. The comparatives and quantification datasets use negation of the hypothesis, and the spatial dataset also uses negation. A successful answer can depend simultaneously on interpreting the comparison, quantity, or direction and on working out how negation affects the hypothesis. The name of each test identifies what the authors select for, while the generation rule specifies an additional part of the problem the classifier faces.
Annotation makes the target more dependable at the cost of narrowing its range. In acceptability, a changed article can affect whom or what the sentence describes and still sound plausible. Such cases generally fall outside the retained unnatural class. In inference, removing pairs that make little sense or lack majority agreement yields labels that can be scored consistently. Converting the 5-point responses to classes also means that the final accuracy gives equal credit for predicting labels on weaker and stronger versions of the same judgment. A reader interested in uncertainty or disagreement would need to examine the response patterns themselves.
The figures for individual annotators have a similarly specific meaning. They measure agreement with the chosen answer on retained examples under the paper’s protocol. Scoring above that comparison on conjunctions or EOS means doing better than the individual-annotator benchmark as calculated there. It gives limited evidence about the wider judgments people could make with more discourse, an opportunity to reconsider, or a different definition of the task. The five random starts have their own scope as well. They characterize variation in the unpretrained recurrent condition, leaving the repeatability of each pretrained condition as a separate issue.
Finally, BERT’s results combine a different encoder with different training and adaptation procedures. Their value in this study is to show how the same diagnostics behave when used with that additional condition. The authors speculate that BERT’s next-sentence classification task could contribute to its strong EOS performance. A comparison in which that part of its pretraining is varied would be needed to evaluate that particular explanation.
What came after
Testing particular behaviors and changes
CheckList cites the function-word study in work on behavioral testing beyond aggregate accuracy. The connection is the unit of evaluation. In the earlier paper, a difference in conjunction judgments can be examined separately from a difference in spatial inference, even when both ultimately produce classification scores. CheckList takes behavioral testing as a broader subject. Seen alongside the function-word suite, it addresses the problem of deciding which behaviors to test when a benchmark average leaves specific questions unanswered. CheckList
Polyjuice takes counterfactual generation as a means of explaining, evaluating, and improving systems. It cites a paper whose diagnostic material is also created by changing existing examples, with the edits aimed at specific constructions. The earlier work uses a small vocabulary of edits, such as a preposition swap or a negated hypothesis, and asks readers to determine what judgment follows. Polyjuice puts the generation of alternative inputs at the center of a wider set of uses. The connection is the value of an intelligible alteration for specifying which decision is under examination. Polyjuice
The work on variability among BERT systems asks how generalization can differ even when test-set performance is similar. It cites the function-word study, which explores a related separation between accuracy and patterns of predictions. Two encoders can be close in their broad scores while disagreeing over individual preposition examples. The later paper makes variation in generalization among similarly scoring systems its central subject. The two questions concern different comparisons, with a shared interest in what individual decisions reveal underneath an aggregate result. BERT generalization variability
More selective semantic diagnoses
Negated and Misprimed Probes cites the study while bringing negation into tests of pretrained language prediction. In the function-word study, the inference between sentences may change when an explicit negative expression is added or an antonym is exchanged. The later work addresses negated probes and the effects of mispriming. It carries the concern with sensitivity to negation into a different kind of prediction, where what is being tested includes the response to a changed probing context. Negated and Misprimed Probes
IMPPRES takes up implicature and presupposition in natural language inference. Its connection to the function-word study lies in using sentence relations to ask about a selected type of meaning. The earlier paper chooses examples where expressions of quantity, comparison, or polarity can influence an inference. IMPPRES puts implications and background assumptions associated with utterances at the center of the evaluation. The continuity is in expressing a targeted semantic question through the relation between sentences. IMPPRES · Implicature
The later work on determiners and anti-presuppositions cites the article study and gives determiner interpretation a more specific target. The earlier diagnostic uses repeated switches between definite and indefinite articles to obtain reliable judgments of naturalness. The later paper’s stated subject is how determiner choices relate to anti-presuppositions and the Maximize Presupposition! principle. It continues the inquiry into small grammatical choices with a focus on which assumptions those choices carry in context. Probing determiners and anti-presuppositions
What transfer and probe scores can establish
Designing and Interpreting Probes with Control Tasks addresses how controls inform the reading of a probe score. The function-word paper uses a randomly initialized encoder to estimate what a fitted classifier can already do with the base features and the recurrent design before the compared training tasks. The control-task work centers on the task used to calibrate a probing result. Both are concerned with attributing an observed success to the right part of an experiment, with the earlier study placing its main control on encoder training. Probing with Control Tasks
Does Probing Accuracy Entail Task Relevance? cites the paper and takes up the relation between recoverability and use. The earlier study starts from a training task and asks which distinctions a subsequent classifier can recover from the representation it produces. The later paper asks what such recovery establishes about the relevance of the information to the task. The question is especially pertinent to results such as CCG’s strong boundary accuracy, where the training prediction and the diagnostic prediction concern different outputs. Does Probing Accuracy Entail Task Relevance?
Intermediate-Task Transfer Learning cites the paper in work on when and why an intermediate training task helps. The original comparison shows where the answer can depend on the downstream decision. A training condition that helps with negation can be ordinary or weak on another construction, while an objective strong on average can still leave individual gaps. The later work makes the conditions for beneficial transfer its explicit question, continuing the inquiry from which training signal yields a usable representation to when that advantage carries through to the next task. Intermediate-Task Transfer Learning
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 2Research subjects and languages the work is about.Language models & pretraining · 4,145 worksInterpretability · 156 works
Cite
Cite as Najoung Kim, Roma Patel, Adam Poliak, Alex Wang, Patrick Xia, R. Thomas McCoy, Ian Tenney, Alexis Ross, Tal Linzen, Benjamin Van Durme, Samuel R. Bowman and Ellie Pavlick. 2019. Probing What Different NLP Tasks Teach Machines about Function Word Comprehension. Proceedings of the Eighth Joint Conference on Lexical and Computational Semantics (*SEM 2019).
@inproceedings{kim2019probing,
title = {{Probing What Different NLP Tasks Teach Machines about Function Word Comprehension}},
author = {Najoung Kim, Roma Patel, Adam Poliak, Alex Wang, Patrick Xia, R. Thomas McCoy, Ian Tenney, Alexis Ross, Tal Linzen, Benjamin {Van Durme}, Samuel R. Bowman and Ellie Pavlick},
booktitle = {Proceedings of the Eighth Joint Conference on Lexical and Computational Semantics (*SEM 2019)},
year = {2019},
doi = {10.18653/v1/s19-1026},
url = {https://doi.org/10.18653/v1/s19-1026}
}References
- Yossi Adi, Einat Kermany, Yonatan Belinkov, Ofer Lavi, and Yoav Goldberg. 2017. Fine-grained analysis of sentence embeddings using auxiliary prediction tasks. In International Conference on Learning Representations.
- Srinivas Bangalore and Aravind K Joshi. 1999. Supertagging: An approach to almost parsing. Computational Linguistics, 25(2):237–265.
- Raffaella Bernardi, Gemma Boleda, Raquel Fernandez, and Denis Paperno. 2015. Distributional semantics in use. In Proceedings of the First Workshop on Linking Computational Models of Lexical, Sentential and Discourse-level Semantics, pages 95– 101, Lisbon, Portugal. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ondrej Bojar, Christian Buck, Christian Federmann, Barry Haddow, Philipp Koehn, Johannes Leveling, Christof Monz, Pavel Pecina, Matt Post, Herve Saint-Amand, Radu Soricut, Lucia Specia, and Aleš Tamchyna. 2014. Findings of the 2014 workshop on statistical machine translation. In Proceedings of the Ninth Workshop on Statistical Machine Translation, pages 12–58, Baltimore, Maryland, USA. Association for Computational Linguistics. DOI ↗
- Ishita Dasgupta, Demi Guo, Andreas Stuhlmüller, Samuel J Gershman, and Noah D Goodman. 2018. Evaluating compositionality in sentence embeddings. arXiv:1802.04302. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers).
- Allyson Ettinger, Ahmed Elgohary, and Philip Resnik. 2016. Probing for semantic evidence of composition by means of simple classification tasks. In Proceedings of the 1st Workshop on Evaluating Vector-Space Representations for NLP, pages 134–139. Association for Computational Linguistics.
- Allyson Ettinger, Sudha Rao, Hal Daumé III, and Emily M. Bender. 2017. Towards linguistically generalizable NLP systems: A workshop and shared task. In Proceedings of the First Workshop on Building Linguistically Generalizable NLP Systems, pages 1–10, Copenhagen, Denmark. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Samuel Bowman, Yoav Goldberg, Felix Hill, Angeliki Lazaridou, Omer Levy, Roi Reichart, and Anders Sgaard, editors. 2017. Proceedings of the 2nd Workshop on Evaluating Vector Space Representations for NLP. Association for Computational Linguistics, Copenhagen, Denmark. OpenAlex ↗ · Scholar ↗
- Matt Gardner, Joel Grus, Mark Neumann, Oyvind Tafjord, Pradeep Dasigi, Nelson F. Liu, Matthew Peters, Michael Schmitz, and Luke S. Zettlemoyer. 2017. AllenNLP: A deep semantic natural language processing platform.
- Samuel R. Bowman, Ellie Pavlick, Edouard Grave, Benjamin Van Durme, Alex Wang, Jan Hula, Patrick Xia, Raghavendra Pappagari, R. Thomas McCoy, Roma Patel, Najoung Kim, Ian Tenney, Yinghui Huang, Katherin Yu, Shuning Jin, and Berlin Chen. 2018. Looking for ELMo’s friends: Sentence-level pretraining beyond language modeling. CoRR, abs/1812.10860. OpenAlex ↗ · Scholar ↗
- Mario Giulianelli, Jack Harding, Florian Mohnert, Dieuwke Hupkes, and Willem Zuidema. 2018. Under the hood: Using diagnostic classifiers to investigate and improve how language models track agreement information. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 240– 248, Brussels, Belgium. Association for Computational Linguistics. DOI ↗ · OpenAlex ↗ · Scholar ↗
- Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, and Tony Robinson. 2013. One billion word benchmark for measuring progress in statistical language modeling. arXiv:1312.3005.
- Alexis Conneau, Douwe Kiela, Holger Schwenk, Loı̈c Barrault, and Antoine Bordes. 2017. Supervised learning of universal sentence representations from natural language inference data. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 670–680.
- Alexis Conneau, Germán Kruszewski, Guillaume Lample, Loı̈c Barrault, and Marco Baroni. 2018. What you can cram into a single $&!#* vector: Probing sentence embeddings for linguistic properties. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2126–2136. Association for Computational Linguistics. DOI ↗
- Kristina Gulordava, Piotr Bojanowski, Edouard Grave, Tal Linzen, and Marco Baroni. 2018. Colorless green recurrent networks dream hierarchically. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1195–1205, New Orleans, Louisiana. Association for Computational Linguistics. DOI ↗
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pages 770–778.
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural Computation, 9(8):1735–1780. DOI ↗ · OpenAlex ↗ · Scholar ↗
- Julia Hockenmaier and Mark Steedman. 2007. Ccgbank: A corpus of ccg derivations and dependency structures extracted from the penn treebank. Computational Linguistics, 33(3).
- Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. 2017. Pointer sentinel mixture models. In International Conference on Learning Representations.
- Yacine Jernite, Samuel R. Bowman, and David Sontag. 2017. Discourse-based objectives for fast unsupervised sentence representation learning. arXiv:1705.00557. OpenAlex ↗ · Scholar ↗
- Lili Mou, Rui Men, Ge Li, Yan Xu, Lu Zhang, Rui Yan, and Zhi Jin. 2016. Natural language inference by tree-based convolution and heuristic matching. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 130–136, Berlin, Germany. Association for Computational Linguistics. DOI ↗
- Jaap Jumelet and Dieuwke Hupkes. 2018. Do language models understand anything? O n the ability of lstms to understand negative polarity items. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 222–231, Brussels, Belgium. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Douwe Kiela, Alexis Conneau, Allan Jabri, and Maximilian Nickel. 2018. Learning visually grounded sentence representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 408–418, New Orleans, Louisiana. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ryan Kiros, Yukun Zhu, Ruslan R Salakhutdinov, Richard Zemel, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. Skip-thought vectors. In Advances in Neural Information Processing Systems, pages 3294–3302. OpenAlex ↗ · Scholar ↗
- Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. 2014. Microsoft coco: Common objects in context. In European Conference on Computer Vision, pages 740–755. Springer.
- Tal Linzen, Grzegorz Chrupala, and Afra Alishahi, editors. 2018. Proceedings of the First Workshop on Analyzing and Interpreting Neural Networks for NLP (BlackboxNLP). Association for Computational Linguistics, Brussels, Belgium. OpenAlex ↗ · Scholar ↗
- Taylor Mahler, Willy Cheung, Micha Elsner, David King, Marie-Catherine de Marneffe, Cory Shain, Symon Stevens-Guille, and Michael White. 2017. Breaking NLP: Using morphosyntax, semantics, pragmatics and world knowledge to fool sentiment analysis systems. In Proceedings of the First Workshop on Building Linguistically Generalizable NLP Systems, pages 33–39. Association for Computational Linguistics.
- Aakanksha Naik, Abhilasha Ravichander, Norman Sadeh, Carolyn Rose, and Graham Neubig. 2018. Stress test evaluation for natural language inference. In Proceedings of the 27th International Conference on Computational Linguistics, pages 2340–2353. OpenAlex ↗ · Scholar ↗
- Allen Nie, Erin D. Bennett, and Noah D. Goodman. 2017. DisSent: Sentence representation learning from explicit discourse relations. arXiv:1710.04334. OpenAlex ↗ · Scholar ↗
- Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. 2017. Automatic differentiation in pytorch. NIPS 2017 Autodiff Workshop. OpenAlex ↗ · Scholar ↗
- Matthew Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 2227– 2237. Association for Computational Linguistics.
- Adam Poliak, Yonatan Belinkov, James Glass, and Benjamin Van Durme. 2018a. On the evaluation of semantic phenomena in neural machine translation using natural language inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pages 513–523, New Orleans, Louisiana. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Bryan McCann, James Bradbury, Caiming Xiong, and Richard Socher. 2017. Learned in translation: Contextualized word vectors. In Advances in Neural Information Processing Systems, pages 6297–6308.
- Adam Poliak, Aparajita Haldar, Rachel Rudinger, J. Edward Hu, Ellie Pavlick, Aaron Steven White, and Benjamin Van Durme. 2018b. Collecting diverse natural language inference problems for sentence representation evaluation. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 67–81. Association for Computational Linguistics.
- Bryan McCann, Nitish Shirish Keskar, Caiming Xiong, and Richard Socher. 2018. The natural language decathlon: Multitask learning as question answering. arXiv:1806.08730.
- Sashank J. Reddi, Satyen Kale, and Sanjiv Kumar. 2018. On the convergence of Adam and beyond. In International Conference on Learning Representations.
- Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. 2018. Semantically equivalent adversarial rules for debugging nlp models. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 856–865. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ola Rønning, Daniel Hardt, and Anders Søgaard. 2018. Linguistic representations in multi-task neural networks for ellipsis resolution. In Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP, pages 66–73. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Nathan Schneider, Jena D. Hwang, Vivek Srikumar, Jakob Prange, Austin Blodgett, Sarah R. Moeller, Aviram Stern, Adi Bitan, and Omri Abend. 2018. Comprehensive supersense disambiguation of english prepositions and possessives. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 185–196. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Min Joon Seo, Aniruddha Kembhavi, Ali Farhadi, and Hannaneh Hajishirzi. 2017. Bidirectional attention flow for machine comprehension. International Conference on Learning Representations.
- Ieva Staliūnaite and Ben Bonfil. 2017. Breaking sentiment analysis of movie reviews. In Proceedings of the First Workshop on Building Linguistically Generalizable NLP Systems, pages 61–64. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Shuai Tang, Hailin Jin, Chen Fang, Zhaowen Wang, and Virginia de Sa. 2017. Rethinking skip-thought: A neighborhood based approach. In Proceedings of the 2nd Workshop on Representation Learning for NLP, pages 211–218. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ian Tenney, Patrick Xia, Berlin Chen, Alex Wang, Adam Poliak, R Thomas McCoy, Najoung Kim, Benjamin Van Durme, Sam Bowman, Dipanjan Das, and Ellie Pavlick. 2019. What do you learn from context? probing for sentence structure in contextualized word representations. In International Conference on Learning Representations.
- Alex Wang, Amapreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. 2018. GLUE: A multi-task benchmark and analysis platform for natural language understanding. arXiv:1804.07461.
- Alex Warstadt, Amanpreet Singh, and Samuel R Bowman. 2018. Neural network acceptability judgments. arXiv:1805.12471. OpenAlex ↗ · Scholar ↗
- Aaron Steven White, Pushpendre Rastogi, Kevin Duh, and Benjamin Van Durme. 2017. Inference is everything: Recasting semantic resources into a unified evaluation framework. In Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 996–1005. Asian Federation of Natural Language Processing.
- Adina Williams, Nikita Nangia, and Samuel Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1112–1122. Association for Computational Linguistics. DOI ↗
- Sheng Zhang, Rachel Rudinger, Kevin Duh, and Benjamin Van Durme. 2017. Ordinal common-sense inference. Transactions of the Association of Computational Linguistics, 5(1):379–395.
- Xunjie Zhu, Tingfeng Li, and Gerard de Melo. 2018. Exploring semantic properties of sentence embeddings. In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 632–637, Melbourne, Australia. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/kim-2019-probing-what-different-nlp-tasks/