Lexical Generalization Improves with Larger Models and Longer Training
Paper · 2022 · Elron Bandel, Yoav Goldberg and Yanai Elazar
Summary
Two questions can contain almost exactly the same words and ask for different things. A question about whether a good person can become bad reverses direction when the roles of good and bad are exchanged. A system that mainly checks which words occur in both questions can miss the reversal. Bandel and colleagues ask when pretrained language systems rely on this kind of shortcut after fine-tuning, the stage in which they learn a particular task from labeled examples. The paper compares systems of different sizes and tests them at different points in that training. Its central finding is that scale and training duration can change how a system handles difficult word overlaps even when a standard development score barely moves.
Reading comprehension, paraphrase detection, and natural language inference are the focus of the authors’ research. In each task, they evaluate examples with high lexical overlap, meaning that the two texts share much of their vocabulary. Some pairs support the answer suggested by the shared words. Others have similar wording but require a different answer. The paper measures reliance on the shortcut using HEUR, the performance gap between those groups. For reading comprehension, the authors create ALSQA, a diagnostic set derived from SQuAD 2.0. Crowdworkers rewrite questions using more of the passage’s vocabulary while preserving what each question asks and, for questions the passage cannot answer, why the answer is unavailable.
The differences are clearest in natural language inference. Early in fine-tuning, RoBERTa base scores 9.7 on HANS-Overlap examples where word overlap suggests the wrong label, while RoBERTa large scores 81.4 on the same subset. Their standard MNLI development scores are 85.9 and 87.8. Later in training, both sizes improve on the difficult HANS-Overlap subset. The wider experiments show why the paper reports the two diagnostic groups separately. Paraphrase detection remains difficult, and the performance gap can widen even when a larger system correctly handles more of the examples that conflict with the shortcut.
A separate experiment examines pretrained checkpoints before any task-specific training. The authors rank unseen Wikipedia sentences by the probabilities assigned by an ensemble. Larger pretrained checkpoints show a greater perplexity advantage over their base counterparts on the sentences ranked least probable than on those ranked most probable. The result identifies a difference that exists before fine-tuning and offers a possible explanation for the downstream findings. The experiments establish how the tested systems respond to a particular shortcut. They leave open which strategies the systems use in its place and why some training runs move away from it more readily than others.
Deep dive: Lexical Generalization Improves with Larger Models and Longer Training
Bandel and colleagues test whether larger language models and longer fine-tuning reduce reliance on shared words in inference, paraphrasing, and reading. · about 34 minutes to read
The problem and its context
Why shared words are persuasive evidence
Consider the questions about becoming good or becoming bad. Their vocabulary offers a useful clue that they discuss a common subject. To decide whether they ask the same thing, a reader also needs to work out which state comes first and which is the possible outcome. This distinction between similarity of vocabulary and similarity of meaning is the basis of the paper. A useful clue becomes a shortcut when the system treats it as sufficient to choose the answer.
The same issue appears when one sentence is offered as evidence for another. In natural language inference, the first sentence is called the premise and the second is the hypothesis. The task asks whether the premise warrants the hypothesis. A hypothesis can use only words found in the premise and combine them into a claim the premise never made. Conversely, many hypotheses that follow from a premise do reuse its words. Examples of both kinds matter for diagnosing the shortcut. Correct predictions on the latter group can look identical whether the system read the relationship carefully or merely noticed the shared vocabulary.
In paraphrase detection, the decision concerns whether two expressions convey the same meaning. Two questions can name the same people, actions, or choices, yet assign them different roles. Another pair can rearrange familiar words and preserve the original request. High overlap is compatible with either label. To discriminate between the two, a system has to use some information beyond the shared inventory of words. The diagnostic can establish whether its predictions make that distinction. Its predictions alone give less information about precisely which cues it used.
For question answering, the relevant relationship is between a question and a passage. Familiar words can help a reader find the part of a passage worth examining. Answerability is a further judgment about whether the passage actually supplies the requested information. A passage may include the person and office named in a question while describing who appointed someone else. Such a passage looks relevant on the surface and still leaves the question unanswered. That difference makes reading comprehension another setting in which the same broad shortcut has a recognizable prediction.
The paper calls its target lexical overlap. The lexical part concerns the words themselves, or their base forms in the reading experiment. A system may legitimately use overlapping terms while also considering the relation expressed by a text. The behavior of concern is giving the overlap enough influence to accept a conclusion, treat two questions as equivalent, or expect an answer in a passage that fails to provide it. The authors use test examples on which that tendency has an observable consequence.
Why standard evaluations leave the question open
The introduction places the study in the period of strong gains on ordinary natural language understanding benchmarks. It names GLUE and the original SQuAD as examples of evaluations on which pretrained systems made rapid progress. These benchmarks provide a common way to assess predictions on a task. The question raised by the paper concerns how far that assessment carries when the examples change and a regularity that helped during training ceases to be reliable. GLUE · SQuAD
An ordinary development set can reward a good prediction without revealing the route to it. Suppose a question and passage share important words and the passage happens to contain the answer. An informed judgment about the passage and a shortcut based on the vocabulary both point towards answerable. Similar outcomes accumulate across the examples where the shortcut works. A development score summarizes those outcomes alongside the failures, and the combined number can obscure which kind of example the system has learned to handle.
As the authors describe it, previous work had already exposed brittleness when systems faced inputs that differed from their usual evaluation examples. Stress tests for inference were one part of that work. Behavioral evaluations were another. A behavioral test gives a system inputs chosen to make a particular distinction observable, then studies the pattern of responses. The authors place their own experiment in this tradition and narrow it to one cue whose effect can be tested across different tasks. Stress Test Evaluation for Natural Language Inference · CheckList
Two of the diagnostic resources already existed. HANS was designed to test inference heuristics, including the tendency to infer entailment from overlap. PAWS contains highly overlapping text pairs that can be either paraphrases or non-paraphrases. The authors also cite work on other shortcuts, including hypothesis-only baselines in inference, where predictions can be made from the hypothesis without consulting the premise. These approaches address related questions about which evidence a task encourages a system to exploit. HANS and PAWS happen to offer the particular contrast the authors need between shared wording and the correct label. PAWS · Hypothesis Only Baselines
Why size and training time are separate questions
Once a shortcut has been identified, one response is to change training so that the cue is less rewarding. The authors cite earlier attempts to reduce dataset bias through specialized methods. These include fitting the residual after accounting for bias and augmenting sentences with predicate–argument information. Such work treats robustness as an explicit objective. Bandel and colleagues ask what ordinary task training can achieve when the starting checkpoint is larger or the training continues longer. That comparison matters because the choice of baseline affects how much of a gain can reasonably be attributed to a specialized intervention. Unlearn Dataset Bias in Natural Language Inference by Fitting the Residual
Size and duration can plausibly influence different parts of the process. Fine-tuning begins with a pretrained checkpoint, a saved set of parameters already shaped by earlier training. A larger checkpoint may enter the task with different capabilities. Additional fine-tuning gives any given checkpoint further exposure to the task examples. If the task data include a minority of cases where the usual shortcut fails, the system may need time to learn from that evidence. This is the connection the authors draw to Tu and colleagues’ earlier work on generalizing from examples that conflict with spurious correlations.
The authors frame the size question in terms of inductive bias, the tendency of a learning procedure to favor some solutions over others when several fit the available examples. An overlap-based decision and one sensitive to sentence structure may each work on much of the training set. The paper asks whether a larger starting checkpoint favors a different solution, and how that preference appears over fine-tuning. It distinguishes this question from earlier work on how the amount of pretraining data affects linguistic generalization. Checkpoint size, the amount of data used before adaptation, and the number of passes over task data are different quantities. Relational Inductive Biases, Deep Learning, and Graph Networks
The design also addresses a question about timing. If a system learns the overlap cue quickly, an early checkpoint can display it even if later training leads to different behavior. An evaluation that records only the last checkpoint would miss that history. An evaluation that selects a checkpoint by ordinary development performance could overlook different behavior among checkpoints with comparable scores. For that reason the paper tracks both the familiar development measure and the outcome on deliberately challenging examples.
The method, step by step
From an ordinary task to a targeted test
The authors begin with a standard labeled training set for each task. They adapt pretrained checkpoints to make the task’s predictions and evaluate them on the corresponding development data. In parallel, they use a separate high-overlap diagnostic set to look for the shortcut. The task training and the diagnostic have different jobs. The former supplies examples from which the system learns. The latter concentrates examples that make it possible to see which judgments break when shared vocabulary points in an unhelpful direction.
Each diagnostic pair is assigned to a group according to what the overlap heuristic would predict. A high-overlap inference pair is consistent with the heuristic when it is an entailment. A high-overlap paraphrase pair is consistent when the two texts really mean the same thing. A high-overlap question and passage are consistent when the passage supplies an answer. The inconsistent groups contain the corresponding non-entailments, non-paraphrases, and unanswerable questions. Group membership depends on the example’s gold label and the stipulated shortcut. It does not depend on a system’s prediction.
This assignment creates a straightforward behavioral test. Correct predictions in the consistent group show that the system can handle examples where overlap is helpful. Correct predictions in the inconsistent group show that it can give the other answer despite that overlap. Comparing these groups across sizes and checkpoints is more informative than simply looking for a rise in the diagnostic’s overall score. An overall rise could come from the cases on which the shortcut already works.
Testing reliance on lexical overlap during fine-tuning
The steps in order.
Measuring overlap and the performance gap
The paper defines ordinary lexical overlap in terms of unique words. Repeating a word within one text adds no additional shared vocabulary. The count in the numerator is therefore a count of shared word types, with the count of unique words in the shorter text as the denominator.
O(S, T) = |U(S) ∩ U(T)| / |U(S)|
Here S is the shorter text and T is its partner. U takes a text and returns its set of unique words. The vertical bars count the members of a set, ∩ selects the words present in both sets, and / divides the shared count by the shorter text’s unique-word count. O(S, T) is the resulting overlap score. This normalization makes it possible for a short text to have high overlap with a longer one whenever the longer text contains most of the short text’s vocabulary.
For ALSQA, the authors apply the coefficient to retained lemmas, the base forms used to group related word forms. The general description sets aside function words and proper names. The appendix describes the annotation filter through named entities, determiners, and question words. The purpose is to measure how much of the question’s content wording appears in the context without giving the same weight to grammatical items that many unrelated questions share. It also allows two inflected forms to count as an overlap when the preprocessing gives them the same lemma.
The overlap coefficient characterizes the texts. HEUR characterizes the behavior of a system on a diagnostic set. The paper defines it as the difference between the performance on consistent and inconsistent examples.
HEUR = A✓ − A✗
A✓ is performance on the consistent subset, and A✗ is performance on the inconsistent subset. The check and cross mark whether the gold answer agrees with the overlap shortcut. In the classification results, performance is accuracy, so the subtraction − expresses the gap in percentage points. A larger positive gap indicates that the system does better when overlap favors the right answer. The authors interpret that pattern as evidence of greater reliance on the heuristic.
The two accuracy values remain important after the gap has been calculated. HEUR can fall because a system correctly handles more inconsistent examples. It can also fall because the system handles fewer consistent examples. The first pattern indicates an increased ability to overcome the cue on the diagnostic. The second narrows the gap through errors on the cases that previously went well. Likewise, a rise in accuracy on both groups can leave the gap wider if the consistent group improves more. The result tables preserve all three quantities so that those patterns can be distinguished.
The tables also express the direction of the change between checkpoints as a signed difference.
∆ = HEURlate − HEURearly
∆ denotes the training-stage change for a fixed family, size, task, and diagnostic. HEURlate and HEURearly are the scores at the late and early checkpoints. The subtraction puts the later value first, making a negative ∆ a reduction in the gap over the reported interval. This is a within-setting comparison. The same notation appears in the perplexity tables for a different comparison, so its meaning there follows the neighboring metric and table labels.
Inference and paraphrase diagnostics
The inference experiments train on MNLI, a broad-coverage corpus whose inputs are premise and hypothesis pairs. They test the shortcut on HANS-Overlap, the lexical-overlap portion of HANS. The full HANS resource was designed around several heuristics. Restricting the evaluation to its overlap portion keeps the diagnostic aligned with the cue under study. When reading the subset scores, the crucial distinction is whether the hypothesis follows from the premise despite the extensive reuse of words in both groups. MNLI
One illustrative pair in the paper puts a banker near a judge and makes the banker the one who sees an actor. A hypothesis that attributes the seeing to the banker is supported. The premise also contains the word judge, whose presence by itself gives no basis for assigning the same action to that person. The example shows why a test concerned with overlap needs propositions made from familiar vocabulary as well as propositions that actually follow.
For paraphrase detection, the training dataset is Quora Question Pairs, or QQP. The diagnostic is PAWS-QQP, the portion of PAWS connected to the Quora question-pair data. PAWS constructs candidates through controlled changes in word order and through translation out of and back into the source language. Human filtering is part of its validation process. The resulting pairs put pressure on an overlap strategy because extensive reuse of words is a property of both the pairs that preserve meaning and those that change it.
The examples illustrate different effects of rearrangement. Changing the order in which study and work are mentioned can preserve a question about which option to choose. Exchanging good and bad in a question about what a person can become changes the starting state and the destination. An inventory of words treats these rearrangements much alike. The classification labels distinguish them because the relevant question is what the words express together.
How ALSQA was collected
For reading comprehension, the authors create Analyzing Lexically Similar QA, abbreviated ALSQA. They begin with questions from the SQuAD 2.0 development split and retain the associated passage for each one. Some of these questions have answers in the passage, and others are unanswerable in that context. The collection procedure starts from questions whose vocabulary has low overlap with the relevant passage text. Annotators then rewrite those questions using vocabulary from the passage. Keeping the underlying question gives the authors a way to raise overlap while keeping the answerability judgment in place.
The exact context used to check overlap depends on answerability. For an unanswerable question, the comparison uses the entire passage. For an answerable question, the authors use the sentences containing the answer together with one neighboring sentence on each side. The answer supplies a location for the narrower window in the latter case. This choice also matters for interpreting the diagnostic. A high-overlap score for an answerable item is based on text around its answer, while the corresponding score for an unanswerable item is defined against the full passage.
The appendix partitions the coefficient into three levels. Values above 0.85 are high. Values above 0.4 and at or below 0.85 are medium. Values at or below 0.4 are low. The candidates sent for rewriting come from the low group. The output is required to reach the high group while remaining equivalent in the context of the passage. The numerical threshold verifies the requested change in wording. People are responsible for the judgment that the new wording still asks the same thing.
For an answerable item, preserving the question keeps it tied to the original answer. For an unanswerable item, the instructions go further than retaining the absence of an answer. The reason the passage cannot answer it is supposed to remain the same. A worker who introduced a different missing fact could write a perfectly unanswerable question and still change the example under study. The distinction is important because it keeps the exercise focused on how the same request fares when its wording resembles the passage more closely.
The annotation interface identifies words that match the passage and words that do not. Workers can submit a candidate to an interactive validator and see whether its overlap meets the threshold. They can also explain why a rewrite is impractical and skip the item. The paper reports that annotators skipped less than 10% of the questions in this collection process and that skipped questions were removed. That filter makes feasibility part of the makeup of the final set. It consists of examples for which an annotator found a rewrite satisfying the collection rules.
The authors trained 8 annotators on an initial batch, provided feedback, and selected 5 to continue after a further test. During collection, they manually checked 25% of each annotator’s work and required 95% approval in that sample before including that annotator’s contributions. They report paying 0.4$ per annotation, including rejected annotations. Together, the automatic overlap check and the human review handle different kinds of quality. One determines whether the wording reached the target. The other examines whether a paraphrase is acceptable.
Several examples show how a plausible-looking question can remain unanswerable. In one passage, Edward the Confessor appoints Ralph to an earldom. A rewritten question uses the appointment vocabulary while asking who appointed Edward himself. The shared names and terms make the passage look relevant, but its stated relationship runs in the wrong direction. Another passage names deserts and several borders. It supports a question locating the desert by Nevada while leaving a question linking Arizona to the southern border unanswered. In these cases, finding related words takes a reader to the right subject area without settling the actual question.
The authors make the experimental code and data available under the name lexical-generalization. The new data resource is ALSQA. Its examples retain their SQuAD 2.0 context and use human-written, high-overlap question versions, with the original answer when the question has one.
The fine-tuning comparisons
The experiment setup names BERT, RoBERTa, and ELECTRA as the families used in the reported task comparisons. The assignment varies by task. Inference uses BERT and RoBERTa. Paraphrase detection uses RoBERTa and ELECTRA. The main binary answerability comparison uses ELECTRA, and the span-training comparison includes both ELECTRA and RoBERTa. The paper’s introduction also mentions ALBERT, while the setup and tabulated comparisons specify ELECTRA.
The main size comparisons use base and large checkpoints. The appendix adds smaller BERT and ELECTRA variants where applicable. The size names stand for configurations with different parameter counts, depths, and hidden dimensions, the widths of the representations carried between layers. The specifications table lists the base configuration with 12 layers and 110M parameters and the large configuration with 24 layers and 355M parameters. Increasing size in this design changes several properties together. The comparison treats that bundle as a practical checkpoint choice.
The early checkpoint is taken after one epoch, a pass through the task’s training data. The late checkpoint follows six epochs. The authors repeat fine-tuning six times and report median scores, motivated by the variability of both in-domain and diagnostic performance after adaptation. The runs use different random seeds. Where they also use two learning rates, the first rate is assigned to seeds 1–3 and the second to seeds 4–6. The median summarizes the chosen runs, which include both sources of variation in those configurations.
The training appendix specifies a linear learning-rate schedule and batch size 32 for the listed configurations. The BERT and RoBERTa configurations in that table use a warmup proportion of 0.06 and learning rates 2e-5 and 3e-5. The ELECTRA configurations use 0.0 for warmup and 2e-5 for the learning rate. Warmup controls the initial portion of the learning-rate schedule. The paper uses established PyTorch fine-tuning code for the task training and records the checkpoint and dataset identifiers in its reproducibility details.
Inference, paraphrase detection, and binary answerability all produce classifications for text pairs. Reading comprehension also has a span-prediction form, in which an answer is represented as a segment of the passage. The authors use both training formulations for reading comprehension and examine answerability after each. That comparison asks whether the findings depend on training the system to predict answerability directly or also appear when the training objective represents the answer through its location in the text.
Examining the pretrained checkpoints
The downstream experiment starts from pretrained systems, so it raises a question about what was already different before fine-tuning. The authors test one possibility with unseen Wikipedia sentences. They use 3000 sentences drawn from recent articles as an approximation to text from a similar distribution to the pretraining material. The appendix describes sampling from the 1000 newest articles in the 15 June 2022 Wikipedia dump. The authors use the recency of the articles to select material outside the checkpoints’ training data.
An ensemble of three GPT-2 sizes assigns probabilities to the sentences. The authors average the probabilities from gpt2-base, gpt2-medium, and gpt2-large. Using an ensemble is intended to reduce the influence of any single size on the definition of a probable sentence. The authors rank all the sentences by this ensemble score, take the highest 20% as the probable group, and take the lowest 20% as the improbable group. In this experiment, improbable has a precise operational meaning. It refers to a low rank under the ensemble’s scoring procedure.
The pretrained BERT and RoBERTa checkpoints are then evaluated on those groups. A masked language system is trained to recover a hidden part of an input from what remains visible. For sentence scoring, the authors consider each position in turn, hide the word there, and use the probability assigned to the original word. They combine these position-specific probabilities using pseudo log likelihood. The term pseudo reflects that each position is scored with its own surrounding context visible, giving a score assembled from separate conditional predictions. Masked Language Model Scoring
PLL(W) = Σᵢ₌₁ⁿ log(Pₘₗₘ(W)ᵢ)
W is the sentence, made up of words w₁ through wₙ. The index i identifies a masked position, and n is the number of positions. The capital sigma Σ sums the terms from the first position through n. Pₘₗₘ(W)ᵢ is the masked system’s probability for the actual word wᵢ at that position, given the visible context. log takes the logarithm of that probability. PLL(W) is the sum of those log probabilities for the sentence.
The appendix states the connection to pseudo-perplexity in the following form.
PPL(W) = exp(PLL(W))
PPL(W) is the sentence quantity labeled pseudo-perplexity, exp is the exponential function, and PLL(W) is the pseudo log likelihood just defined. There is an ambiguity in the paper’s presentation. Taken literally with the preceding sum of log probabilities, the expression gives a value at most one, while the paper reports scores above one and interprets lower scores as better. The appendix expression consequently cannot be used as written to reproduce the reported values. The comparisons below follow the paper’s tabulated results and their stated direction.
Experiments and results
What serves as a baseline
The main baselines are ordinary fine-tuned checkpoints for the same task. A base checkpoint provides a comparison for a larger member of its family. An early checkpoint provides a comparison for the later checkpoint of the same size. The paper also places standard development scores alongside the diagnostic results for every setting. This layout lets a reader ask whether a change that matters on difficult word overlaps would also be apparent from the evaluation normally used to monitor task training.
The standard datasets differ substantially in scale from their diagnostic counterparts. The paper lists 392,702 training examples and 9,815 development examples for MNLI, with 10,000 HANS-Overlap development examples in the dataset table. QQP has 363,846 training examples and 40,430 development examples, while the listed PAWS-QQP development split has 677 examples. SQuAD 2.0 has 130,319 training examples and 11,873 development examples. The dataset table gives ALSQA a size of 365. Elsewhere the paper reports 190 answerable pairs and 174 unanswerable pairs, figures that do not reconcile with the stated overall count.
The design section describes the idealized diagnostic as split evenly between cases where the shortcut agrees with the answer and cases where it fails. The dataset table lists the positive-label share for the PAWS-QQP test development split as 28.2%. HEUR still compares separately measured group accuracies under an uneven label distribution. An overall accuracy for that split can reflect the prevalence of its labels, so it answers a different question from the gap between the groups.
In what follows, the standard development scores refer to the task dataset used for training, evaluated on its development split. The consistent and inconsistent scores come from the named diagnostic. The reported scores summarize repeated fine-tuning runs. For the reading comprehension experiments trained to predict spans, the comparison discussed here is answerability accuracy. It concerns the decision that a passage supplies an answer.
Inference shows the sharpest separation
With early BERT, the MNLI development score moves from 83.8 for base to 84.9 for large. On the inconsistent HANS-Overlap subset, the corresponding accuracies are 3.6 and 27.6. The larger version also has lower accuracy on the consistent subset, with 91.1 compared with 97.3. Its lower HEUR therefore reflects changes on both sides of the comparison. The reported gaps are 93.7 for base and 63.5 for large. The group accuracies show both the advance on conflicting cases and the loss on confirming ones.
Early RoBERTa offers a cleaner example of improvement concentrated on the cases where overlap misleads. Its standard MNLI development scores are 85.9 for base and 87.8 for large. On the consistent HANS-Overlap examples, the two variants score 99.4 and 99.8. Those results by themselves make the systems look almost interchangeable. The inconsistent subset separates them sharply. Base scores 9.7, and large scores 81.4. Their HEUR scores are 89.7 and 18.4. Here the drop in the gap accompanies high accuracy on the consistent examples at both sizes.
RoBERTa accuracy on the inconsistent HANS-Overlap subset by size and training stage
The larger checkpoint handles conflicting examples more accurately at both stages, and continued training helps both sizes.
The numbers
| System or setting | accuracy % |
|---|---|
| RoBERTa base, early | 9.7 |
| RoBERTa large, early | 81.4 |
| RoBERTa base, late | 76.8 |
| RoBERTa large, late (this paper) | 92.4 |
Continuing to train RoBERTa base leaves its consistent accuracy high at 98.0 and raises its inconsistent accuracy to 76.8. Its standard development score reaches 87.1, and its HEUR score falls to 21.2. Late RoBERTa large has a standard development score of 89.3. It scores 99.6 on the consistent diagnostic group and has a HEUR score of 4.2. The paper reports 96% median accuracy for RoBERTa large on this part of HANS. That aggregate describes performance on the overlap portion under study.
For BERT, the time comparison has a more mixed pattern in the component scores. Base goes from a HEUR score of 93.7 early to 18.5 late, and large goes from 63.5 to 14.6. Both sizes improve on inconsistent examples. Their late accuracies on those examples reach 43.5 for base and 68.0 for large. Consistent accuracy falls to 62.0 and 82.6, respectively. The gap reduction therefore captures improved handling of conflicting examples alongside weaker performance on some of the cases that the heuristic would get right.
The paper emphasizes how little of this difference is visible on the standard split. BERT large reaches 85.8 on MNLI development data late in training. Its diagnostic behavior changes much more conspicuously over the same comparison. RoBERTa makes the point from another direction. Systems can keep nearly all their accuracy on the consistent subset while sharply improving the inconsistent subset, even as the development score moves over a relatively narrow range. The diagnostic resolves changes that the overall development number combines with many other examples.
Paraphrase detection remains difficult
The PAWS-QQP results support a size benefit on inconsistent cases, with smaller gains and more exceptions in HEUR. Early RoBERTa base gets 9.3 on high-overlap pairs that are not paraphrases. Early RoBERTa large gets 19.0. Accuracy on consistent pairs is 93.7 for base and 95.0 for large. The corresponding HEUR scores are 84.4 and 76.0. On the standard QQP development split, base scores 89.4 and large scores 89.1. In this comparison the ordinary development ranking gives little indication of which variant will detect more misleading pairs.
Both sizes of RoBERTa improve on inconsistent PAWS-QQP pairs with training, reaching 21.9 for base and 23.9 for large. The consistent-group scores at the late checkpoint are 90.1 and 94.8. The HEUR values are 68.2 and 70.9. By the gap measure, late base has the better value. By accuracy on the inconsistent group, late large handles more examples correctly. This is a concrete case where reading the gap and the component scores together changes the interpretation.
Early ELECTRA displays a similar distinction between gains on difficult examples and gains in the gap measure. Base scores 17.5 on inconsistent PAWS-QQP examples and 89.3 on consistent ones. Large scores 23.9 and 98.4 on those groups. HEUR is 71.8 for base and 74.5 for large. Moving to large helps on both subsets, with the balance of those gains producing a higher HEUR score. At the late checkpoint, large is ahead on the inconsistent subset and has the lower HEUR value.
ELECTRA accuracy on the inconsistent PAWS-QQP subset by size and training stage
Continued training improves accuracy on misleadingly similar pairs at both sizes, while many such pairs remain misclassified.
The numbers
| System or setting | accuracy % |
|---|---|
| ELECTRA base, early | 17.5 |
| ELECTRA large, early | 23.9 |
| ELECTRA base, late | 35.1 |
| ELECTRA large, late (this paper) | 42.0 |
The late ELECTRA scores illustrate the difference between improvement and resolution. Base scores 91.8 and large scores 92.5 on the QQP development set. Their HEUR scores on PAWS-QQP are 54.4 and 51.7. The paper identifies ELECTRA large as its best-performing system on the paraphrase diagnostic and reports 56.6% accuracy. The strong ordinary QQP performance and the remaining difficulty on PAWS-QQP are both part of the result. Increased size and duration improve the ability to recognize some non-paraphrases whose words make them look equivalent.
The smaller ELECTRA variant in the appendix reinforces the problem of relying on ordinary development scores. Its late QQP development score is 90.1, and its late accuracy on the inconsistent PAWS-QQP subset is 10.6. Its accuracy on the consistent subset is 91.6, giving a reported HEUR of 81.0. A system can learn enough to perform well on many ordinary question pairs, and on the deliberately easy half of the overlap comparison in behavioral terms, while still accepting a large share of the misleadingly similar questions.
Answerability under high overlap
The binary reading experiment trains ELECTRA to judge whether a question can be answered from the passage. ALSQA then tests that judgment when the question uses much of the context’s vocabulary. At the early checkpoint, base scores 90.8 on the answerable ALSQA examples and 53.7 on the unanswerable examples. Large scores 89.5 and 71.4. The answerable scores are close, and the larger difference is again where the shortcut points to the wrong decision. HEUR is 37.1 for base and 18.1 for large.
Unlike the clearest inference comparisons, this size change is visible on the standard development measure too. Early ELECTRA base scores 83.5 on the SQuAD 2.0 development answerability task, and large scores 90.3. The small variant’s development score is 72.3. On unanswerable ALSQA examples it scores 31.4, and its HEUR is 58.1. The diagnostic specifies what one part of the development advantage looks like under controlled overlap. Larger ELECTRA variants are more likely to recognize the absence of an answer in a passage that sounds like it should contain one.
From the early to the late checkpoint, base changes from 37.1 to 35.9 on HEUR. Large changes from 18.1 to 18.8. For the large checkpoint, the unanswerable score rises to 72.3 and the answerable score reaches 91.1. Its development score is 91.0. The reported HEUR increase of 0.7 reflects the relative movement of the two diagnostic accuracies. The binary answerability setting thus gives a strong size comparison and a modest training-stage comparison over the main interval.
The span-training experiment also evaluates answerability on ALSQA. With early ELECTRA, base has a diagnostic HEUR of 36.6 and large has 20.4. At the late checkpoint the values are 31.2 and 11.7. Late ELECTRA large correctly identifies unanswerable examples with an accuracy of 77.7 and answerable examples with an accuracy of 89.4. Its standard development answerability score is 91.6. Within this objective, the large variant again handles the inconsistent ALSQA group more successfully, and the gap falls with continued training.
RoBERTa under span training repeats the size pattern and supplies another exception to a uniform duration effect. Early base has a HEUR of 18.9, and early large has 11.2. The late values are 20.2 and 13.8. Standard SQuAD 2.0 development answerability scores rise from 84.8 to 86.2 for base and from 88.8 to 90.2 for large. On unanswerable ALSQA examples, both late checkpoints score slightly below their respective early ones. The objectives and checkpoint comparisons therefore support a tendency with identifiable exceptions, even within a single task.
The separation before task training
The pretrained-checkpoint experiment reports average pseudo-perplexity on the probable and improbable Wikipedia groups. On the probable group, BERT base scores 2.5 and BERT large scores 2.4. RoBERTa base scores 2.4 and RoBERTa large scores 2.2. The base-to-large differences are more pronounced on the group ranked least probable by the ensemble.
Pretrained BERT and RoBERTa pseudo-perplexity on the improbable Wikipedia sentence subset
Within each family, the large checkpoint gives a better score to sentences the ranking ensemble found improbable.
The numbers
| System or setting | pseudo-perplexity |
|---|---|
| BERT base | 11.2 |
| BERT large | 9.5 |
| RoBERTa base | 14.1 |
| RoBERTa large (this paper) | 9.4 |
The table reports BERT’s base-to-large change as -4.0% on the probable group and -15.1% on the improbable group. For RoBERTa the respective values are -8.3% and -33.3%. The paper’s argument compares the size effect within each family on the two groups. It also notes that perplexities must be compared properly across systems. The close raw values for the large checkpoints carry less weight for the argument than the difference between the probable and improbable comparisons within each family.
The appendix extends the BERT comparison to smaller variants. BERT tiny has pseudo-perplexity of 13.9 on the probable group and 75.6 on the improbable group. The smaller starting checkpoints are thus substantially separated from the base and large checkpoints on both groups. The main analysis focuses on the base-to-large comparison, where performance on probable sentences is already closer and the remaining gain is more concentrated on the improbable group. The experiment shows a difference in how pretrained checkpoints score these sentences. Its link to task behavior rests on an interpretation of what the less probable cases have in common with examples that defy the shortcut.
What the ablations show
A closer look at the training trajectory
The paper’s controlled comparisons vary checkpoint size, the point in training, and the reading objective. The trajectory for BERT on HANS-Overlap extends beyond the main early and late table. The paper plots HEUR over training for its BERT size variants and places in-domain development accuracy alongside it. Those traces make it possible to see the gap changing after development performance has largely stabilized. They also show that the size comparison depends in part on when the observation is made.
The appendix’s early BERT scores caution against expecting a smooth progression with every increase in size. BERT medium has an early HANS-Overlap HEUR of 71.2, compared with 93.7 for base. At the later checkpoint those two variants score 37.1 and 18.5, reversing their ordering on the gap measure. The tiny variant stays high, with a late HEUR of 94.9. The largest variant in this analysis ends with the lowest reported gap. These values support the broad tendency across the trajectory while showing why the individual checkpoints deserve attention.
The authors also examine what happens before the end of the first epoch. The main early checkpoint can miss earlier changes because even the first full pass contains substantial training. This issue is especially relevant where HEUR stays flat or rises between the two tabulated checkpoints. In binary answerability, the paper reports a development score of 89.2 for ELECTRA large at a midpoint within the first pass and a subsequent reduction of 3.7 points in HEUR from that point to the end. The one-epoch and six-epoch comparison for the same setting shows a small rise. The two statements refer to different intervals.
This earlier observation supports the authors’ suggestion that a system can begin to rely on the cue before the main early checkpoint and later move away from it. The observed quantities are diagnostic scores at selected times, so the trajectory describes when the behavior becomes more or less apparent. It does not identify a training update that caused the shift or establish a common schedule across systems. The appendix’s evidence is most useful for understanding why a two-checkpoint summary can miss an important part of the dynamics.
The trajectories also distinguish additional learning from a blanket gain in performance. On HANS-Overlap, late BERT commonly trades some accuracy on heuristic-consistent cases for a larger improvement on the inconsistent cases. Late RoBERTa maintains very high accuracy on the consistent group while also getting many more of the inconsistent cases right. Both show lower HEUR. The associated behavior is different enough that a single explanation in terms of increased task skill would leave out part of the evidence.
What survives a change in reading objective
The binary answerability experiment gives the system a direct classification goal. In the span experiment, the system learns with the usual reading-comprehension objective, and the authors then examine its answerability decisions. This is a useful comparison because a pattern found only in direct binary classification might be peculiar to that formulation. The span results show that the larger checkpoints can also do better on unanswerable high-overlap questions after training with answer spans.
For ELECTRA, the size difference survives both formulations. The time comparison changes more. The main binary answerability setting moves little from early to late, while the span-trained ELECTRA variants have lower late HEUR. RoBERTa’s larger span-trained checkpoint also has the lower gap at each recorded stage, while both sizes have higher HEUR late than early. This combination of outcomes supports the size effect across objectives and demonstrates that more training has a less uniform relationship to the gap.
The span results also show why the size effect should be described in terms of the difficult subset as well as the gap. Early ELECTRA small scores 44.0 on unanswerable ALSQA examples, early base scores 55.7, and early large scores 70.6. The consistent scores are 86.6, 92.3, and 91.0. As size increases, answerable-case performance varies while unanswerable-case performance rises. This is the pattern visualized in the paper’s size comparison. It indicates that the gain is concentrated on the cases the authors built ALSQA to expose.
The comparison establishes a shared behavioral pattern under the two task objectives. It leaves room for the decision process to differ. A span-trained system and a binary classifier can disagree for different reasons while producing the same aggregate answerability accuracy. The study evaluates the outputs and has no intervention that makes the two decision processes directly comparable.
What the pretraining analysis tests
The Wikipedia experiment changes the object of measurement. The task experiments study checkpoints that have already seen labeled inference, paraphrase, or reading examples. The sentence experiment withholds that stage entirely and evaluates pretrained checkpoints at their original prediction task. Finding a size-related difference there supports the narrower claim that some relevant differences are already present at the start of fine-tuning.
The authors connect this result to the possibility that larger systems can learn more effectively from low-probability groups. Under that explanation, the examples where overlap fails are a small part of the task training distribution, and an advantage on unusual patterns could give a larger checkpoint a better starting point for using them. The authors also suggest that greater memorization capacity could help larger systems retain information about a wider range of uncommon patterns. The perplexity experiment is compatible with that account. It does not measure memorization or determine whether it mediates the downstream results.
The sentence ranking and the HANS-Overlap, PAWS-QQP, and ALSQA judgments concern different properties. A late checkpoint that correctly rejects a misleading paraphrase has shown an ability in a particular task. A pretrained checkpoint with lower pseudo-perplexity on unlikely Wikipedia sentences has shown better word prediction under that scoring procedure. The conjecture is that a common capacity helps with both. The paper tests both ends of the proposed connection without experimentally tying one to the other.
The pretraining analysis also helps clarify what a downstream size comparison includes. Larger and smaller checkpoints can differ before there is any task learning to compare. An advantage that appears after ordinary fine-tuning is therefore compatible with both a better starting representation and different learning during adaptation. The paper’s two experiments give evidence about each stage while leaving their individual contributions unresolved.
Limitations
Limits the authors identify
The authors explicitly limit their claims to lexical overlap. They investigate one cue that is available in the tested text pairs and can be made to conflict with the correct answer. Their results leave open how size and duration affect other surface cues, other forms of brittleness, and overall language understanding. Improved performance on these diagnostics is evidence of improved behavior on their target distinction.
They also describe their checkpoints and training durations as products of the period when the experiments were conducted. They note that the size range and length of training could be extended. The results identify what happens across the configurations and checkpoints that the authors tested. They leave unanswered how long the trends would continue under more training, beyond the latest recorded checkpoints, or how they would look at larger scales.
A further stated limit is the small sample of pretrained families relative to the range of possible systems. Several task and family combinations show a similar direction, but the combinations are selective. The inference comparison, for instance, and the answerability comparison do not use an identical roster. The pattern across tasks adds evidence for the tendency within the study’s scope. Generalizing to the broader population would require testing more checkpoints and training regimes.
The authors also leave the mechanism open in their discussion. They ask what learning preferences allow larger systems to generalize better and why overlap can dominate early with so little conflicting training evidence. Their proposed explanation through uncommon groups is a hypothesis supported by a separate sentence-scoring observation. The task experiments demonstrate that behavior changes over time and with size. The process producing those changes remains a question for further work.
Further limits visible in the setup
HEUR is interpretable as a behavioral gap. Its relevance as a measure of reliance depends on the accompanying accuracies and on the construction of the diagnostic subsets. A weak system could perform poorly on both and show a narrow gap. A system that gets more inconsistent examples right can exhibit a wider gap when it improves even more on consistent examples. Actual results in the paper illustrate these cases in part. Comparing HEUR across settings is most informative when the reader can also see the separate accuracies.
The diagnostic groups combine agreement with the heuristic and the task label. In HANS-Overlap, the consistent examples are entailments while the inconsistent examples are non-entailments. In ALSQA, the division is answerability. The comparisons therefore also reflect how well the system handles those labels in the kinds of examples collected. A high-overlap failure may be consistent with using the shortcut without uniquely establishing that the system relied on shared words to make that individual error.
The datasets also create high overlap in different ways. HANS supplies examples designed around inference heuristics. PAWS manipulates paired questions and filters the resulting candidates. ALSQA starts with existing questions and uses human rewriting to bring them closer to the passage’s wording. A lower gap on one diagnostic does not set a common scale of task difficulty for the others. Even when two tables show accuracy on corresponding consistent and inconsistent groups, the examples demand different judgments and undergo different selection procedures.
ALSQA’s selection narrows the scope further. It begins with low-overlap development examples that annotators can convert into high-overlap questions. Workers can skip difficult rewrites, and the collection process removes those examples. This design serves the intended test, while making the set a selected sample of the questions amenable to the operation. The reported discrepancy between the total and the answerability counts also limits what can be concluded about its exact class composition from the paper’s counts.
In the pretrained experiment, the Wikipedia sample approximates a similar text distribution and the GPT-2 ensemble supplies the ranking. The resulting low-probability group is defined relative to that ensemble. It could differ from another group formed by a different scorer, and a low sentence probability is not a direct measure of how frequently its underlying construction occurs. The study does not link particular Wikipedia sentences or constructions to the rare task examples for which the lexical shortcut fails. That missing link bounds the claim that the pretrained separation explains the downstream one.
Finally, the size comparisons use existing checkpoint variants with several properties changing together. The training comparisons also concern the median from a specific collection of seeds and, for some systems, learning rates. These choices fit the paper’s question about practical baselines. They leave more fine-grained causal questions open, including which architectural or pretraining differences contribute most and how much of the reported training-stage effect recurs in individual runs.
What came after
The later work by Mosbach and colleagues cites Bandel and colleagues in a paper on comparing few-shot fine-tuning with in-context learning. The former adapts a system using a small collection of labeled examples. The latter supplies examples in the input when asking for a prediction. The later paper’s stated question concerns fairness in comparing those two approaches. Bandel and colleagues’ study is relevant to that question because it shows how the performance of a fine-tuning baseline can depend on choices about checkpoint size, training duration, and evaluation. Few-shot Fine-tuning vs. In-context Learning
The citation establishes a connection between the studies. The documented scope of the later work does not specify whether it reused HEUR, evaluated ALSQA, or traced lexical-overlap behavior during training. Its comparison places fine-tuning in a different experimental role, as one way of learning from a small collection of examples. The original paper establishes why fine-tuning deserves careful specification in that role, and why a performance comparison can depend on which judgments an evaluation asks the system to make.
Cite
Cite as Elron Bandel, Yoav Goldberg and Yanai Elazar. 2022. Lexical Generalization Improves with Larger Models and Longer Training. Findings of the Association for Computational Linguistics: EMNLP 2022.
@inproceedings{bandel2022lexical,
title = {{Lexical Generalization Improves with Larger Models and Longer Training}},
author = {Elron Bandel, Yoav Goldberg and Yanai Elazar},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2022},
year = {2022},
doi = {10.18653/v1/2022.findings-emnlp.323},
url = {https://doi.org/10.18653/v1/2022.findings-emnlp.323}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bandel-2022-lexical-generalization-improves-larger-models/