---
title: "Shortcut Learning of Large Language Models in Natural"
description: "A survey of how language systems learn shortcuts, why those shortcuts fail when data change, and how researchers test and reduce their use."
canonical: "https://research.elamur.ai/free/en/papers/du-2022-shortcut-learning-large-language-models/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/du-2022-shortcut-learning-large-language-models/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Shortcut Learning of Large Language Models in Natural Language Understanding

# Shortcut Learning of Large Language Models in Natural Language Understanding

Paper · 2022 · Mengnan Du, Fengxiang He, Na Zou et al.

**Authors:** [Mengnan Du](https://md.research.elamur.ai/free/en/authors/mengnan-du/), Fengxiang He, [Na Zou](https://md.research.elamur.ai/free/en/authors/na-zou/), [Dacheng Tao](https://md.research.elamur.ai/free/en/authors/dacheng-tao/) and [Xia Hu](https://md.research.elamur.ai/free/en/authors/xia-hu/) · **Year:** 2022 · **Venue:** arXiv:2208.11857 · **Licence:** [CC BY 4.0 (arXiv)](http://creativecommons.org/licenses/by/4.0/)

[Cited by **62** papers in our library of the 163,136 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/du-2022-shortcut-learning-large-language-models/cited-by/) · [licence](http://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2208.11857)
- [arXiv 2208.11857](https://arxiv.org/abs/2208.11857)

## Summary

A system can answer a question correctly by noticing where answers typically appear in a passage. It can classify a sentence as a contradiction because it contains a word such as *never*. Those clues can produce good scores for as long as the test rewards them. Du and colleagues survey this phenomenon, known as shortcut learning, in [natural language understanding](https://md.research.elamur.ai/free/en/concepts/natural-language-understanding/). They ask what happens when [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/) encounter examples where familiar clues point toward the wrong answer. The tasks include natural language inference, which asks how the meanings of two sentences relate, as well as [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/) and reading comprehension.

The paper distinguishes clues that travel across settings from those that are predictive only under particular conditions. Individual words, vocabulary shared across two inputs, the position of an answer, and writing style can all become shortcuts. When a standard test is sampled from the training distribution, it can retain precisely the patterns the researcher wants to test. The studies covered by the survey show that, for natural language understanding tasks, BERT-base’s accuracy drops by more than 20% when it is evaluated out of distribution instead of in distribution. The authors discuss several ways to investigate such failures. HANS tests whether inference systems follow familiar syntactic heuristics when those heuristics conflict with the correct answer. A symmetric test applies a related idea to fact verification. Other studies use adversarial changes to inputs, remove word order, or examine which words and training examples contribute to predictions. Some systems retain high accuracy after word-order randomization, and a separate study finds insensitivity to word order across GLUE.

The review traces shortcuts to how examples are collected and labeled, which pretrained system is used, and what happens during [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), when parameters are adjusted for a particular task. It compares interventions that change the data, the weight assigned to examples, or the objective used in training. The gains the authors report are uneven. Some methods improve accuracy on challenge sets while losing accuracy on conventional tests. A study of internal representations also finds that bias can become more accessible even after a debiasing method improves test behavior. The authors argue for bringing knowledge about the task into architecture, training, and evaluation.

Prompting changes the conditions under which a shortcut can arise. A study of RoBERTa-large found that it resisted an overlap heuristic better when prompted without labeled examples than after prompt-based fine-tuning. Experiments with fixed GPT-2 and GPT-3 systems found preferences tied to label frequency, answer position, and familiar answer tokens. Other experiments found that T0 and GPT-3 improved just as quickly with many irrelevant prompts as with instructive ones. In a [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/) comparison, prompted GPT-3 scored slightly lower than conventionally fine-tuned BERT and RoBERTa on MNLI and QQP, but often scored higher on their challenge sets, HANS and PAWS. A substantial gap persisted on HANS between examples where the shortcut helped and examples where it misled. The paper assembles these findings into a review of what benchmark success can establish about language understanding and where stronger tests are needed.

## Deep dive: Shortcut Learning of Large Language Models in Natural Language Understanding

A survey of how language systems learn shortcuts, why those shortcuts fail when data change, and how researchers test and reduce their use. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a correct label leaves open

In natural language inference, a system receives a premise and a hypothesis. Its answer says whether the premise entails the hypothesis, contradicts it, or leaves it undetermined. Entailment means that the hypothesis follows from the premise. Contradiction means that the two claims cannot both hold under the intended reading. A neutral case leaves the hypothesis open. The assignment is about the relation between the sentences. A cue found in just the hypothesis can still be useful for predicting the assigned label if the people who wrote the examples tended to express each relation in a characteristic way.

This is a difficulty for [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/) because correct answers are compatible with several accounts of how a system reached them. A test example can support the same prediction through its meaning, the presence of a particular word, and the amount of vocabulary shared between its sentences. On that example, an evaluator sees agreement with the reference label regardless of which evidence the system used. The distinction becomes visible when a test presents cases in which these routes lead to different answers.

The authors place this concern in the context of advances with pretrained language systems. Earlier work reported strong performance across several understanding tasks and, in some benchmark comparisons, scores above those reported for people. The paper notes that those reports dealt with tests sampled from the distribution that also supplied the training examples. Tasks such as inference and reading comprehension can demand world knowledge and commonsense [reasoning](https://md.research.elamur.ai/free/en/topics/reasoning/). The fact that a benchmark was designed to assess these abilities leaves open how much of its score actually depends on them. The systems in the paper’s account include [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/), [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/), and [T5](https://md.research.elamur.ai/free/en/papers/raffel-2019-exploring-limits-transfer-learning-unified/).

The standard workflow helps explain how that gap can arise. A system first learns from a pretraining corpus. It is then adapted on labeled examples of a particular task. The usual task-training objective, empirical risk minimization, rewards reducing prediction loss on those examples. The loss penalizes predictions according to how they compare with the supplied labels. If a superficial regularity is present across enough examples, exploiting it serves the objective. The labels establish what answer was expected. They usually leave the choice of evidence to the learner.

Earlier work on [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) showed how a dataset could acquire this kind of regularity. In the inference example reviewed here, workers author a hypothesis to express a specified relation to a premise. The resulting entailment hypotheses tend to be shorter on average than the neutral ones. The paper offers a plausible explanation for the pattern. A worker can often create an entailed claim by removing material from the premise. The same strategy can leave a statistical trace across many examples, even though each worker is trying to produce a valid instance of the requested relation. That is the problem investigated in [Annotation Artifacts in Natural Language Inference Data](https://md.research.elamur.ai/free/en/papers/gururangan-2018-annotation-artifacts-natural-language-inference/).

Crowdsourcing makes it possible to collect many examples at relatively low cost. That advantage can coexist with regularities in how workers interpret and carry out the task. If a corpus is divided into training and test portions after those regularities have been introduced, both portions can inherit them. A conventional test can then show that the learner generalizes to new examples drawn from the same process. The more demanding question is whether it generalizes to a different process that preserves the task and changes the cues.

#### Four ways a clue can stand in for the task

Lexical bias arises when a particular word or short sequence predicts the label. The paper uses negation as an example. A word such as *no* or *never* can matter greatly to the meaning of a sentence. A shortcut emerges when its mere presence is treated as enough to predict contradiction, without determining what is negated or how that claim relates to the premise. The survey also discusses function words and short word sequences whose correlations with labels can be much stronger in a dataset than their role in the task would lead a reader to expect.

Overlap bias depends on the relation between the visible forms of two inputs. In inference, a hypothesis containing many words from the premise may frequently be entailed. Shared vocabulary, though, tells a reader little on its own about who did what to whom. In reading comprehension, a question and a passage can share words near the answer, so matching those words can help locate an answer candidate. The same habit becomes unreliable when a passage repeats the language of the question in a place that does not answer it. Overlap can therefore be useful for narrowing attention while still being insufficient for the final decision.

Position bias arises when answers regularly occur in a particular part of an input. In the question-answering example reviewed by the authors, the location of the sentence containing the answer is so skewed that it can serve as a guide to the prediction. An evaluator interested in reading comprehension wants success to depend on finding the material that answers the question. If the position of that material is predictable before the passage has been interpreted, the dataset also rewards a much simpler strategy.

Style bias operates through characteristics of how a text is written. If a style happens to occur disproportionately with a label, a system can use it even when the meaning that determines the label is unchanged. This makes style relevant to robustness testing. A system trained to associate a category with a particular manner of writing may behave differently when the same kind of claim is expressed in another manner. The paper treats the possibility of deliberately manipulating that dependence as an additional reason to study it.

These categories describe different sources of evidence, and an example can carry several at once. A short hypothesis can share almost all its words with the premise while also containing a word that has a strong label association. A passage can repeat the language of a question near the location where answers usually appear. Removing a cue can leave other cues in place. That possibility matters whenever an evaluation result is used to explain what the system relied on.

#### Why robustness has several meanings here

The authors distinguish out-of-distribution generalization from adversarial robustness. The first concerns predictions when the distribution of examples changes between training and testing. A challenge set can deliberately change how often a cue agrees with the answer, while still asking for the same kind of judgment. The second concerns sensitivity to inputs that have been deliberately altered to expose a weakness. In reading comprehension, the paper describes experiments that add distracting material and then measure whether the system can still answer correctly.

Both types of test ask whether a prediction rests on evidence that continues to be useful under a change. They answer different questions about the scope of the weakness. A systematic shift can reveal a problem that recurs across a class of examples. A deliberate perturbation can probe how easily a prediction changes for a particular input. The paper also considers a different kind of intervention, randomization, which removes information such as word order to see how much benchmark performance survives. These methods give the survey ways to investigate why an ordinary score was achievable in the first place.

### The method, step by step

#### From a suspicious clue to a testable comparison

The paper is a survey. Its method is to organize published diagnostics, accounts of where shortcuts come from, and interventions aimed at reducing them. Its principal setting is the workflow in which a pretrained system is adapted to a labeled understanding task. Prompting receives separate treatment because a prompt can be used either with parameter updates or with a fixed system. The distinction matters when assigning responsibility for a newly observed bias. A correlation picked up during task training has a different history from a preference visible when the same task is introduced through examples in a prompt.

The survey’s diagnostic logic starts with a proposed cue and asks what would happen if it became a poor guide. A hypothesis-only clue in inference is a useful example. A researcher can look for a test where the full pair is needed, then see whether the learner performs differently when the clue supports the correct answer and when it favors an incorrect one. The researcher can also examine the prediction directly, looking for evidence that the learner placed unusual weight on a word in the hypothesis. These observations can motivate a training change and a fresh comparison on both ordinary and challenge tests.

How the survey organizes shortcut diagnosis and mitigation The steps in order.

The sequence describes how the strands of research fit together. A study can isolate one part of it. For example, a diagnostic test can expose an overlap heuristic without training a replacement system. An attribution analysis can identify examples that appear to support a particular prediction without constructing a challenge set. A mitigation experiment can compare two training procedures while leaving the test instruments fixed. Treating these as distinct jobs makes it possible to ask exactly what each result has established.

#### Define what changes between training and testing

The survey expresses its distributional distinction using the joint distribution of inputs and their labels. The equal-distribution case is written as follows.

```
Pₜᵣₐᵢₙ(X, Y) = Pₜₑₛₜ(X, Y)
```

`X` represents the inputs, such as pairs of sentences in an inference task. `Y` represents their labels, such as entailment or contradiction. `Pₜᵣₐᵢₙ` is the joint probability distribution of inputs and labels for training, and `Pₜₑₛₜ` is the corresponding distribution for testing. The equals sign says these distributions agree. The paper uses IID, short for independently and identically distributed, for this conventional setup. The displayed equality expresses the identical-distribution part of the assumption.

For out-of-distribution evaluation, the paper changes the equality to an inequality.

```
Pₜᵣₐᵢₙ(X, Y) ≠ Pₜₑₛₜ(X, Y)
```

`X` again denotes the inputs and `Y` their labels. `Pₜᵣₐᵢₙ` and `Pₜₑₛₜ` denote the joint training and test distributions, respectively. The unequal sign indicates a difference between them. OOD is the paper’s abbreviation for this setting. The expression permits many kinds of shift. A diagnostic experiment needs the additional step of specifying which relationship or property it is changing and why that change is informative.

The paper’s feature taxonomy helps specify that change. A useless feature offers no useful predictive signal in the analysis. A non-robust feature is predictive under the familiar conditions but loses that value under a relevant shift. A robust feature continues to provide task-relevant evidence when the tested conditions change. The distinction between the last two is about the relationship between the feature and the task. The same word can be legitimate evidence in a sentence and a poor stand-alone rule across a dataset. It takes a comparison across cases to establish which role the word is playing in an observed prediction.

#### Test behavior and inspect its sources

HANS is a targeted challenge for systems trained on multi-genre natural language inference, or MNLI. It probes lexical overlap, subsequences, and constituents. The overlap heuristic concerns the words shared by a premise and a hypothesis. The subsequence heuristic concerns whether the hypothesis can be found as a continuous stretch of the premise. The constituent heuristic concerns whether it corresponds to a grammatical unit within the premise. These properties can occur in valid entailments. The challenge is to see whether a system predicts entailment from the property alone, including in cases where the relation between the two sentences calls for a different answer.

The symmetric test for fact verification uses a related evaluation principle. It is designed to expose dependence on an accidental association between textual features and a verification label. These challenge sets are informative because they make the suspected shortcut visible in the design of the comparison. They can show whether a decision rule travels beyond the examples in which researchers first observed it. The paper discusses the fact-verification test in connection with [Towards Debiasing Fact Verification Models](https://md.research.elamur.ai/free/en/papers/schuster-2019-debiasing-fact-verification-models/).

Adversarial evaluation and randomization manipulate inputs in different ways. In the reading comprehension examples, deliberately distracting content tests whether the system can keep its prediction tied to the relevant material. In a word-order ablation, shuffling takes away information that ordinary sentences convey through sequence while retaining their words. Some studies intervene during pretraining, then evaluate performance after downstream adaptation. The evaluation asks what capabilities the learner can acquire in the absence of normal ordering at that stage. A study of order sensitivity across downstream tasks can also address whether the resulting benchmark decisions depend on sequence information.

For a more direct look at the prediction process, the authors review [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) methods based on attribution. Feature attribution assigns a contribution score to a part of the input. The paper denotes the input by `x`, an individual token within it by `xᵢ`, the attribution procedure by `ψ`, and the contribution assigned to the token at position `i` by `ψᵢ`. A token is a unit the system handles when processing text. The index `i` identifies which token is being scored. The authors describe using Integrated Gradients to assess which tokens contribute to predictions made by BERT-based systems.

Instance attribution changes the object being scored. It asks which training examples are influential for a particular prediction. If influential examples repeatedly display the same artifact, that gives a researcher a way to trace the observed behavior back to the training corpus. The two forms of attribution can be combined. A feature analysis can flag apparently influential hypothesis words, while an instance analysis can identify earlier examples in which comparable cues are present. The surveys’ account of instance attribution draws on [Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions](https://md.research.elamur.ai/free/en/papers/han-2020-explaining-black-box-predictions-unveiling/).

#### Locate a possible source before changing the pipeline

The authors distinguish the data, the pretrained system, and the downstream training procedure. A dataset can contain a cue because of the collection process or because annotators repeatedly took the same route to constructing an example. Both pretraining corpora and downstream datasets are relevant to the system’s eventual behavior. A comparison focused on the downstream data can reveal a cue that the labeled task teaches particularly well. A comparison involving pretraining can reveal a difference that exists before the task-specific labels are introduced.

For pretraining, the paper considers both capacity and objectives. Base and large versions from the same family provide one way to investigate capacity while keeping the broad architecture and the pretraining objective comparable. Comparisons across families bring other design differences into play. BERT predicts masked tokens and uses a next-sentence prediction objective. RoBERTa drops next-sentence prediction and varies which tokens it masks. ELECTRA learns to identify tokens that have been replaced by another network. These objectives ask the learner to solve different problems before task adaptation, which gives the authors a reason to consider pretraining when explaining downstream robustness.

For fine-tuning, the relevant question is what the learner picks up at different points in training. The studies reviewed in the paper describe a tendency to learn easily available features early and to assign high confidence to examples those features predict. They also report cases where extending training improves generalization. The observations concern different parts of a learning trajectory. A shortcut can become useful almost immediately, while a longer training run can give a learner more opportunity to acquire other predictive patterns. Studying the trajectory gives more information than a comparison made only at the end.

#### Change the examples, their weights, or their environments

One family of interventions changes the data before ordinary task training. Collection instructions can discourage workers from depending on words already known to predict the label. Filtering can screen out examples that a group of baseline systems solves through easily available cues. Augmentation can supply new examples, including counterfactual variants and examples constructed by syntactic transformations. The paper also reviews mixup as another augmentation approach. Each of these interventions changes what examples the learner sees and, with them, the statistical rewards for a shortcut. The survey uses [SWAG](https://md.research.elamur.ai/free/en/papers/zellers-2018-swag-large-scale-adversarial-dataset/) to illustrate adversarial filtering.

A split can also be organized so that a cue has a different distribution at test time. Such a split lets researchers measure reliance on the cue even if the original corpus remains the basis of the task. By comparison, augmentation or filtering can change what is learned in the first place. Whether an intervention operates on training examples or on their allocation to tests determines how to interpret any gain. A challenging split can reveal a failure directly. A revised training corpus can be judged by whether it improves performance under the challenge.

Reweighting keeps examples in the training set and changes their influence. The survey describes a procedure that first trains a weight-indexing system to assess examples and then uses its predictions to set training weights. Hard cases receive greater weight and easy cases receive less. A central assumption is that examples difficult for a shortcut-sensitive predictor are useful for learning behavior that transfers. The procedure can use graded weights or harder assignments. The survey also discusses focal loss, which gives greater emphasis to examples for which prediction confidence is low. Its signal is difficulty as measured during learning.

Training environments take a different approach to the same problem. The data are divided into subsets in which the undesired correlation varies and the intended evidence is expected to remain useful. Learning can then favor relationships that work across the subsets. If overlap is highly predictive in one environment and unreliable in another, dependence on overlap alone is a poor way to do well in both. A related approach encourages agreement among updates computed from different environments by maximizing the inner product of their gradients. A gradient describes how a change in parameters would affect the training objective. This approach encourages updates from the environments to point in compatible directions. The survey links the shared idea to [Invariant Risk Minimization](https://md.research.elamur.ai/free/en/papers/arjovsky-2019-invariant-risk-minimization/).

#### Change what the training objective rewards

A product-of-experts approach begins by training a restricted predictor to learn the bias. For inference, it might be given the hypothesis alone. Because it lacks the premise, its predictive success indicates how much label information can be recovered from that restricted view. Once trained, this predictor is held fixed. A second predictor sees the task inputs, and its class probabilities are combined with those of the first predictor during training.

```
p̂ᵢ = softmax(log(pᵢ) + log(bᵢ))
```

`i` indexes a candidate label. `pᵢ` is the probability assigned to that label by the predictor being trained, and `bᵢ` is the probability assigned by the fixed bias-only predictor. `log` is the logarithm. The plus sign combines the two log scores for the label. `softmax` converts the scores across all candidate labels into probabilities that sum to one. `p̂ᵢ` is the resulting probability for label `i`, and the equals sign defines how it is obtained.

The combination is used in the cross-entropy loss, which penalizes the system for assigning low probability to the observed label. The parameters updated through that loss belong to the second predictor. The fixed predictor already supplies probability mass based on the restricted cue, so the trainable component can gain by using evidence that the bias-only component lacks. The objective encourages that division of labor. Whether the trainable part actually acquires the intended evidence is a question for evaluation. The paper presents this approach through [Don’t Take the Easy Way Out](https://md.research.elamur.ai/free/en/papers/clark-2019-don-t-take-easy-way/).

Confidence regularization also uses a bias-only predictor, but its influence comes through the training targets. The survey describes first fitting a teacher with ordinary empirical risk minimization. An estimate of how biased an example is then used to rescale the teacher’s output distribution. The adjusted probabilities guide the training of a new predictor through knowledge distillation, in which one system learns from the outputs of another. The aim is to reduce excessive certainty on examples where the available shortcut supplies much of the apparent evidence. The intervention therefore operates on what the learner is encouraged to believe about the alternatives as well as on the predicted label.

Adversarial training introduces opposing objectives. In one setup, a shared encoder supplies representations to a task classifier and to a classifier that tries to identify an artifact. The artifact classifier is trained to detect its target. The encoder and task classifier are trained to preserve task performance while making the artifact harder to recover. A different setup uses perturbed inputs that raise the task loss, then trains the task predictor to reduce that loss. The paper groups the two approaches under minimax training because an objective is pushed in opposing directions. The first setup applies that pressure to the accessibility of an artifact, and the second applies it to prediction under input perturbations.

Explanation regularization gives training an explicit indication of which parts of an example should matter. Expert rationales can supervise token attributions, and natural-language explanations can guide attention towards words relevant to an inference decision. This approach depends on the availability of knowledge about the task and its shortcuts. It conveys information that a label alone leaves implicit. The usefulness of the extra supervision depends on the quality of the rationale and on how faithfully the training objective expresses it.

Contrastive learning gives the system related versions of an example whose differences are chosen to teach a distinction. The method described in the paper constructs versions by masking terms identified as causal or non-causal for the task. Comparing the original with these versions encourages the learner to distinguish changes that remove relevant evidence from changes that remove incidental material. The choice of what to mask is central. If a training comparison takes away information that really matters but tells the system to treat the result as equivalent, the same machinery can suppress a useful feature.

#### Keep parameter updates separate from prompting

Prompt-based fine-tuning recasts the task in a prompt format and still updates parameters using labeled examples. A prompt can put the task into a form that the pretrained system can already use. The labeled training stage can also teach it regularities present in the task corpus. In a zero-shot use of a prompt, the task is presented without labeled demonstrations. In a few-shot use, a small set of demonstrations supplies examples of the task.

Prompting with fixed parameters uses instructions, demonstrations, or both to elicit predictions without task-time gradient updates. The examples can influence the immediate output through their labels, order, and wording. The pretraining corpus remains a possible source of preferences over the tokens used for the answers. These details make fixed-parameter prompting a distinct setting for diagnosis. A consistent response to a repeated answer label can be investigated by varying the prompt, while a comparison involving prompt-based fine-tuning can ask what changes after the system is exposed to more labeled data. GPT-3 is the survey’s main example of fixed-parameter prompting, introduced in [Language Models Are Few-Shot Learners](https://md.research.elamur.ai/free/en/papers/brown-2020-language-models-few-shot-learners/).

### Experiments and results

#### What ordinary and challenge-set accuracy reveal

The paper brings together results from separate studies. Accuracy is the fraction of evaluation examples assigned the expected label or answer. It is the central measure in the comparisons between ordinary tests and targeted challenge sets discussed here. The underlying studies use different kinds of examples and different comparisons, so the relevant unit of interpretation is the result with its own test split and baseline.

The authors report that BERT-base’s accuracy on natural language understanding tasks fell by more than 20% when evaluated on out-of-distribution test sets instead of in-distribution ones. This is a reported reduction, with the same system’s in-distribution performance as the reference. It is distinct from an accuracy score on a named challenge set. The result illustrates how sensitive an apparently strong system can be to the distribution of the evaluation data.

HANS supplies a more targeted comparison. It is a balanced binary challenge, with 50% accuracy for random guessing. For the cited MNLI mitigation study, the authors report that BERT-base systems with mitigation consistently scored lower than 70% accuracy on the HANS test set. The chart marks the boundary stated in the paper. The run scores fall below that boundary.

Random guessing and reported mitigation boundary for HANS test accuracy The survey gives an upper bound for the mitigated systems and an exact accuracy for random guessing.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Random guessing | 50 |
| Mitigated BERT-base settings, exclusive upper bound (this paper) | 70 |

These values establish the benchmark’s chance reference and the range within which the authors place the cited mitigation results. They leave the accuracy of any particular run unspecified. The balanced test is particularly useful here because the aggregate accuracy has a clear baseline. A fuller diagnosis looks within that aggregate at examples where a heuristic correctly predicts the label and those where following it causes an error.

For a different HANS comparison, the paper reports that RoBERTa-base outperforms BERT-base by around 20% in accuracy on the test set. This is a comparison between pretrained systems, separate from the reported reduction between IID and OOD accuracy for BERT-base. The authors also cite a result in which RoBERTa-base under ordinary fine-tuning outperformed BERT-base trained with robust objectives on HANS. The pretrained starting point can therefore matter enough to change the ordering of systems even when the weaker starting point receives a specialized training intervention. These observations come from [Generalization in NLI](https://md.research.elamur.ai/free/en/papers/bhargava-2021-generalization-nli-ways-not-go/).

Adversarial NLI, or ANLI, provides another comparison across pretrained systems. On that dataset, ELECTRA and RoBERTa perform better than BERT at both base and large sizes in the study the survey describes. The paper gives the direction of those comparisons. It also reports a broader size pattern from comparisons within families. Large variants typically show a smaller accuracy gap between IID and OOD tests than the base variants in the cited work. Studies of compression report weaker robustness relative to uncompressed systems, including greater vulnerability to adversarial examples for systems compressed by knowledge distillation.

#### What changes when an input is disturbed

In multiple-choice reading comprehension, BERT systems show a substantial performance drop when passages contain distracting information. That experiment asks whether the chosen answer continues to track the information relevant to the question after other material is present. The survey treats the result alongside studies of question–passage overlap. A system sensitive to surface matches can have difficulty when a passage offers strong-looking matches that are irrelevant to the answer.

The survey describes related robustness tests for commonsense reasoning using examples generated with TextFooler. The reported failures are evidence that useful patterns on the original datasets did not generalize under the tested changes. A different resource, adversarial GLUE, brings together 14 adversarial attack methods for evaluating robustness. That number describes the methods represented in the benchmark. It gives a measure of the benchmark’s coverage by technique and leaves open which language phenomena each technique can test. TextFooler is associated with [Is BERT Really Robust?](https://md.research.elamur.ai/free/en/papers/jin-2019-bert-really-robust-strong-baseline/).

Experiments with shuffled text ask how much success is still possible after a proposed source of information has been weakened. A study discussed in the survey pre-trains systems on randomly reordered sentences, then fine-tunes them on downstream tasks. The systems retain high accuracy. A separate study reports that changes in sequence order have little effect across a wide range of tasks, including every task in the GLUE benchmark. The results make strong scores compatible with heavy use of word co-occurrence. They also make the choice of benchmark consequential. A benchmark can be a weak instrument for assessing sensitivity to syntax if many of its labels remain recoverable from which words appear together.

#### Prompted systems and fine-tuned systems

For prompt-based fine-tuning, the survey describes a RoBERTa-large study with 355 million parameters. The zero-shot setup was relatively resistant to a lexical overlap heuristic on the relevant challenge evaluations. When more labeled examples were supplied through prompt-based fine-tuning, the system became more inclined to follow that heuristic and performed poorly on OOD tests. The important comparison is between ways of applying the same pretrained system. A prompt can provide a way to express the task, while learning from the labeled dataset can still introduce the same dependence seen under ordinary fine-tuning.

Experiments with fixed parameters examine a different source of bias. One study tested GPT-2 with 1.5B parameters and GPT-3 with 2.7B, 13B, and 175B parameters on [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) and [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/) tasks. The analysis finds a preference for labels that appear often in demonstrations, sensitivity to the position of answers in the examples, and a tendency to prefer common answer tokens from pretraining. These are different ways for a prompt-based prediction to move when the content relevant to the current input offers little reason for the movement. The study is discussed as [Calibrate Before Use](https://md.research.elamur.ai/free/en/papers/zhao-2021-calibrate-before-use-improving-few/).

In natural language inference, another study used T0 with 3B and 11B parameters and GPT-3 with 175B parameters to compare prompts in zero-shot and few-shot settings. The reported result concerns how quickly performance improves. Many irrelevant or misleading prompts support improvement at a rate comparable to that seen with effective instructions. The result puts pressure on a familiar interpretation of prompting. Improvement after demonstrations is compatible with using evidence available in the examples without interpreting the instruction in the same way a person would.

The survey also reviews a direct performance comparison on MNLI and QQP. GPT-3 was prompted with a few examples. BERT and RoBERTa were adapted through standard fine-tuning. GPT-3 was slightly weaker on the in-distribution MNLI and QQP tests. On the corresponding OOD tests, HANS and PAWS, GPT-3 achieved higher accuracy in most of the reported settings and showed a smaller gap between the ordinary and challenge evaluations. The paper provides the direction of these comparisons without giving exact per-system scores.

A subgroup analysis qualifies that comparison. On HANS, GPT-3 still performed quite differently on the examples that support the bias and those that run counter to it. The overall gap between distributions and the gap between subsets measure different things. A smaller overall drop indicates stronger relative performance on the challenge set, while a persistent split within that challenge set points to an unresolved dependence on the same cue. The comparison comes from [Prompting GPT-3 To Be Reliable](https://md.research.elamur.ai/free/en/papers/si-2022-prompting-gpt-3-reliable/).

### What the ablations show

The paper reports no original ablation suite. It draws on controlled comparisons and diagnostic analyses in the studies it reviews, including interventions on word order, pretraining, fine-tuning, prompts, and the accessibility of bias in learned representations.

#### Word order and the information left after shuffling

Randomizing word order removes an obvious route to some sentence-level distinctions. The experiment in which shuffling occurs during pretraining is particularly informative because the intervention precedes downstream adaptation. Normal ordering is disrupted at the stage where the system learns general representations, and it is then given the chance to adapt to tasks in the usual way. Its high downstream accuracy shows that those benchmarks can reward features available under this training setup. Co-occurrence remains an explanation because the intervention leaves words together in the same examples even as it changes their sequence. This is the comparison discussed in [Masked Language Modeling and the Distributional Hypothesis](https://md.research.elamur.ai/free/en/papers/sinha-2021-masked-language-modeling-distributional-hypothesis/).

The study covering GLUE approaches the issue through sensitivity to sequential order across understanding tasks. Taken together, the results make it difficult to infer detailed syntactic competence from ordinary accuracy alone. How much they say about syntax depends on the intervention. Shuffling pretraining text and then fine-tuning permits acquisition of information during adaptation. Testing whether decisions survive a change of order probes what is needed for those particular predictions. Both experiments leave substantial room for other signals, including the original which-words-occur-together patterns. The survey connects this second line of analysis with [Out of Order](https://md.research.elamur.ai/free/en/papers/pham-2021-out-order-how-important-is/).

HANS provides a complementary control. Its examples can preserve the presence of a surface cue while changing whether that cue predicts the right label. This is useful for distinguishing reliance from availability. If a system benefits from word overlap in ordinary evaluation, there may be many correct answers where the overlap was incidental. A large difference between bias-supporting and bias-countering cases shows that the cue matters to behavior in the challenge. It makes a more specific claim possible than the observation that a shuffled dataset remains solvable.

#### Size, pre-training, and the timing of learning

Comparisons between base and large members of the same family narrow the explanation for a robustness difference. The general architecture and kind of pretraining objective are held closer than in a comparison across families. Larger variants show smaller IID-to-OOD gaps in the cited experiments. The authors interpret greater representational capacity as a plausible contributor. Their discussion of compression supports concern that making a system smaller can carry a robustness cost in the investigated settings, including cases where a compressed learner imitates a larger teacher.

Cross-family comparisons test a broader change. BERT, RoBERTa, and ELECTRA differ in what their pretraining asks them to predict. Differences in their challenge-set accuracy are consistent with pretraining giving them different tendencies about which signals to learn. The comparisons change more than a single feature of an objective, so they cannot identify a unique design choice responsible for a gain. The result in which ordinary RoBERTa fine-tuning beats robust BERT fine-tuning is a useful check on study design. A training intervention needs to be judged in relation to what is already achievable from the starting checkpoint.

The analyses of learning dynamics add a time dimension. The reading comprehension study cited in the survey finds that a shortcut is acquired within the first few training iterations. Other work finds that longer task adaptation can improve generalization. These findings fit a picture in which the fastest route to reducing loss can dominate early training, while task-relevant patterns can continue to develop later. They leave open how long the effect persists for a particular cue and whether later learning changes the features or simply alters which ones are used in the final decision.

#### Predictions can improve while representations keep the bias

Feature attribution in BERT-based inference systems points to negation and function words in the hypothesis. The survey relates this finding to a long-tailed distribution. The head contains frequently occurring tokens, including many of the cues that are easy to associate with labels. Less frequent tokens in the tail are learned less well in the cited analysis, in spite of carrying information useful to the task. The result gives a more detailed account of the training signal than an aggregate score. It suggests that part of the difficulty is getting evidence that occurs less frequently to matter in the final decision.

Instance attribution offers a different check by examining the influential training examples for a prediction. In the studies reviewed, influential examples can share the same artifacts, such as substantial overlap between the two sentences. This pattern connects a decision at test time to regularities in training data. It is possible for overlap to be legitimate evidence in an individual case. The diagnostic value increases when attribution and a targeted evaluation agree, with evidence of both influence and systematic failure when the cue points towards the wrong answer.

A result about debiasing makes it especially important to distinguish decisions from internal representations. The survey cites analysis showing that some debiased systems carry bias that is more accessible in their representations even when their OOD behavior is better. The authors discuss the possibility that gains come from changes to the classification head, the component that turns the representation into a prediction. That account would allow the system to rely less on a cue in its output even while the representation retains it. The reported analysis makes this explanation plausible and motivates a direct comparison of head-only updates with changes to the whole system.

#### What the prompt comparisons control

Prompt wording offers a way to vary how a task is expressed while continuing to supply demonstrations. In the cited comparison of instructive, irrelevant, and misleading prompts, many prompts with little useful instruction support learning as quickly as well-matched ones. The result indicates that the benefit of demonstrations can have a source other than accurate interpretation of the instruction. The comparison concerns the prompts and inference settings tested. Some of the observed benefit can be examined by varying what the prompt communicates about the task while observing whether improvement continues. The study is [Do Prompt-Based Models Really Understand the Meaning of Their Prompts?](https://md.research.elamur.ai/free/en/papers/webson-2022-do-prompt-based-models-really/).

The RoBERTa-large study makes a different comparison by varying exposure to labeled data through parameter updates. Its challenge-set result suggests that the overlap cue can be acquired during prompt-based fine-tuning even when a zero-shot prompt elicits relatively robust predictions. The GPT-3 subgroup comparison on HANS makes a third distinction, between examples that agree with a cue and those that require a different answer. Read together, the analyses locate shortcut effects in different places. Prompt content can be used in ways that are insensitive to instruction meaning, supervised adaptation can introduce a new dependence, and a fixed prompted system can still show a marked disparity between subsets.

### Limitations

#### Limits the authors identify

The authors emphasize the limited coverage of existing mitigation. Refining a dataset addresses artifacts that researchers or baseline systems can recognize. An instruction to avoid particular words can lessen a lexical cue while leaving other associations in place. Filtering similarly depends on what the systems used to find easy examples can detect. The more varied the task and its sources of bias, the less reason there is to expect a single pass of refinement to cover the features that can become shortcuts.

Several training interventions depend on assumptions about which examples are hard or why a prediction is confident. High confidence can be a sign that a shortcut supplies strong evidence under the training distribution. The methods based on this observation need the confidence signal to line up with the behavior they aim to change. An example can be difficult for other reasons, and a readily solved example can contain enough genuine evidence to justify a confident prediction. The authors’ discussion of unknown biases explains why proxies for difficulty and shortcut use can lead to limited improvements.

The paper identifies the relationship between IID performance and robustness as unsettled. Some comparisons across pretrained systems show the two moving together. Many mitigation methods, in the authors’ account, improve robustness while sacrificing ordinary test performance, and some preserve that performance. It remains an open question which conditions account for these different outcomes. A shift in the ordering of methods across tests can arise from what the respective splits reward, so the evidence is more informative when each split is reported on its own terms.

The authors also call for broader evaluation. They single out tasks such as reading comprehension and the need to cover more kinds of bias. A benchmark built to counter lexical overlap can give a useful result on that behavior. It leaves the effects of answer position or writing style to other tests. The need is particularly acute for prompting, where much of the research the paper discusses was directed at improving ordinary benchmark results and the studies of robustness were preliminary. The authors mention intermediate reasoning methods as possible directions, drawing on [Chain-of-Thought Prompting](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/) and work on [Scratchpads](https://md.research.elamur.ai/free/en/papers/al-2021-show-your-work-scratchpads-intermediate/).

Theory is another stated limit. The survey connects shortcut learning to work on shallow networks and to analyses in which optimization favors simple features early. Gradient starvation, in the theoretical discussion, describes a process in which learning easy, non-robust signals can slow learning of more relevant ones. These results give the authors candidate explanations. A theoretical account that establishes when and why this behavior should appear in large language systems remains open.

The authors propose combining learning from data with knowledge about the task. They point to architectural choices that respect the structure of an input, objectives that encourage better pretrained representations, and evaluations informed by what an understanding task should require. As an architectural example, they discuss TableFormer, whose encoding incorporates information about table structure. That example illustrates task-specific design. The authors stress that the structural assumptions must suit the task, because the useful prior for a table can differ from the useful prior for interpreting prose.

#### Limits of what the comparisons can establish

The survey combines evidence from separate experiments rather than running the interventions against a common set of checkpoints, examples, and evaluation splits. Its comparisons are therefore strongest as evidence about the particular setting that produced them. The HANS results document a challenge for inference, and the passage perturbations document a challenge for reading comprehension. The magnitude of an accuracy drop in one setting does not provide a ranking of mitigation strategies across both. Even within inference, an intentionally constructed challenge and a broader distribution shift can reward different properties.

The fixed-prompt and standard fine-tuning comparison changes both the adaptation procedure and the underlying system. GPT-3’s smaller gap on HANS and PAWS is a result for that combination of system, task presentation, and evaluation. An experiment designed to isolate prompting as the cause would need to control the starting system and vary how it is adapted. The reviewed comparison also gives the additional HANS subset analysis, which makes it possible to see that favorable aggregate robustness can coexist with a recurring error pattern.

Ablations leave residual evidence. Shuffling words changes normal sequence but preserves the collection of words in the input. Downstream fine-tuning can provide ordinary ordered examples after shuffled pretraining. High accuracy after such an intervention gives evidence about what a benchmark can reward under that setup. Any broader conclusion about what systems can learn about syntax requires tests that directly depend on the syntactic distinctions of interest.

Attribution introduces a similar issue of scope. A contribution score helps identify where a prediction appears sensitive. It becomes stronger evidence of a shortcut when performance also changes in the expected direction on examples constructed to vary the cue. Likewise, making bias easier to read out of a representation is evidence that the information remains accessible. Establishing why an output improved requires an additional connection between that representation, the classification head, and measured behavior. The paper presents the explanation involving the head as a hypothesis, leaving the causal account open.

Finally, the authors’ conclusion about the insufficiency of a purely data-driven approach is a research position drawn from the reviewed failures of prevailing practice. The experiments show that systems can achieve strong scores while depending on accidental regularities and that current interventions can leave substantial residual bias. A claim about the limits of all possible data-driven training procedures would require a different kind of evidence. The survey’s concrete case for domain knowledge is that it can specify which relations ought to persist under a change and make those relations visible in training and evaluation.

### What came after

Later papers that cite the survey carry its question about what predicts a correct answer into several settings. The clearest extension is to multiple-choice evaluation. A question and its answer choices are different sources of evidence. If a system sees the choices without the question, any success has to be explained by what remains available. The later paper’s title frames two possibilities, artifacts in the examples and abduction, or inference to a plausible explanation. This extends the survey’s concern with restricted-input tests. Just as a hypothesis can reveal information about its inference label, a set of answer choices can present evidence that deserves examination by itself. The question is taken up in [Artifacts or Abduction](https://md.research.elamur.ai/free/en/papers/balepur-2024-artifacts-or-abduction-how-do/).

A further paper focuses on the design of multiple-choice evaluation itself. Its title asks in what sense the format is forced, flawed, or fixable. The connection to Du and colleagues is the distinction between performing well under an assessment format and possessing the broader ability the assessment is meant to measure. Where the earlier survey organizes tests for dependence on cues inside a labeled example, this later work places the multiple-choice format at the center of the inquiry. Its title states the scope of that inquiry without giving a result about which corrections work. [Which of These Best Describes Multiple Choice Evaluation with LLMs?](https://md.research.elamur.ai/free/en/papers/balepur-2025-which-these-best-describes-multiple/)

Benchmark design also brings the robustness question beyond language-only tasks. MMMU-Pro presents itself as a more robust benchmark for understanding across disciplines and modalities. That puts the emphasis on designing an assessment whose success criteria better reflect the intended ability. In Du and colleagues’ treatment of HANS, robustness comes into view because the test makes a specific shortcut unreliable. A benchmark covering [vision and language](https://md.research.elamur.ai/free/en/topics/multimodal/) raises the corresponding question of which parts of an input the system needs to use to answer. The title establishes the benchmark’s scope and aim. [MMMU-Pro](https://md.research.elamur.ai/free/en/papers/yue-2024-mmmu-pro-more-robust-multi/)

Another citing work connects dataset creation to testing across domains in German aspect-based sentiment analysis. In that task, the sentiment judgment concerns an aspect of what is discussed. The title describes the creation of a B2B dataset and a cross-domain evaluation. A domain change is pertinent to the earlier survey because the cues that accompany a label in one collection can have different associations in another. Cross-domain testing moves the robustness question from a deliberately constructed heuristic challenge to an evaluation organized around different domains. The work addresses that setting in [German Aspect-based Sentiment Analysis in the Wild](https://md.research.elamur.ai/free/en/papers/fehle-2025-german-aspect-based-sentiment-analysis/).

The survey’s use of token and instance attribution connects directly to later work devoted to explanation. A dedicated survey of explainability takes up the broader problem of how researchers can investigate a language system’s decisions. Du and colleagues had used that problem to distinguish evidence about a prediction from evidence about the input features or training examples behind it. The title of the later survey identifies explainability as its organizing subject. It does not identify a particular attribution result or repeat one of the earlier experiments. [Explainability for Large Language Models](https://md.research.elamur.ai/free/en/papers/zhao-2023-explainability-large-language-models-survey/)

The distinction between a learned representation and the decision made from it also belongs to a broader reconsideration of how to interpret large language systems. The earlier survey makes the distinction concrete through the possibility that a debiasing method improves external behavior while leaving bias accessible internally. The later title frames interpretability itself as a question to revisit for these systems. The connection is conceptual. The earlier analysis gives an example of why a description of observed decisions and a description of internal information can answer different questions. [Rethinking Interpretability in the Era of Large Language Models](https://md.research.elamur.ai/free/en/papers/singh-2024-rethinking-interpretability-era-large-language/)

The relationship between confidence and action appears in another citing paper, this time in the setting of language systems after unlearning. Its title distinguishes calibration from decision making. In Du and colleagues’ survey, confidence regularization is motivated by the tendency to be highly certain on examples supported by a shortcut. Calibration and the quality of a resulting decision are related ways of examining such behavior. The title of the later paper locates that distinction in a different training setting and frames it as a reliability question. [Calibration vs Decision Making](https://md.research.elamur.ai/free/en/papers/shukla-2026-calibration-vs-decision-making-revisiting/)

These connections vary in specificity. The question-removal study names a concrete intervention related to the earlier paper’s restricted-input diagnostics. The benchmark and cross-domain studies locate the problem in how tests are constructed and how their distributions differ. The interpretability work and the study of calibration place related distinctions within broader research agendas. Their citation of the survey establishes a connection to its treatment of shortcut learning. The titles support those thematic links and, where named, the evaluation designs, while leaving their methods and numerical findings unspecified.

## Cite

Cite as Mengnan Du, Fengxiang He, Na Zou, Dacheng Tao and Xia Hu. 2022. Shortcut Learning of Large Language Models in Natural Language Understanding. arXiv:2208.11857.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.48550/arxiv.2208.11857](https://doi.org/10.48550/arxiv.2208.11857) · [arXiv 2208.11857](https://arxiv.org/abs/2208.11857)

```bibtex
@misc{du2022shortcut,
  title = {{Shortcut Learning of Large Language Models in Natural Language Understanding}},
  author = {Mengnan Du, Fengxiang He, Na Zou, Dacheng Tao and Xia Hu},
  year = {2022},
  doi = {10.48550/arxiv.2208.11857},
  eprint = {2208.11857},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2208.11857}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
