Elamur Research

Using LLMs to Advance Idiom Corpus Construction

Paper · 2025 · Doğukan Arslan, Hüseyin Anıl Çakmak, Gülşen Eryiğit et al.

Summary

A phrase associated with an idiom can turn up in a sentence with its ordinary meaning. Someone who says break a leg to wish a performer luck is using the same words that could describe an injury. An idiom corpus needs examples of those different readings in context, and finding and labeling enough of each takes work. Arslan and colleagues ask whether GPT-4 can produce examples that help a system distinguish the readings in sentences written by people. Their study covers English, Japanese, Italian, and Turkish and starts from expressions collected for earlier research on idioms and multiword expressions.

The authors generate 200 sentences per expression, with 100 for each sense. They compare direct prompts that ask for sentences with an enhanced procedure that first asks GPT-4 to describe situations in which the expression would fit. They then use the resulting corpora in two ways. They train BERT classifiers to label the sense of a phrase and give GPT-4 labeled demonstrations of the same task. Across both experiments, examples written by people produce the strongest results in the corresponding main comparisons. The generated examples still transfer to human-written test sentences. The best specialist trained on the combined synthetic data in each language beats GPT-4 classifying without demonstrations, by a reported average of 11 percentage points in macro F1, a score that gives the literal and figurative classes equal weight.

GPT-4 also improves when its prompt includes generated demonstrations. On the English VNC-Tokens test set, for instance, its macro F1 rises from 55.72 without examples to 78.99 with synthetic ones. Human demonstrations bring the English score to 83.24. In each language, the main synthetic few-shot result exceeds the best score from training a specialist on that language’s combined synthetic corpus. Training on a pool of generated sentences from all the languages is also viable, although the effect varies by classifier and test language. The enhanced generation prompt generally yields more diverse sentences, yet this extra diversity does not consistently improve detection on human-written text.

The paper reports an average generation cost of approximately $0.004 per sentence and compares it with higher costs and longer collection times reported for earlier human-involved projects. That comparison gives a reason to consider synthetic data when examples are expensive to obtain. The performance comparisons give a reason to keep human test data in the evaluation. The study shows where generated examples help, while leaving open how closely they reproduce the ways people use particular idioms and how well the approach would work for expressions outside the existing inventories.

Deep dive: Using LLMs to Advance Idiom Corpus Construction

Arslan and colleagues use GPT-4 to build idiom corpora and test how well generated examples teach classifiers to distinguish literal and figurative usage. · about 31 minutes to read

The problem and its context

A familiar phrase can have an unfamiliar sense

An expression has an idiomatic reading when the ordinary meanings of its components are insufficient to recover what a speaker means. In the paper’s English example, break a leg can be a wish for good luck. The expression’s conventional meaning accounts for that reading. The words in isolation also support a straightforward account of an injury. A system seeing the phrase has to use the surrounding sentence to decide what is going on. In this setting, the distinction between recognizing an expression and identifying its reading is a problem in word sense disambiguation.

The paper calls a candidate phrase a potentially idiomatic expression, or PIE. The word potentially marks the unit the researchers begin with. A PIE is an expression type in an inventory, and an occurrence of it is an instance to be judged. When the authors speak of literal and figurative examples, they mean different instances of an expression, each with a reading licensed by its own context. An inventory entry gives the investigator a target to look for. A corpus adds evidence about how that target is actually used.

That distinction explains why a collection containing only straightforward figurative examples would be a poor fit for the paper’s task. A detector could learn that certain phrases occur in its positive examples and base its decisions on those identities. Literal instances of those phrases require it to respond to other evidence in the sentence. Conversely, a collection dominated by the ordinary meaning of an expression gives limited information about how the figurative reading is signaled. A corpus with both senses makes it possible to test the distinction the authors care about.

The paper places idiomaticity detection in the context of several applications. In translation, a phrase understood literally can lead to a rendering that loses its intended sense. The authors cite challenge-set work as part of that motivation. They also point to information retrieval and sense disambiguation, where an incorrect reading can affect which meaning the system uses to do its job. These applications explain why identifying the reading is worth studying by itself. The experiment measures the reading decision as a task in machine translation research can motivate through a challenge set for machine translation.

People learning a language face a related difficulty. They can know the words in a phrase and still need help recognizing what the expression means in use. The paper points to the cultural nuances of idioms and to the role of corpora in developing educational material. A collection with several contexts can show learners when a figurative reading fits and when the same phrase has its ordinary meaning. The educational motivation concerns the value of examples. The experiment itself operationalizes that value for automatic detection through sentence labels.

Collecting expressions, occurrences, and judgments

The authors describe conventional idiom corpus construction as a sequence of decisions. The researchers first select the phrases. Earlier studies and dictionaries supply candidate expressions, and projects can narrow their inventories by practical criteria such as frequency, formal rules, or expert judgment. A useful inventory depends on the purpose of the corpus. A study of frequent expressions can make a different choice from a resource intended to document a wider variety of types. The paper cites both dictionary-based collection and work that used phrases identified in earlier research. Sporleder and Li’s study of literal and nonliteral use

Researchers then seek occurrences. The paper describes collecting sentences from corpora and the web alongside eliciting them from native speakers. These sources give investigators different kinds of control. With existing text, the set of uses depends on what writers happened to say and what the retrieval procedure can find. Asking native speakers for examples allows a project to request contexts or senses it needs. Elicitation still takes people’s time, and the authors describe gamified crowdsourcing as a way to organize some of that effort. Examples collected from the web also figure in SemEval-2022 Task 2.

Finally, someone has to judge how the expression is being used. The paper describes involving either native speakers or language experts in this part of the work. The judge looks at an occurrence and assigns a sense based on the context. The need for judgment remains even if retrieving the words is easy. In the English source corpus, an annotator could encounter a sentence whose context left the intended use unresolved. These instances had their own label, which the authors excluded when they built the binary detection experiment. Earlier multilingual work provides another example of the sense-labeling stage of linguistic annotation. ID10M

The survey of earlier resources separates the number of expressions from the number of sentences. That distinction matters because many examples of a small set of phrases offer repeated contexts, while a larger inventory with fewer examples per phrase offers wider lexical coverage. The paper lists English resources such as MAGPIE as well as collections with multiple languages, including AStitchInLanguageModels. Its own experiments draw expressions and test sentences from a selected group of existing corpora. The broader survey shows why the availability of an idiom resource does not settle whether it has the coverage or class mix needed for a particular detection experiment. MAGPIE · AStitchInLanguageModels

Finding examples is especially difficult if an expression normally appears in one sense, or if a search returns many examples with similar wording. More text can yield more occurrences while leaving a scarce reading poorly represented. The paper also identifies limited variation in surface form as a drawback of relying on natural text. Surface form is the wording as it appears in a sentence, including changes such as inflection and intervening material. Thus scarcity can affect the number of entries, the frequency of a reading, and the range of forms seen for a phrase. These are separate pressures on the design of a corpus.

Why use a generator?

Generation lets the researcher specify a phrase and a reading before the sentence exists. In principle, that gives direct control of the amount of material for a scarce sense and allows requests for grammatical variation. The authors approach this as a use of GPT-4 to supply labeled examples for a downstream task. The label initially comes from the instruction to write a particular kind of occurrence. Its usefulness is then tested by seeing whether a system that receives the generated material can classify examples drawn from a human corpus. The proposal depends on capabilities the paper associates with large language models.

The paper connects this approach to earlier research that generated examples for training. It describes prompting and iterative refinement as common ways of directing and improving synthetic data production. One classification study found that subjectivity in tasks and examples could hurt performance with generated data. The authors also discuss work in clinical text mining and entity recognition as cases in which a general-purpose generator can contribute data for a downstream specialist. That background motivates evaluating the resulting examples through the task they are intended to support. Synthetic data for text classification · Survey of synthetic data generation and curation · Generating training data for zero-shot language understanding

For idioms, a generator has to meet several demands at once. The requested expression has to survive in recognizable form. The sentence has to support the requested literal or figurative reading. A collection of such sentences should supply useful variation while retaining cues that occur in the evaluation material. The method therefore combines lexical constraints, instructions about the intended sense, and experiments that test the output on human-written sentences. These stages address different aspects of the same problem. Producing a fluent sentence is the first step towards producing a useful labeled example.

The method, step by step

Start with expressions already documented

The authors take the English inventory from VNC-Tokens, the Japanese inventory from Open-MWE, and the Italian and Turkish inventories from Dodiom. This choice gives each generated corpus a connection to an existing collection of human examples. The expression written into a generation prompt is selected from one of those inventories, and the later task asks for sense decisions on human-produced occurrences. Discovering or verifying new idioms is outside the scope of the collection procedure.

Each selected expression is taken through generation for both readings. The target word forms are constrained through their lemmas, the dictionary forms that underlie inflected variants. The authors ask GPT-4 to preserve the lemmas of the parts of the idiom. The instruction is meant to keep the requested expression identifiable while allowing grammatical variation in the sentence. In the enhanced procedure, for example, a sentence can put additional words between the constituents. A phrase can vary in surface form while retaining the lexical material that makes it an instance of the target expression. Lemma

The authors use gpt-4-0125-preview through the OpenAI API. They give the prompts in the language of the requested sentences and set an instruction to use that language proficiently and with variation. They also ask GPT-4 to avoid people’s names, following trial prompts in which names were associated with poor examples. These shared instructions are part of the background for judging both generation procedures. The difference under study is how much guidance the generator receives about constructing contexts and varying the sentences.

From existing idiom inventories to evaluated detectors

The steps in order.

From existing idiom inventories to evaluated detectorsStep 1: Select expressions from human idiom corpora1. Select expressions from human idiom corporaStep 2: Request examples of both readings in each language2. Request examples of both readings in each languageStep 3: Generate sentences directly or plan their contexts first3. Generate sentences directly or plan their contexts firstStep 4: Organize synthetic examples by expression and reading4. Organize synthetic examples by expression and readingStep 5: Train classifiers on labeled sentences5. Train classifiers on labeled sentencesStep 6: Give GPT-4 labeled demonstrations in separate trials6. Give GPT-4 labeled demonstrations in separate trialsStep 7: Score both approaches on human-written test sentences7. Score both approaches on human-written test sentences

Ask for sentences directly or plan their contexts first

In the zero-shot generation setting, the authors present a target phrase and ask for sentences that use it with a specified reading. The appendix illustrates the figurative case. The system instruction sets the rules for idiom generation, the user prompt requests examples for the specific expression, and the response contains example sentences. Here zero-shot refers to how the sentences are produced. Later, the paper uses the same term for classification without labeled demonstrations. The activity attached to the term matters in interpreting the results.

The enhanced setting separates invention of a context from composition of the sentence. First, GPT-4 sees an expression along with examples of situations where it fits. It is asked to propose situations for a different expression, the one the authors want to generate. It then writes sentences based on the proposed situations. The intermediate output is an explicit plan for how the requested reading might arise. The authors associate this division of the work with chain-of-thought prompting.

The enhanced instructions also target variation in the finished sentences. They call for forms such as statements and questions, affirmative and negative constructions, different lengths, and variation in whether other words appear between the idiom’s parts. The generator is told to avoid repeating earlier examples. The authors sometimes encourage it to write with greater creativity or more like a person to counter simple rephrasing. They observe that an explicit appeal to creativity can itself yield similar sentence patterns. Their procedure therefore combines a broad instruction to vary the output with concrete dimensions along which variation can occur.

The instructions apply both to the situation being described and to the grammar used to describe it. Changing a sentence from an assertion to a question can vary the syntax while keeping essentially the same situation. Starting with several uses of an idiom creates a chance to vary the situation as well. The enhanced design puts those choices at different stages. Its examples in the appendix illustrate sentences produced for each proposed scenario. The comparison later asks whether the extra stages yield better training material on the paper’s detection metric.

Build balanced sets by expression and reading

The target is 200 generated sentences for each expression. The authors request 100 instances for the figurative sense and 100 for the literal sense. Within each sense, 60 sentences come from direct zero-shot generation and 40 from the enhanced procedure. The balance is built into the requests. It gives each expression dedicated coverage under each label, even where the corresponding human corpus has little or no evidence for a particular reading.

The corpus counts are reported by language. English has 53 expressions and 10,600 generated sentences. Japanese has 47 expressions and 9,400 sentences. Italian has 37 expressions and 7,400 sentences. Turkish has 36 expressions and 7,200 sentences. These counts describe the synthetic collections before the training and validation splits. They show that the authors vary the inventory size by language while applying the same per-expression generation plan.

For the main synthetic training condition, the authors allocate 80% to training and 20% to validation. The training portion supplies the examples used to update the classifier. The validation portion is separate from those updates and gives the experiment a development split. The allocation keeps the original 60% to 40% mix of generation styles in both portions. For the comparison of generation styles, the authors instead train on material from each style separately. They also make a direct-generation subset using 40 of the 60 examples in the sampling pool to compare the styles at the same sample count.

The authors organize the human material separately. Their nominal allocation is 60% for training, 10% for validation, and 30% for testing. The allocation is constrained by the frequency of each expression. An expression with only a single example contributes it to training. When two examples are available, training and validation get one apiece. With at least three, the allocation places some evidence for the expression in each split while following the stated proportions. This gives the human training comparison a vocabulary shared with the test material wherever the counts allow it.

The test split consists of human examples for both the synthetic-trained and human-trained classifiers. That design makes the performance target external to the generated sentences. A classifier that learns regularities present only in GPT-4’s prose will benefit from them only to the extent that they also predict the labels in the human test material. The synthetic validation data serve a different purpose. They stay within the same source as the synthetic training data while the human test set supplies the transfer check.

Use a classifier to turn a sentence into a sense decision

The specialist route uses pretrained BERT variants. The authors compare mBERT, XLM-RoBERTa, DistilBERT, and a language-specific BERT for each test language. The last group includes Japanese BERT, Italian BERT, and BERTurk. They use the same type of classification interface for the comparison. Above the sentence encoder, they attach a linear layer that takes the final hidden state of the [CLS] token. This state is the vector of internal values at the designated classification position after the encoder has processed the input. BERT · XLM-RoBERTa · DistilBERT

The linear layer maps that vector to a score for each target class. The classes correspond to literal and figurative use of the expression in the sentence. Supervised training adapts the pretrained encoder for this decision using the labeled examples, a process known as fine-tuning.

The training settings are a batch size of 8, a learning rate of 5e-6, and 4 epochs. A batch is a group of examples processed together for an update. The learning rate controls the scale of the updates, and an epoch is a pass over the training set. The authors repeat the runs with seeds 5, 42, and 1773. A seed initializes the parts of the run that use randomness. In the main classifier comparison the paper reports standard errors alongside the scores to describe variation across runs.

There is also a pooled training condition. The authors merge synthetic material from all the languages, again allocating 80% to training and 20% to validation. They then evaluate on the human test sets by language. The column for a language-specific BERT in this experiment describes the classifier used for that test language after pooled training. Thus the rows distinguish the choice of encoder from the choice to pool training material. A comparison between single-language and pooled training changes which examples the classifier sees during fine-tuning.

Put demonstrations into GPT-4’s prompt

The other route keeps the sense decision in GPT-4. The authors supply a sentence and request the class for the target expression. The expected output is 1 for figurative use and 0 for literal use. This coding tells the system how to report the decision. The zero-shot classification prompt contains no labeled demonstrations.

In the one-shot classification setting, the authors give an example of each sense. Their terminology counts examples per sense, so the prompt has a figurative sentence and a literal sentence. They compare a setting with randomly selected examples to one in which the demonstrations use the target expression from the test item. The matched version can show how the particular expression behaves in context. The randomly selected version can still illustrate the intended classification and response format.

For their synthetic few-shot trials, the authors extend the matched prompts to 3 and 5 examples for each sense. They also vary which class appears first in the prompt. In further trials they supply demonstrations from the human collections. Some English expressions have only one of the readings represented in those collections. When the authors need a demonstration of an absent reading, they substitute a randomly selected example from the dataset. Thus a nominally matched human condition can contain a demonstration from another expression where the inventory lacks an example of the required sense. This is an application of few-shot learning through demonstrations at prediction time.

Training a BERT classifier and prompting GPT-4 make distinct uses of the same kind of material. The classifier learns from labeled sentences before evaluation and then applies its learned decision to the test items. GPT-4 receives selected examples as part of the input for a decision. That permits the prompt to contain demonstrations tailored to the expression in the sentence being judged. The authors make available their generated corpora and the project code for generation and for running the detection experiments in the idiom-corpus-llm repository.

Experiments and results

The test sets and what the scores measure

The authors evaluate on the human corpora associated with the expression lists. The English test split has 807 examples from VNC-Tokens. Instances whose original judgment was unknown are excluded from the English training and testing sets. The Japanese test split has 15,239 examples from Open-MWE. For Japanese, the authors retain expressions with over 900 instances, leaving 47 expressions from the original inventory of 146. This gives the study a Japanese expression inventory closer in size to the other inventories while leaving a much larger test set. The Italian and Turkish Dodiom test splits have 2,284 and 2,084 examples respectively. The authors use those datasets without the filtering applied to the English or Japanese corpora.

The headline measure is macro average F1. Precision for a reading measures how often a prediction of that reading is correct. Recall measures how much of the material actually labeled with that reading is recovered. F1 combines precision and recall using their harmonic mean. Macro averaging then gives each reading’s F1 equal weight. This matters when one reading occurs much more frequently than the other. A high score requires performance on both classes even when they account for different shares of the test set.

The evaluation compares data sources within each specialist architecture and prompting conditions within GPT-4. The main synthetic specialist results use training material from both generation procedures. The human specialist results use the designated human training portions, with the same human test sets at the end. The GPT-4 comparison starts with zero-shot classification and adds demonstrations from either a generated or a human corpus. Since the language test sets differ in size and selection, a comparison within one language speaks more directly to the effect of a changed condition than a comparison between absolute scores for different languages.

Demonstrations improve GPT-4’s classification

GPT-4’s zero-shot macro F1 is 55.72 on English VNC-Tokens, 75.36 on Japanese Open-MWE, 71.80 on Italian Dodiom, and 66.39 on Turkish Dodiom. With synthetic demonstrations, the corresponding results are 78.99, 81.42, 85.12, and 82.66. With human demonstrations, the scores reach 83.24, 83.21, 87.65, and 86.62. For every evaluated language, the main few-shot condition using generated examples improves on classification without demonstrations, and the human few-shot condition yields an additional improvement.

GPT-4 prompting conditions on the English VNC-Tokens test set

Synthetic demonstrations improve on zero-shot classification, and human demonstrations give the highest score.

GPT-4 prompting conditions on the English VNC-Tokens test setZero-shot: 55.72Zero-shot55.72Few-shot with synthetic examples: 78.99Few-shot with synthetic examples78.99Few-shot with human examples (this paper): 83.24Few-shot with human examples (thispaper)83.24
The numbers
System or settingMacro F1 %
Zero-shot55.72
Few-shot with synthetic examples78.99
Few-shot with human examples (this paper)83.24

The comparison measures how valuable the examples are as part of the prediction request. A visible example can convey the label convention and show the kind of context that supports a reading. In the matched synthetic conditions, it can also illustrate the target phrase itself. The conclusion reports differences between the human and synthetic few-shot scores of 2 percentage points in Japanese and Italian and 4 percentage points in English and Turkish. Those comparisons concern the prompt examples. The gaps for specialist training on the two sources are a separate set of results.

Specialists trained on synthetic data beat zero-shot GPT-4

Among specialists trained on the combined synthetic collection for English, XLM-RoBERTa has the highest macro F1 at 77.52. The best Japanese result comes from Japanese BERT at 80.76. The main comparison gives Italian BERT 76.56 and BERTurk 78.15 on their respective language tests. Each exceeds the GPT-4 zero-shot result for that language. The authors report gains of 22 pp for English, 5 pp for Japanese, 5 pp for Italian, and 12 pp for Turkish, with an average reported advantage of 11 percentage points across languages.

The rankings within those conditions give some context for the gains. On the English synthetic training data, DistilBERT scores 77.27 and the language-specific BERT reaches 77.06, close to the strongest English result. In Japanese, the spread is wider. XLM-RoBERTa scores 78.46 while DistilBERT scores 57.37. In Italian, XLM-RoBERTa at 76.44 is close to Italian BERT. In Turkish, XLM-RoBERTa reaches 76.41 while mBERT reaches 70.37. The choice of architecture affects how much a classifier gains from the same source of synthetic examples.

That variation matters when reading the claim about beating zero-shot GPT-4. It describes the strongest specialists for each language. Some family members exceed GPT-4 by a smaller margin, and some score below it. For instance, the 57.37 for synthetic-trained Japanese DistilBERT is below GPT-4’s Japanese zero-shot score of 75.36. The useful comparison is therefore between specified training and architecture choices, with the architecture held fixed when drawing conclusions about human and synthetic data sources.

The reported few-shot GPT-4 scores with synthetic examples exceed the best language-by-language specialist scores in the main combined synthetic training comparison. This holds even where the results are close, as in Japanese with 81.42 for GPT-4 and 80.76 for Japanese BERT. In Italian the comparison is 85.12 for GPT-4 and 76.56 for Italian BERT in the main table. The two uses of synthetic data have different implications in practice. Training yields a dedicated detector, while prompting lets GPT-4 see examples at the time of the decision. Both can benefit from the generated corpus.

Human training data produce the strongest specialists

When the classifier and test language are fixed in the main comparison, human training data yield higher macro F1 than synthetic training data across all the tested architectures. The top human-trained English result is DistilBERT’s 89.02, compared with 88.66 for the English-specific BERT. In Japanese, Japanese BERT reaches 94.36. Italian BERT reaches 89.22, and BERTurk reaches 88.81. These are the best specialist results on their respective human tests.

The differences are particularly clear when following one classifier across training sources. English DistilBERT scores 77.27 with the generated corpus and 89.02 with VNC-Tokens training examples. Japanese BERT scores 80.76 with the generated material and 94.36 with Open-MWE training examples. The paper reports average advantages for human training of 10 percentage points in English, 19 pp in Japanese, 13 pp in Italian, and 11 pp in Turkish. The largest reported average advantage is in the language with the biggest human collection in this comparison. The supplied training volumes vary along with the source.

Training sources and GPT-4 settings on the Japanese Open-MWE test set

Generated examples help through either training or demonstrations, and Japanese BERT trained on Open-MWE leads the comparison.

Training sources and GPT-4 settings on the Japanese Open-MWE test setGPT-4 zero-shot: 75.36GPT-4 zero-shot75.36Japanese BERT with synthetic training data: 80.76Japanese BERT with synthetic trainingdata80.76GPT-4 with synthetic demonstrations: 81.42GPT-4 with synthetic demonstrations81.42GPT-4 with human demonstrations: 83.21GPT-4 with human demonstrations83.21Japanese BERT trained on Open-MWE (this paper): 94.36Japanese BERT trained on Open-MWE (thispaper)94.36
The numbers
System or settingMacro F1 %
GPT-4 zero-shot75.36
Japanese BERT with synthetic training data80.76
GPT-4 with synthetic demonstrations81.42
GPT-4 with human demonstrations83.21
Japanese BERT trained on Open-MWE (this paper)94.36

The best human-trained specialist scores also exceed the corresponding results for GPT-4 with human demonstrations. Italian BERT’s 89.22, for instance, is above the Italian few-shot score of 87.65. These conditions give access to human data in different amounts and at different stages. The experiment establishes their relative performance under the paper’s setup. It gives no fixed exchange rate between a human training corpus and a handful of human demonstrations.

The cost and time comparisons

The authors report that GPT-4 generation costs approximately $0.004 per sentence on average. They compare it with the $0.04 per sentence reported for crowdsourced collection in MAGPIE and characterize the comparison as 10 times cheaper. The paper also cites a Japanese annotation effort for 100,000 examples that took 230 hours for two people. Its corresponding estimate for using a generator is approximately 45 hours, characterized in the paper as 5 times faster. MAGPIE

These comparisons describe the effort involved in obtaining sentences or labels under different procedures. The detection results give a separate measure of how much the resulting examples help. The cost of generating each sentence is low in the authors’ setup, and the experiments show that enough of the generated material transfers to be valuable. The human-trained classifiers’ advantage gives the other part of the practical picture. A budget for generating examples and an evaluation of what those examples achieve answer different questions.

What the ablations show

More elaborate generation changes diversity more consistently than F1

The authors compare separate training runs using only directly prompted data, only enhanced data, and the reduced zero-shot sample. The direct set has 60 examples in the sampling pool, while the reduced set uses 40, matching the enhanced set’s count. The reported reduced-set results average runs on three randomly selected subsets. This comparison addresses a basic alternative explanation for differences in macro F1. The original direct and enhanced collections differ in quantity as well as prompting procedure, so comparing matched sizes makes the role of generation style easier to examine.

The highest English score in this analysis is 79.19 for DistilBERT trained on enhanced examples. That classifier reaches 77.29 with all of the zero-shot generation material and 76.57 with the reduced zero-shot data. English mBERT scores 75.05 with enhanced material and 75.04 with the reduced zero-shot set. English XLM-RoBERTa reaches 77.97 on enhanced material and 78.29 on the reduced zero-shot set. These results support the authors’ observation that the clearest benefit of enhanced generation appears in English. They also show how much that conclusion depends on which classifier is examined.

DistilBERT by generation strategy on the English VNC-Tokens test set

Enhanced examples yield the strongest result for English DistilBERT in the generation-style comparison.

DistilBERT by generation strategy on the English VNC-Tokens test setDirect zero-shot generation: 77.29Direct zero-shot generation77.29Direct generation with matched sample count: 76.57Direct generation with matched samplecount76.57Enhanced generation (this paper): 79.19Enhanced generation (this paper)79.19
The numbers
System or settingMacro F1 %
Direct zero-shot generation77.29
Direct generation with matched sample count76.57
Enhanced generation (this paper)79.19

There are individual gains for enhanced prompting outside English as well. For Italian XLM-RoBERTa, enhanced data yield 72.02 against 71.01 with the full zero-shot set and 69.47 with the reduced set. The best Italian language-specific result in this analysis, however, comes from the full zero-shot set at 77.31. In Japanese, the language-specific classifier scores 80.95 with the reduced direct set and 76.86 with enhanced examples. Turkish BERT scores 77.54 with enhanced examples and 77.77 with the reduced direct set. The general claim about English concerns where the enhanced procedure produces the strongest outcome in the language-level comparison. Individual rows can favor it elsewhere.

The reduced sample also changes the ranking in ways that differ across architectures. The reduction improves English XLM-RoBERTa relative to its full direct set, from 77.41 to 78.29. It weakens Japanese XLM-RoBERTa, which moves from 80.46 with the full set to 78.50 with the reduced set. The results therefore give mixed evidence about the role of sample count at these sizes. A count match is a useful control for comparing prompt strategies, but the behavior of one architecture under sub-sampling should not be assumed for another.

To examine variation in the corpus itself, the authors use a remote clique score and a Chamfer distance score. Their remote clique measure summarizes the mean distance from an instance to the other instances. Their Chamfer measure summarizes the distance to the nearest other instance. The former reflects how spread out the examples are relative to the collection at large. The latter reflects how close each example is to its most similar neighbor. A collection can contain several quite different groups of sentences while keeping examples within each group very close together, which is why those measurements offer different views. The paper treats higher values as evidence of greater diversity for both.

The enhanced procedure generally does well on these diversity measurements. English is the exception highlighted by the authors, with the human material showing higher diversity there. The detection scores add context to this analysis. A corpus can cover a wider range of situations or sentence patterns and still furnish weaker training signals for a specific human test set. The authors suggest that people often use idioms in characteristic structures, so a request for broad structural variation can yield sentences less representative of those patterns. The scores establish the mismatch between greater measured diversity and consistent detection gains. The explanation about characteristic structures remains an interpretation.

Demonstration relevance and order matter

The English appendix compares prompts that vary the content and presentation of the examples. A one-shot prompt with unmatched synthetic demonstrations and figurative examples placed first scores 51.16. Using the same target expression in the demonstrations, with the same example count and order, yields 65.57. The latter result improves on the 55.72 zero-shot score, whereas the unmatched result falls below it. This comparison shows that even labeled examples from the right language and task can be less useful than examples that illustrate the actual expression under review.

An expression-matched example can supply evidence about two aspects of the decision at once. It demonstrates the type of output that corresponds to a literal or figurative label, and it shows a plausible reading of the target phrase in a different sentence. In a classification task built around an existing expression inventory, this is information that can be selected before the system predicts the class. The comparison demonstrates the gain for the matched English setting. It does not identify which words or cues within those demonstrations account for the improved decisions.

Ordering produces a clear result in another pair of English trials. With 3 matched generated examples for each sense, the figurative-first prompt scores 74.96 and the literal-first prompt scores 78.99. Both have the same example count and match the target expression. The higher score follows the change in which reading appears first. The evaluation consequently treats ordering as part of the tested prompting configuration. The evidence is specific to this comparison and does not establish a universal order for sense classification.

The count comparison gives a similar caution about assuming a single direction of improvement. In the English matched setting with figurative examples first, the prompt with 5 examples for each sense scores 73.90, compared with 74.96 for the setting with 3. The English trials show benefits from suitable demonstrations and an advantage for the tested literal-first arrangement with 3 examples. More examples at the tested figurative-first settings do not produce a better score. The human few-shot trial with literal examples first reaches 83.24, with the paper’s substitution rule applying to absent human examples. The appendix does not show a corresponding series of count and order controls in the other languages.

Pooling the languages depends on the architecture

The multilingual experiment compares training on one language’s synthetic corpus with training on the merged synthetic collection. The language-specific encoders obtain the best pooled result in English at 79.31, Italian at 79.55, and Turkish at 79.32. For Japanese, the best pooled score is XLM-RoBERTa’s 79.21, below Japanese BERT’s 80.76 in the main single-language comparison. The pooled results thus support using generated material across the studied languages, with the best result changing by evaluation language and architecture.

The pooled English BERT reaches 79.31, which is above GPT-4’s English synthetic few-shot score of 78.99. This is the exception the paper identifies to GPT-4’s usual few-shot lead over the pooled specialists. The particular DistilBERT run trained on English enhanced data at 79.19 belongs to the separate generation-style comparison. Keeping these conditions distinct helps explain why the English result can favor synthetic few-shot GPT-4 in the main single-language comparison and favor specialist training in other configurations.

The pooled scores also qualify the claim about outperforming zero-shot GPT-4. The best pooled specialist in each language exceeds the corresponding GPT-4 zero-shot score, but the result depends on which specialist is selected. Pooled DistilBERT reaches 61.15 on the Japanese test and 65.28 on the Italian test, below the GPT-4 zero-shot results of 75.36 and 71.80. The comparison supports the effectiveness of suitable specialist configurations. Its results also leave room for substantial performance differences within the group of classifiers given the same pooled training material.

Limitations

Limits stated by the authors

The authors identify reliance on GPT-4 as a limit of the generation experiment. The reported sentence quality, cost, and response to prompt changes are tied to the generator used in the study. The comparison of prompting styles varies what GPT-4 is asked to do. The question of whether another generator would produce better distinctions between the readings, more representative sentences, or a different balance between diversity and classification quality remains open.

Language coverage is another limit named in the paper. The experiments use English, Japanese, Italian, and Turkish, restricted to the expressions supplied by the source corpora. The authors point out that this range represents only part of the variation in idiomatic usage across languages. Target-language prompts and language-specific classifiers give the study a procedure that can accommodate several languages. Evaluating additional languages would be needed to establish how well the procedure handles other idiom inventories.

The authors also treat their generation prompts as a bounded comparison. The enhanced procedure combines a step for proposing uses with multiple instructions about sentence form and creativity. More sophisticated prompting or changes to the intermediate reasoning are possibilities the paper leaves for future work. The weak or inconsistent gains from enhancement therefore apply to the particular procedure tested. The authors point to differences in GPT-4’s capabilities across languages as a possible explanation for some of the uneven results, citing MEGA.

Possible prior exposure to evaluation material is a further limitation. GPT-4 was trained on a large corpus, and the authors raise the possibility that it encountered datasets used in the study. Such exposure could influence how original or representative its generated examples are. Using a separate human test split keeps the specialist training procedure from drawing its examples from that split by design. Whether GPT-4 previously encountered any of that evaluation material remains a separate question about pretraining.

Finally, the task-specific experiments are confined to BERT variants. The authors suggest expanding the range of systems fine-tuned on the data and exploring instruction tuning, which would use examples to train a system to follow the classification request. The few-shot GPT-4 experiments here change what appears in the prompt. The paper leaves the effects of using the generated corpus for instruction tuning to future work.

Limits visible in the comparisons

The splits address new sentence instances within familiar inventories. In the human data, the splitting procedure deliberately distributes examples of an expression across partitions when enough occurrences are available. In the synthetic condition, generated training examples use phrases drawn from the same inventories as those found in the human test collections. This is a suitable test of using corpus generation to cover an existing list of idioms. Performance on unseen expression types would require an evaluation organized around holding out those types. The few-shot prompt improvements with a matched expression put the benefit of access to that inventory into especially clear view.

The source comparison also incorporates differences in dataset size. The paper reports a synthetic size advantage for English, a human size advantage for Japanese, and smaller imbalances favoring synthetic data in Italian and Turkish. As a consequence, the human-versus-synthetic results measure the usefulness of each available training set as used in the experiment. They do not isolate the value of a typical sentence while holding corpus size and source conditions constant. This matters when interpreting the very large human advantage in Japanese or projecting how much human data might be saved by generating training examples.

Test-set construction adds another qualification. Japanese is restricted to relatively frequent expressions in Open-MWE, and the English unknown label is excluded. Italian and Turkish are taken without comparable filtering. Each language result therefore summarizes a somewhat different range of examples. The scores offer clear comparisons between systems within a language under the chosen setup. A language ordering based on those scores would mix differences in the task materials, the retained expressions, the classifiers, and the availability of training examples.

The requested reading supplies the organizing label for generation. The paper evaluates quality primarily through how well the material serves the downstream task, with distance-based measures as a supplement. That design tells the reader how much supervised signal the collected examples provide as a whole. It does not provide an independent judgment of whether every generated sentence expresses the requested sense, whether a native speaker would naturally phrase it that way, or how often such a use occurs. Balanced generation ensures coverage of the requested categories, while a corpus intended to estimate ordinary usage frequencies would need a different source of evidence.

The enhanced prompt experiment also varies several features together. It introduces proposed use cases, instructions for structural diversity, and reminders to avoid repetition. The comparison with direct generation can show the overall effect of that package under the tested conditions. It cannot identify how much of the effect comes from each component. The same applies to the proposed explanation that some languages benefit less because GPT-4 handles them differently. The study controls sample count for the reduced zero-shot comparison, while the causes of the remaining differences are open.

Pooling synthetic sentences changes how much data the encoder sees and which languages the examples come from. The pooled results demonstrate that joint training can work, including for a language-specific encoder in the configurations reported. They do not establish whether an improvement comes from exposure to particular other languages, general effects of training on more examples, or the way a given encoder handles the merged corpus. An analysis holding total training volume fixed or changing the language composition would answer a more specific question about cross-language transfer.

The paper gives two values for the best single-language Italian synthetic result. The main comparison and its accompanying discussion give Italian BERT 76.56, while the multilingual comparison lists the Italian monolingual baseline as 75.56. The text does not explain that discrepancy. The pooled Italian score of 79.55 is higher than either printed baseline, so the direction of that comparison is the same whichever value a reader uses. The exact single-language baseline should be attributed to the table being discussed.

The resource estimates likewise have a specific scope. The paper compares generation costs with crowdsourcing costs from one earlier project and generation time with annotation time from another. Generating a labeled sentence and annotating an existing human sentence produce different resources. The reported comparisons illustrate the potential of generation to reduce the work of obtaining examples. They do not measure total costs for equivalent corpora subject to the same quality checks and performance target.

Finally, the experimental outcome is a sentence-level sense label. It provides evidence about the literal-versus-figurative classification task, not scores for translation, information retrieval, or educational use. Those applications explain why the resources are of interest. Their outcomes would depend on how a corpus or detector was incorporated into the relevant system, and the paper reports no corresponding downstream evaluations.

What came after

Later citing work extends the setting in which idiomaticity is tested. A parallel cross-lingual benchmark moves the focus from separate textual test sets by language to parallel evaluation material for multimodal idiom understanding. The parallel design concerns how idiomaticity is evaluated across languages, while the multimodal setting extends the evidence available beyond the sentence-only task studied by Arslan and colleagues. The citation establishes a connection to the earlier corpus-construction study. It does not establish that the benchmark reuses its generated sentences or its generation procedure. A Parallel Cross-Lingual Benchmark

The ITUNLP AdMIRe 2 work takes up a different part of the problem. It builds a zero-shot pipeline for multimodal idiom understanding and ranking. Arslan and colleagues use zero-shot GPT-4 classification as a comparison for a binary sense decision and study how demonstrations change that score. The later pipeline applies zero-shot prediction in a multimodal setting where ranking is also part of the task. The connection is in the use of a general-purpose system to make idiom judgments, with a different prediction setup and output. ITUNLP at MWE-2026 AdMIRe 2

ID10M-JAM turns the emphasis towards difficult test contexts. Its stated purpose is to stress-test idiom identification under challenging context. Arslan and colleagues vary the contexts they generate and then assess their value on existing human test sets. The later work directs attention to the difficulty of the contexts used for evaluation. It asks how identification behaves when the test cases are deliberately challenging, a question that ordinary held-out scores on the corpora used by Arslan and colleagues leave open. ID10M-JAM

Together, these citing works show how the scope of idiom evaluation widened around the original study. The parallel benchmark changes the relationship between languages and modalities in the evaluation material. The shared-task pipeline changes the prediction procedure and includes ranking. The stress test changes the demands placed on a detector by its context. The established contribution of Arslan and colleagues remains the controlled comparison of generated and human examples for constructing and using text-based idiom corpora.

Cite

Cite as Doğukan Arslan, Hüseyin Anıl Çakmak, Gülşen Eryiğit and Joakim Nivre. 2025. Using LLMs to Advance Idiom Corpus Construction. Proceedings of the 21st Workshop on Multiword Expressions (MWE 2025).

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

@inproceedings{arslan2025using,
  title = {{Using LLMs to Advance Idiom Corpus Construction}},
  author = {Doğukan Arslan, Hüseyin Anıl Çakmak, Gülşen Eryiğit and Joakim Nivre},
  booktitle = {Proceedings of the 21st Workshop on Multiword Expressions (MWE 2025)},
  year = {2025},
  doi = {10.18653/v1/2025.mwe-1.4},
  url = {https://doi.org/10.18653/v1/2025.mwe-1.4}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/arslan-2025-llms-advance-idiom-corpus-construction/