Elamur Research

Unlearn Dataset Bias in Natural Language Inference by Fitting the Residual

Paper · 2019 · He He, Sheng Zha and Haohan Wang

Summary

A sentence about a doctor visiting a lawyer uses the same words as a sentence about a lawyer visiting a doctor. The words alone cannot tell us whether one sentence follows from the other. Yet a system trained for natural language inference can learn to treat shared words as evidence of entailment because that rule often gives the expected answer in its training data. Negation can create a similar shortcut. If annotators often make contradictions by negating a sentence, the presence of a negative word becomes a clue to the expected label, even in examples where the two sentences concern different things. The paper asks how to train an inference system when a known clue is useful in the training corpus but can have a different relationship to the label elsewhere.

The authors propose Debias by Residual Fitting, or DRiFt. They first train a restricted classifier to predict labels from a view of the input designed to expose a suspected shortcut. That view might contain only the hypothesis, or it might describe how much vocabulary the two sentences share. They then freeze the restricted classifier and add its scores to those of a classifier that reads the complete sentence pair. The combined scores determine the training loss. When the restricted classifier already assigns almost all its probability to the correct answer, there is little pressure on the full classifier to do the same. When the restricted classifier is uninformative, training proceeds as it would under ordinary maximum likelihood. At prediction time the full classifier works by itself, with access to both sentences and all their words.

The experiments use SNLI and MNLI to train Decomposable Attention, ESIM and BERT. On HANS, which tests shortcuts based on shared words and sentence structure, MNLI-trained BERT’s non-entailment F1 on the lexical-overlap subset rises from 7.8 under maximum likelihood to 79.8 with the hypothesis-only DRiFt variant. Gains on the overlap and negation stress tests are less uniform across labels. A separate SNLI experiment adds an artificial label cue and varies its reliability, showing that residual fitting can preserve much of the accuracy that ordinary training loses as the cue takes over.

The tradeoff depends on both classifiers. On the ordinary SNLI test split, BERT scores 90.8 accuracy under standard training and 89.8 with the hypothesis-only variant. Decomposable Attention fares much worse when its training partner uses a bag-of-words representation. The approach works best when the restricted classifier captures a shortcut relevant to the challenge and the full classifier has other ways to solve the task. The results concern known, targeted dataset biases, and the authors leave the discovery and treatment of more general biases open.

Deep dive: Unlearn Dataset Bias in Natural Language Inference by Fitting the Residual

How residual fitting trains natural language inference systems to rely less on shortcuts such as word overlap and negation. · about 39 minutes to read

The problem and its context

What makes a shortcut look like inference

Natural language inference asks a system to judge the relation between a premise and a hypothesis. In the datasets used here, the premise can support the hypothesis, conflict with it, or leave its truth open. The corresponding labels are entailment, contradiction and neutral. The task calls for a comparison. A hypothesis about a particular person dancing can be true, false or undetermined depending on what the premise says about that person. The hypothesis alone supplies only part of the evidence needed for the decision.

The paper uses the construction of SNLI and MNLI to explain how this requirement can weaken in practice. Annotators were given a premise and asked to compose hypotheses for the intended relations. The label was therefore part of the assignment that produced the hypothesis. An annotator writing a contradiction could reuse the premise and add a negation. An annotator writing a neutral hypothesis could supply a cause the premise had left unspecified. Choices such as these are reasonable ways to complete the assignment. Repeated across many examples, they leave traces of the assignment in the resulting text.

A classifier can learn to exploit those traces. The paper discusses prior measurements of how strongly individual hypothesis words associate with labels even when the premise is left out. An association of this kind reveals something about the corpus. For example, a causal connective can be informative about the sort of hypothesis an annotator was asked to produce. Working out whether the asserted cause actually follows still requires reading the premise. The annotation procedure and the inference task thus supply different routes to the same label during training. Annotation Artifacts in Natural Language Inference Data

The hypothesis-only experiments the authors cite make the distinction observable. A classifier given one sentence cannot ordinarily settle a relation that depends on two sentences. Surprisingly high accuracy from that restricted input is therefore a diagnostic. It shows that the benchmark frequently rewards information available without making the intended comparison. Individual correct answers can still be supported by meaningful content in the hypothesis. The concern is the systematic advantage available to a predictor with such an incomplete view. Hypothesis-Only Baselines in Natural Language Inference

Other shortcuts use both sentences. The overlap heuristic checks whether they share words and treats substantial overlap as support for entailment. That can work whenever the hypothesis repeats a fact in the premise with nearly the same vocabulary. It breaks when the direction of an action changes or when the shared words belong to different parts of the two sentences. In the doctor-and-lawyer example, their roles relative to the verb settle the inference. A representation that records the vocabulary while overlooking who visited whom misses the distinction the label is meant to capture.

Negation makes the same point from another direction. The example in the paper’s introduction concerns a favorable statement about dogs and a negative statement about cats. Their subjects of affection differ, so the negative wording alone provides no contradiction between the statements. But negation can also be central to deciding that a hypothesis conflicts with its premise. Taking every negative word out of the input would damage the very comparisons an inference system needs to make. The word can carry genuine evidence about a sentence and serve as a proxy for an annotation decision.

Why the training distribution matters

Ordinary supervised training rewards a classifier for assigning high probability to the observed labels. If a simple signal solves many examples, the training objective gives the classifier a reason to use it. Evaluating on a held-out split drawn from the same corpus tests prediction on new pairs, but the pairs can retain the same construction habits. A high score under that evaluation is compatible with dependence on those habits. A challenge set turns that dependence into something measurable by presenting examples where the shortcut gives inadequate advice. This is the role of targeted evaluation benchmarks.

The paper treats the change as a distribution shift. In its account, a signal can remain present at evaluation time while the labels associated with it change. Consider two collections with similar amounts of negative language. If negation was a standard way to manufacture contradictions in one collection, it can predict the label there more strongly than in a collection assembled for a different purpose. Counting negative words in each collection would miss the change. The relevant comparison concerns the distribution of labels among examples with the cue.

That distinction also explains the appeal of testing a shortcut separately. A classifier that reads complete sentences can combine many kinds of evidence. Its overall accuracy gives little direct information about which evidence it depended on. A classifier that receives a deliberately narrow representation provides a way to test whether a suspected signal is already sufficient to predict many examples. Its success can then inform the training of the full classifier. The paper takes this diagnostic idea from earlier work and gives it a role in the objective itself.

The authors see analogous brittleness in other language tasks. They discuss reading comprehension systems distracted by added material containing phrases related to the question, paraphrase systems susceptible to adversarially arranged words, and story-completion evaluations where the writing procedure leaves clues. These examples motivate a shared concern about data production. A shortcut can be learned against the task’s training labels even when it is a poor guide to the task under a different way of collecting examples.

What earlier remedies changed

One response is to intervene during data collection. The paper describes adversarial filtering, where a simple classifier helps identify items that can be answered too easily and those items are screened out. This can improve a new collection by changing which examples survive. The authors’ own removal baseline applies a related idea to an existing training corpus. The distinction matters because a researcher working with a fixed corpus may be able to discard examples without being able to replace them with better ones. The paper treats collection-time screening and a modified learning objective as compatible approaches. WinoGrande

Another response is to supply examples that break the link between a shortcut and its usual label. The paper discusses training or further training on examples like those in challenge sets. It describes earlier approaches that alter sentence structure, substitute words with related or opposing meanings, or swap gendered entities for tasks where the swap should preserve the answer. These interventions put task knowledge into the examples themselves. The work of constructing them can be substantial, especially when a change must preserve a label or when a person must check the result. Residual fitting uses prior knowledge in a different place, through the choice of the restricted classifier.

A further line of work changes the representation learned during training. The paper discusses attempts to remove gender information from word embeddings, projection methods that subtract a representation learned by a bias classifier, and adversarial learning aimed at reducing hypothesis-related artifacts in inference. It also cites evidence that an apparent removal of gender information can leave systematic patterns recoverable. For this paper’s problem, the possibility that a biased cue also carries useful meaning provides an additional reason to keep the complete input available. DRiFt changes how strongly the objective rewards evidence that its restricted classifier already supplies. Gender-neutral word embeddings · Lipstick on a Pig

The paper also distinguishes its aim from other approaches to distribution shift. It describes much of the work it cites on adapting under shift as using unlabeled examples from the target distribution. Its comparison with distributionally robust optimization concerns the case where such access is unnecessary. There the general aim is to protect performance against a bounded range of possible changes. DRiFt instead starts from a particular suspicion about the training data, such as a strong relationship between shared vocabulary and the entailment label. That suspicion determines what the restricted classifier is allowed to see.

The method, step by step

Give the suspected shortcut a classifier of its own

Suppose the shortcut of interest is the tendency to predict entailment from shared words. The first job is to estimate what labels a classifier can recover from a description of the overlap. Train it on the same labeled pairs used for the inference task, but supply only the chosen description. It can learn when the cue tends to favor a particular class and how strongly it does so. A description that sometimes gives little guidance and sometimes strongly favors a label leads to a different training signal on each example.

Next, give a separate classifier access to the complete pair. During its training, add its scores to those from the first classifier before calculating the loss. If the first classifier already strongly supports the correct class, the combined prediction can be accurate even when the full classifier contributes little on that example. If the first classifier favors the wrong class, the full classifier needs to provide scores strong enough to counter that preference. The authors call the desired contribution a residual because the full classifier learns what to add after the restricted one has supplied its part.

The first classifier stays fixed throughout this process. Its treatment of a training pair therefore remains the same while the full classifier learns. Once training ends, the complete-pair classifier supplies the prediction by itself. This last step is essential to the design. A cue that was predictive only under the corpus’s annotation procedure could reintroduce the original failure if the restricted classifier continued to contribute its scores at evaluation time.

Training and prediction with residual fitting

The steps in order.

Training and prediction with residual fittingStep 1: Choose features that express a suspected shortcut1. Choose features that express a suspected shortcutStep 2: Train a restricted classifier on those features2. Train a restricted classifier on those featuresStep 3: Freeze the restricted classifier3. Freeze the restricted classifierStep 4: Score each pair with both classifiers4. Score each pair with both classifiersStep 5: Add class scores and update the full classifier5. Add class scores and update the full classifierStep 6: Predict with the full classifier alone6. Predict with the full classifier alone

State what is assumed to change

The formal setup separates input features into a component intended to represent stable evidence and a component whose relationship to the label can shift. The two together represent the input. The paper first writes the joint probability in terms of those components.

p(x, y) = p(b(x), g(x), y)

Here x is an input from the set of possible inputs X, and y is its label from the set Y. The function b(x) represents the potentially biased features of that input. The function g(x) represents features whose link to the label is treated as stable. The symbol p denotes probabilities under the training distribution P. Commas in the probability arguments indicate a joint probability, and = denotes equality.

The authors assume that the two components are conditionally independent given the label. Under that assumption, knowing the biased component in addition to the label does not change the training distribution of the stable component. The joint distribution can then be factored as follows.

p(b(x), g(x), y) = p(g(x) | y) p(y | b(x)) p(b(x))

The vertical bar means “given.” The factor p(g(x) | y) gives the distribution of the stable features for a specified class. The factor p(y | b(x)) describes how the training label depends on the candidate bias features. The last factor, p(b(x)), gives the frequency distribution of those features themselves. Juxtaposition on the right indicates multiplication.

The paper expresses stability by comparing a conditional probability under training with its counterpart under the target distribution.

p(g(x) | y) = q(g(x) | y)

Here q denotes probability under the target distribution Q. The equation says that the stable features have the same distribution within a given label under P and Q. The direction of conditioning matters. The authors specify a distribution of these features given the label.

The biased features can have the same overall prevalence in both settings.

p(b(x)) = q(b(x))

Both sides are marginal probabilities, meaning that they describe the occurrence of b(x) without conditioning on a particular label. A cue such as negation can occur just as frequently in the target data as in the training data in this setup.

What changes is the label distribution when the cue is observed.

p(y | b(x)) ≠ q(y | b(x))

The sign ≠ denotes inequality. The two expressions describe how labels are distributed for the same biased features in the training and target settings. This is the sense in which the authors formulate dataset bias through label shift. The paper uses I(x) for the restricted view that researchers can actually build. That is an approximation to b(x) informed by the task. With labeled data from P alone, success on that view cannot establish how the same feature will behave under Q.

Fit scores in stages

The classifier that receives the restricted view is trained by minimizing its expected loss. General classifier notation is useful here because the procedure can be described independently of the sentence encoder.

θ* = arg min over θ of Eₚ[L(fₛ(I(x); θ), y)]

The function fₛ is the restricted classifier, I(x) is the representation it receives, and θ denotes its trainable parameters. The semicolon inside the function separates its input from its parameters. L measures loss for a prediction against the observed label y. The notation Eₚ means an expectation over examples under the training distribution P. The expression arg min over θ selects parameter values that minimize that expectation, and θ* denotes the resulting values. Square brackets enclose the expression being averaged.

The paper describes the optimum for the training task as the sum of the restricted score and the score that remains to be learned.

f*(x) = fₛ(I(x); θ*) + fᵈ(x; ψ*)

Here f*(x) denotes the optimal predictor in the paper’s empirical-risk formulation. The function fᵈ reads the full input x, and ψ* denotes the parameters that fit its contribution in this formulation. The plus sign adds scores, class by class for a multiclass task. This equation defines what residual fitting means here. The residual is a contribution in score space, where the scores can subsequently be converted into a probability distribution.

The second training problem is to fit the full classifier with the first classifier’s parameters held fixed.

min over ψ of Eₚ[L(fₛ(I(x); θ*) + fᵈ(x; ψ), y)]

The variable ψ denotes the parameters being adjusted. The term involving θ* appears inside the loss with its values carried over from the first stage. The minimum is taken only over ψ. In ordinary empirical risk minimization for the full classifier, the loss would receive fᵈ(x; ψ) directly. The difference in DRiFt is that the fixed scores participate in every training prediction on which the loss is calculated.

Turn the scores into probabilities

For classification, the paper analyzes cross-entropy. Each classifier supplies a score for every class. Softmax exponentiates each score and normalizes the resulting values so that they form a probability distribution. Cross-entropy on a labeled example is the negative log probability assigned to its observed class. A training update can therefore be described either as minimizing that loss or as increasing conditional log likelihood.

For the restricted classifier, the paper writes the probability in proportional form.

pₛ(y | I(x); θ) ∝ exp(fₛ,ᵧ(I(x); θ))

The symbol pₛ is the restricted classifier’s predictive probability, and fₛ,ᵧ denotes its score for label y. The symbol ∝ means proportional to, because the denominator involves the scores of all classes. The operation exp is the exponential function. When the parameters have been fixed at θ*, the resulting distribution is written pₛ*.

The full classifier also defines a distribution on its own.

pᵈ(y | x; ψ) ∝ exp(fᵈᵧ(x; ψ))

Here pᵈ is the full classifier’s predictive probability, and fᵈᵧ is its score for class y. The same softmax convention applies. This is the distribution used during ordinary maximum-likelihood training and, after DRiFt training, for standalone prediction.

The distribution used by DRiFt during training comes from adding the two class scores before softmax.

pₐ(y | x; θ*, ψ) ∝ exp(fₛ,ᵧ(I(x); θ*) + fᵈᵧ(x; ψ))

The symbol pₐ denotes the combined distribution. Each label gets its own sum inside exp. Because the exponential of a sum is the product of the exponentials, the combination can equally be written as a normalized product of the two classifiers’ probabilities.

pₐ(y | x) = pₛ*(y | I(x)) pᵈ(y | x) / Z(x)

The function Z(x) normalizes the product, and / means division. The parameter arguments are suppressed because the first classifier is fixed and the second is the one being optimized. The two factors in the numerator describe support for the same class from the two classifiers. This combination has a different behavior from taking an average of their probabilities. A low probability for a class in either factor reduces the product for that class.

Z(x) = ∑ₖ pₛ*(k | I(x)) pᵈ(k | x)

The index k runs across the K possible classes. The symbol ∑ₖ sums one term for each such class. The resulting denominator is the sum of products for the particular example x; it depends on what both classifiers predict on that example.

Follow the change in the training signal

The paper compares the training objectives using sums of log probabilities over the training set. Its DRiFt objective uses the combined distribution.

Jᴰ(ψ) = ∑₍ₓ,ᵧ₎∈ᴰ log pₐ(y | x; θ*, ψ)

The set D contains the training pairs and their labels. The subscript on the summation means that each labeled example (x, y) belongs to D, with ∈ indicating membership. The operator log takes the logarithm, and Jᴰ is the objective to maximize over ψ.

The corresponding maximum-likelihood objective uses only the distribution of the full classifier.

Jᴹᴸᴱ(ψ) = ∑₍ₓ,ᵧ₎∈ᴰ log pᵈ(y | x; ψ)

The notation Jᴹᴸᴱ denotes ordinary maximum likelihood estimation, abbreviated MLE. Both sums use the observed labels, but the distribution that supplies their probabilities differs. The log of the fixed classifier’s probability for each observed class can be collected into a constant.

C = ∑₍ₓ,ᵧ₎∈ᴰ log pₛ*(y | I(x))

The value C depends on the training examples, their labels, and the already fitted restricted classifier. It is constant with respect to ψ. For each example, the log of the normalizer supplies the additional term in the objective.

R(x) = log Z(x)

Here R(x) is the example-specific term the authors analyze as a regularizer. It measures the log of the overlap of the two output distributions, where overlap is the sum of their classwise products. The normalizer appears in the denominator of the combined probability, so its logarithm is subtracted when the training objective is expanded.

Jᴰ(ψ) = C + ∑₍ₓ,ᵧ₎∈ᴰ [log pᵈ(y | x; ψ) − R(x)]

The minus sign denotes subtraction of R(x) for each example. The full classifier still gets credit for supporting the correct label, through the log probability term. That contribution is adjusted by how its distribution lines up with the fixed classifier’s distribution. The adjustment depends on the current scores of the full classifier as well as on the fixed ones.

The authors show this directly by differentiating the logarithm of the normalizer. The following form keeps the class contributions visible.

∇ψ R(x) = ∑ₖ pₐ(k | x) ∇ψ log pᵈ(k | x)

The operator ∇ψ denotes the gradient with respect to the full classifier’s parameters. Each class contributes the gradient of its standalone log probability, weighted by its probability pₐ(k | x) in the combined distribution. As R(x) is subtracted in the objective, this weighted sum is subtracted from the usual gradient for the correct class. The update can consequently depend on which wrong labels the restricted classifier favors, as well as on whether it classifies the example correctly.

Two limiting cases clarify the adjustment. If the restricted classifier spreads probability uniformly over K classes, multiplying by its probabilities gives every class the same factor. That factor cancels in the normalization, leaving the original full-classifier distribution and the usual likelihood gradient. If the restricted classifier puts all its probability on the observed class, the combined probability for that class is already certain. The correction cancels the ordinary gradient on that example. Between the extremes, the confidence and direction of the restricted prediction determine how the loss changes. This is why the procedure differs from multiplying an example’s ordinary loss by a weight based only on whether the restricted prediction was correct.

Choose what each classifier can see

The authors try three restricted classifiers. HYPO is a fine-tuned BERT classifier which reads the hypothesis in isolation. It supplies a broad way to capture evidence that can be obtained without the premise. This makes it suitable when the suspected artifact lies somewhere in the hypothesis and its exact form is uncertain. The restricted classifier can use more than individual indicator words. Its input is an entire sentence, which can contain useful information about the inference as well as artifacts of the annotation process. Fine-tuning

CBOW is a continuous bag-of-words classifier. For each sentence, it adds together the embeddings of its words. It joins the resulting premise and hypothesis vectors with their difference and their elementwise product. The difference expresses how the vectors diverge, while the product compares their corresponding components. The resulting representation passes through a fully connected layer with a rectified linear activation. Although the word sums discard sequence order, they preserve information about the words used and can characterize possible sentence meanings. The construction is similar to one the paper cites from earlier inference research. Tree-Based Convolution and Heuristic Matching

HAND uses a narrower set of manually specified cues. It summarizes words that occur in both sentences and words present only in the hypothesis, using sums of their embeddings. It also receives Jaccard similarity, which compares the intersection of the sentences’ vocabularies with their union, indicators for negation, and a normalized difference in length. The word summaries and scalar features are joined and passed to a fully connected layer with a rectified linear activation. The length feature in the paper is the following.

|Lₚ − Lₕ| / (Lₚ + Lₕ)

The symbols Lₚ and Lₕ are the token counts for the premise and hypothesis, respectively. The minus sign gives their difference and the bars around it take the absolute value. The plus sign sums the counts, and the parentheses group that sum as the denominator. Dividing by total length expresses the size of the gap relative to the pair’s combined length.

The full classifiers differ in the kinds of evidence available beyond these restricted views. Decomposable Attention, or DA, uses interactions among words from the premise and hypothesis. The authors choose the variant without attention within a sentence, and this architecture has no word-order information. ESIM first encodes both sentences with a bidirectional recurrent encoder, aligns the resulting contextual word embeddings across the pair, then uses another bidirectional encoder to aggregate the aligned evidence. BERT starts from contextual representations pretrained on larger corpora. These differences become important when the restricted classifier already makes extensive use of signals involving individual words. Decomposable Attention

For BERT, training starts from BERT-base-uncased. For the other classifiers, the paper reports initializing trainable word embeddings with the pretrained GloVe vectors designated 840B.300d. The authors follow the original architecture settings for DA and ESIM, with the word-embedding projection layers removed from DA. All runs use Adam with coefficients of 0.9 and 0.999 and weight decay of 0.01. The learning rate warms up over the first 10% of updates and then decreases linearly. The dropout rate is 0.1 except for ESIM, where it is 0.5. BERT’s reported learning rate is 2e-5, while the remaining architectures have a reported rate of 1e-4. GloVe · Adam

The number of training epochs also differs by objective. With maximum likelihood, the authors use 4 epochs for BERT and 30 for the other architectures. They report slower convergence when training the full classifier with DRiFt and allow 8 epochs for BERT and 80 for the others. These schedules belong to the experimental comparison. The algorithm itself specifies which scores enter the loss and which parameters stay fixed.

Experiments and results

The benchmarks and comparison systems

SNLI supplies sentence pairs derived from image captions. It contains 549,367 training examples, with 9842 examples on the development split and 9842 on the test split. MNLI represents a broader collection of styles and subjects. Its training split has 392,702 examples, and the matched development split used in the reported comparisons has 9815. The paper says that using the mismatched development split for selection and evaluation produced similar results and presents the matched results as its main MNLI evaluation. The ordinary evaluations measure accuracy, the share of pairs assigned their observed label. SNLI · MNLI

For each full architecture, MLE is the baseline trained on the complete pairs using the usual classification objective. The removal baseline, written RM, trains the same kind of restricted classifier used by DRiFt and then discards the training pairs it classifies correctly. The full classifier learns from what remains. This gives a direct comparison between reducing the pressure to learn from shortcut-solvable examples and removing those examples from training. The majority-class baseline has a separate role. It shows how much the restricted classifiers gain over predicting the same label for every pair.

The challenge evaluations use classwise F1. This metric combines precision, the reliability of predictions of a particular class, with recall, the share of actual examples of that class recovered. Separate scores matter when an inference system defaults to one answer. A tendency to call nearly every high-overlap pair an entailment can produce a respectable result for that label alongside almost no success on the negative cases. The classwise results make such asymmetry visible.

How much can the restricted classifiers predict?

On the ordinary SNLI test split, the majority-class baseline records 34.2 accuracy. HYPO reaches 61.8 using only the hypothesis. CBOW reaches 81.2 with unordered representations of both sentences, and HAND reaches 76.7 with its deliberately selective representation. None of these classifiers has the full evidence that a sentence-pair analysis could use. Their scores give the authors reason to look for shortcuts, while the difference between the views also matters. CBOW can exploit legitimate correspondences between the words of both sentences as well as accidental correlations.

On the MNLI matched development split, the majority baseline is 35.4 accuracy. HYPO scores 52.5, CBOW scores 66.1, and HAND scores 65.4. The restricted representations are useful under the usual evaluation for both corpora. The authors use the challenge sets to ask a separate question about how their predictions behave when the connection between the known cue and the class changes. This second check is particularly revealing for HAND, whose response to HANS is far more concentrated on entailment than its original benchmark accuracy would suggest.

Ordinary test performance after residual fitting

The SNLI test results for BERT illustrate a range of costs across different partners. With HYPO providing the fixed scores, accuracy stays close to the maximum-likelihood result. With CBOW as the partner, the change is larger. The intermediate HAND result shows that even for a single full architecture, the choice of restricted representation affects the tradeoff.

BERT training variants on the SNLI test split, accuracy

The hypothesis-only variant stays closest to maximum-likelihood accuracy among the residual fitting settings.

BERT training variants on the SNLI test split, accuracyMLE: 90.8MLE90.8DRiFt-HYPO (this paper): 89.8DRiFt-HYPO (this paper)89.8DRiFt-CBOW: 84.7DRiFt-CBOW84.7DRiFt-HAND: 86.5DRiFt-HAND86.5
The numbers
System or settingaccuracy %
MLE90.8
DRiFt-HYPO (this paper)89.8
DRiFt-CBOW84.7
DRiFt-HAND86.5

For DA, SNLI test accuracy is 85.3 under MLE and 83.9 with DRiFt-HYPO. It falls to 62.6 with DRiFt-CBOW, while DRiFt-HAND scores 75.0. ESIM follows a similar ordering on this split. Its MLE accuracy is 88.0, followed by 86.3 with DRiFt-HYPO, 62.3 with DRiFt-CBOW, and 79.2 with DRiFt-HAND. Applying the same residual objective across architectures can therefore produce both relatively small changes and large losses against the original benchmark.

On the MNLI matched development split, BERT’s MLE result is 84.5 accuracy. Its DRiFt variants score 84.3 with HYPO, 82.1 with CBOW, and 81.7 with HAND. DA records 72.2 with MLE and 68.6 with DRiFt-HYPO. ESIM records 78.1 with MLE and 75.0 with DRiFt-HYPO. When CBOW supplies the fixed scores, DA falls to 56.3 and ESIM to 68.8. The relatively small changes for BERT on MNLI coexist with much larger costs for some pairings involving the other architectures.

The removal baseline can lose considerably more ordinary accuracy. For instance, SNLI test accuracy for BERT is 71.2 after removing pairs correctly classified by HYPO, compared with 89.8 when HYPO is used for residual fitting. The corresponding CBOW settings give 35.8 for removal and 84.7 for residual fitting. On the MNLI matched development split, the BERT results for those CBOW settings are 54.9 and 82.1, respectively. In these comparisons, keeping the pairs available through the combined objective preserves substantially more of the original benchmark performance.

A label cue with controlled reliability

The synthetic experiment changes SNLI by prefixing each hypothesis with a string containing a class name followed by “and.” In training and development, the inserted class is the actual label with a controlled probability. Otherwise it is drawn at random. The test prefix always uses a random class. Thus the form of the cue is still available at evaluation, but the reliability it had during training is gone. The authors train all three full architectures under both MLE and residual fitting, with HYPO as the restricted classifier. HYPO has access to the location of the cue without being given a separate feature that identifies the insertion.

The paper describes ordinary training as reasonably robust while the artificial bias is mild. When the cheating rate exceeds 0.6, the MLE systems start to lose substantial SNLI test accuracy. At a rate of 0.9, the paper reports a drop of about 20% relative to the baseline accuracy when no cheating feature is inserted. Across increasing rates, the reported maximum accuracy drop for the DRiFt-HYPO systems is about 5%. These are the authors’ descriptions of the change in accuracy in the synthetic SNLI experiment. They compare each setting with performance in the absence of the injection and give a way to read the trends across the plotted conditions.

In this experiment the cause of the changed association is known because the authors control the labeling policy for the prefix. That makes the experiment a clearer test of the proposed mechanism than a challenge set where several properties of the text can differ at once. It also makes the comparison narrower. A conspicuous cue embedded in a predictable place offers a cleaner training signal to the restricted classifier than the collection of partially overlapping habits that prompted the study.

HANS and the direction of the inference

HANS presents pairs that can tempt systems trained on MNLI to infer entailment from overlap. Its lexical subset includes cases where the words are shared while the relations among them differ, as in the example with the doctor and the lawyer. Its subsequence subset uses hypotheses that appear as consecutive stretches of the premise. Such a stretch can overlook the structure that determines who did what. Its constituent subset goes further by using a grammatical unit from the premise that the premise still need not assert by itself. For instance, the fact that a clause occurs as one option in a disjunction does not establish that the clause is true.

The evaluation reports separate F1 scores for entailment and non-entailment on each subset. The MLE classifiers have low F1 for non-entailment. The effect is particularly clear for MNLI-trained BERT on the subsequence subset, where entailment F1 is 66.7 while non-entailment F1 is 0.4. The lexical-overlap comparison below shows how much the training objective changes performance on the class that most directly tests the shortcut.

MNLI-trained BERT variants on HANS lexical overlap, non-entailment F1

Every residual fitting variant improves non-entailment F1, with the hypothesis-only variant leading this subset.

MNLI-trained BERT variants on HANS lexical overlap, non-entailment F1MLE: 7.8MLE7.8DRiFt-HYPO (this paper): 79.8DRiFt-HYPO (this paper)79.8DRiFt-CBOW: 75.2DRiFt-CBOW75.2DRiFt-HAND: 70.9DRiFt-HAND70.9
The numbers
System or settingF1
MLE7.8
DRiFt-HYPO (this paper)79.8
DRiFt-CBOW75.2
DRiFt-HAND70.9

The same lexical subset gives BERT entailment F1 of 67.2 under MLE and 84.7 under DRiFt-HYPO. The relative strength of the restricted partners changes with the subset. BERT with DRiFt-HAND obtains non-entailment F1 of 41.2 on subsequences and 61.0 on constituents, compared with 23.7 and 40.8 for DRiFt-HYPO. The MLE constituent score for non-entailment is 11.9. For BERT, the results therefore include both a strong lexical-overlap outcome with access only to hypothesis-side bias and stronger outcomes on the structural subsets with the handcrafted feature view.

DA and ESIM also improve on some of their weakest challenge cases, particularly when paired with HAND. On HANS constituent non-entailment, DA moves from 0.4 F1 with MLE to 48.3 with DRiFt-HAND. Its entailment F1 on the same subset falls from 66.5 to 55.9. ESIM’s constituent non-entailment F1 moves from 2.8 to 48.3 with the same change in objective, while entailment F1 moves from 65.5 to 64.8. These paired results qualify the overall tendency for DRiFt to preserve entailment performance. What it costs to recover non-entailments varies across architectures.

The removal comparisons also show why the paper keeps both classes visible. Removing examples identified by a restricted classifier can improve some non-entailment results, while harming entailment performance. There are settings where removal gives little help on the challenge class. The authors find the balance across classes more favorable with residual fitting. Their evidence comes from the set of comparisons, since individual biases and subsets can produce different orderings.

Negation and overlap under stress

The stress tests come from an error analysis of MNLI. The paper focuses on the negation and word-overlap subsets. Their inputs include added phrases that change the presence of negation or the degree of overlap without overturning the original label. These tests therefore give a different direction to the challenge than HANS does. In HANS the problem is that high overlap can provoke an incorrect entailment prediction. In the overlap stress test, reducing overlap can make a genuine entailment harder to recognize. In the negation stress test, a negative word can likewise tempt a classifier away from entailment. Stress Test Evaluation for Natural Language Inference

On the negation subset, ESIM improves entailment F1 with each DRiFt variant. CBOW gives the highest entailment score in that comparison, with a cost on the other classes. The corresponding contradiction F1 is 72.7 under MLE and 62.3 under DRiFt-CBOW. Neutral F1 is 54.6 under MLE and 46.9 with the same CBOW variant. Looking at only the target class would hide this change in the error profile.

ESIM training variants on the negation stress test, entailment F1

Residual fitting improves entailment F1 for ESIM, with the bag-of-words variant giving the highest score.

ESIM training variants on the negation stress test, entailment F1MLE: 12.0MLE12.0DRiFt-HYPO: 22.8DRiFt-HYPO22.8DRiFt-CBOW (this paper): 32.7DRiFt-CBOW (this paper)32.7DRiFt-HAND: 15.8DRiFt-HAND15.8
The numbers
System or settingF1
MLE12.0
DRiFt-HYPO22.8
DRiFt-CBOW (this paper)32.7
DRiFt-HAND15.8

BERT’s negation entailment F1 is 2.4 with MLE and 17.9 with DRiFt-CBOW. In that comparison, contradiction F1 moves from 81.1 to 81.7 and neutral F1 from 56.5 to 55.5. In contrast, DA with DRiFt-CBOW raises negation entailment F1 from 17.4 to 28.4, but its contradiction F1 falls from 47.3 to 21.4. Its neutral F1 also falls, from 55.3 to 39.5. These different profiles help explain why an improvement on the challenged class supports a more limited conclusion than a claim of better performance across the dataset.

On the overlap stress test, the picture is mixed even if the comparison stays with entailment. ESIM goes from 27.6 F1 under MLE to 39.2 under DRiFt-HAND. BERT goes from 19.2 to 27.5 with DRiFt-HYPO, but scores 15.0 with DRiFt-HAND. For DA, MLE reaches 46.7 on overlap entailments, above the DRiFt variants. For example, DA with DRiFt-CBOW obtains 35.2. Broad claims about gains on the stressed class therefore need to be read across the actual settings. Residual fitting yields gains on both kinds of stress test, while the successful pairings depend on the architecture and the feature view.

What the ablations show

How precisely the restricted view captures the bias

The paper’s comparisons vary the training objective, the restricted feature view, the full architecture and the strength of an artificial shortcut. Changing the restricted view makes an especially informative comparison because the rest of the DRiFt procedure remains the same. HYPO can test for cues contained in a hypothesis, while HAND can explicitly measure shared vocabulary. CBOW provides a broader summary of both sentences that captures lexical content even when sequence order is lost. Each makes a different quantity of potentially useful evidence easy to predict from the restricted side of the training objective.

HAND gives the clearest evidence of matching the shortcut that HANS is designed to challenge. As a standalone classifier it has zero recall on non-entailment, reported as 0.0 F1 on that class in each HANS subset. It therefore has a strong prior preference precisely where HANS supplies examples for which that preference is unreliable. When its scores are used in DRiFt, the full classifier can learn a correction from training pairs where the preference fails. This interpretation agrees with the substantial gains from DRiFt-HAND on non-entailments in the subsequence and constituent subsets.

The lexical subset sharpens the finding. HYPO never compares words from the premise with words from the hypothesis, yet BERT with DRiFt-HYPO gives the strongest lexical non-entailment score among the BERT variants. It would be too simple to read the feature comparison as a ranking in which access to the named bias always wins. HAND represents overlap more directly and is a strong choice across HANS, especially on the structural subsets. The lexical result demonstrates that weakening dependence on other correlated cues can also help on examples selected for an overlap heuristic. The comparison does not isolate the particular hypothesis-side patterns responsible for that gain.

The stress tests put a further qualification on feature matching. HAND explicitly includes overlap and negation cues, but using it does not consistently produce the strongest results on the class that those tests target. As a standalone classifier it also retains more of its ordinary performance on STRESS than the authors expect from how sharply it fails on HANS. The paper notes a change in the inputs themselves. The added phrases supply tokens and constructions that alter the input distribution as well as altering what overlap or negation says about the label. The resulting scores reflect the response to the changed input and the changed cue–label association together.

What the artificial cue says about the available signal

In the synthetic experiment, the authors compare the rough choice of a hypothesis-only classifier with an idealized choice that identifies the cheating examples exactly. In that idealization, the restricted classifier assigns certainty to the correct label on examples with the reliable cue and assigns equal probabilities to the classes on the remaining examples. Under the gradient analysis, the first group supplies no update and the second group supplies the ordinary likelihood update. The result is equivalent to removing the known cheating examples. The paper calls this comparison RM-cheat.

RM-cheat performs better than MLE in the synthetic comparison. Its accuracy still falls when the cheating rate is high. At that point, even exact screening leaves fewer examples on which the full classifier can learn beyond the artificial cue. The comparison distinguishes the consequence of learning a misleading feature from the consequence of having too little independent evidence to learn from. DRiFt-HYPO generally stays below the idealized screening condition because HYPO can also fit genuine content in the hypothesis. The full classifier then receives less pressure to learn that useful information for itself.

The worst case makes the distinction starker. At a cheating rate of 1, the prefix encodes the true label throughout training. Maximum likelihood can solve its training problem through that cue, with no evidence from the training setup that the cue will be useless at test time. Under the paper’s idealized account, a perfect restricted classifier would also leave the full classifier with no gradient. The authors describe the resulting test predictions as random guesses in this extreme. Their point concerns what the data can identify: residual fitting needs training examples where the shortcut leaves something for the full classifier to learn. Additional or augmented data can supply that missing evidence.

Why deleting examples is a different intervention

RM applies a categorical decision to a probabilistic predictor. If the restricted classifier ranks the observed class highest, the example is removed, whether the winning score is barely ahead or overwhelmingly confident. DRiFt uses all the probabilities associated with the restricted scores. A weakly correct restricted prediction can leave considerable room for a training update. A confidently wrong restricted prediction makes the full classifier confront a specific competing class. This gives residual fitting more ways to exploit the labeled pairs that survive as useful training evidence.

The contrast is particularly informative given the strong original-benchmark accuracy of CBOW and HAND. If a restricted classifier gets many examples right, a removal rule can discard a large share of opportunities for the full classifier to learn. Some of these examples can illustrate meaningful vocabulary or entailment even when the restricted representation reaches the correct answer. The ordinary SNLI and MNLI comparisons show the cost of treating a correct restricted prediction as reason to remove the entire pair. The HANS results show the corresponding risk for genuine entailments on the challenge set itself.

The synthetic idealization explains when the removal rule makes sense. If the investigator can separate examples entirely solved by an unhelpful training cue from examples with independent evidence, the two objectives can coincide in the limiting case described by the authors. For bias features inferred from a real corpus, the comparisons show the value of keeping track of how certain the shortcut is. Uncertainty about whether a feature is spurious is one reason the behavior on ordinary data remains part of the evaluation.

What the full classifier can still learn

The CBOW comparisons expose a cost of giving the restricted classifier too much useful information. Its word sums lack order, but they capture what words are present and how the overall content of the two sentences relates. DA also relies heavily on interactions among words and has no word order to fall back on. If the fixed CBOW component already accounts for a large portion of the evidence available to DA, the full classifier has fewer alternative signals it can use to improve predictions. This is the authors’ explanation for why DA tends to lose the most under DRiFt-CBOW.

ESIM and BERT can represent contextual information that a word sum omits. Their results, however, still vary. ESIM’s drop on the ordinary SNLI test split with CBOW is large, while BERT has smaller losses across the MNLI variants. The authors suggest that pretraining on large corpora may contribute to BERT’s robustness, and that the representations it brings to training could help account for its performance in the synthetic experiment. The architecture comparison supports a difference in resilience. It leaves the contribution of pretraining entangled with the other differences among the classifiers.

Limitations

Limits the authors identify

DRiFt depends on prior knowledge of a likely shortcut. A researcher needs a plausible restricted view, such as the hypothesis alone or measurements of shared vocabulary. The authors explicitly distinguish that chosen representation from the complete set of biased features. A different target population could expose different correlations, including ones no restricted classifier in the experiments can detect. The paper ends by identifying more general procedures for handling different kinds of bias as a direction for further work.

The information available in training imposes another limit. When a shortcut consistently solves the task as presented, the labels do not indicate which cases would require independent evidence. The extreme synthetic setting gives a concrete version of that problem. A training objective can make less use of a known cue, but if the remaining signal disappears, the proposed objective cannot supply it. The authors point to collecting more examples or augmenting existing ones in that situation.

The authors also expect some cost on data drawn from the original distribution. Residual fitting is designed around a possible change in the cue’s value. In the unchanged corpus, the same cue can continue to help. Attenuating updates on examples where it is effective reduces the amount of evidence the full classifier learns from. The issue is especially pronounced for a representation like CBOW, which contains information relevant to the task, and for architectures with limited alternatives to that information. The substantial losses for some combinations are part of the method’s observed behavior.

For STRESS, the paper flags the coexistence of a change in the cue’s predictive meaning and a change in the input. Adding a distractor phrase can make the resulting text unlike the training examples in ways beyond the chosen bias feature. A method designed to handle shifts in the relationship between a cue and a label can therefore leave other difficulties unresolved. The classwise losses, particularly for DA and ESIM with CBOW, are consistent with the task placing several distinct demands on the classifier.

Limits of the evidence

The stable and unstable components in the formal account are assumptions about the learning problem. The experiments do not identify a complete pair of real feature sets with those mathematical properties. For example, there is no direct demonstration that a learned semantic representation and a word-overlap representation are conditionally independent given the label. What the experiments show is that choosing particular restricted predictors and combining their scores during training changes measured performance under the tested conditions. The assumptions motivate that choice and the controlled injection illustrates it in a setting where the source of the shift is known.

The word “unlearn” in the title is best read in light of the measurements. The full classifier still receives the words associated with the shortcut. Its gains on a challenge set indicate that it makes better predictions on some cases where relying on that shortcut would fail. The experiments do not directly inspect whether information such as overlap remains encoded internally or establish that the classifier will avoid relying on it in a new evaluation. Retaining the information is consistent with the paper’s intended intervention, since overlap and negation can both matter to a sound inference.

The challenge sets probe particular families of examples. Doing better on lexical overlap, subsequences or constituents shows progress where those heuristics are unreliable. The result does not measure inference across all changes in domain or writing practice. Similarly, improvement on negation entailments cannot establish that the classifier has acquired a general ability to reason about the scope and meaning of negation. Those cases would require different tests. F1 by class tells us about predictions on the chosen examples, with their success remaining compatible with more than one underlying strategy.

The comparisons also leave several causes bundled together. BERT differs from DA and ESIM in architecture and training history, so its comparatively good results cannot by themselves estimate a pretraining effect. The reported convergence schedules likewise differ between MLE and DRiFt. They show how the authors trained the systems used in their comparisons, but the experiments do not establish equal-budget behavior or identify the optimal cost of fitting the residual. The paper’s specific contribution is a training procedure and an empirical pattern, with the explanation for the architecture differences remaining a hypothesis.

Finally, these experiments target dataset bias in the sense of unstable predictive relationships. The paper draws connections with previous research on gender information in representations, but its SNLI and MNLI evaluations concern linguistic shortcuts under changed test conditions. They do not measure social disparities or prove that applying the same objective to a different use of the word “bias” would produce comparable results.

What came after

A concurrent approach and the cost of robustness

The closest connection is the concurrent work by Clark and colleagues. He, Zha and Wang describe it as sharing the idea of accounting for what a bias-focused classifier can predict during training. They also report that it applies the approach beyond inference, in reading comprehension and visual question answering. The connection concerns the training design: a deliberately restricted classifier absorbs a known shortcut so that success on the training set gives the full classifier less incentive to duplicate it. The additional tasks broaden the scope of the idea beyond the sentence-pair settings examined by DRiFt. Don’t Take the Easy Way Out

Later work explicitly framed the preservation of ordinary performance as a goal for debiasing natural language understanding. That is the tradeoff the DRiFt experiments expose when paired scores on original splits and challenge sets move differently. For example, the CBOW variant of residual fitting can recover some stressed entailments while losing accuracy or F1 on other parts of the evaluation. An investigation centered on in-distribution performance takes that cost as a problem to address alongside robustness. Its scope is especially relevant to applications where the original distribution remains common after deployment. Mind the Trade-off

An empirical study of architecture-independent debiasing strategies takes up the broader comparison suggested by the paper’s experiments. DRiFt can be applied to different full classifiers without changing the basic score-combination rule, yet its benefit varies across those classifiers and the restricted partners. Evaluating such strategies empirically treats their effectiveness as a question about conditions of use. A method’s applicability to multiple architectures is a property of its design. Whether each pairing improves robustness at an acceptable cost is a question for evaluation. An Empirical Study on Model-agnostic Debiasing Strategies

Work on whether to discard biased instances revisits the assumption behind the removal comparison. DRiFt and RM can agree in the ideal synthetic case, where the genuinely uninformative cue can be identified exactly. Their behavior diverges when a restricted view predicts from a mixture of artifacts and useful information. The later work puts the status of those instances at the center of the investigation. Its question connects directly to a decision that recurs throughout this paper: how much training value can still reside in an example that a shortcut also happens to solve? Don’t Discard All the Biased Instances

The same shortcuts as objects of diagnosis

Research on the artificial patterns associated with hypothesis-only prediction concentrates on the phenomenon HYPO was designed to capture. In DRiFt, a high-confidence hypothesis-only answer is used as a broad training signal. Studying the patterns themselves makes the contents of that signal the subject of analysis. This matters because hypothesis-only success groups many possible sources of information together. A diagnostic study of those patterns addresses what the broad restricted classifier can exploit, while the original residual-fitting experiments ask how its predictions can change training. HypoNLI

Another line of work attempts to avoid hypothesis-only bias through ensemble adversarial training. The overlap with DRiFt is the identified source of bias and the use of multiple predictors in the training design. The treatment named by that later work is adversarial. DRiFt’s treatment is a fixed restricted predictor whose scores enter the training loss. Seen together, these are ways to build the hypothesis-only diagnostic into training, alongside earlier work that measured the artifacts using a standalone baseline. Ensemble Adversarial Training for Hypothesis-Only Bias

The analysis devoted to word-overlap bias returns to the other major diagnostic in the paper. DRiFt studies overlap through a particular hand-designed representation and evaluates on challenge subsets where overlap alone is insufficient. The later work takes word-overlap bias itself as the object of analysis. That focus is relevant because the paper’s own results vary between cases involving merely shared words and cases involving contiguous sequences or grammatical units. Treating overlap as a phenomenon to characterize supports a more precise question about which examples a particular mitigation actually changes. Looking at the Overlooked

A survey of methods for revealing weaknesses in inference data and classifiers places such diagnostics in a wider evaluation setting. The contrast between HANS and ordinary split accuracy demonstrates why the weaknesses require ways of examining systems beyond their aggregate benchmark position. In this paper, the diagnostic role of HANS comes from deliberately varying the relation between recognizable sentence patterns and their labels. A survey centered on methods for uncovering weaknesses takes up the broader question of how such evidence can complement routine benchmark evaluation. Beyond Leaderboards

Changing the examples as well as the objective

Work on syntactic data augmentation addresses robustness to inference heuristics by changing the examples available during training. The focus on syntax connects directly to cases in which the same words support different conclusions because their grammatical organization changes. DRiFt tries to extract more independent evidence from the training examples already available by giving a fixed predictor responsibility for much of the signal shared with the shortcut. Syntactic augmentation takes up the complementary possibility discussed by the authors: make the training collection supply additional evidence that distinguishes the heuristic from the intended inference. Syntactic Data Augmentation

Later work on generating inference data targets spurious correlations in the corpus more directly. Its connection is particularly clear in light of the artificial-prefix experiment. Under perfect cheating, a changed objective runs out of examples from which it can learn a rule that generalizes. Data generation addresses the availability of examples, the part of the problem that the residual objective leaves to the corpus. The shared aim is to make a label predictable from evidence that will remain useful after the association with a known cue changes. Generating Data to Mitigate Spurious Correlations

These approaches continue questions that the original comparisons separate empirically. Identifying a shortcut is a diagnostic problem. Deciding how to reduce its influence is a training problem. Ensuring that the classifier has evidence to learn from once that influence is reduced is a data problem. The residual-fitting paper connects those questions through a single experiment design, and the subsequent work investigates them through different choices about the training objective, the evaluation and the examples themselves.

 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 1Research subjects and languages the work is about.Reasoning · 1,948 works

Cite

Cite as He He, Sheng Zha and Haohan Wang. 2019. Unlearn Dataset Bias in Natural Language Inference by Fitting the Residual. Proceedings of the 2nd Workshop on Deep Learning Approaches for Low-Resource NLP (DeepLo 2019).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/d19-6115

@inproceedings{he2019unlearn,
  title = {{Unlearn Dataset Bias in Natural Language Inference by Fitting the Residual}},
  author = {He He, Sheng Zha and Haohan Wang},
  booktitle = {Proceedings of the 2nd Workshop on Deep Learning Approaches for Low-Resource NLP (DeepLo 2019)},
  year = {2019},
  doi = {10.18653/v1/d19-6115},
  url = {https://doi.org/10.18653/v1/d19-6115}
}

References

44 references, 24 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. W. Hu, G. Niu, I. Sato, and M. Sugiyama. 2018. Does distributionally robust supervised learning give robust classifiers? In International Conference on Machine Learning (ICML). OpenAlex ↗ · Scholar ↗
  2. A. Agrawal, D. Batra, and D. Parikh. 2016. Analyzing the behavior of visual question answering models. In Empirical Methods in Natural Language Processing (EMNLP).
  3. R. Jia and P. Liang. 2017. Adversarial examples for evaluating reading comprehension systems. In Empirical Methods in Natural Language Processing (EMNLP).
  4. J. Andreas. 2019. Good-enough compositional data augmentation. arXiv.
  5. Y. Belinkov, A. Poliak, S. M. Shieber, B. V. Durme, and A. M. Rush. 2019. Don’t take the premise for granted: Mitigating artifacts in natural language inference. In Association for Computational Linguistics (ACL). V.
  6. Karpukhin, O. Levy, J. Eisenstein, and M. Ghazvininejad. 2019. Training on synthetic noise improves robustness to natural noise in machine translation. arXiv.
  7. D. Kaushik and Z. C. Lipton. 2018. How much reading does reading comprehension require? a critical investigation of popular benchmarks. In Empirical Methods in Natural Language Processing (EMNLP).
  8. S. Ben-David, J. Blitzer, K. Crammer, and F. Pereira. 2006. Analysis of representations for domain adaptation. In Advances in Neural Information Processing Systems (NeurIPS), pages 137–144. OpenAlex ↗ · Scholar ↗
  9. T. Bolukbasi, K. Chang, J. Y. Zou, V. Saligrama, and A. T. Kalai. 2016. Man is to computer programmer as woman is to homemaker? debiasing word embeddings. In Advances in Neural Information Processing Systems (NeurIPS), pages 4349–4357.
  10. D. Kingma and J. Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980.
  11. Z. C. Lipton, Y. Wang, and A. J. Smola. 2018. Detecting and correcting for label shift with black box predictors. In International Conference on Machine Learning (ICML). OpenAlex ↗ · Scholar ↗
  12. S. Bowman, G. Angeli, C. Potts, and C. D. Manning. 2015. A large annotated corpus for learning natural language inference. In Empirical Methods in Natural Language Processing (EMNLP).
  13. N. F. Liu, R. Schwartz, and N. A. Smith. 2019. Inoculation by fine-tuning: A method for analyzing challenge datasets. In North American Association for Computational Linguistics (NAACL).
  14. Q. Chen, X. Zhu, Z. Ling, S. Wei, H. Jiang, and D. Inkpen. 2017. Enhanced LSTM for natural language inference. In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  15. R. T. McCoy, E. Pavlick, and T. Linzen. 2019. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. arXiv preprint arXiv:1902.01007.
  16. C. Clark, M. Yatskar, and L. Zettlemoyer. 2019. Don’t take the easy way out: Ensemble based methods for avoiding known dataset biases. In Empirical Methods in Natural Language Processing (EMNLP). OpenAlex ↗ · Scholar ↗
  17. L. Mou, R. Men, G. Li, Y. Xu, L. Zhang, R. Yan, and Z. Jin. 2016. Natural language inference by tree-based convolution and heuristic matching. In Association for Computational Linguistics (ACL).
  18. J. Devlin, M. Chang, K. Lee, and K. Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In North American Association for Computational Linguistics (NAACL).
  19. A. Naik, A. Ravichander, N. Sadeh, C. Rose, and G. Neubig. 2018. Stress test evaluation for natural language inference. In International Conference on Computational Linguistics (COLING). OpenAlex ↗ · Scholar ↗
  20. J. Duchi and H. Namkoong. 2018. Learning models with uniform performance via distributionally robust optimization. arXiv preprint arXiv:1810.08750. OpenAlex ↗ · Scholar ↗
  21. M. Glockner, V. Shwartz, and Y. Goldberg. 2018. Breaking NLI systems with sentences that require simple lexical inferences. In Association for Computational Linguistics (ACL).
  22. A. Parikh, O. Täckström, D. Das, and J. Uszkoreit. 2016. A decomposable attention model for natural language inference. In Empirical Methods in Natural Language Processing (EMNLP).
  23. H. Gonen and Y. Goldberg. 2019. Lipstick on a pig: Debiasing methods cover up systematic gender biases in word embeddings but do not remove them. arXiv preprint arXiv:1903.03862.
  24. J. Pennington, R. Socher, and C. D. Manning. 2014. GloVe: Global vectors for word representation. In Empirical Methods in Natural Language Processing (EMNLP), pages 1532–1543.
  25. S. Gururangan, S. Swayamdipta, O. Levy, R. Schwartz, S. R. Bowman, and N. A. Smith. 2018. Annotation artifacts in natural language inference data. In North American Association for Computational Linguistics (NAACL).
  26. A. Poliak, J. Naradowsky, A. Haldar, R. Rudinger, and B. V. Durme. 2018. Hypothesis only baselines in natural language inference. arXiv preprint arXiv:1805.01042.
  27. M. T. Ribeiro, S. Singh, and C. Guestrin. 2018. Semantically equivalent adversarial rules for debugging NLP models. In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  28. K. Zhang, B. Schlkopf, K. Muandet, and Z. Wang. 2013. Domain adaptation under target and conditional shift. In International Conference on Machine Learning (ICML). OpenAlex ↗ · Scholar ↗
  29. K. Sakaguchi, R. L. Bras, C. Bhagavatula, and Y. Choi. 2019. WINOGRANDE: An adversarial winograd schema challenge at scale. arXiv preprint arXiv:1907.10641. OpenAlex ↗ · Scholar ↗
  30. Y. Zhang, J. Baldridge, and L. He. 2019c. PAWS: Paraphrase adversaries from word scrambling. In North American Association for Computational Linguistics (NAACL).
  31. B. Scholkopf, D. Janzing, J. Peters, E. Sgouritsa, K. Zhang, and J. Mooij. 2012. On causal and anti-causal learning. In International Conference on Machine Learning (ICML). OpenAlex ↗ · Scholar ↗
  32. J. Zhao, T. Wang, M. Yatskar, R. Cotterell, V. Ordonez, and K. Chang. 2019. Gender bias in contextualized word embeddings. In North American Association for Computational Linguistics (NAACL).
  33. R. Schwartz, M. Sap, Y. Konstas, L. Zilles, Y. Choi, and N. A. Smith. 2017. The effect of different writing tasks on linguistic style: A case study of the ROC story cloze task. In Computational Natural Language Learning (CoNLL). OpenAlex ↗ · Scholar ↗
  34. J. Zhao, T. Wang, M. Yatskar, V. Ordonez, and K. Chang. 2018a. Gender bias in coreference resolution:evaluation and debiasing methods. In North American Association for Computational Linguistics (NAACL).
  35. H. Shimodaira. 2000. Improving predictive inference under covariate shift by weighting the log-likelihood function. Journal of Statistical Planning and Inference, 90:227–244. OpenAlex ↗ · Scholar ↗
  36. J. Zhao, Y. Zhou, Z. Li, W. Wang, and K. Chang. 2018b. Learning gender-neutral word embeddings. In Empirical Methods in Natural Language Processing (EMNLP).
  37. A. Torralba and A. Efros. 2011. Unbiased look at dataset bias. In Computer Vision and Pattern Recognition (CVPR). OpenAlex ↗ · Scholar ↗
  38. D. Tsipras, S. Santurkar, L. Engstrom, A. Turner, and A. Madry. 2019. Robustness may be at odds with accuracy. In International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
  39. H. Wang, Z. He, Z. C. Lipton, and E. P. Xing. 2019a. Learning robust representations by projecting superficial statistics out. In International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
  40. T. Wang, J. Zhao, M. Yatskar, K. Chang, and V. Ordonez. 2019b. Balanced datasets are not enough: Estimating and mitigating gender bias in deep image representations. In International Conference on Computer Vision (ICCV). OpenAlex ↗ · Scholar ↗
  41. A. Williams, N. Nangia, and S. R. Bowman. 2017. A broad-coverage challenge corpus for sentence understanding through inference. arXiv preprint arXiv:1704.05426.
  42. R. Zellers, A. Holtzman, Y. Bisk, A. Farhadi, and Y. Choi. 2019. HellaSwag: Can a machine really finish your sentence? In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  43. G. Zhang, B. Bai, J. Liang, K. Bai, S. Chang, M. Yu, C. Zhu, and T. Zhao. 2019a. Selection bias explorations and debias methods for natural language sentence matching datasets. In Association for Computational Linguistics (ACL). OpenAlex ↗ · Scholar ↗
  44. H. Zhang, Y. Yu, J. Jiao, E. P. Xing, L. E. Ghaoui, and M. I. Jordan. 2019b. Theoretically principled trade-off between robustness and accuracy. arXiv preprint arXiv:1901.08573. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/he-2019-unlearn-dataset-bias-natural-language/