Evaluating language models for the retrieval and categorization of lexical collocations
Paper · 2021 · Luis Espinosa Anke, Joan Codina-Filba and Leo Wanner
Summary
English speakers can give a lecture and lend support. In both expressions, the noun helps determine which verb sounds natural for the intended meaning. Someone learning English has to learn those preferences alongside the meanings of the individual words. The paper asks how much of this knowledge a language model can use when it encounters a lexical collocation, a word combination in which one member restricts the choice of the other. The authors extend a dictionary-style collection of such combinations, find examples in English newswire, and organize them under 16 labels that describe meaning and, for some expressions, the grammatical roles of the participants.
The authors test this knowledge in different ways. In the retrieval experiment, BERT sees a sentence with the collocate hidden, such as an adjective modifying rain, and ranks possible replacements. When the original sentence is also supplied, complete with the missing word, valid collocates move up the rankings. On the newswire test set, for instance, mean reciprocal rank for Oper1, the label used for expressions such as give a lecture, goes from 73.12 with the masked sentence alone to 95.22 with the original sentence alongside it. The added sentence supplies the answer word, so the comparison describes how BERT uses that information when proposing completions and alternatives.
In the categorization experiment, the authors give the system the whole sentence and identify the expression to classify. RoBERTa-base leads the comparison with an overall test F1 of 71.19%. Common light-verb constructions are often recognizable, particularly when the base noun’s first participant is the grammatical subject, as the lecturer is in give a lecture. A related class with a different participant in subject position proves harder. Some adjective classes also yield uneven results, including pairs whose meanings are opposed. A separate examination of BERT’s internal representations finds that many modifiers expressing high and low intensity overlap after contextual processing. Taken together, the experiments show where a system can recover a conventional wording and where assigning its precise lexical category still poses a problem.
Deep dive: Evaluating language models for the retrieval and categorization of lexical collocations
How BERT retrieves missing collocates, and how classifiers distinguish the meanings and grammatical patterns of word combinations in newswire. · about 32 minutes to read
The problem and its context
Why the choice of word matters
A person who wants to describe applause as intense can call it thunderous. A person describing intense rain can call it heavy or torrential. The shared idea of intensity helps explain all these choices, but the noun determines which of them is conventional. That dependence is the phenomenon the authors want to study. It involves both the meaning a speaker intends and the particular wording that a language makes available for conveying it.
The paper distinguishes a common use of collocation in corpus research from the sense it adopts from phraseology and lexicography. Under the broader usage, words that often appear together can count as collocations. The authors illustrate this with doctor and hospital, words that often belong to the same situation. For a lexical collocation in the paper’s sense, the words have a syntactic connection and one constrains the selection of the other. In heavy rain, for example, heavy modifies rain, and rain permits that adjective to express intensity. The task therefore concerns how words combine within a phrase, even when the corpus places other material between them.
The members of the combination have different jobs. The base is the item around which the expression is built. In the example involving rain, the base identifies the phenomenon under discussion. The collocate is selected relative to that base and the meaning to be expressed. A learner can start with the intention to talk about a lecture and then face the question of which verb goes with it. A dictionary organized around bases can answer that question by grouping several possible verbs under the relevant meaning. Frequency alone cannot provide that grouping, since accompanying words can express quite different relations.
These expressions also differ in how readily their meanings can be assembled from their parts. The paper treats win a war as relatively open to ordinary composition and hold a meeting as more dependent on a conventional choice. The contrast is a matter of degree. A phrase can make sense once encountered and still be hard to produce from knowledge of its parts. Conversely, a collocate can make a fairly recognizable contribution while remaining subject to restrictions imposed by the base. The paper takes this diversity as a reason to study several kinds of lexical relation within a single collection.
Some of the most informative examples are light-verb constructions. In these, a noun carries much of the content of the event or state, while the verb helps put it into a grammatical construction. In give a lecture, the noun tells us what kind of event is taking place. The verb helps express its performance, with the performer in subject position. The paper uses the label Oper1 for this pattern. The related Oper2 includes expressions such as find support, where the subject realizes a different participant of the base. A system can recognize that a construction has a light verb and still have difficulty assigning the finer label. The distinction matters for a lexical resource that aims to tell a learner how to use the expression in a sentence. Idioms and multiword expressions
The authors point to uses in dictionary construction, language learning, machine translation, word sense disambiguation, and language generation. For a dictionary, the practical question is which expressions to record and how to group them. For a system choosing words, the question is which combination can express a desired meaning with the intended participants. For someone interpreting a sentence, a collocation may help indicate which sense is in play. These applications motivate the study. The experiments themselves concentrate on retrieval and classification in a controlled newswire collection.
What earlier studies made possible
The authors place their work alongside research that uses a pretrained system to investigate what linguistic regularities it has learned. They describe prior studies of morphology, syntax, and lexical semantics, and point to broad benchmarks as evidence that pretrained representations can support diverse tasks. They also cite work that queries pretrained systems for knowledge. Their own tests narrow the question to phraseological units whose dependence on conventional wording varies. A broad benchmark can establish that a system is useful across many tasks, while a collocation test can expose a specific difficulty with lexical choice or grammatical realization. GLUE · SuperGLUE · Language Models as Knowledge Bases? · A Primer in BERTology · A Structural Probe for Finding Syntax in Word Representations
One line of earlier work fills a blank in a sentence and treats the resulting predictions as useful output. The paper describes an application to expanding training data for sentiment analysis and another to simplifying vocabulary. In the simplification example, the complete original sentence helps guide the choice of a replacement, since it tells the system which word the replacement should resemble in meaning. The authors also describe a lexical-substitution approach that partially removes information from the target word’s input representation through embedding dropout. Both uses inspire the idea that information about the original word can guide a search for substitutes while the surrounding words continue to constrain what fits.
A separate line of work asks how a representation of a combination can capture meaning that its parts express together. The paper describes approaches that encode phrases from definitions, train representations to predict contexts for word pairs, or use recurring patterns that link words through syntax. It also mentions earlier attempts to represent lexical functions through projections or more general regularities in vector space. These methods offer different routes to the same broad question of how to represent what happens when words combine. The authors’ choice is to put known collocations in sentences and ask what the resulting representations can do in specific tests. Distributional semantics · Learning to Understand Phrases by Embedding the Dictionary
The immediate precedent for using sentence context is Still a Pain in the Neck. As the authors describe it, that study compares fixed and contextual word representations for phenomena in lexical composition, including meaning shifts in light-verb constructions. A fixed representation supplies the same vector wherever a word occurs. A contextual representation can vary according to the sentence. The present study adopts the use of contextual occurrences and concentrates on lexical collocations as a class of expression. That narrower scope allows it to ask which kinds of lexical function are easy to distinguish, even among constructions whose overall form is similar.
This focus also separates the paper’s tasks from general expression identification. The authors discuss earlier work on verbal multiword expressions, but their experiments start from a collection of known combinations. The collection supplies a base, a collocate, and a lexical category. The corpus supplies natural sentences in which to examine them. What remains to be tested is whether the conventional partner can be recovered when hidden and whether the category can be recognized when the pair is visible. PARSEME Shared Task on Automatic Identification of Verbal Multiword Expressions
The method, step by step
Describe what the collocate contributes
The authors first need a way to describe the relationship that several different word combinations have in common. They use lexical functions, abbreviated LF. A lexical function groups collocates by what they express with a base. Some functions also specify the grammatical realization of one of the base’s participants. Someone can perform a lecture by giving or delivering it. The verbs differ, but either can express the same function with that noun.
f(L)
Here f names the lexical function and L is the base supplied as its argument. The parentheses enclose that argument. The value of the expression is the set of collocates that can express f with L. In cases where grammatical structure is part of the distinction, f specifies that structure as well as the broad meaning.
Oper1(lecture) = {deliver, give, hold}
Oper1 names the function glossed as performing the event associated with the base, with its first participant as grammatical subject. lecture is the base. The equals sign introduces the set of collocates for that base and function. The braces delimit the set, and the commas separate its members, deliver, give, and hold. This is a lexical description of the combination. Each actual sentence supplies its own subject and context.
The numbering in names such as Oper1 and Oper2 refers to participants of the base. Numbering an argument is a way to keep track of that participant independently of its position in the sentence. A base can bring more than one participant into the meaning of an expression. The choice of verbal construction determines which of them occupies subject position. With lend support and find support, the relation to support changes from the perspective of the provider to that of the recipient. In the paper’s inventory, Oper1 and Oper2 capture this structural contrast, with the glosses perform and undergo helping describe the corresponding perspectives.
IncepOper1 adds the idea of beginning to perform while keeping the first argument in subject position. The authors illustrate that category with gain an impression. Real1 and Real2 concern realizing or applying what the base denotes, again with a different participant as subject in each class. The inventory gives prove an accusation for Real1 and enjoy support for Real2. AntiReal2 describes failure to apply or carry out the relevant meaning. Its example is lose a war. These examples show why a category gloss is an abstraction. The label covers collocates tailored to different bases and cannot simply be substituted for each collocate in a sentence.
The inventory includes further distinctions among expressions of causation and change. CausFunc0 and Caus1Func0 both concern bringing about the existence of something. The subject in Caus1Func0 corresponds to the first argument of the base. In CausFunc0 it comes from outside the base’s arguments. The authors use raise hope and gain hope to illustrate the distinction. LiquFunc0 expresses bringing such a state to an end, as in destroy hope. IncepPredPlus describes an increase, as with a temperature that rises. A label can thus depend on who participates in the event, on the kind of change that takes place, or on both.
Other labels make distinctions among modifiers. Magn covers high intensity, while AntiMagn covers weak intensity or a low degree. The paper pairs heavy smoker with occasional smoker. Ver and AntiVer distinguish genuineness and its opposite, illustrated by legitimate demand and illegitimate demand. Bon and AntiBon express positive and negative evaluation, as in good performance and poor performance. These pairs are a useful test of what it means for words to be close in a representation. The same noun can accept either modifier, and the grammar can remain the same while the direction of the meaning reverses.
Turn a lexical inventory into examples in context
The starting resource is an extended version of LexFunc, based on an original collection supplied by Igor Mel’čuk and already organized by lexical function. The collocations receive manual lemmatization, which records words in a common dictionary form across their different inflected forms. The base and collocate also receive part-of-speech labels and a description of their syntactic dependency. In a combination such as prove an accusation, that description identifies the grammatical relationship between the verb and the noun. It gives the search procedure more information than the words alone.
The authors search English Gigaword for sentences that contain these combinations. Gigaword supplies newswire, which the paper treats as a source of plentiful examples in grammatical contexts. The authors preprocess it with NLP4J to obtain lemmas, part-of-speech tags, and relations between heads and modifiers. The function label comes from LexFunc. The corpus search provides a sentence in which the labeled pair appears to occur.
From a lexical inventory to tests in context
The steps in order.
The search applies progressively looser criteria. It first looks for sentences in which the parser has identified a relevant dependency between the members of the collocation. This allows the grammar to establish the link even when the words are separated. The authors expect automatic dependency parsing to miss some real occurrences, so a second stage accepts adjacent words with matching lemmas and part-of-speech tags. At stage three, words qualify if their lemmas and tags match and they are at most five tokens apart. This final stage can recover separated pairs when the expected dependency is absent from the parse.
The relaxed stages also make false matches possible. Two nearby words can have the expected dictionary forms and tags while participating in separate constructions. The authors inspect a random sample manually and report precision of >0.95 for the corpus extraction procedure. Here precision measures how often a sentence retrieved as an occurrence actually contains the relevant collocation. At this stage there are no masked-word predictions or function assignments to score. The figure concerns the quality of the corpus that will later be used in both experiments.
The authors divide the sentences into a training set of 70%, a development set of 15%, and a test set of 15%, maintaining those proportions across lexical functions. They also keep complete collocations from crossing split boundaries. Multiple newswire mentions of a pair can contribute examples within a split. A system trained to categorize the pair cannot then collect test credit merely for recognizing another occurrence of that very combination. For the numbers of distinct collocations, the authors report target proportions of 70/15/15 ±1% globally and by function. The design responds to prior work on the misleading effect of repeated lexical items in evaluations. Do Supervised Distributional Methods Really Learn Lexical Inference Relations?
Keeping pairs together still allows an individual base to have several partners. The paper reports this property as part of the shape of the corpus. A base such as hope may occur with collocates from many functions, because newswire can talk about hope arising, being gained, or being destroyed. For other bases the reference inventory has only one partner. Preserving this variation gives the ranking experiment both cases where several recorded words can receive credit and cases where the score hinges on a single recorded choice.
Ask for the missing collocate
In the first experiment, the authors apply BERT-base’s masked-word prediction component to the Gigaword test sentences. Masked-word prediction takes text containing a designated blank and scores possible vocabulary entries for that position. The authors hide the collocate and leave the base visible. This gives the system a chance to exploit both the restrictions associated with the base and clues in the larger sentence. There is no task-specific fine-tuning for this experiment. The function label is used to decide which answers count and to group the results.
The first input condition supplies only the sentence containing the blank. The paper’s examples make the role of the sentence clear. A report about a hurricane bringing rain to Louisiana makes a degree modifier such as heavy plausible. A report about a policeman staying on duty in rain leaves the intensity less clear. The same base appears in both cases, but the surrounding account supports different completions. BERT can favor a word that makes the sentence grammatical and sensible even when that answer expresses none of the meaning associated with the target function.
In the second condition, the authors put the original sentence before a copy with the collocate hidden. A separator delimits the two stretches of text. BERT thus predicts a word at the blank while also seeing the actual collocate in the accompanying original. The design takes its cue from lexical simplification. An original word can indicate which meaning a proposed replacement should preserve. With the collocate available in the first sentence, the experiment can examine both recovery of that word and changes in the other candidates that BERT proposes.
original sentence [SEP] masked sentence
original sentence denotes the full corpus occurrence, including the collocate. [SEP] is BERT’s separator in this input. masked sentence denotes the repeated occurrence in which the target position is hidden. The order matters to describing the reported setup. The prediction is read at the hidden position in the second copy.
The authors lemmatize the predictions with spaCy before comparing them with the inventory. That step lets an inflected prediction receive credit when its lemma is a listed collocate. A valid answer is any recorded collocate for the particular base and function. For instance, an intensifier for rain can count even though a different intensifier occurred in the source sentence. A candidate belonging to another function for the same noun would be answering a different lexical question. A candidate absent from the list receives no rank-based credit, which motivates a separate examination of similarity.
The authors compute mean reciprocal rank, or MRR, for each function. Reciprocal rank rewards the appearance of the earliest valid answer, with a stronger reward when it appears nearer the top. Averaging over occurrences gives the function’s MRR. Mean average precision, or MAP, also rewards valid candidates later in the ranked list. It reflects how well the ranking brings the known answers forward as a group. For a base with a single valid collocate in the inventory, the paper notes that the two measures agree. The difference in what they measure becomes relevant when there is more than one valid answer to retrieve.
For selected functions, the authors make another comparison using GloVe, a source of fixed word embeddings. They look at the similarity between the GloVe vector of the original collocate and the vector of a lemmatized prediction. Similarity gives a graded view of candidates that the inventory scores as misses. Words close in this sense can still fail to express the right relationship with the base. The comparison is a companion to the ranking metrics, since it examines a different property of the output. GloVe: Global Vectors for Word Representation
Classify the expression after identifying it
In the second experiment, the input includes the full sentence and a separate presentation of the collocation. The prediction is the lexical function. In the paper’s airstrike example, the sentence describes the US military launching an airstrike in Fallujah, and the second input segment isolates launched an airstrike. The intended answer is Oper1. The structure of the instance makes it clear which combination needs a label even if the sentence contains other plausible candidates.
⟨sentence, collocation, label⟩
The angle brackets enclose the fields of a labeled example, and the commas separate them. sentence is the newswire context. collocation is the target expression shown separately, in the form used in the example. label is the gold lexical function, supplied as the answer during supervised training and used to assess predictions at test time. The input separators used to join the first two fields depend on the system. The label is the output to learn.
The classification comparison includes uncased BERT-base and BERT-large, together with DistilBERT and ALBERT. The other systems are RoBERTa-base, RoBERTa-large, XLNet-base, and XLNet-large. The authors use the implementations in the Transformers library. Each system is trained for 1 epoch, an iteration through its training data, with a learning rate of 4e − 05, Adam with weight decay, and a warmup ratio of 0.06. The learning rate controls the scale of updates, the optimizer applies those updates with a weight penalty, and warmup concerns the initial increase in the learning rate. The paper also makes the resources associated with the experiments available in a project repository named lexicalcollocations.
On the test set, the authors report precision, recall, and F1 for each function. Precision asks how frequently a predicted label is correct. Recall asks how many of the examples that actually carry that label receive it. F1 combines the measures so that a high score requires both to be reasonably strong. The paper averages scores across three independent runs and gives standard deviations. It also reports averages across the functions, so the overall comparison reflects performance on the range of labels alongside the results for individual categories.
Experiments and results
What the systems were tested on
The in-context data contain 64,851 training sentences, 13,856 development sentences, and 13,905 test sentences. The test set is shared across the kinds of assessment in the sense that retrieval and categorization draw their sentences from the same partition. The prediction differs. Retrieval ranks candidate words at a location that the researchers have masked. Categorization chooses a label for an expression the researchers have already specified.
There are many more examples of some functions than of others. Magn accounts for 41,025 sentences in the collection, including 28,748 training sentences and 6,164 test sentences. Oper1 has 16,756 overall and 2,493 in the test set. At the sparse end, IncepPredPlus has 909 sentences in all, with 624 for training and 138 for testing. Common functions offer a wider pool of occurrences for learning and analysis. For a function with fewer sentences, strong results can still be possible if its realizations provide consistent cues.
Frequency varies within functions as well as between them. The authors report an average of 18 corpus samples per collocation, with work hard the most frequently represented pair at 102 samples. Bases such as attack, criticism, fire, hope, and thread each occur with more than 30 different collocates. Half of the bases, in contrast, occur with a single partner in the collection. For AntiReal2 specifically, the paper reports 55 distinct collocations in its 942 training sentences and 11 distinct collocations in each of development and test. Those splits contain 205 and 200 AntiReal2 sentences respectively. The counts illustrate how a relatively small number of lexical pairs can give rise to numerous sentence examples.
For retrieval, the masked sentence alone is the comparison condition. Both retrieval settings use the same pretrained BERT-base, so the experiment measures the effect of adding the original sentence to its input. In classification, the comparison is among pretrained systems fine-tuned on the same examples with a common set of settings. The paper provides scores for each system and each LF. There is no separate majority-class score or dictionary lookup score in that comparison.
What rises in the collocate rankings
With just the masked sentence, the texts in the paper’s introductory examples produce very different predictions for the same missing adjective. In the hurricane example, BERT assigns heavy 79.5% probability. In the account of a policeman on duty in the rain, it assigns the 85.1% probability. These numbers are probabilities for individual completions in their respective sentences. They show how the masked-word objective can favor either the relevant intensifier or a different grammatical construction, depending on the story told by the surrounding words.
The aggregate test-set results give the clearest view of the conditioning comparison. Oper1 already ranks relatively well in the masked-only setting. For this function, giving BERT the original sentence alongside the masked copy puts valid collocates still closer to the top. The MRR scores in the chart use the paper’s reporting scale.
Oper1 collocate retrieval on the Gigaword test set by mean reciprocal rank
BERT ranks the first listed valid collocate higher when it also sees the original sentence.
The numbers
| System or setting | MRR |
|---|---|
| Masked sentence | 73.12 |
| Original and masked sentences (this paper) | 95.22 |
Oper1’s test MAP is 62.58 when BERT sees the masked sentence and 81.15 with the original also present. Both measures therefore move in the same direction. The original helps the system place a valid candidate early, and the broader ordering of valid candidates improves as measured by MAP. In the example of launch an air raid, the paper shows perform, conduct, and mount among the masked-only predictions. When the original gives away launch, that verb appears among the leading predictions along with conduct and order. The rankings show both the effect of seeing the original and the presence of alternatives even when the original is hidden.
Oper2 also performs relatively strongly in retrieval. Its MRR is 63.84 with the masked input and 93.63 with conditioning, while its MAP moves from 53.86 to 76.86. Real1 records test MRR of 59.87 and 90.96 in those conditions, with corresponding MAP of 53.31 and 75.02. Real2 goes from 55.36 to 76.60 on MRR and from 46.87 to 64.64 on MAP. Seeing the original helps each of these related verbal functions. Their remaining differences show that results for one kind of light-verb or realization construction cannot stand in for the whole group.
Magn has MRR of 33.43 and MAP of 31.67 on the masked-only test, and MRR of 74.72 and MAP of 66.92 with the original present. AntiMagn shows MRR of 30.16 and 82.18, and MAP of 27.11 and 66.89, in the same order. The paper’s prose characterizes the gains for Magn as small, while its ranking table gives the values reported here. Its separate analysis of similarity describes a different pattern for Magn than for Oper1 and Real1. With conditioning, the modifier predictions improve across a spread of similarity values, with a less prominent pattern of exact recovery in the authors’ account.
The ends of the test comparison also show how much the difficulty varies by function. For Caus1Func0, conditioned retrieval reaches 95.94 MRR and 80.36 MAP, following masked-only scores of 52.77 MRR and 45.93 MAP. IncepPredPlus produces 7.27 MRR and 6.375 MAP with the masked input, and 12.27 MRR and 10.67 MAP with the original included. The improvements from conditioning coexist with a low absolute result for the increase category. Seeing the answer word elsewhere in the input gives the system a cue it can use, and these results show that its ability to turn that cue into a high ranking depends on the function.
The prediction lists provide a closer view of what the scores count. In the landing-gear example, lower is the recorded Real1 collocate. The lists contain candidates such as destroy and stop, and conditioning brings in trigger. The authors treat trigger as closer to the abstract idea of putting the mechanism into effect. It remains a different action from lowering it. In the Magn example of a hard bargain, conditioning brings tough into the displayed candidates. A sensible alternative may help explain the direction of the output even when the word is absent from the inventory for that exact base and label.
How well the functions can be classified
RoBERTa-base has the highest overall F1 in the categorization test at 71.19. RoBERTa-large records 70.60 on the table’s reporting scale. XLNet-large follows with 70.15, close to ALBERT at 70.14. The averages are over lexical functions, and the individual entries summarize three runs. The chart sets the common comparison scale for the systems without giving more weight to functions that occur in more test sentences.
Lexical function categorization on the Gigaword test set by average F1
RoBERTa-base leads the comparison, with RoBERTa-large next.
The numbers
| System or setting | F1 |
|---|---|
| BERT-base | 69.29 |
| BERT-large | 69.08 |
| ALBERT | 70.14 |
| DistilBERT | 69.73 |
| XLNet-base | 69.18 |
| XLNet-large | 70.15 |
| RoBERTa-base (this paper) | 71.19 |
| RoBERTa-large | 70.60 |
The overall scores leave room for different strengths on different labels. DistilBERT gives the best reported mean F1 for Oper1, at 85.28, and for Real2, at 60.51. This is evidence that a smaller system in the comparison can be competitive on particular categories. The scores also illustrate the distance between recognizing a prototypical light-verb construction and distinguishing a realization construction with a different grammatical arrangement. A system can lead the field on both and still have a much easier time with one.
The same pattern appears when a single system’s predictions for Oper1 and Oper2 are compared. XLNet-base obtains test F1 of 83.92 for Oper1 and 60.85 for Oper2, the strongest reported mean for Oper2. For the latter label it reaches precision of 72.13 and recall of 52.69. It therefore identifies a fairly selective set of Oper2 examples while missing a substantial share of the reference instances. Its test F1 for IncepOper1 is 75.65, even though the training counts for IncepOper1 and Oper2 are close at 2,489 and 2,408 sentences respectively. The comparable counts make this a useful contrast when considering explanations based solely on the availability of examples.
There is a particularly clear reversal between retrieval and categorization for IncepPredPlus. The increase function was difficult to recover by filling a blank, even with conditioning. With the expression itself supplied, XLNet-base reaches mean test F1 of 95.21, with a reported standard deviation of 1.26. That score is consistent with the idea that it is easier to recognize an expression of increase once the relevant words are visible than to produce a valid collocate from the masked input. The tasks also use different systems and training procedures, so the reversal illustrates the difference between the tested abilities without isolating its cause.
For adjectives, Magn itself is frequently readily recognized. The classification table gives XLNet-large test F1 of 93.82 on Magn. The difficulty of the adjective labels becomes clearer when function pairs are examined. For RoBERTa-base, Bon gives test F1 of 50.01, while AntiBon gives 73.51. Its test F1 values for Ver and AntiVer are 30.38 and 72.11 respectively. These are comparisons within the same trained system and show a substantial asymmetry in assigning positive and negative labels. The inventory groups antonymous meanings under parallel names, but the trained predictor does not find each member equally easy to identify.
The authors report variation over runs alongside these means. RoBERTa-base’s overall F1 entry has standard deviation 5.38, and RoBERTa-large’s has 5.37. DistilBERT’s Oper1 F1 has standard deviation 1.27. Results can be comparatively stable for one label even when some other labels fluctuate appreciably. The means establish the observed ordering of the systems under the reported procedure. The variation figures give context for reading small separations in that ordering, especially when there are no separate significance tests reported for those differences.
What the ablations show
Conditioning changes more than the top hit
The direct input comparison in retrieval is the paper’s closest equivalent to an ablation. It keeps BERT and the test cases fixed while changing whether the original sentence accompanies the masked one. The retrieval scores show that supplying it generally helps, and the prediction lists indicate why the effect is worth looking at beyond exact matches. An increase in exact recovery is expected when the original collocate is visible. Changes among the other likely completions show how BERT responds to a richer prompt even where it settles on a different word.
To examine such changes, the authors group similarity scores between predicted and original collocates into histograms. The compared functions are Oper1 and Real1 for verbs and Magn for modifiers. The similarity comes from GloVe vectors for the words rather than from the lexical function inventories themselves. For Oper1 and Real1, the authors see more instances of recovering the original verb after conditioning. For Magn, they describe a more distributed shift across similarity values. That observation is compatible with additional plausible intensifiers being suggested in some sentences, even when the original word still ranks behind another candidate.
The distinction between the histogram and the ranking results matters. A ranking rewards documented alternatives for the base and label. A similarity score gives an indication of how closely related the predicted word is to the original at the vocabulary level. If the is predicted in place of heavy, the difference between the two words is conspicuous on both grammatical and semantic grounds. A prediction such as hard can be closer in meaning while still sounding wrong with rain. The analyses make visible intermediate cases between copying the exact answer and generating a completion unrelated to the intended lexical function.
This comparison does not partition the benefit of the second sentence into separate sources. The input changes by repeating the existing context and disclosing information about the target, in a particular order around the separator. The paper contrasts that combined change with the masked-only input. Its examples support an interpretation in which both the sentence and the specific collocate guide prediction, while the design leaves their relative contributions open.
The confusions follow meaning and grammatical structure
The classification error analysis looks at which wrong labels are chosen, using confusion matrices for XLNet-base and DistilBERT. A confusion matrix groups outcomes by their reference and predicted categories. It can show whether the errors on a function are spread across the inventory or concentrated in categories with something in common. The authors choose these systems because they obtain the highest average scores for Oper2 and Oper1 respectively. The displayed matrices come from selected runs, adding a view of the types of error behind the reported averages.
XLNet-base tends to confuse Oper1 with Oper2. Their definitions are closely related, and the crucial difference concerns the participant that occupies subject position. The paper observes a comparable problem with Real1 and Real2. In both cases the classifier may recognize the broad family of the expression while losing the distinction that determines the lexical function. For a lexicographer, this is a meaningful error even if the predicted and reference labels would belong next to each other in a broader inventory.
DistilBERT’s errors on Oper1 have a wider spread. Among the labels it chooses are Oper2, IncepOper1, and Caus1Func0. The first of these is a close semantic relative with a different subject pattern. The latter categories have a subject pattern in common with Oper1 while adding different meanings. The classifier can therefore be drawn towards a label by similarity of meaning or by grammatical shape. The paper also reports confusion of Oper2 with Oper1 and CausFunc0. CausFunc0 has an external causer in subject position, yet its examples can be mistaken for light-verb constructions. Recognizing the appropriate subject therefore requires following the relationships between the participants, even where the surface form of the phrase is familiar.
The authors use category frequency as another point of comparison. IncepOper1 is similar in corpus size to Oper2 and easier to categorize. IncepPredPlus is sparsely represented and achieves a high F1 with XLNet-base. These observations make a simple claim that more examples always yield an easier function untenable for this dataset. They also complicate a purely semantic account. A function with a clear meaning of increase can be readily recognized, even as distinctions that the authors associate with a lighter verbal contribution prove more challenging. The amount of training data, the meaning of the function, and the grammatical patterns in which it appears all remain relevant to interpreting the comparisons.
Adjective errors show a different kind of closeness. Some Magn examples are assigned Bon, another class that can express a favorable or amplified property. Other errors go to AntiMagn or AntiBon, where the modifier points in the opposite direction. Intensity and evaluation can share the same broad grammatical form. And when a positive and a negative modifier occur with similar nouns, the context can provide overlapping evidence about the type of property involved. The confusion shows why learning the general dimension of a property can fall short of identifying the direction of the judgment.
How the representations change through BERT
The authors also examine vectors for collocate occurrences in BERT. They focus on Magn and AntiMagn, commonly expressed through an adjective modifying a noun, and Oper1 and Oper2, expressed through a verb–noun pattern in the collection. The pairs allow them to inspect different kinds of distinctions. The adjective pair contrasts the direction or degree of a property. The verb pair contrasts the grammatical realization of closely related meanings.
They use principal component analysis, or PCA, to project the high-dimensional vectors into a view that can be plotted. In this use, PCA chooses directions of large variation in the vectors so that the plot can display broad patterns of spread and overlap. The authors show the embedding layer and the 1st, 5th and 12th BERT layers. The embedding layer offers an initial view of the input representations. Later layers reflect transformations through context-sensitive attention. Inspecting stages along that path shows how the visible geometry changes with processing.
For Magn and AntiMagn, the paper observes signs of distinction between opposing meanings, along with substantial overlap later in processing. Many contextual representations gather in a narrow cone, where collocates with opposing meanings can occupy overlapping positions. This gives the authors a way to describe the mixture of separability and confusion in the modifier categories. A rough distinction can coexist with a region in which a projected coordinate provides little guidance about which label applies.
The vectors for Oper1 and Oper2 also overlap. In the last layer the authors describe both sets as cluttered together, consistent with the difficulty of separating them by the grammatical contribution of the verb. The projected points provide a descriptive check on the results of the classification experiment. They do not tell which features a classifier actually used or which unplotted directions could still be informative. Their value is in showing that the target labels fail to produce cleanly separated groups in the views examined, even though some relevant information can be used for prediction.
Limitations
Limits identified by the authors
The reference inventory is incomplete. The authors explicitly note that they cannot include every valid collocate for every base. A prediction may therefore be penalized because an acceptable word is missing from LexFunc. The GloVe analysis partially addresses that problem by showing whether predicted and original words have related meanings. A quantitative estimate of missing answers would require judgments about whether individual proposed words express the relevant function with the relevant base. The word-level similarity analysis answers a broader question.
The process of finding sentences introduces some noise of its own. The authors acknowledge that words meeting the proximity requirements can appear together without forming the intended collocation. Their manually estimated precision of >0.95 supports the quality of the material actually retrieved. It does not establish how many real occurrences the cascade misses, nor how many constructions it might miss more often than others. Dependency matches and proximity matches offer complementary ways to build the corpus. Both rely on analyses of the newswire and on the boundaries of the starting lexicon.
The paper also treats language coverage as unfinished. Its proposal for a multilingual extension is to use equivalent expressions as anchors for aligning lexical functions across languages. As the authors illustrate with taking a nap, a similar meaning can be expressed with verbs corresponding to take, make, pull, or throw, depending on the language. The example makes the underlying problem concrete. Alignment would need to preserve the function expressed by a combination while accommodating a different conventional verb. The reported corpus and evaluations address English newswire.
A further proposal is to explore semantic masking. The authors envisage suppressing the information that identifies a particular collocate while keeping enough of its contribution to indicate the function. They connect the proposal to earlier work on lexical substitution that uses embedding dropout and suggest learning what to remove through supervision. The current conditioning setup gives the predictor the original word in full. A masking procedure that selects which features to preserve would test a different form of access to the meaning. The paper leaves its implementation and effects to future work.
Limits of the experimental design
Retrieval with the original sentence measures prediction with access to the target word. Its high scores are informative about what BERT can recover or propose when that word is supplied. They cannot establish the quality of a collocate search in which the user knows the noun and intended meaning but has never seen the original expression. The masked-only condition comes closer to such a setting, although the system still receives an existing sentence and is not directly told which lexical function to realize. A completion like the in the rain example reveals the difference between filling in a sentence plausibly and fulfilling a specified lexical intention.
The masked-only condition supplies both the base and the rest of the sentence. It therefore cannot, by itself, separate the effect of the base from the evidence contributed by the wider context. Two contrasting sentences with the same noun show that the context can matter. They leave open how frequently a base on its own would predict the intended collocate or how the effect would change if the context explicitly specified the function without naming the word. The paper’s interpretation of frozenness is consequently best read as an account of patterns in the tested inputs.
The classification system receives the target phrase. Its success measures the ability to categorize that phrase in its context. Finding previously unidentified collocations in a large corpus would add a step that the experiment bypasses through its lexical inventory and extraction procedure. The study likewise offers no comparison of classification with and without the sentence while holding the target phrase fixed. A high score can arise from cues in the phrase, the sentence, or their interaction. Their separate contributions would need their own comparison.
The lexical split removes repeating collocations across partitions, and individual words can still recur. A test example may contain a base whose other collocates are familiar from training, or a collocate the system has seen with another base. This setting evaluates generalization to unseen pairings under the paper’s split. Generalization to unfamiliar bases or to wholly new families of lexical functions poses a further question. Similarly, the split concerns the corpus built for the study. It gives no account of whether comparable expressions occurred during pretraining.
The comparison among classification systems uses a common training recipe. This makes the reported results easy to compare under that recipe, while leaving performance under system-specific tuning unmeasured. Relatedly, the analysis of frequencies compares functions with different vocabularies, meanings, and syntactic structures. It counters an explanation based entirely on counts, but it cannot assign a causal share of the performance to syntax or semantics. The projection analysis has a similar interpretive boundary. Overlap in the plotted directions points to a difficulty in the representation as viewed there. A different view or classifier could use information that those directions leave out.
Finally, lexical functions capture distinctions chosen for a particular purpose. In the increase category, for instance, the retrieval test asks whether a specific verb can be produced from a blank, and the classification test asks whether a supplied pair can be recognized as expressing increase. Neither score alone quantifies compositionality as a property of the phrase. The experiments show how conventional choice, sentence context, and grammatical roles bear on particular predictions. The uses that motivate the paper, from building dictionary entries to producing learner-appropriate expressions, would each require evaluation in their own settings.
What came after
A later survey cites the study within a broader examination of how transformer-based systems handle the meanings of multiword expressions. That scope places the collocation experiments alongside the larger problem of representing meanings that depend on conventional combinations. The study offers a specific case for that survey topic. It distinguishes retrieving a conventional word from recognizing a function in an expression that has already been identified, and its fine-grained labels make room for errors involving grammatical roles as well as meaning. The survey’s scope supports that connection. Its citation alone does not establish that it reran the experiments or used the LexFunc splits. Semantics of Multiword Expressions in Transformer-Based Models: A Survey
A later benchmark paper cites the study in work on semantic reasoning. Its title returns to A Pain in the Neck, a theme that also appears in the earlier work on lexical composition that motivated the collocation experiments. The connection concerns how to evaluate competence when familiar words participate in combinations whose interpretation can depend on the phrase. The collocation study makes that competence measurable through known word choices and labels for meaning and structure. The later work is identified as a benchmark for semantic reasoning. The citation gives a link between those research questions, while the benchmark’s particular tasks and use of the earlier dataset remain unspecified. Revisiting a Pain in the Neck: A Semantic Reasoning Benchmark for Language Models
Cite
Cite as Luis Espinosa Anke, Joan Codina-Filba and Leo Wanner. 2021. Evaluating language models for the retrieval and categorization of lexical collocations. Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume.
@inproceedings{anke2021evaluating,
title = {{Evaluating language models for the retrieval and categorization of lexical collocations}},
author = {Luis Espinosa Anke, Joan Codina-Filba and Leo Wanner},
booktitle = {Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics: Main Volume},
year = {2021},
doi = {10.18653/v1/2021.eacl-main.120},
url = {https://doi.org/10.18653/v1/2021.eacl-main.120}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/anke-2021-evaluating-language-models-retrieval-categorization/