Elamur Research

How Suitable Are Subword Segmentation Strategies for Translating Non-Concatenative Morphology?

Paper · 2021 · Chantal Amrhein and Rico Sennrich

Summary

A translation system can have all the pieces it needs to spell a word and still fail to recognize how the word was formed. Subword tokenization divides words into reusable pieces learned from text. This helps a system handle words outside a fixed vocabulary, but the pieces that occur often in a corpus do not necessarily correspond to the parts that carry meaning. Chantal Amrhein and Rico Sennrich ask how much that matters in machine translation, especially when a rule changes a word internally, repeats part of it, or makes one part of a form depend on another.

The authors build a test suite by inserting artificial examples of morphology into otherwise natural German–English sentence pairs. When a preposition is expressed by an artificial affix on a noun in one language, for instance, the other language uses a separate invented word for the same function. The researchers can then check whether the expected marker appears in the translation. Putting the modified form on the German side tests whether the system can recognize it. Putting it on the English side tests whether the system can produce it. A control makes the rule explicit with a separate label and leaves the base word intact, giving the authors a way to compare the difficulty of translating the function with the difficulty of handling its written form.

The experiments compare a standard byte pair encoding baseline with versions that vary the segmentation during training or use smaller pieces, including characters. Circumfixes and infixes are generally handled well in the test suite. Target-side vowel harmony and full reduplication are more sensitive to the representation. On the original test examples for full reduplication, the standard baseline reaches 72.0% targeted accuracy, compared with 94.0% for the system using 500 merges and varying its segmentation during training. The baseline reaches 98.0% on the corresponding abstract task. Smaller units help most when the combination of a base and a rule is rare or unseen in training, even though the standard baseline scores highest on ordinary translation.

The two kinds of evaluation answer different questions. A system can score well on general translation and still struggle to copy an adjective exactly or choose the vowels that belong in an invented marker. The experiment measures these difficulties under deliberately favorable conditions, with unambiguous marker correspondences and ample parallel text. The authors recommend testing new text representations on languages with a wider range of word-formation processes, so that strengths on familiar benchmarks do not hide weaknesses elsewhere.

Deep dive: How Suitable Are Subword Segmentation Strategies for Translating Non-Concatenative Morphology?

A German-to-English translation test compares subwords and characters on compounds, affixes, vowel harmony, and reduplication. · about 36 minutes to read

The problem and its context

A vocabulary can cover a word without preserving its structure

A translation system needs some way to represent words that never occurred in its training data. A fixed list of whole words leaves an obvious gap. If a word is absent from the list, the system lacks a dedicated unit for it. Sub-word segmentation addresses that gap by allowing a word to be written as a sequence of smaller pieces. A piece can be reused in many words, and the inventory can include individual characters for cases where larger pieces are unavailable. The underlying idea is central to Neural Machine Translation of Rare Words with Subword Units.

The difficulty comes from the criterion used to build the inventory. Byte pair encoding, or BPE, forms larger units by merging adjacent pieces according to their frequency. The resulting inventory reflects which character sequences occurred together in the text used to learn it. A morpheme is a piece of a word associated with a meaning or grammatical function. A frequent character sequence can extend across a morpheme boundary, and a single morpheme can end up represented differently in different words. Those differences are harmless if the translation system learns to treat the relevant sequences alike. They become consequential if recognizing an unfamiliar form depends on reusing what the system learned about a familiar one.

The paper describes earlier reports of trouble with spellings and text unlike what systems encountered during development. It also points to work on morphologically rich input and on multilingual settings. A small spelling change or a different combination of familiar elements can change which merges apply, leaving a word split differently or into much smaller pieces. The system may have learned a useful correspondence for a particular segment without having seen enough evidence to carry that correspondence over to an alternative segmentation. The question is therefore how well a system generalizes over its pieces after a tokenizer has made the text representable.

Morphology provides a way to make that question concrete. A system may regularly encounter a noun by itself and still face an unfamiliar sequence of pieces when the noun becomes part of a compound. A rule that inserts material inside the base can disrupt even more of the usual segmentation. With vowel harmony, recognizing the consonants of a marker may identify the relevant rule, yet producing the marker also requires selecting vowels appropriate to the nearby word. In reduplication, the material to generate depends directly on the word being modified. An inventory can spell every output involved in these processes while leaving different amounts of work to the translation system.

Why these word-formation processes belong in the same test

The authors study compounding, circumfixation, infixation, vowel harmony, and reduplication. The paper groups the first three as concatenative processes, meaning that their forms can be described by putting pieces together, and the last two as non-concatenative. The grouping does not imply that every concatenative process simply adds a suffix or that the split between the categories is settled for all purposes. It gives the study a way to compare operations that make distinct demands on the representation.

A compound joins elements that can occur independently. The paper illustrates this with the German Schildkröte, whose components are Schild and Kröte. In a natural language, the meaning of the whole may raise its own translation problem. The experiment sets that issue aside by assigning an artificial component a known equivalent. It can then ask whether a system recognizes that component inside the compound even when a familiar noun has acquired a different segmentation.

Circumfixation places material at both ends of a base. The Chickasaw example in the paper uses lakna and iklakno to illustrate the contrast associated with negation. In the artificial version, the visible pieces at the beginning and end jointly mark a translation function. That configuration asks a system to recognize a paired pattern around a potentially variable middle, or to produce both parts around an English noun. Infixation instead inserts material inside the base. The paper illustrates this with Bontoc fikas and fumikas. An insertion of that kind interrupts the original spelling, so even a tokenizer that normally keeps the base together has to represent the modified word differently.

Vowel harmony introduces a dependency between vowels in different parts of a form. The paper uses Turkish to illustrate harmony in suffixes. Its synthetic exercise makes the dependency inspectable by requiring vowels in a marker to match vowels in a neighboring noun. That choice lets the researchers ask whether a translation contains the appropriate kind of marker and whether the marker has been adapted to its particular context. Those are distinct requirements even when the system can satisfy both in the same output.

Reduplication repeats a word or a portion of a word, sometimes with a change. The paper illustrates full repetition with Itza’ tz’eek-tz’eek, an intensified form of tz’eek. It also explains that the function varies across languages and can include plurality, intensity, or size. A representation learned mainly from languages in which reduplication is marginal has little reason to favor consistent pieces for these forms. The authors use the process to make a broader point about language coverage. A representation can appear broadly applicable when the benchmarks seldom require a process that matters in many other languages.

What earlier evaluations could establish

The paper distinguishes several ways to test knowledge of morphology in sentence processing. Contrastive evaluation supplies alternatives, such as a sentence with correct agreement and a counterpart with an agreement error, and checks which receives the higher probability. The result shows whether the system favors one supplied form over another. It answers a different question from whether the system produces the desired form when it translates freely. The paper cites How Grammatical Is Character-level Neural Machine Translation? as an example of this earlier approach.

A probing experiment asks whether a classifier can recover information such as case, number, or gender from internal representations. That approach can show whether the information is available to a separate classifier. An evaluation of translation output instead asks whether the system uses the information in the sentence it produces. The paper situates its work alongside What Do Neural Machine Translation Models Learn about Morphology? and other studies that probe what translation systems encode.

The authors also distinguish their question from isolated morphological analysis and reinflection. In a reinflection task, the challenge is to produce a form of a word given the information needed to choose that form. Dedicated approaches can tackle the character transformations directly. In the sentence-level setting, the relevant information must first be identified in the source, carried across languages, and integrated with the translation of the rest of the sentence. Work such as Morphological Inflection Generation with Hard Monotonic Attention belongs to the earlier line of research that treats inflection itself as the task.

Prior work was already closer to this study in some respects. Burlot and Yvon evaluated morphological competence through actual translations. Vania and Lopez compared segmentation strategies across morphologically diverse languages using perplexity, a measure of predictive difficulty. Klein and Tsarfaty examined how well multilingual BERT pieces reflect Hebrew word structure. The authors also draw a methodological parallel with Wang and Eisner’s construction of synthetic treebanks from existing material. Their own question calls for a different intervention. To compare particular word-formation processes, they change how a known function is expressed while preserving the surrounding sentence and its translation.

The method, step by step

Give an ordinary translation a controlled morphological task

The unit of construction is a pair of German and English sentences that already translate one another. The authors look for contexts in which both sentences contain an expression with the same function. The main candidates are corresponding prepositions, cardinal numbers that modify nouns, and particles that modify adjectives through negation or intensification. A corresponding pair of nouns provides the starting point for compounds. Existing sentences give the artificial forms grammatical and semantic context, while the modification makes the expected correspondence unusually clear.

For a prepositional pattern, imagine a German preposition and its aligned English equivalent, followed on each side by the relevant noun phrase. The researchers can remove the preposition in one sentence and express its function with a new form of the noun. In the other sentence they replace the preposition with a different invented marker that remains a separate word. If the artificial form is in German, translating the sentence requires recovering the function and producing the isolated English marker. If the artificial form is in English, the isolated German marker tells the system which function to express, and the system has to realize it in the required English form.

Only one side of a modified pair carries the artificial morphological operation. This asymmetry is important because it establishes where the difficulty lies in each task. When a source noun contains an infix, the expected target marker has a fixed spelling. When the target noun requires an infix, the input gives a separate marker, and the output has to attach the appropriate string inside a word. Both tasks still involve ordinary translation, including selecting a target noun, but they call upon the synthetic rule at different points.

The researchers generate the artificial pieces from random consonant and vowel sequences of four to six characters and check them against a sub-word inventory learned from the original training text. The pieces used in a source and target correspondence are distinct. The selections also distinguish the pattern pairs from one another. As a result, the output marker is not normally recoverable by copying the spelling of the input marker, and a target marker can serve as evidence for the specific correspondence being tested.

Building and running the segmentation test suite

The steps in order.

Building and running the segmentation test suiteStep 1: Align words and parse parallel sentences1. Align words and parse parallel sentencesStep 2: Find matching expressions and their base words2. Find matching expressions and their base wordsStep 3: Rewrite one side with an artificial morphological rule3. Rewrite one side with an artificial morphological ruleStep 4: Put a separate artificial marker on the other side4. Put a separate artificial marker on the other sideStep 5: Build corresponding pairs with explicit rule labels5. Build corresponding pairs with explicit rule labelsStep 6: Add modified pairs to ordinary training data6. Add modified pairs to ordinary training dataStep 7: Train translation systems with different segmentations7. Train translation systems with different segmentationsStep 8: Check generated translations for the expected forms8. Check generated translations for the expected forms

Find the expressions and the words they modify

The starting data come from the WMT16 shared task. The training portion contains ∼ 4.6M parallel sentences. The development set is the WMT15 test set, with ∼ 2k parallel sentences. The remaining shared-task test sets supply ∼ 28k parallel sentences as the starting point for testing. These are counts for the original sets. The targeted test uses the sentence pairs in which the researchers can introduce the artificial patterns.

The first preprocessing operation is word alignment with eflomal. An alignment identifies words that correspond across a German–English pair. It helps prevent the researchers from treating any occurrence of a German preposition and any occurrence of its usual English equivalent as a valid match. The occurrences also have to align with each other in that particular sentence pair. The host words that will receive the morphological change likewise have to be translations of each other according to the alignment.

Next, the authors use spaCy parsers for both languages and the spacy_conll library to obtain CoNLL-U records. These records provide part-of-speech tags, which identify categories such as noun and adjective, and lemmas, which identify dictionary forms. The dependency parse supplies grammatical links between words. The rule for a cardinal number can therefore seek the noun it modifies. A prepositional rule can look for the head noun of the relevant phrase. A rule for an adjective modifier can use the adjective associated with that modifier. These checks reduce the chance of encoding a function on a nearby word that has a different grammatical role.

The authors choose patterns in part by how frequently suitable pairs occur. Intensification and negation are assigned to reduplication because the paper identifies them as functions that reduplication can have in natural languages. Frequent prepositional correspondences supply the circumfix and infix patterns and some vowel harmony patterns. The cardinal corresponding to English two provides another vowel harmony pattern. For compounds, the rule selects a German noun and its aligned English equivalent. The dataset treats these functions as material to re-express with different forms, instead of taking the original German or English grammar as the target of evaluation.

To assess the automatic preparation, the authors manually examine 200 random sentence pairs per phenomenon. They report that the intended synthetic phenomenon was correctly inserted in 98.4% of the cases they examined. That check concerns the quality of the constructed examples. It is separate from the accuracy with which any translation system handles those examples.

Apply the written rules

Compounding. The compound appears on the German side. The researchers concatenate an invented component with a German noun and place the distinct English marker before the translation of that noun. One example turns Räume into Sonaräume. The corresponding English noun is premises, with bico in front of it. This is a recognition task for the translator. It has to identify which synthetic component belongs to the German compound and select the English marker associated with that component.

Circumfixation. The researchers remove the matched preposition from the side that will contain the circumfix. They add an artificial string before the noun and another after it. In the companion sentence, the preposition is replaced with an isolated invented word. An English example expresses the function originally carried by for through jebcityfet, where city is the base. Some pattern pairs have the circumfix in German and others have it in English. That variation makes both recognition and generation observable, although the patterns and their frequencies differ across the directions.

Infixation. The surrounding procedure is the same as for a circumfix, but the invented material goes immediately before the first vowel inside the noun. In one German source example, the resulting noun is Kryadeyitik, formed with Kritik as its base. The English output should contain the artificial marker associated with the function expressed by that German form. In a target-side example, the system instead has to form a noun containing the required inserted string. The placement rule makes this different from treating a marker as an independent word or appending it to the end.

Vowel harmony. The rule removes a preposition or cardinal and places a separate marker after the noun. The marker begins as a sequence of three consonants. The authors fill the gaps between those consonants with the last two vowels of the noun, in their order of occurrence. If the noun contains only one vowel, it supplies both positions. For the English pattern corresponding to the cardinal two, the consonant sequence is b-p-r. With errors as the noun, the result is bepor. The marker remains separate in this synthetic setup, allowing the evaluation to focus on whether the vowels depend correctly on the preceding word.

Reduplication. For partial reduplication, the researchers identify the initial substring ending just after the first vowel and repeat it. When the adjective starts with a vowel, the selected substring extends through the second vowel instead. Triplication uses the same choice of substring but repeats it twice. Full reduplication repeats the entire adjective. The paper’s full-reduplication example uses dangerousdangerous to express the function carried by negation in the original sentence. On the other side, that function has a separate, fixed artificial marker. The repeatable material is supplied by the adjective itself.

These constructions separate the identity of a rule from the word to which it applies. A German circumfix pattern always carries the same invented framing pieces, for instance, but can occur around many nouns. For vowel harmony, the consonants identify the pattern while the base determines the vowels to use. For full reduplication, the identity of the rule tells the system to copy, and the choice of adjective determines all of the characters to copy. As variation in the base increases, the latter operations ask the system to transfer a procedure across forms instead of remembering a fixed surface string.

Build an explicit version of the same task

For the abstract control, the researchers leave the base word in its ordinary form. On the side that would otherwise carry the artificial morphology, a dedicated label follows the word and identifies the operation. The companion sentence still uses an isolated artificial marker, drawn from a distinct set for the abstract task. That counterpart gives the system the same general kind of translation problem as before, with a different representation of the function on the morphological side.

An example with an English circumfix helps distinguish the two tasks. In the surface version, the output needs a noun framed by the invented pieces. In the abstract version, the output can contain the ordinary noun followed by a label such as @CIRCUMFIX_1@. For source-side morphology, the label tells the system which process was applied without requiring it to find the process inside the German word. For target-side morphology, it lets the system express the process without carrying it out in the spelling.

The paper treats this as an oracle-like upper bound within the test suite. The label provides information that an external analyzer would have to recover on the source side. On the target side, evaluating the label amounts to assuming that an external generator could apply the rule correctly afterwards. The comparison therefore indicates how well the translation system can associate the pattern with its counterpart once the form-handling problem is removed. Both versions still require learning the correspondence between artificial symbols, so even explicit labels can be difficult when there are very few training instances.

The modified training sentences are added to the original corpus. The combined training set contains ∼ 5.6M sentence pairs. Ordinary versions are kept so the same trained system can be evaluated on normal text as well as on the introduced patterns. All the artificial phenomena are introduced in the shared training corpus. This avoids fitting a separate translation system for each phenomenon under each segmentation strategy. According to the authors’ estimate, a single joint run has about one-fifth the carbon footprint of training separately for each phenomenon. They make the test suite and code available as segtest.

Change the units used for translation

The translation architecture is Transformer Base, drawn from Attention Is All You Need, and the implementation is Nematus. The architecture and implementation are shared across the comparisons. The encoder processes the German input and the decoder produces the English output. Each has 6 layers, with 8 attention heads, an embedding and hidden-state dimension of 512, and a feed-forward dimension of 2048. The authors tie the encoder and decoder input embeddings and also tie the decoder’s input and output embeddings.

The baseline uses 32k BPE merges. Each merge joins adjacent units and makes a larger piece available. A large merge budget allows many recurring sequences to be expressed as single units. The second system uses the same budget with BPE-Dropout. During training, some candidate merges are skipped randomly, with a dropout probability of 0.1. The training data are segmented again after each epoch. A word can therefore appear with different boundaries on different passes through the corpus. This exposes the translation system to smaller pieces even when the inventory also permits a larger one.

The third system combines BPE-Dropout with 500 merges, giving it a smaller inventory of merged units. The fourth works at the character level and is obtained by fine-tuning the system with 500 merges. Fine-tuning continues training from weights learned earlier. In this experiment it makes character-level translation possible without training a deeper architecture from the start. The character comparison thus changes input and output granularity and also inherits a different training history from the direct BPE comparisons.

The authors use SentencePiece to learn the sub-word vocabularies and set character coverage to 0.9999. They use this restriction to keep the vocabulary with 500 merges from consisting almost entirely of single characters. The character inventory contains 246 individual characters, along with three reserved translation symbols and 25 symbols for the abstract patterns. Sequence limits differ with granularity. The longest permitted sequences contain 200 tokens for the 32k systems, 500 tokens for the 500-merge system, and 1,000 tokens for the character system. A fixed number of tokens can cover less text when each token represents a smaller piece, so these limits are part of the conditions under which the systems are compared.

The sub-word systems are trained for 700k updates, with the development BLEU score determining the selected checkpoint. The character run starts with the best checkpoint from the first 400k updates of its parent system and continues for an additional 550k updates. Selection again uses BLEU on ordinary development text. The training setup uses Adam with a learning rate of 0.0001 and linear warmup over 4,000 steps. Fine-tuning uses a constant learning rate of 0.001. The batch size is 16,348 tokens, and the reported training environment uses 4 NVIDIA Tesla V100 GPUs. The authors also apply network dropout at 0.1 and label smoothing at 0.1, independently of whether training uses BPE-Dropout.

Score what the translation actually contains

The targeted metric is the percentage of test sentences for a pattern whose generated translation satisfies that pattern’s check. A sentence either meets the check or fails it. The authors describe the checks as operations on the translation text. Their meaning depends on the side to which the synthetic rule was applied.

When the German input carries the morphological form, the required output is typically a fixed artificial marker. The check looks for that marker in the translated sentence. For English circumfixation, it looks for a token surrounded by the expected pieces. For English infixation, it looks for a token with the correct inserted material. For English vowel harmony, it checks for the appropriate consonant sequence and tests whether the intervening vowels match the last vowels of the preceding token according to the synthetic rule. For English full reduplication, it looks for a token that contains a full repetition. The abstract evaluation can look for the expected explicit label on the side where the surface form would have been required.

The scorer does not demand that the base noun or adjective match the reference translation. The synthetic marker has a unique intended correspondence, whereas the ordinary part of the sentence may admit alternatives. A system that chooses a valid alternative noun still has to form the harmonic marker that goes with the noun it actually produced. This focuses the measure on the constructed operation. It also means that targeted accuracy and ordinary translation quality have to be reported separately.

Experiments and results

Ordinary translation favors the larger vocabulary

The ordinary evaluation uses German-to-English development and test sentences without artificial morphology. The authors compute BLEU with SacreBLEU. This score measures overlap between the generated and reference translations across the evaluation set. It provides a view of overall translation quality, while the pattern accuracy evaluates individual artificial operations. Since the development checkpoint is also selected by ordinary BLEU, the study compares the systems at checkpoints chosen by a common general-purpose criterion.

Segmentation strategies on the unmodified German–English test set by BLEU

The standard large-vocabulary BPE baseline leads on ordinary translation.

Segmentation strategies on the unmodified German–English test set by BLEUBPE with 32k merges (this paper): 30.19BPE with 32k merges (this paper)30.19BPE-Dropout with 32k merges: 30.02BPE-Dropout with 32k merges30.02BPE-Dropout with 500 merges: 28.82BPE-Dropout with 500 merges28.82Characters: 28.66Characters28.66
The numbers
System or settingBLEU
BPE with 32k merges (this paper)30.19
BPE-Dropout with 32k merges30.02
BPE-Dropout with 500 merges28.82
Characters28.66

On the unmodified development set, the corresponding BLEU scores are 31.44 for deterministic BPE with 32k merges, 31.03 for BPE-Dropout with 32k merges, 30.14 for BPE-Dropout with 500 merges, and 29.78 for characters. The ordering on the test set is the same. Varying the segmentation during training while keeping the larger merge budget leaves the result close to the baseline. Moving to smaller units lowers the score on ordinary translation, a tradeoff to keep in view when comparing the targeted results.

The paper also checks whether adding the artificial examples changes development BLEU. Across checkpoints with and without these examples, the average absolute difference is 0.25 for the setup with 32k merges and 0.1 for the setup with 500 merges. Those figures quantify the observed change on the ordinary development set. They support using the augmented training corpus for the targeted study while still evaluating the same systems on ordinary text.

Compounding exposes the effect of sparse patterns

The original targeted test contains only sentence pairs in which a synthetic operation was inserted. The number of examples varies by pattern, from 50 to 700 according to the description of the test setup. Compounding gives an especially clear view of scarcity because the compound patterns share the same broad construction and each has 371 original test examples. They differ in the identity of the artificial morphemes and in the number of training examples in which the mapping occurs.

For the compound with 27 training occurrences, every surface system scores 0.0% on the original targeted test. The abstract baseline also scores 0.0%. An explicit label for the operation does little in this case because the mapping from the label task to the expected artificial English marker is itself rare. The result sets a floor on what the surface comparison can explain. A system that has not learned the correspondence cannot demonstrate whether it could have extracted the morpheme from an unfamiliar compound.

At 67 training occurrences, the original test gives a much less uniform result. The deterministic baseline scores 46.1%, the 32k dropout system scores 0.0%, the 500-merge dropout system scores 83.8%, and the character system scores 0.0%. The abstract baseline reaches 95.1%. The smaller BPE inventory is useful for this particular sparse mapping, but the character system does not share that advantage. The split among settings also shows why a broad claim that every reduction in token size improves rare compounds would be too strong.

For the pattern occurring 238 times in training, all surface systems score above 95% on the original test. The baseline reaches 98.1% and the 500-merge dropout system reaches 96.2%. The surface scores remain high on the compound patterns with 522 and 1095 training occurrences. By the time a particular component and its translation are seen sufficiently frequently under this construction, deterministic BPE can identify the component in the original targeted test about as reliably as the other settings. The difference between failure and success is most visible where the pattern itself is scarce.

Circumfixes and infixes are usually handled well

The circumfixation results are high across the surface settings on the original test. For the German-side pattern with 11,718 examples in training, the baseline scores 97.9% and the character system scores 95.9%. For the English-side pattern with 21,372 training examples, the baseline scores 97.3% and the 32k dropout system reaches 100%. The abstract baseline also reaches 100% on that English-side pattern. This comparison gives a concrete example of a target operation that adds material at more than one boundary and remains tractable with the larger sub-word inventory.

Infixation shows that an edit inside a word need not produce a large accuracy gap in this setup. On the English-side pattern with 47,102 training occurrences, the baseline reaches 97.2% on the original targeted test, while each dropout system reaches 98.6%. The abstract baseline scores 99.6% for the same pattern. On the German-side pattern with 3796 occurrences, the deterministic BPE system reaches 98.9% and the character system reaches 100%. The settings trade places across individual patterns, with high accuracy common to all of them.

These are results about the artificial affixes and particular training distributions. Their value in the comparison is that the evaluation does not automatically make every surface operation difficult. Circumfixation requires finding or producing a pair of strings around a variable noun. Infixation changes the base’s internal character sequence. Both can be learned well enough for high targeted accuracy under the conditions of the experiment. The larger gaps for vowel harmony and full reduplication therefore point to demands beyond the presence of a modified spelling alone.

Generating vowel harmony is harder than recognizing its marker

For the source-side vowel harmony pattern, which appears 8,636 times in training, the baseline scores 98.9% on the original targeted test. The 32k dropout system scores 99.4%. The German input already supplies a harmonic form, and the English task is to emit a fixed marker. The system can succeed without having to demonstrate that it knows which vowels ought to go in the German form.

The target-side patterns ask for those choices in the output. The least frequent of them has 7037 training occurrences and 115 examples in the original test. Even though there are many training instances of the rule, the vowels have to be selected based on the particular output noun. This is the clearest contrast between the surface representation and the explicit control.

Target-side vowel harmony pattern #4 on the original test by targeted accuracy

Smaller surface units improve accuracy, and an explicit rule label gives the highest score.

Target-side vowel harmony pattern #4 on the original test by targeted accuracySurface BPE with 32k merges: 70.4Surface BPE with 32k merges70.4Surface BPE-Dropout with 32k merges: 80.0Surface BPE-Dropout with 32k merges80.0Surface BPE-Dropout with 500 merges: 91.3Surface BPE-Dropout with 500 merges91.3Surface characters: 90.4Surface characters90.4Abstract BPE with 32k merges (this paper): 99.1Abstract BPE with 32k merges (thispaper)99.1
The numbers
System or settingaccuracy %
Surface BPE with 32k merges70.4
Surface BPE-Dropout with 32k merges80.0
Surface BPE-Dropout with 500 merges91.3
Surface characters90.4
Abstract BPE with 32k merges (this paper)99.1

The same broad ordering holds across the other target harmony patterns. For the pattern occurring 29,048 times in training, the original test gives 78.9% to the deterministic baseline, 93.5% to BPE-Dropout with 500 merges, and 99.4% to the abstract baseline. For the pattern occurring 133,082 times, the corresponding scores are 82.0%, 93.8%, and 99.4%. The character setting reaches 94.4% on that most frequent pattern. Frequency accompanies better performance for the large-vocabulary surface systems, yet the most frequent pattern still shows a clear gap between deterministic surface BPE and the abstract task.

These results also separate two ways of altering BPE. Skipping merges during training already helps at the larger merge budget. Lowering the budget while retaining dropout raises accuracy further on the target harmony patterns. Character segmentation is competitive with the smaller BPE setting, with the stronger setting varying by pattern. A comparison between just the deterministic baseline and the character system would miss the contribution of varying the segmentation within a fixed merge budget.

Reduplication ranges from strong performance to complete failure

The three reduplication patterns differ in their operation, their direction, and their frequency. Partial reduplication is on the German side and occurs 34,783 times in training. On the original test, the deterministic baseline scores 94.2% and the 500-merge dropout system scores 95.9%. The abstract baseline scores 99.2%. The surface task requires recovering the function from the German repeated substring and producing a fixed target marker.

Triplication also occurs on the German side, but it is seen only 106 times in training. Every surface system scores 0.0% on the original test. The abstract baseline scores 99.2%. This is a different failure from the rarest compound. Here the abstract task shows that the correspondence can be learned when explicitly signaled. The difficulty emerges when the correspondence has to be recovered from the triplicated form. The comparison cannot say how much of the failure is attributable to scarcity and how much to the difference between partial reduplication and triplication, because the study does not match their training counts.

Full reduplication appears on the English side and occurs 9,664 times in training. Its original targeted test contains 50 examples. The required output is a token with an exact full repetition, so outputting a plausible adjective and outputting the correct repeated form are separate requirements.

Target-side full reduplication on the original test by targeted accuracy

Varying segmentation and using smaller pieces improve surface repetition, with the explicit label scoring highest.

Target-side full reduplication on the original test by targeted accuracySurface BPE with 32k merges: 72.0Surface BPE with 32k merges72.0Surface BPE-Dropout with 32k merges: 84.0Surface BPE-Dropout with 32k merges84.0Surface BPE-Dropout with 500 merges: 94.0Surface BPE-Dropout with 500 merges94.0Surface characters: 90.0Surface characters90.0Abstract BPE with 32k merges (this paper): 98.0Abstract BPE with 32k merges (thispaper)98.0
The numbers
System or settingaccuracy %
Surface BPE with 32k merges72.0
Surface BPE-Dropout with 32k merges84.0
Surface BPE-Dropout with 500 merges94.0
Surface characters90.0
Abstract BPE with 32k merges (this paper)98.0

The full-reduplication results show the cost of realizing the operation even when it occurs much more frequently than triplication. The improvement from deterministic BPE to BPE-Dropout at the same merge budget is consistent with training on multiple segmentations making the system less tied to specific written chunks. The advantage of the smaller inventory is consistent with that explanation as well. The experiment measures accuracy under these training choices, and the authors’ error analysis provides more direct evidence about what kinds of output change.

What the ablations show

The abstract comparison locates a cost in the written form

The paper’s main controlled comparison is between an artificial surface form and its explicit counterpart. Both tasks require mapping a synthetic function between languages. The surface task additionally requires recognizing the operation from the modified input or applying it to the output. If accuracy is high with a label and substantially lower with the surface form, then learning to associate markers is insufficient to explain the surface errors. A significant part of the difficulty lies in handling the form.

Target-side vowel harmony demonstrates this distinction because the exact vowels are determined by the base word. The abstract label can signal the rule without carrying that information. Likewise, a full-reduplication label can indicate repetition without reproducing the adjective. High abstract scores show that the systems can frequently carry the pattern across the translation. The remaining work in the surface setting is to derive the context-specific string.

The triplication result makes the contrast particularly sharp. The systems have enough information to learn the explicit translation correspondence at the pattern’s reported frequency, while none meets the surface criterion on the original test. The compound with 27 training occurrences demonstrates the other outcome. Its failure persists when the form is made explicit, so there is little reason to attribute that result solely to segmentation across compound boundaries. The abstract control is most informative when read alongside the training frequency and the identity of the pattern.

The segmentation comparisons isolate some choices more closely than others

The deterministic and dropout systems with 32k merges provide the closest comparison of segmentation during training. They share the merge budget, but the dropout system sees alternative divisions of a word. The original results for English vowel harmony and full reduplication improve when that variation is introduced. The ordinary BLEU scores remain close. The paper consequently supports using BPE-Dropout for sequence-to-sequence training, based on gains for the non-concatenative operations alongside a relatively small change in ordinary test BLEU.

Comparing the dropout systems at different merge budgets asks what happens when smaller pieces become the usual representation. The results on target-side harmony and repetition indicate an additional benefit, and the frequency analysis explains where much of that benefit occurs. There is no corresponding deterministic setting with 500 merges in the study, so the comparisons show how a reduced budget works in combination with dropout. The result for the character system is an end-to-end comparison with a further change in granularity and a distinct fine-tuning procedure.

The settings behave differently on the rare compound with 67 training occurrences. The larger dropout system and the character system both score 0.0%, while the smaller dropout system gives the strongest surface result. This prevents the favorable harmony and reduplication comparisons from becoming a general rule about which representation wins on every rare construction. The paper’s breakdown by phenomenon is what makes that distinction visible.

Training curves distinguish early success from gradual gains

The authors plot accuracy at successive checkpoints for the sub-word systems. They select a circumfixation, vowel harmony, and reduplication pattern with 11,718, 7037, and 9664 training occurrences, respectively. These counts are close enough for the comparison to illustrate how the learning trajectories differ among patterns of broadly comparable availability. The authors omit the character system from this analysis because it starts from a trained sub-word system.

The selected circumfixation pattern reaches near-perfect accuracy after the first few checkpoints. Reduplication takes longer, and vowel harmony improves more gradually still. For the harmony pattern, the system with 500 merges stays ahead of both systems with the larger budget through the plotted training period. Thus the difference at the selected checkpoint also appears in the course of training. It cannot be explained simply by the ordinary BLEU rule happening to favor a particular checkpoint for one of the settings.

The curves still show improvement at 700k steps for the harder operations. The authors therefore raise the possibility that longer training would improve their results. The plotted evidence concerns the direction of change up to that point. It does not establish where training would level off or whether additional updates would preserve the same ordering among the segmentation choices.

Base-word frequency explains where smaller units help

The paper distinguishes the frequency of a pattern from the frequency of an individual modified word. A vowel harmony rule may occur often across the training corpus while a particular noun has seldom undergone that rule. Similarly, many training examples can demonstrate reduplication even though they do not include the adjective encountered at test time. The useful distinction is between having evidence for a process in general and having evidence for the exact combination that must be handled.

The authors group original test sentences by how frequently the relevant source token occurred with the same pattern during training. A zero-shot case is one in which the combination was absent. The base word can still be familiar from unmodified contexts. Rare combinations form other groups, allowing the authors to compare how a system performs when it can plausibly reuse a familiar form and when it has to apply what it learned to a different one.

The largest benefits from smaller units occur in the unseen and very rare groups. This clarifies the average results. A system that performs well on familiar modified words can still have trouble extending the operation to another base. Splitting more finely provides a representation in which the shared characters remain available across varied forms. The observed gains are evidence of better transfer within this test suite. The authors consider stronger benefits in real low-resource data plausible, while leaving that question to future evaluation.

Augmentation checks sensitivity to the test distribution

The original test sets vary in size and in the familiarity of the modified words. To check whether this composition explains the main comparisons, the authors construct an augmented test set. They can replace a preposition with another one, substitute the cardinal two for a different number, or insert an adjective modifier. These edits create candidate contexts for patterns that would otherwise have fewer test examples.

Simple substitution can create awkward sentences. The authors rank the edited pairs using Masked Language Model Scoring with multilingual BERT. They measure the change in pseudo-perplexity from the original sentence to its edited version, separately for German and English, then average the changes. Pseudo-perplexity here serves as a measure of how unexpected the sentence looks to the scoring system. A lower change gives a candidate priority when additional examples are needed.

The test material is divided into seven classes by the frequency of the relevant word and pattern in training. The classes run from zero-shot through cases seen 501 to 1,000 times, and each can contribute up to 100 sentences. Original examples take priority. When a group needs additional sentences, augmented ones are selected in score order. This procedure changes the mix of familiar and unfamiliar cases while preferring examples that arose naturally in the original parallel text.

The resulting scores preserve the main conclusions. On the augmented test for English vowel harmony pattern #4, the deterministic baseline reaches 57.3%, BPE-Dropout with 500 merges reaches 92.0%, the character system reaches 92.6%, and the abstract baseline reaches 99.9%. For target-side full reduplication, the deterministic baseline reaches 74.2%, the 500-merge dropout system reaches 93.4%, and the abstract baseline reaches 99.1%. The ordering among close surface settings can shift, as it does for the least frequent target harmony pattern. The broader gaps survive the change in test composition. Surface triplication remains at 0.0% for all settings, while the abstract baseline reaches 98.6% on the augmented test.

Output errors reveal which part of an operation failed

The authors inspect up to 50 incorrect sentences per pattern pair from the original test and classify the errors. In the inspected errors for target-side vowel harmony, the problem is that the vowels fail to match the preceding word. The consonant sequence can identify the correct kind of marker even when the form fails the contextual check. This supports a more specific account of the low surface scores than a general failure to translate the relevant function.

Full reduplication produces a different signature. With 32k merges, systems sometimes put two semantically similar adjectives together rather than repeating one adjective exactly. The paper illustrates this with mandatorycompulsory in place of compulsorycompulsory. The output contains plausible lexical material and has the shape of a concatenation, but it violates the copying requirement. The authors do not observe this particular error with the smaller-unit systems. The smaller-unit systems still make errors, so the disappearance of this category is evidence about one failure mode rather than a claim that they always reduplicate correctly.

Rare compounds reveal another distinction. The larger-vocabulary systems often copy the full source compound or leave its artificial component untranslated. The smaller-unit systems do that less often in the inspected cases, but may translate only part of the invented piece or produce a real word resembling the expected marker. The paper gives kidnapping and kidney where the intended invented marker is kixaka. These are failures of different kinds despite receiving the same score under the targeted test. The manual analysis shows why a change in accuracy alone cannot explain what the system learned or how it handles a form when its learned correspondence is incomplete.

Limitations

Limits the authors state

The paper describes its setting as deliberately favorable to automatic evaluation. Each artificial correspondence is defined in advance, and the expected marker is clear. Natural translation can involve more ambiguity and noise. A function may have several natural renderings, and the corresponding word forms may have exceptions. The high scores for synthetic circumfixation and infixation therefore establish competence with these particular controlled rules. The authors explicitly caution against interpreting them as evidence that current systems can translate concatenative morphology perfectly.

For vowel harmony, the authors point to a condition that may make the artificial task harder. Harmony appears in only a few patterns in the modified corpus. A language in which many suffixes are subject to harmony could give a system repeated opportunities to learn which vowels in a stem matter. The benchmark supplies many observations of some individual patterns, but fewer kinds of evidence for harmony as a pervasive system. This makes direct extrapolation to natural harmony systems difficult even when the counts for individual patterns seem plausible.

The authors examine that last issue by comparing their pattern frequencies with counts for Turkish. As reported in the paper, the top 50 nominal inflectional suffixes range from 13’000’000 occurrences at rank 1 to 30’000 at rank 50 in a corpus of 50M tokens. They use the comparison to situate their artificial patterns relative to frequent suffixes and to the longer tail. Counts of that kind establish that the scale of exposure is worth considering. They leave open how much the wider network of related suffixes in a real language would help a system learn a shared process.

The abstract treatment also assumes access to information that would have to come from somewhere in a practical translation system. On the input side, an analyzer would need to recover the relevant rule and base from the surface form. On the output side, a generator would need to produce the correct surface form after translation. The authors suggest that abstract representations may help where reliable analysis and generation are available. Their upper-bound comparison estimates the performance of the translation stage when given clean labels. It does not include the cost or errors of supplying those labels in a natural language.

The study leaves other representation strategies for future work. The authors mention CANINE and visual representations of text as possible directions for the source side. They also identify out-of-domain conditions, where more rare bases might be expected, as an area to investigate. Those proposals follow from the observed sensitivity to rare modified words. They do not provide results for these alternatives or settings.

Limits visible in the experimental design

The synthetic tests introduce selected functions into a single translation direction. For instance, the harmony marker is a separate token after a noun, and full reduplication is an exact repetition. The paper’s natural-language examples motivate these choices. They do not make the exercises representative of every way a language uses those processes. A ranking for these operations in DE→EN therefore cannot determine the best representation for a language whose morphology combines more varied dependencies, spelling changes, or functions.

Some comparisons change several properties together. The partial, triple, and full reduplication patterns differ in the material repeated and the frequency of training exposure. Full reduplication also changes the side on which the operation appears. Comparing their accuracies shows which tasks are harder under the tested conditions, but does not isolate a general penalty for repetition length, for additional repetition, or for generation. The source and target vowel harmony patterns similarly offer evidence that applying the rule in output is demanding, while their different pattern identities limit a strictly matched comparison of direction.

The targeted scorer is deliberately permissive about the rest of the translation. It can give credit for the presence of the right marker without establishing that the entire sentence preserves the intended meaning. On the target side, it can recognize a valid harmonic string or a repeated token without verifying that the translated base is the one in the reference. This flexibility avoids penalizing acceptable paraphrases, but limits what a high targeted score certifies. It establishes satisfaction of the pattern check under a specific output criterion. Ordinary BLEU is a separate aggregate measure and does not fill in every sentence-level semantic judgment.

For the character system, granularity comes with a different optimization path and sequence limit. The result establishes what the authors achieve with a practical character setup initialized from smaller sub-words. A comparison designed to isolate the effect of using characters alone would have to account for initialization, training exposure, and the way length limits interact with segmentation. Likewise, selecting checkpoints on ordinary development BLEU answers how the targeted behaviors appear under general translation selection. It leaves open what each setting would achieve at a checkpoint chosen to optimize a particular morphological task.

Finally, the balanced test changes the distribution of examples within the same artificial framework. It is evidence that the key patterns do not depend completely on the size or frequency mix of the original test samples. The added sentences still use the same constructed operations. Their ranking favors edits judged plausible by a sentence-scoring procedure. The check strengthens the internal comparison while leaving direct evaluation on naturally occurring morphology as a separate question.

What came after

Putting segmentation choices in historical context

Between Words and Characters cites the study in a history of open-vocabulary processing and tokenization. Its scope places the translation experiment within the broader choice of how to represent words that a system has never seen. Whole words, intermediate pieces, and characters change which information is explicit in the input and which relationships have to be inferred. Amrhein and Sennrich contribute a specific example of what the choice changes. Several representations can all express a word’s spelling while differing in how successfully a system recovers or produces a rule-governed form. The historical work addresses the larger representation problem in which that result belongs.

Looking at languages through BPE compression

Languages Through the Looking Glass of BPE Compression cites the paper from a line of inquiry centered on BPE compression across languages. The connection begins with the merge criterion. Frequent adjacent sequences become single pieces, so the segmentation depends on the distribution of strings in the language data. The translation experiments show one consequence of that dependence for particular morphological operations. The compression work puts the behavior of BPE across languages at the center of the inquiry. The two perspectives concern different measurements, with one asking how BPE represents recurring material and the other testing whether a downstream system can use that representation to translate a constructed form.

Asking what explains a relationship with morphology

Confounding Factors in Relating Model Performance to Morphology cites the paper in work on how to interpret relationships between morphology and performance. The distinction between pattern frequency and base-word frequency shows why that question matters. A rare output form can reflect a rare rule, an unfamiliar base, or an unfamiliar combination of otherwise frequent material. The Amrhein and Sennrich study controls some of these factors by using a shared corpus and comparing explicit labels with surface forms, then examining test cases by training exposure. The later work addresses the wider problem of what can be inferred when performance varies with morphology and other factors vary alongside it.

Cite

Cite as Chantal Amrhein and Rico Sennrich. 2021. How Suitable Are Subword Segmentation Strategies for Translating Non-Concatenative Morphology?. Findings of the Association for Computational Linguistics: EMNLP 2021.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2021.findings-emnlp.60

@inproceedings{amrhein2021how,
  title = {{How Suitable Are Subword Segmentation Strategies for Translating Non-Concatenative Morphology?}},
  author = {Chantal Amrhein and Rico Sennrich},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2021},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.60},
  url = {https://doi.org/10.18653/v1/2021.findings-emnlp.60}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/amrhein-2021-how-suitable-are-subword-segmentation/