---
title: "CHEF in the Language Kitchen — paper by Seo et al. (2023)"
description: "CHEF uses Korean roots and endings to generate training sentences and tests whether they improve classification while preserving labels."
canonical: "https://research.elamur.ai/free/en/papers/seo-2023-chef-language-kitchen-generative-data/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/seo-2023-chef-language-kitchen-generative-data/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / CHEF in the Language Kitchen: A Generative Data Augmentation Leveraging Korean Morpheme Ingredients

# CHEF in the Language Kitchen: A Generative Data Augmentation Leveraging Korean Morpheme Ingredients

Paper · 2023 · Jaehyung Seo, Hyeonseok Moon, Jaewook Lee et al.

**Authors:** [Jaehyung Seo](https://md.research.elamur.ai/free/en/authors/jaehyung-seo/), [Hyeonseok Moon](https://md.research.elamur.ai/free/en/authors/hyeonseok-moon/), [Jaewook Lee](https://md.research.elamur.ai/free/en/authors/jaewook-lee/), [Sugyeong Eo](https://md.research.elamur.ai/free/en/authors/sugyeong-eo/), [Chanjun Park](https://md.research.elamur.ai/free/en/authors/chanjun-park/) and [Heuiseok Lim](https://md.research.elamur.ai/free/en/authors/heuiseok-lim/) · **Year:** 2023 · **Venue:** Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.emnlp-main.367/)
- [PDF](https://aclanthology.org/2023.emnlp-main.367.pdf)
- [DOI 10.18653/v1/2023.emnlp-main.367](https://doi.org/10.18653/v1/2023.emnlp-main.367)

## Summary

A Korean sentence can express much the same content with different endings or particles. A collection of labeled sentences will show only some of those possibilities. CHEF uses the examples already available to generate more. It takes the parts that carry the main lexical content of a sentence and asks a generator to build a new sentence around them. The goal is to give a classifier experience with more Korean forms while keeping the original label usable. That last condition matters because a small change can turn a contradiction into a compatible statement, even when much of the vocabulary stays the same.

CHEF gives sentence construction and label supervision to different components. A morphological analyzer identifies the lexical pieces in a training sentence. A generator called the morpheme blender learns to reconstruct the sentence from those pieces, a word naming its label, and, for a sentence-pair task, the other sentence in the pair. A label discriminator learns the task from the original labeled examples. During training, it provides a signal about how a completed sentence relates to the task labels. The blender uses that signal alongside its ordinary reconstruction objective. Once trained, the blender produces a new sentence that inherits the source label.

The authors test CHEF on Korean inference, sentence similarity, news topic, and movie-review sentiment. In the main full-shot comparison, which adds examples at a reported rate of 1%, CHEF raises BERT K Base accuracy on KLUE-NLI from 81.53 to 82.63 and its KLUE-YNAT F1 from 85.73 to 86.68. CHEF also improves accuracy over the unaugmented classifiers in the few-shot inference experiments. It is competitive with GPT-based augmentation across both settings, although some alternatives achieve higher scores in individual comparisons. Using generated examples alone gives mixed results, and increasing the augmentation rate can erase gains.

Removing the discriminator weakens the tested full-shot configuration, and training the discriminator on the classification task before using its guidance gives the strongest scores in that comparison. Examples of generated sentences show how particles, endings, and word order can vary while the intended label remains plausible. They also show repeated words and occasional additions or omissions. The benchmark improvements establish that the generated data can help classifiers under the tested conditions. Whether a particular generated sentence deserves its inherited label remains a separate question.

## Deep dive: CHEF in the Language Kitchen: A Generative Data Augmentation Leveraging Korean Morpheme Ingredients

CHEF uses Korean roots and endings to generate training sentences and tests whether they improve classification while preserving labels. · about 32 minutes to read

**In this deep dive**

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

### The problem and its context

#### Why labeled Korean sentences leave room for augmentation

In [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/), data augmentation creates additional training examples from material that is already available. For a labeled task, making more text is only part of the job. The new text has to go with a defensible label. A different way of expressing a negative review can give a sentiment classifier another example of the same category. An edit that changes what the reviewer thinks supplies a misleading example if it keeps the old category. The closer an augmentation method comes to rewriting a whole sentence, the more opportunities it has to make either kind of change.

The authors approach this problem through Korean [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/). A lexical morpheme carries content such as a root meaning, while a functional morpheme contributes grammatical information when combined with other pieces. Korean is agglutinative in the sense that these pieces can be attached in combinations. In the paper’s opening illustration, 먹다, 먹는다, 먹어요, and 먹습니다 all convey the concept of eating. Their shared lexical material is compatible with different endings. A training collection can contain examples of the concept while giving the learner little exposure to the range of ways it is expressed.

The paper describes earlier Korean work that studied segmentation and morphological analysis as ways to improve processing and representations. CHEF uses analysis for a different operation. It decomposes an existing example so that a generator can construct another example. The collection supplies the lexical material and the label, while the generator’s learned knowledge of Korean helps it choose particles, endings, and other material. This makes it possible to draw on grammatical variation even when the training corpus contains few instances of a particular combination.

A lexical inventory is a useful starting point because it leaves choices open. It also underdetermines the meaning of the finished sentence. A particle or ending can change how the words relate, and a sentence written with the same roots can say something different about who did what or when. This issue becomes especially clear in inference. Whether a generated hypothesis contradicts a premise depends on how its pieces fit together and on what the premise says. The root meanings alone cannot establish that relation. The paper’s design therefore treats variation in form and stability of the task label as separate objectives.

#### How earlier augmentation methods change an example

The related work includes methods that operate at the level of individual words. Thesaurus-based substitution offers alternatives for a word that already occurs. [Easy Data Augmentation](https://md.research.elamur.ai/free/en/papers/wei-2019-eda-easy-data-augmentation-techniques/) also uses operations such as insertion, deletion, and swapping. AEDA introduces variation through punctuation. These procedures can give a learner examples that differ from the original with relatively local edits. A Korean adaptation can use morphological segmentation to find units to modify, but segmentation by itself supplies little information about how an edit affects the whole sentence or its label.

The paper also discusses [Mixup](https://md.research.elamur.ai/free/en/papers/zhang-2017-mixup-empirical-risk-minimization/), which creates an intermediate training example by combining information from existing samples. Its application to text can operate on the learner’s internal representations. That gives the learner a different training signal from the one it would get by reading a newly composed sentence. This distinction matters for interpreting the experiments. Mixup can improve a classifier without demonstrating that it has expanded the range of grammatical Korean sentences in the training data.

[Back translation](https://md.research.elamur.ai/free/en/papers/sennrich-2016-improving-neural-machine-translation-models/) changes the sentence at a broader scale. A sentence is translated out of its original language and then translated back. The round trip can yield another expression of the same idea, including changes beyond any local substitution rule. Meaning can also shift along the way. In a pair task, even a plausible return translation can be less suitable if it changes the relation to the untouched sentence.

The more recent work discussed in the paper uses pretrained generators to produce augmented text. A paraphrase asks for a different expression of the same content. A counterfactual asks for a change that supports a different label, which creates an additional requirement to get the new label right. The authors take the ability to generate fluent text as a starting point. Their question is what kind of generated variation helps the classifier, given the grammatical possibilities in Korean and the way a specific dataset assigns labels. The related work includes [Generating Datasets with Pretrained Language Models](https://md.research.elamur.ai/free/en/papers/schick-2021-generating-datasets-pretrained-language-models/) and [GPT3Mix](https://md.research.elamur.ai/free/en/papers/yoo-2021-gpt3mix-leveraging-large-scale-language/).

#### From concepts to sentences

The direct inspiration for the blender is CommonGen and its Korean counterpart. In these generation tasks, a system receives a set of concepts and has to produce a plausible sentence that brings them together. The ordering and the relationships needed for a sentence have to emerge from generation. The CHEF authors adapt that setup by taking the concepts from a sentence whose label is already available. They also make the requested label part of the input. The aim is to reconstruct or vary a specific training example under a task constraint, rather than to compose an arbitrary sentence that happens to use the concepts.

The paper’s motivation depends on the difference between grammatical knowledge and the information supplied by a labeled training set. A pretrained Korean generator can bring learned patterns of sentence construction to the task. The task data supply examples of which complete expressions warrant a particular label. CHEF joins those sources of information by letting the generator assemble sentences while learning from a classifier trained on the task itself. This arrangement also lets the authors test whether the label signal adds value over generation from morphemes alone.

### The method, step by step

#### What stays fixed and what gets rewritten

CHEF begins with a collection of labeled examples. For [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) tasks such as news topic and movie-review sentiment, each example has a single text. The generator can rewrite that text in full. In sentence-pair tasks, the paper calls the text to be regenerated the hypothesis and the text that stays fixed the premise. Those names fit natural language inference directly. The paper also uses the same notation for sentence similarity, where they indicate which input is regenerated and which remains available as context.

Suppose the premise says that an Instagram server outage caused an error. A hypothesis denying that errors occurred can stand in contradiction to it. CHEF extracts lexical material from the denial and provides the original premise to the blender. The requested relation is also part of the input. The new hypothesis can use a different expression of the denial while the premise remains the same. In a news classification example there is no second sentence to retain, so the input consists of the headline’s lexical material and its topic label word.

The process has a training phase and an augmentation phase. During training, the original sentence serves as a target that the generator can learn to produce. In parallel with that reconstruction objective, the generator learns to represent the anticipated label from the information in its input. During augmentation, the trained generator produces a new sentence for each selected example. The classification dataset then receives that sentence with the source label and, where applicable, the original premise.

Training CHEF and generating labeled Korean sentences The steps in order.

#### Building the input from a labeled example

The starting point is the concept-to-sentence formulation that CHEF takes from CommonGen. The paper describes it as a mapping from a set of supplied concepts to a target sentence.

```
f ∶ C → T
```

Here f is the mapping learned by the generator in the motivating task. C is the input concept set, T is the target sentence, and the arrow indicates the direction of the mapping.

```
C = {c₁, …, cₙ}
```

Each c is an input concept. The subscripts identify the concepts, n is the number of concepts, and the braces group the individual concepts into a set. The ellipsis indicates any intervening members. CHEF uses lexical morphemes in this role and adds information about the source example that the original concept-to-sentence formulation does not require.

```
D = {(inpᵢ, lᵢ)}ᵢ₌₁ᴺ
```

D is the training dataset. The index i identifies an example, N is the number of examples, inpᵢ is the text associated with example i, and lᵢ is its recorded label. Parentheses keep the input and label together in each example. The outer braces collect the examples, with i running from 1 through N.

```
inpᵢ = (hᵢ, pᵢ)
```

Here inpᵢ is the full input to the task, hᵢ is the text chosen for regeneration, and pᵢ is the premise supplied alongside it. The subscript i identifies the same example in each case. For a single-text task, hᵢ accounts for the whole original text and pᵢ is an empty string.

The authors use mecab-ko to identify lexical morphemes in hᵢ. Selecting the lexical pieces gives the generator room to supply different grammatical material. It also avoids relying on fully inflected surface words as fixed units of construction. The paper points to particles and endings as places where different choices can yield different expressions of material drawn from the same sentence.

```
mᵢ = {mᵢ₁, …, mᵢₙᵢ}
```

The set mᵢ contains the lexical ingredients for example i. An element mᵢⱼ is the morpheme indexed by j within that example, and nᵢ is the number of lexical morphemes extracted from hᵢ. The braces enclose the ingredients and the ellipsis stands for the intervening entries. In the last element, the index after i is nᵢ.

The original task label is converted to a word before it is passed to the generator. The paper’s inference example maps -1 to contradiction, 0 to neutral, and 1 to entailment. A word gives the generator a textual expression of the requested category within the same input sequence as the morphemes and the premise.

```
ψ ∶ l → v
```

The symbol ψ names the label mapping. Its input l is a task label and its output v is the corresponding label word. The arrow gives the direction of the conversion. For instance i, the converted word is vᵢ and the original label is lᵢ.

```
seqᵢ = [mᵢ, pᵢ, vᵢ]
```

The sequence seqᵢ is the complete input to the blender for example i. It contains the morphemes mᵢ, the premise pᵢ when the task supplies one, and the label word vᵢ. Square brackets denote concatenation into a sequence. The distinction between the morpheme set and that sequence is practical. The learner receives an input it can encode in sequence form, but its target is a complete sentence with grammatical relationships the listed pieces leave open.

#### Teaching a discriminator to read complete examples

The discriminator is a classifier built on KLUE-BERT-base, the Korean encoder the authors choose for label supervision. An encoder maps a text input to contextual representations. The discriminator reads the complete original input and uses the final representation at the beginning-of-sequence position, denoted [BOS]. A linear pooling layer maps that representation to class scores. Softmax converts those scores into a distribution over labels. The discriminator is trained on the original examples to assign probability to their recorded classes. The architecture is based on [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/).

```
Mᴰ(inpᵢ) ∈ ℝ¹ˣⁿᶜ
```

Mᴰ denotes the discriminator, and Mᴰ(inpᵢ) is its output for the full task input of example i. The membership sign ∈ indicates the shape of that output. The space ℝ¹ˣⁿᶜ contains real-valued rows with 1 row and nᶜ columns, where nᶜ is the number of classes. Each entry of this particular row is the discriminator’s probability for a class.

The probability distribution gives the blender more information than the label word alone. An example with a particular recorded label can elicit a distribution that gives some weight to other categories. That distribution comes from reading an actual complete input, with the sentence’s grammatical choices already made. The blender will be trained to recover a similar label representation from a more incomplete input. For a pair task, the discriminator’s view includes the relationship between the original hypothesis and premise, which is precisely the information a hypothesis rewritten in isolation could fail to preserve.

#### Teaching the blender to reconstruct a sentence

The blender uses KoBART-base, a Korean encoder-decoder built on [BART](https://md.research.elamur.ai/free/en/papers/lewis-2020-bart-denoising-sequence-sequence-pre/). The paper gives its size as 124M parameters and chooses it for its ability to generate Korean within that size. The encoder reads the combined ingredients and context. It can represent a morpheme in light of the other supplied material, including the label word or premise. The decoder uses that representation to produce the target sentence in sequence.

The reconstruction phase uses teacher forcing. At each training position, the decoder predicts the next token while receiving the preceding tokens from the original target. If it assigns little probability to the observed next token, the loss increases. The original sentence thus shows the blender how a set of lexical pieces can appear in a grammatical utterance, including functional material that the input omitted. Teacher forcing supplies a known continuation during training. At generation time, the decoder has to continue from what it has produced so far.

```
L꜀ₑ = −(1 / |D|) Σᵢ₌₁ᴺ Σⱼ log Pᴹᴳ(hᵢⱼ | hᵢ,<ⱼ ; seqᵢ)
```

L꜀ₑ is the sequence cross-entropy loss. The outer summation Σᵢ₌₁ᴺ ranges over the N training examples, and |D| is the size of dataset D. The inner summation Σⱼ ranges over positions j in that example’s target sentence. The token hᵢⱼ is the target at position j, and hᵢ,\<ⱼ is the original target prefix at positions before j. Pᴹᴳ is the conditional probability assigned by the blender Mᴳ. Inside that expression, the vertical bar introduces the conditioning information, and the punctuation separates the target prefix from the encoder input seqᵢ. The negative sign turns the sum of log probabilities into a loss that penalizes low probability on observed tokens. The normalization averages over examples after summing token contributions within each target.

Reconstruction provides a direct reason for the decoder to produce fluent continuations related to the supplied pieces. It only gives the class word an indirect role. A generator can learn to reconstruct many examples from their lexical contents and contextual cues while making limited use of the requested label. The authors report observing label inconsistencies in generated outputs even with the label word included. This motivates the added objective on the blender’s encoder.

#### Aligning the blender with the discriminator

The auxiliary objective compares class distributions from two views of the same training example. The blender’s encoder sees the ingredient sequence, including the label word. The discriminator sees the completed original task input. To make the comparison possible, CHEF projects the blender’s representation at [BOS] into the same class space as the discriminator output.

```
rᴳᵢ = SoftMax(Encᴳ(seqᵢ) · Wᴳ)
```

The row rᴳᵢ is the class distribution derived from the blender’s encoder for example i. Encᴳ is that encoder, and the projection uses its representation at the beginning-of-sequence position for seqᵢ. Wᴳ is the linear pooling layer that maps the encoder representation to class scores. The centered dot denotes that linear projection. SoftMax converts the scores to probabilities. The superscript G on these quantities identifies the generation component.

```
simᵢ(inp) = (rᴳᵢ · Mᴰ(inp)) / (‖rᴳᵢ‖ ‖Mᴰ(inp)‖)
```

The function simᵢ evaluates how similar the blender’s class representation rᴳᵢ for instance i is to the discriminator’s output Mᴰ(inp) for a complete candidate input inp. The centered dot here is the vector dot product. The double bars around each vector indicate its norm, and the product in the denominator normalizes the dot product by the vectors’ lengths. The resulting cosine similarity compares their directions. The complete input can come from the same source example or from a contrastive example.

The contrast gives the system an explicit reason to favor the original example over examples with other labels. For each source example, the authors select a single randomly drawn training example from each of the other classes. The target for comparison is the discriminator output from the source example itself. Those other-class examples provide alternatives against which to compare it. This is contrastive learning in the specific sense used by CHEF. The objective concerns relative agreement between class representations, rather than exact reproduction of the original sentence in the comparison step.

```
Lᵢᶜᵒⁿᵗ = −log[exp(simᵢ(inpᵢ) / τ) / Σ₍ᵢₙₚⱼ,ₗⱼ₎∈Cᵢ exp(simᵢ(inpⱼ) / τ)]
```

Lᵢᶜᵒⁿᵗ is the contrastive term for source example i. In the numerator, inpᵢ is the complete original input. In the denominator, each pair (inpⱼ, lⱼ) is an input and label selected into the contrastive set Cᵢ. Index j identifies one of those examples, and ∈ restricts the sum to members of the set. The pool of eligible labels is the set of all task labels with lᵢ removed. The function exp exponentiates the scaled similarities, log is the logarithm, and τ is the temperature. A smaller temperature makes differences in similarity count more sharply in the exponential weighting, while a larger one softens their influence.

```
L꜀ₒₙₜ = −(1 / |D|) Σᵢ₌₁ᴺ Lᵢᶜᵒⁿᵗ
```

L꜀ₒₙₜ is the aggregate contrastive term. The summation ranges over the N examples indexed by i and collects their individual terms Lᵢᶜᵒⁿᵗ. The divisor |D| is the dataset size. The displayed expression puts a minus sign in front of that average.

The written objective has a sign ambiguity that matters for implementation. The individual term already has a negative logarithm, and the aggregate introduces a further negative sign. The individually displayed denominator also sums over the set described as containing other-label examples only. Read literally as a term to minimize, the extra sign on the average would run against the stated purpose of rewarding higher agreement with the source. The prose gives a clear account of the intended alignment. The equations leave a discrepancy between that account and the printed optimization expression.

```
Lₜₒₜₐₗ = (1 − λ)L꜀ₑ + λL꜀ₒₙₜ
```

Lₜₒₜₐₗ is the combined training objective for the blender. L꜀ₑ is the reconstruction term and L꜀ₒₙₜ is the aggregate contrastive term. The parameter λ weights the contrastive component, and 1 − λ is the complementary weight on reconstruction. The reported setting for λ is 0.2. At the level of the intended design, one term teaches the blender to compose a sentence while the other teaches its encoder to carry label information comparable to what the discriminator gets from a complete input.

#### Generating examples and training the final classifier

Once the blender is trained, the paper generates a single new text from each example selected for augmentation. The auxiliary discriminator supplies supervision during training. The augmentation procedure itself describes running the blender and attaching the source label. It does not describe a second pass that scores each completed candidate and discards it when the discriminator disagrees. Label consistency is therefore encouraged through training, while the assigned label at generation time comes directly from the source example.

```
hᵃᵘᵍᵢ = Mᴳ([mᵢ, pᵢ, vᵢ])
```

The text hᵃᵘᵍᵢ is the generated replacement for hᵢ. Mᴳ is the trained blender. The square brackets concatenate lexical ingredients mᵢ, premise pᵢ when present, and label word vᵢ for instance i. The original class lᵢ is attached to the resulting example. If a premise was supplied, the generated text is paired with that same premise for the downstream task.

The decoder uses beam search, which retains several candidate continuations while building a sentence. The beam size is 10. The maximum sequence length is 168 and the minimum is 5. A value of 2 was used for the repetition penalty, and the authors chose 3 as the no-repeat n-gram size. An n-gram is a sequence of adjacent tokens. These settings restrict some kinds of repetition at decoding time, but a word can still appear repeatedly in different local sequences. Several of the paper’s examples show that outcome. [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

The training setup for CHEF uses a batch size of 8, a learning rate of 1 × 10⁻⁵, and 5 epochs. An epoch is a pass through the training data. The maximum input length is 200 and the maximum target length is 168. For the downstream classifiers the paper gives a batch size of 32 and a learning rate of 2 × 10⁻⁵. These classifiers train for 20 epochs in the full-shot setting and 30 in the few-shot setting. Both parts use AdamW. [Decoupled Weight Decay Regularization](https://md.research.elamur.ai/free/en/papers/loshchilov-2017-decoupled-weight-decay-regularization/)

The appendix identifies KoBART and KLUE as sources for the pretrained components and names KoEDA for the Korean editing baseline. The trained discriminator and the classifier used for final evaluation have different roles even when both use KLUE-BERT-base. The discriminator supplies the blender’s training signal. The final classifier is trained on the experimental data mixture, and its scores measure the effect of adding the generated examples. The comparison with unaugmented training is where the paper tests whether the additional sentences have practical value.

### Experiments and results

#### The benchmarks and what their scores mean

The paper evaluates CHEF on several kinds of Korean [evaluation benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/). KLUE-NLI tests natural language inference. The input is a premise and a hypothesis, and the classifier decides whether the premise supports the hypothesis, contradicts it, or leaves the relation neutral. KLUE-NLI contains 24,998 training pairs, 3,000 validation pairs, and 3,000 test pairs. Accuracy measures how frequently the predicted relation matches the benchmark label. The task follows the inference setup associated with [the Stanford Natural Language Inference corpus](https://md.research.elamur.ai/free/en/papers/bowman-2015-large-annotated-corpus-learning-natural/).

KorNLI provides another source of Korean inference examples. Its 942,854 training pairs were machine-translated from the SNLI and MNLI datasets. Its evaluation data comprise 7,500 translated XNLI pairs. The results distinguish training conditions labeled KorNLI-MNLI and KorNLI-SNLI. Both report accuracy. Those column names help keep distinct the experiments based on different source training collections within KorNLI. The paper later takes advantage of the difference between KorNLI and KLUE-NLI to study transfer between benchmarks.

KLUE-STS tests [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/) between paired sentences. It comprises 11,668 training pairs, 519 validation pairs, and 1,037 test pairs. Similarity is a graded property in this task. The paper reports Pearson correlation, which measures how closely the predictions and the benchmark values vary together. A higher correlation indicates closer agreement on that measure. It does not directly count how often predictions reproduce an individual pair’s assigned value.

The single-text benchmarks test different uses of sentence content. KLUE-YNAT asks the classifier to assign a news topic. It has 45,678 training samples, 9,107 validation samples, and 9,107 test samples. The paper reports F1, which summarizes precision and recall. The NSMC dataset uses Korean movie reviews and associated NAVER ratings for [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/). It contains 150,000 training reviews and 50,000 test reviews. The classifier chooses positive or negative, and the reported metric is accuracy.

These distinctions affect how to read the comparisons. News topic can survive a rearranged headline even if some details change. The relation in an inference pair can turn on a small difference in scope or timing. A similarity score can shift when a regenerated sentence continues to look broadly related to its source. The paper evaluates those outcomes through the task-specific metrics. A gain in topic F1 and a gain in inference accuracy both count as useful downstream results, with each referring to its own prediction problem.

#### What CHEF is compared with

The unaugmented baseline trains directly on the available labeled data. The conventional augmentation comparisons include KoEDA, AEDA, back translation, and Mixup. KoEDA adapts word-level editing to Korean and uses Korean WordNet. AEDA uses its default punctuation-based settings. For back translation, the authors use M2M100 to translate Korean into Japanese and then back into Korean. Their Mixup implementation shuffles sample indices within a batch and combines hidden states and label values at a ratio of 0.2. That last condition alters training representations, so it is an augmentation comparison even though it does not deliver the same kind of standalone rewritten sentence.

The prompted comparisons use GPT-3.5 and [GPT-4](https://md.research.elamur.ai/free/en/papers/openai-2023-gpt-4-technical-report/) in two modes. Paraphrase augmentation asks for a rewritten hypothesis with its meaning preserved. Counterfactual augmentation asks for a changed hypothesis and specifies how to set its new label. The paper shows prompt templates with an example of the desired transformation and directions for formatting the output. The authors also discuss using [chain-of-thought prompting](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/) in connection with the counterfactual comparisons. The final classifier is evaluated on the applicable benchmark regardless of how an augmentation method produced its training examples.

The downstream backbones are BERT K Base, RoBERTa K Base, and RoBERTa K Large. They are Korean pretrained classifiers adapted to the tasks. Using the same backbone across augmented and unaugmented conditions makes it possible to ask whether changing the training material improves that particular classifier. Repeating the comparison across backbones shows whether the answer depends on the learner. The base and large variants are especially relevant because the stronger unaugmented system on a task can have less room to improve. [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/)

#### Full-shot training

For the main full-shot comparison, the authors report adding examples at a rate of 1%, proportionally by label. The existing training collection remains available. The question is whether a relatively small addition helps a classifier that already sees the full collection. BERT K Base on KLUE-NLI illustrates the range of outcomes. Some augmentations score close to the unaugmented run, back translation scores lower, and Mixup and CHEF improve on the baseline. CHEF achieves the highest accuracy in that classifier’s KLUE-NLI comparison.

BERT K Base full-shot accuracy on KLUE-NLI CHEF scores above the unaugmented run and the other methods shown.

**The numbers**

| System or setting | accuracy |
| --- | --- |
| No augmentation | 81.53 |
| KoEDA | 81.50 |
| Back translation | 81.30 |
| Mixup | 82.10 |
| GPT-4 paraphrasing | 80.90 |
| CHEF (this paper) | 82.63 |

The same inference benchmark shows gains with the RoBERTa classifiers. On KLUE-NLI, RoBERTa K Base goes from 84.83 without augmentation to 86.00 with CHEF. RoBERTa K Large goes from 89.17 to 90.47. The ordering among augmentation methods depends on the backbone. For RoBERTa K Large, Mixup reaches 90.83 on KLUE-NLI, above CHEF. GPT-4 paraphrasing reaches 90.13 in that comparison. The pattern supports the usefulness of CHEF for inference while showing that a different augmentation can fit a particular classifier and dataset better.

For KorNLI on BERT K Base, CHEF reaches 81.07 accuracy on the MNLI condition, against 80.63 without augmentation. In the SNLI condition, its 72.06 compares with an unaugmented 71.56. RoBERTa K Large goes from 81.73 to 82.76 on KorNLI-MNLI with CHEF. In that particular comparison GPT-4 counterfactual augmentation scores 83.48. On KorNLI-SNLI, RoBERTa K Large with CHEF scores 73.56 against 73.26 without augmentation. These cases show why the two KorNLI conditions merit separate readings. The relative performance of an augmentation in one condition gives an incomplete account of the other.

On KLUE-STS, BERT K Base with CHEF records a Pearson score of 91.26 compared with 90.85 for the unaugmented version. GPT-4 paraphrasing reaches 91.44 on the same backbone and task. With RoBERTa K Large, CHEF records 93.61, compared with 93.35 without augmentation and 93.51 with GPT-4 paraphrasing. The stronger result is therefore associated with different augmentations depending on which classifier receives the data. The metric also concerns the graded similarity predictions of the trained classifier, rather than a direct similarity audit of the generated pairs.

For KLUE-YNAT, CHEF raises BERT K Base F1 from 85.73 to 86.68. For RoBERTa K Base it moves the score from 85.07 to 86.18. With RoBERTa K Large the unaugmented and CHEF results are 85.69 and 86.12. GPT-4 paraphrasing scores 86.19 with that larger classifier. The qualitative news examples indicate that CHEF can substantially reorder headline material, so these downstream results are compatible with usefulness even when the generated sentence has shifted detail. They measure topic classification, for which a headline can frequently keep its topic through such changes.

The NSMC accuracy results are close for several methods. BERT K Base achieves 90.30 without augmentation and 90.52 with CHEF. RoBERTa K Base achieves 90.08 without augmentation and 90.74 with CHEF, while GPT-4 paraphrasing scores 90.94. For RoBERTa K Large the baseline is 91.28 and CHEF scores 91.38. These smaller gains still contribute to the broad full-shot pattern. Across the reported classifier and benchmark combinations, CHEF improves on unaugmented training at the main augmentation rate. Its rank among competing methods varies.

The GPT comparisons include unusually low full-shot runs that the paper flags as training failures associated with poor augmented data. For instance, GPT-3.5 counterfactual augmentation with RoBERTa K Large records 33.33 accuracy in the KorNLI-SNLI condition and 33.72 on NSMC. The same broad family of augmentation can also give competitive scores, as in the KorNLI-MNLI comparison. The authors connect counterfactual instability to changes in both text and labels without a review of their correspondence. They report an API cost of $245.17 for the prompted augmentation experiments. That amount describes those API calls. The paper gives no corresponding end-to-end cost comparison covering every component of CHEF.

#### Few-shot training and generated data on their own

[Few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/) in this experiment means training with a small labeled collection. The authors describe a setting with 32 samples and specify adding 32 augmented sentences for each label. The evaluation focuses on natural language inference. Each result is given as an average and a maximum over three seeds, where a seed governs randomized aspects of the run. The average describes how a method performed across those runs, while the maximum shows the best run observed. A method can lead by one of these measures while trailing by the other.

With BERT K Base on KLUE-NLI, the unaugmented average and maximum accuracies are 37.6 and 40.1. CHEF reaches 46.5 and 47.6, while GPT-4 paraphrasing reaches 44.7 and 46.1. On the KorNLI-MNLI condition with the same classifier, the corresponding CHEF accuracies are 47.7 and 49.2. GPT-4 counterfactual augmentation reaches 46.3 and 48.5 on that condition. The higher few-shot scores of several augmentation methods over the original-data baseline fit the paper’s observation that some GPT-based strategies were more effective under limited-data conditions than in full-shot runs.

With RoBERTa K Large, the KorNLI-MNLI setting gives a larger separation between the unaugmented and CHEF runs. CHEF also exceeds the average accuracy of the other shown augmented conditions with that backbone. This comparison makes the synthetic-only setting informative because it scores well on this benchmark while leaving out the original examples from downstream classifier training.

RoBERTa K Large few-shot mean accuracy on KorNLI-MNLI CHEF with original and generated examples leads, while generated examples alone also improve on the unaugmented run.

**The numbers**

| System or setting | mean accuracy |
| --- | --- |
| No augmentation | 40.8 |
| Back translation | 43.5 |
| AEDA | 45.0 |
| GPT-4 counterfactual augmentation | 46.1 |
| CHEF synthetic only | 49.8 |
| CHEF (this paper) | 51.5 |

The associated maximum accuracies on this KorNLI-MNLI comparison are 44.4 for the unaugmented run and 54.5 for both ordinary CHEF and CHEF-SynOnly. Averaging the runs orders the two CHEF settings differently from comparing their maxima. For KorNLI-SNLI with RoBERTa K Large, ordinary CHEF reaches a mean of 44.9 and a maximum of 47.6, against 37.5 and 39.4 for the original examples alone. There, the generated-only condition reaches a mean of 33.8 and a maximum of 34.2. Success on KorNLI-MNLI therefore gives limited grounds for predicting how well the generated examples can stand on their own in the SNLI condition.

Standard CHEF improves on the unaugmented result throughout the reported few-shot inference comparisons, but some alternatives give a higher average or maximum. On KLUE-NLI with RoBERTa K Large, CHEF scores 56.5 on average and 57.2 at its maximum. Mixup achieves 57.1 and 57.7, while GPT-4 paraphrasing reaches 56.9 and 59.5. With RoBERTa K Base on the same benchmark, CHEF’s mean of 41.2 exceeds the unaugmented 37.6, while AEDA reaches 42.4 and GPT-4 paraphrasing reaches 43.3. Those comparisons show both the usefulness of CHEF and the importance of retaining the backbone and seed statistic when reporting its rank.

The synthetic-only condition uses CHEF output as the final classifier’s training data. The generation process still depends on the original examples, since their morphemes and labels provide the inputs to CHEF. On BERT K Base with KLUE-NLI, the generated-only mean accuracy is 41.7, compared with 37.6 for the unaugmented classifier and 46.5 for the combined data. On KorNLI-MNLI it reaches 46.8, compared with 40.5 unaugmented and 47.7 combined. On KorNLI-SNLI it drops to 35.1, below the unaugmented mean of 37.5. Taken together, these experiments show that the synthetic set can retain enough task information to train a classifier in some conditions, but benefits from adding that set to original data are more consistent than benefits from replacing the originals.

### What the ablations show

#### How much does the discriminator contribute?

The component ablation fixes BERT K Base as the downstream classifier and compares unaugmented training with several full-shot CHEF configurations. The first adds data generated by the morpheme blender alone. The next includes the discriminator without its separate prior training on the task. The final configuration provides guidance from a discriminator that has been trained on the task. Here the paper’s shorthand for discriminator pretraining refers to the preparatory task training in the CHEF procedure. The components already start from pretrained Korean backbones.

The KLUE-STS results are particularly informative because the blender by itself moves the result below the unaugmented baseline. Adding the discriminator reverses that ordering, and the full configuration gives the highest Pearson score in the ablation. The comparison points to the value of task-specific guidance when the effect of a rewrite has to be judged against another sentence.

BERT K Base full-shot CHEF ablation on KLUE-STS Pearson correlation Blender-only augmentation lowers the score, and pretrained discriminator guidance yields the highest result.

**The numbers**

| System or setting | Pearson correlation |
| --- | --- |
| No augmentation | 90.85 |
| Blender alone | 90.62 |
| Blender and discriminator without prior task training | 91.05 |
| Blender and pretrained discriminator (this paper) | 91.26 |

On KLUE-NLI, the unaugmented classifier scores 81.53 accuracy, and the blender-only augmentation reaches 81.83. Adding the discriminator without its prior task training raises the result to 82.54. The full CHEF result is 82.63. On KLUE-YNAT, the same sequence of configurations gives F1 scores of 85.73, 86.02, 86.34, and 86.68. For these tasks, reconstruction from morphemes already yields a gain by the downstream measure. The discriminator adds to that gain, and the tested configuration with prior task training comes out ahead.

This comparison isolates a change in the augmentation pipeline while leaving the evaluation backbone fixed. It supports the authors’ account that label-aware generation helps. Its evidence about label preservation is indirect. The measured outcome is performance of a classifier trained with the resulting sentences. Gains could reflect a combination of better label fit and other changes in the usefulness of the generated data. The paper’s examples give a closer view of what the generation process actually changes.

#### How much generated data helps?

The augmentation-rate analysis compares additions of 1%, 2%, 3%, 5%, and 10% in full-shot training. The main result is that adding more examples can help, hurt, or have little effect depending on the task and classifier. The amount tested in the main comparison is a good setting in many of the runs. The rate sweep reveals cases where a larger generated set gives either a better result or a return below the original-data baseline.

For BERT K Base on KorNLI-MNLI, the unaugmented accuracy is 80.63. At 1% CHEF reaches 81.07, while at 2% it falls to 79.83 and at 10% it scores 79.85. BERT K Base on KorNLI-SNLI goes from 71.56 unaugmented to 72.06 at 1%, then reaches 70.33 at 10%. The authors associate such patterns with the accumulation of noisy examples as more synthetic data are included. The comparisons measure the downstream trajectory as the amount changes. They do not count how many added examples are mislabeled or otherwise defective.

Other outcomes show that the authors’ main setting leaves room for larger additions. For BERT K Base on KLUE-STS, the unaugmented Pearson score is 90.85, the 1% score is 91.26, and the 5% score is 91.52. With RoBERTa K Large on KorNLI-MNLI, accuracy moves from 81.73 without augmentation to 82.76 at 1%, then reaches 83.12 at 10%. The same classifier on KLUE-YNAT reaches 87.02 F1 at 5%, compared with an unaugmented 85.69 and a 1% result of 86.12. Thus the amount giving the strongest score in one task can be a poor guide to the next task, even with the same backbone.

#### Transfer between inference benchmarks

The cross-domain experiments train on one Korean inference benchmark and evaluate on the other. The source change matters because KorNLI derives from translated input, whereas KLUE-NLI is a separately curated benchmark. The test asks whether the augmented training procedure helps when evaluation moves away from the collection that supplied the labels and ingredients. It also addresses the possibility that augmentation could mainly reproduce patterns peculiar to its own data source.

With full-shot BERT K Base, the direction from KLUE-NLI to KorNLI yields 61.14 without CHEF and 60.09 with it. Reversing the direction gives 71.37 without CHEF and 72.43 with it. The few-shot CHEF scores are 49.66 for KLUE-NLI training and KorNLI testing and 40.93 in the reverse direction. The paper reports improvements over unaugmented cross-domain training in both few-shot directions. It also reports same-domain few-shot comparison scores of 39.04 and 38.93 in the respective columns.

The few-shot results support the possibility that CHEF supplies useful variation outside the domain in which the examples were generated. The full-shot results put a useful boundary on that reading. One direction improves and the other declines. The comparison tests transfer between these two inference collections, with the evaluation target changing across directions. The absolute scores in different directions therefore describe different prediction conditions.

#### Changing the generator and its lexical ingredients

The authors test a larger multilingual blender, mBART-large, while holding the discriminator fixed. This keeps a change in the discriminator’s capacity from being part of the comparison. With BERT K Base downstream, the original CHEF blender gives 82.63 accuracy on KLUE-NLI, while the multilingual variant reaches 82.00. Both give 91.26 Pearson correlation on KLUE-STS. For KLUE-YNAT their F1 scores are 86.68 and 87.11, respectively. Changing the generator produces different outcomes by task, including a tie at the reported precision. The multilingual backbone can support CHEF on Korean data, and the larger Korean-task scores do not consistently come from the larger blender. [Multilingual Denoising Pre-training](https://md.research.elamur.ai/free/en/papers/liu-2020-multilingual-denoising-pre-training-neural/)

A separate comparison alters the ingredients themselves. The authors replace some lexical morphemes with synonyms or use antonym substitutions with corresponding attention to labels. On KLUE-NLI, the unaugmented BERT K Base accuracy is 81.53. The synonym variant records 80.22 and the antonym variant records 79.84. The authors explain these results in terms of composition. A replacement can make sense for an individual root while combining poorly with the other roots or changing the relation to the premise. These results concern the tested substitution procedures. The contrast with ordinary CHEF supports the decision to concentrate initial variation on how source ingredients are assembled.

The qualitative examples show several versions of the same basic operation. In the KLUE-NLI example about the Instagram outage, regenerated hypotheses vary how they express the absence of errors. Some keep a day-level expression, one narrows the claim to the morning, and one drops the explicit date. Several alter the particles around the nouns. The denial remains recognizable across these outputs, while some details are now supplied by the pairing with the premise or left unstated. This is a concrete example of useful variety and a concrete reason to inspect whether the contradiction still follows in each case.

In a KLUE-STS example, a hypothesis expresses satisfaction with travel-related facilities, price, and location. The regenerated hypotheses vary the conjugation and repeatedly reuse some of those lexical pieces. The premise describes a different scene involving the setting and appearance of a building. The paper interprets the resulting pairs as retaining low similarity. The visible repetition shows that a sentence can be plausible with respect to a pair label while remaining awkward as prose.

For KLUE-YNAT, one example starts with a compact weather headline containing wind, low temperatures, and rain. The altered headlines move the lexical pieces around, repeat some of them, and sometimes add a time reference. They can still fit the source news category. The case helps explain why aggregate gains and imperfect generations can coexist. The downstream category may tolerate changes in detail or fluency as long as enough topic information remains. Inference and graded similarity can be less forgiving when a similar edit changes what the pair means.

### Limitations

#### Limits the authors identify

The paper’s method and evaluation center on Korean. CHEF depends on a morphological analyzer and a generator familiar with the structures it needs to compose. A multilingual blender gives comparable results on the Korean tasks, but the authors treat extension to other morphologically rich languages as future work. Their results describe how the multilingual backbone behaves in the Korean pipeline. They leave open how the procedure would behave with other languages’ morpheme analyses, label conventions, and sentence structures.

The authors also identify unnecessary word repetition as a generation problem. The blender can repeat a lexical item even under the decoding constraints used in the experiments. Some of the qualitative outputs make that failure visible. The paper identifies decoding and the quality of the underlying generator as possible sources of improvement. Repetition matters both for the readability of the resulting text and for how faithfully it represents the kind of natural variation the method is meant to provide.

Another stated limit is analyzer accuracy. The lexical input depends on what mecab-ko identifies in the source. Analysis errors can differ with the domain and the documents being processed. A different analyzer may recover a different set of ingredients or fail to recover the intended roots from unfamiliar material. The generator starts from the representation it is given, so changing the analyzer can change what details are available and which grammatical reconstructions are plausible. The Korean benchmark results establish the performance of the tested pipeline with its chosen analyzer.

The ethics statement notes that NSMC can contain inappropriate expressions, including in negative reviews. The authors also recognize that the generator’s pretraining may have exposed it to toxic material. A discriminator trained to supervise sentiment, topic, or an inference relation addresses the task label. The paper raises the possibility of inappropriate generation independently of whether the eventual classification label fits.

#### Limits visible in the evaluation

The central label-consistency claim rests heavily on downstream performance, the discriminator ablation, and illustrative examples. Those forms of evidence show that the supervision is useful and that some outputs plausibly preserve the intended labels. The paper leaves the overall rate of correct label inheritance unmeasured. In the augmentation procedure, a generated sentence receives the source label directly. A classifier can improve even if some of the sentences it sees have inherited labels that human readers would reject. Conversely, an ineffective generated example can be well labeled but redundant or awkward. The aggregate score cannot tell those possibilities apart.

The approach adds no separate labeled dataset to the source collection for CHEF augmentation. It relies on pretrained components for language generation and classification, including their learned linguistic knowledge, and on mecab-ko for the lexical analysis. The experiment therefore concerns how much augmentation can be obtained from the task examples with those resources already available. It offers no measure of what the same pipeline could learn from the task data alone without access to those pretrained resources.

The full-shot comparison reports point scores, while the few-shot comparison reports averages and maxima across seeds. Close full-shot rankings consequently give limited information about how the methods would order under repeated runs. The few-shot results reveal some of that variability indirectly. For several methods, the leading average differs from the leading maximum. The paper does not provide a quantified uncertainty estimate for those rankings. The most defensible conclusions concern the direction and breadth of the reported patterns under the tested conditions.

The comparisons with prompted generation are likewise specific to the tested systems, prompts, and augmentation recipes. A counterfactual example can require a change to both the sentence and the label, while CHEF keeps the original label. A poor result in the counterfactual condition can therefore reflect the additional difficulty of getting that joint change right. The experiments compare the resulting data as training material, but they do not isolate a general advantage over every way of using a prompted generator. The full-shot rate sweep and the mixed synthetic-only results similarly limit any claim that increased variation is itself sufficient to explain better accuracy.

### What came after

No later citing work is documented here. The paper closes by identifying two directions it leaves open. One is to test whether the same division of work between a morpheme-based generator and a task discriminator carries over to other morphologically rich languages. The other is to refine how the generator and discriminator interact. The multilingual blender experiment is relevant to the first question because it changes the generator while keeping the pipeline Korean. The component ablation bears on the second because it shows that the discriminator’s preparation affects downstream performance. Both directions remain proposals in the paper.

## Cite

Cite as Jaehyung Seo, Hyeonseok Moon, Jaewook Lee, Sugyeong Eo, Chanjun Park and Heuiseok Lim. 2023. CHEF in the Language Kitchen: A Generative Data Augmentation Leveraging Korean Morpheme Ingredients. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2023.emnlp-main.367](https://doi.org/10.18653/v1/2023.emnlp-main.367)

```bibtex
@inproceedings{seo2023chef,
  title = {{CHEF in the Language Kitchen: A Generative Data Augmentation Leveraging Korean Morpheme Ingredients}},
  author = {Jaehyung Seo, Hyeonseok Moon, Jaewook Lee, Sugyeong Eo, Chanjun Park and Heuiseok Lim},
  booktitle = {Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.367},
  url = {https://doi.org/10.18653/v1/2023.emnlp-main.367}
}
```

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