Elamur Research

Exploring diversity in back translation for low-resource machine translation

Paper · 2022 · Laurie Burchell, Alexandra Birch and Kenneth Heafield

Summary

A translation system needs examples of how the same message is expressed in both of its languages. When those examples are scarce, a common way to make more is to start with text in the language the system should produce, translate it in reverse, and use the resulting pairs for training. The original sentences become the answers the system learns to produce. The reverse translations become the inputs it learns to translate. Burchell and colleagues ask how much those artificial inputs should vary, and what kind of variation makes them better training material for machine translation.

The authors distinguish lexical diversity, which includes changes in words and spelling, from syntactic diversity, which concerns sentence structure. For most of their comparisons, they produce three reverse translations of each original sentence. They compare the alternatives using word and character overlap and, where an English parser is available, compare the shapes of their grammatical trees. The generation methods include beam search, which favors likely sequences, and unrestricted sampling, which can choose from the full range of predicted next tokens. Nucleus sampling draws from a changing set of relatively likely tokens. A further method trains separate reverse systems to favor different sentence structures. That method gives the authors a way to increase structural variety more selectively.

The experiments cover low-resource English–Turkish and mid-resource English–Icelandic, in both directions. Across those settings, nucleus sampling gives the strongest final translation results in most comparisons. The paper reports mean gains over training on original bilingual data alone of 2.88 BLEU and 0.078 COMET on the WMT tests. The smaller back-translation baseline, which keeps one beam-search output per original sentence, gives mean gains of 2.24 BLEU and 0.026 COMET. Unrestricted sampling produces even greater variety on the lexical measures, but the authors find more unusual word forms and examples that stray well away from the original meaning. Nucleus sampling also appears less sensitive to whether the test input was originally written in the source language or translated into it.

Training on data generated with a preference for particular sentence structures yields weaker final results than training on sampled data. Its lexical scores rise less than its structural scores, giving the authors a reason to suspect that variety in wording contributes more to the final gains than variety in structure alone. The comparison leaves that explanation open because the generation methods also differ in how faithfully they convey the original message. The most direct finding is about how to generate the extra data in these settings. Giving the reverse system room to vary its wording and structure works well when its choices still tend to produce plausible translations.

Deep dive: Exploring diversity in back translation for low-resource machine translation

This study compares ways to vary back-translated training data and finds that nucleus sampling yields the strongest translation results overall. · about 35 minutes to read

The problem and its context

What monolingual text can supply

A parallel corpus pairs sentences that express the same message in different languages. A translation system can learn from these pairs because it sees both the input and a corresponding output. A monolingual corpus offers only one side. For English-to-Turkish translation, for example, a collection of Turkish news sentences supplies examples of what a good output might look like. It does not come with English inputs that express those sentences. The difficulty is especially important for low-resource languages.

Back translation fills in the missing side. An existing Turkish-to-English system translates the Turkish news sentences into English. Each generated English sentence is then paired with the original Turkish sentence, giving the final English-to-Turkish system an additional training example. The process keeps the Turkish sentence that a writer produced and supplies an artificial English sentence for the system to interpret. The pair is called pseudo-parallel because the source is generated. Its usefulness depends in part on whether that source expresses the message found in the target.

The direction matters because the quality of an artificial pair depends on a separate translation task. Training for English-to-Turkish ultimately depends on how well the available Turkish-to-English system can convert extra Turkish text into English. The process also changes which language has to supply the extra monolingual text. A corpus that helps train one direction provides the inputs to the reverse step, even though it supplies the targets of the final training examples. The paper makes this reversal in both directions of both language pairs.

As the authors describe the earlier work, the quality of the reverse system was already an established concern. The original back-translation study found that a stronger reverse system led to higher BLEU for the system trained on the resulting data, a finding corroborated in later work discussed by Burchell and colleagues. Other lines of research repeated the back-translation process, targeted difficult words, or labeled examples as synthetic so that their origin could be identified during training. These approaches addressed different decisions about how to create or use additional pairs. Improving Neural Machine Translation Models with Monolingual Data, Iterative Back-Translation for Neural Machine Translation, Tagged Back-Translation.

Why the choice of reverse translation matters

Even a good reverse system can express a sentence in several defensible ways. A report can open with a time or place, or it can introduce the people involved first. A writer can use a familiar verb or a less frequent alternative. If the reverse system habitually takes the safest option at each point of ambiguity, the resulting collection can have more uniform phrasing than the language it is meant to represent. Adding large quantities of those inputs may give the final system repeated practice with a narrow set of patterns.

The paper situates this concern in prior studies of the reduced linguistic variety of machine translations. In the authors’ account, a common reason is the preference for the most probable output. The formal decision is often described as maximum a posteriori prediction. For the task here, the practical meaning is that the system assigns probabilities to possible translations and the decoder searches for a high-probability sequence. A decoder is the procedure that turns those probabilities into an output sentence. If it routinely chooses similar words and constructions for similar inputs, sentences can sound acceptable individually while covering a limited range of expressions in aggregate.

Earlier back-translation research had already treated this tendency as a data problem. Edunov and colleagues argued that highly probable reverse translations could be too regular to capture the distribution of real text. They experimented with sampling and with adding noise to beam-search output, finding benefits outside the very lowest-resource conditions they investigated. Soto and colleagues pursued a different route to variety by generating back-translations with multiple translation systems that used different architectures. Burchell and colleagues instead focus on what the resulting variety consists of and how to measure it.

That focus matters because a varied set of strings can arise for quite different reasons. A system might produce alternative words for the same event, while keeping the same grammatical organization. It might also express the event through a different construction. Yet a third way to make the outputs differ is to alter the event itself. The first two can increase the range of valid expressions the forward system encounters. The third weakens the correspondence between an input and the answer it is paired with.

What a diversity score should describe

The literature reviewed by the authors offered several diversity measures but no agreed standard. A common approach compared candidates by looking at the sequences of words or characters they shared. These short contiguous sequences are called n-grams. Changes in wording typically alter their overlap. Rearranging the same words can also reduce overlap because some formerly adjacent words become separated. The score indicates how much of the surface form survives, while the explanation for the change remains open. This is the basis for the paper’s use of the n-gram concept.

The authors call variation in vocabulary and spelling lexical diversity and variation in grammatical organization syntactic diversity. The distinction helps identify which property of generated text a measure is sensitive to. It also gives more precision to a question that otherwise bundles many changes together. Can a dataset benefit from more structural alternatives even if most of its wording remains familiar? Or do the methods that improve final translation derive much of their value from the extra ways they express individual parts of a sentence?

Work on paraphrasing provided a precedent for treating form and meaning separately. The aim there is to change how a message is expressed while preserving the message. The paper describes approaches that steer grammatical form and notes that some depend on resources such as accurate parsers or large collections of paraphrases. That dependence matters in a study about insufficient parallel data. The same languages for which additional training material is especially attractive can also be ones for which it is difficult to build or measure syntactically controlled output. Adversarial Example Generation with Syntactically Controlled Paraphrase Networks, Reformulating Unsupervised Style Transfer as Paraphrase Generation.

Back translation adds a further constraint to this problem. A paraphrase can be inspected against the sentence it rephrases in the same language. Here the candidate sentences are reverse translations, and their adequacy depends on whether they carry the meaning of an original in another language. Two candidates may look very different and both be valid, or one may introduce a different meaning entirely. A score based on the candidates’ differences alone will register both kinds of variation. The paper therefore treats diversity measurements and the final translation evaluation as complementary parts of the experiment.

The method, step by step

From original text to artificial training pairs

Start with the direction in which the final system is meant to translate. Its source is the input language and its target is the output language. The researchers train a reverse system on the available bilingual examples, using the target language as input and the source language as output. They then feed it much more text in the target language. Every reverse translation gives them a source sentence they can use with the original target. When they generate several versions, each version becomes its own training pair with that same original.

This gives the study a way to compare how different reverse translations affect learning. In the main matched-input comparisons, the target sentences come from the same selection. The methods differ in what source sentences the final system sees paired with those targets. The authors can examine the alternatives before training the final system, then test whether the method that produced a particular kind of variety also produced better training data. They keep these as distinct measurements. Candidate diversity concerns the synthetic source sentences. Final translation quality concerns outputs for held-out evaluation inputs.

Generating and testing diverse back-translated training data

The steps in order.

Generating and testing diverse back-translated training dataStep 1: Prepare parallel and monolingual corpora1. Prepare parallel and monolingual corporaStep 2: Train translation systems on parallel data2. Train translation systems on parallel dataStep 3: Translate target sentences in the reverse direction3. Translate target sentences in the reverse directionStep 4: Compare alternative synthetic sources for each target4. Compare alternative synthetic sources for each targetStep 5: Pair synthetic sources with their original targets5. Pair synthetic sources with their original targetsStep 6: Combine artificial pairs with original parallel data6. Combine artificial pairs with original parallel dataStep 7: Train and evaluate the final translation systems7. Train and evaluate the final translation systems

The preparation uses a shared segmentation for the two languages of a pair. The authors concatenate the training data for that pair and learn a byte-pair encoding vocabulary with SentencePiece. The segmentation represents text with units that can be smaller than words. It lets a system build a word out of pieces when the complete word is unavailable as a single unit. The vocabulary size is 16,000, and the character coverage setting is 1.0. The same segmentation is applied to training, development and test text, and the boundaries introduced by it are removed for scoring. The lexical measures thus compare reconstructed text while the decoder makes its decisions over the segmented units. Subword tokenization, SentencePiece.

The reverse and final translation systems use the Transformer architecture and are trained with Fairseq. The authors carry out a hyper-parameter search for each language pair using BLEU as the optimization metric. They use the resulting pair-specific settings across the different conditions for that pair. Keeping those settings fixed helps interpret the experiment as a comparison of the training material. Much of the downstream procedure remains common while the artificial inputs change. The authors also release the code accompanying the experiments. Transformer and attention, fairseq.

Search and sampling

Beam search builds a translation by extending partial candidates with predicted next tokens. At each stage it retains a limited set of promising partial sequences. More than one sequence can remain in consideration, so the search can recover an alternative that would have been missed by taking only the most probable next token. Its preference is still for high-probability sequences. The study uses a beam size of five without a length penalty for its beam-search datasets.

The authors produce three versions of the beam-search data. In the condition called base, they keep one output per input sentence and use three million monolingual sentences. In beam, they use the same input selection and retain three outputs per sentence, giving nine million synthetic pairs. In base-big, they instead use nine million monolingual inputs and keep one output per input. Both of the larger datasets contain nine million artificial pairs, but one gets its size by finding further translations for repeated targets while the other gets its size from a larger collection of original targets.

This distinction separates two practical uses of generation effort. Keeping several high-ranking translations gives the final system repeated practice with different inputs for the same output. Translating more original sentences gives it a wider range of output messages. The additional hypotheses from beam search have to be measured to see how much different practice they offer. They can be separate sequences while differing in only a small portion of the resulting sentence.

Pure sampling changes the rule for selecting a continuation. At each generation step, the system can draw a token anywhere in the predicted distribution. It draws according to probability, so likely tokens are favored, but a token with a much smaller probability is still eligible. Choosing it can also change the probabilities of all subsequent continuations. The paper calls the resulting condition sampling. It uses three candidates per original sentence, generated from the common three million inputs, with a beam-size setting of five. The dataset has nine million lines.

For this procedure, diversity can arise from both plausible alternatives and weakly supported continuations. A different but appropriate early word may lead to a valid version of the sentence. An inappropriate continuation can instead make the rest of the output wander away from the input. Once a generated source changes the message, it still enters training paired with the original target. Increasing the range of choices during generation has a direct cost if the extra choices produce enough mismatched examples.

Nucleus sampling, also called top-p sampling, narrows the choices at each step. The decoder orders the possible next tokens by probability, starts with the most likely, and keeps adding tokens until the cumulative probability exceeds a threshold. It then makes its draw from that retained set. The paper uses a threshold of 0.95 and sets the beam size to five. As with pure sampling, the nucleus condition uses three candidates from each of the shared three million inputs, yielding nine million lines. The authors draw the method from The Curious Case of Neural Text Degeneration.

The threshold rule can be written as follows.

Σᵢ∈N P(tᵢ | c) > p

Here tᵢ is a candidate next token, and i identifies its position in decreasing order of predicted probability. c is the context for the current decision, which includes the sentence being translated and the output already generated. P(tᵢ | c) is the predicted probability of that token given the context. N contains the indices of the shortest initial portion of the ordered candidates that meets the rule. Σᵢ∈N adds their probabilities, > means that the sum exceeds the threshold, and p is that threshold.

The size of the retained set changes with the distribution. If probability is concentrated in a few continuations, those continuations quickly reach the threshold. If the probability is spread across many plausible choices, it takes more tokens to reach it. This makes the method selective about where to allow variety. A fixed number of options at every step would impose the same breadth even when the reverse system expresses very different degrees of uncertainty. Here the probability mass is fixed by the threshold, and the number of options is allowed to change.

Steering the sentence structure

The syntax-group method changes the reverse systems themselves. The authors start with the English sides of the original bilingual training pairs and analyze their structure with the Stanford neural dependency parser. A syntactic parse supplies a structured representation of how parts of a sentence fit together. The authors use the first split of the English parse tree as a group label for each bilingual pair. This allows them to collect examples with the same high-level organization while retaining their original translations. The grouping starts with dependency parsing, using the Stanford neural dependency parser.

The idea is easier to see through the type of structure the paper checks. A sentence can place a prepositional phrase first, with a noun phrase and verb phrase following it. Grouping by the first split places sentences with that broad pattern together even when they share few individual words. Sentences beginning with another kind of construction can fall into a different group. The label describes the broad organization of the English side and leaves its details, including the content words, free to vary.

For each pair, the authors prepare three fine-tuning datasets from the largest groups. For English–Turkish, they merge the third- and fourth-largest groups to make the third dataset because the third group alone was too small for successful fine-tuning. They start each run from the reverse system already trained on all of the original parallel sentences. Continued training on a group then makes that system more inclined to produce the corresponding English structure. This continued training on a selected subset is the paper’s use of fine-tuning.

The three specialized systems supply the alternatives for the same monolingual input. Each is encouraged to express the input in a different form. The authors check that the intervention works by translating the same test material with the parallel-only system and the specialized systems, then comparing how frequently the intended groups occur. In the example they plot, the Turkish-to-English system continued on the second-most-common group produces the corresponding phrase pattern more often than the starting system. The check establishes a change in the frequency of the construction. It leaves open what happens to the meaning of any individual sentence when the construction is encouraged.

The method is available only when reverse translation produces English. The paper attributes this to the lack of suitable parsers for Turkish and Icelandic in the study. The artificial sources from syntax-group fine-tuning are therefore English, and the final directions trained with them run from English into Turkish or Icelandic. The English sentences used to group the original parallel pairs, the generated English candidates, and the side that becomes the final source must line up for the structural intervention to have the intended effect.

Measuring variation within a group of alternatives

The study calculates its inter-sentence diversity measures on groups of candidates generated from the same original. The design gives the candidates a common intended meaning. Comparing unrelated sentences instead would reward differences caused by changes in topic, entities, or events. Grouping makes differences in expression easier to examine, even though two translations of the same input can still disagree about its meaning. For computational reasons, the authors sample 30,000 groups for the inter-sentence calculations.

The first lexical measure is inter-sentence BLEU, or i-BLEU. Ordinary BLEU compares a translation with reference text using overlap in word sequences. In this application, the comparisons are among candidate reverse translations for the same input. The authors take the mean of the comparisons and reverse the scale so that less overlap gives a higher diversity score. The same underlying idea of sequence overlap therefore answers a different question depending on what texts are compared. The diversity calculation uses the BLEU score.

i-BLEU = 1 − mean({BLEU(a, b) : (a, b) ∈ G})

i-BLEU is the lexical diversity score. G collects the candidate pairs the authors compare, each drawn from alternatives to the same original. In a pair (a, b), a and b are the candidate sentences, and BLEU(a, b) is their BLEU comparison on the scale used for the complement. The braces gather the comparison scores, : reads as “for each pair,” and ∈ means the pair is in G. The mean averages the scores over those comparisons. The 1 is the top of the normalized overlap scale, and − subtracts the mean overlap from it. The = gives the resulting definition.

Word sequences make the measure sensitive to more than vocabulary. Moving a phrase can break the sequences that used to surround it. Changing a word’s inflection can remove the whole word as a match. The authors expect differences in lexical choice to be a major driver of i-BLEU, while acknowledging effects from both word order and changes in word form. That mixture is one reason they use a second overlap measure.

Inter-sentence chrF, or i-chrF, follows the same procedure using overlaps between character sequences. A word can change some of its characters and still share sequences with another version of that word. The authors expect this to make the character-based measure less sensitive to some changes in word form than its word-based counterpart. Both overlap measures are calculated with sacreBLEU. The character comparison extends the paper’s lexical analysis through chrF.

i-chrF = 1 − mean({chrF(a, b) : (a, b) ∈ G})

i-chrF is the character-based diversity score. G is the collection of within-input candidate pairs, and a and b are the sentences forming a pair. chrF(a, b) gives the character-overlap score used in that comparison. The braces gather those scores, : reads as “for each pair,” and ∈ marks membership in G. The mean averages the comparisons. The 1 is the top of the normalized overlap scale, − takes the complement of the mean, and = defines the diversity score.

For syntax, the authors parse each English candidate and replace the leaf tokens with a shared dummy token. A comparison can then see whether two trees branch in similar ways without registering a difference simply because the words at the leaves differ. The tree kernel is the procedure the paper uses to compare their structure. The authors calculate the pairwise tree-kernel differences using the implementation they describe, then average them. They interpret a higher result as more structural variation.

D_tree = mean({d_tree(T(a), T(b)) : (a, b) ∈ G})

D_tree denotes the mean tree kernel difference. G contains the within-input pairs, with candidate sentences a and b. T is the operation of parsing a candidate and replacing its leaf tokens with the dummy token, so T(a) and T(b) are the prepared trees. d_tree stands for the pairwise tree kernel difference used by the authors. The braces collect the pairwise values, : reads as “for each pair,” and ∈ indicates membership in G. The mean averages those values, and = gives the dataset measure. The paper describes the source of the kernel implementation and the averaging procedure, leaving the internal kernel calculation to that implementation.

The authors also compare average sentence length, average word length, and vocabulary size across entire datasets. Here a word follows the convention used by the shell’s wc utility. These are coarse checks. A corpus with roughly expected sentence and word lengths can still contain poor translations, while a surprisingly large vocabulary can flag material worth inspecting. Unlike the inter-sentence scores, the corpus vocabulary can also be measured when there is only one synthetic source for each original target.

Experiments and results

The data and evaluation sets

The lower-resource pair is Turkish–English. Its cleaned parallel training data has 202 thousand lines, taken from SETIMES through the WMT 2018 news translation task. SETIMES is a collection of parallel news material. The development data comes from WMT 2016, and the paper reports mean test performance across WMT 16, WMT 17, and WMT 18. The development set serves the training and tuning process, while the reported metrics concern the test sets. Parallel Data, Tools and Interfaces in OPUS.

The mid-resource pair is Icelandic–English, with 3.97 million lines of cleaned parallel data. The authors use ParIce, Paracrawl, WikiMatrix, and WikiTitles from the WMT 2021 news translation task. The development and test material comes from that task, and the final Icelandic–English results concern the WMT 21 test set. In both pairs, results are evaluated for translation into English and translation out of English. WikiMatrix.

The extra monolingual data comes mostly from news-related collections. For English it includes news crawl text from 2016 to 2020, news commentary version 16, and news discussions from 2012 to 2019. Turkish uses news crawl material from 2016 to 2020. Icelandic uses news crawl material from 2020 together with part of the Icelandic Gigaword dataset. The cleaned monolingual collections contain 487 million English lines, 39.9 million Icelandic lines, and 26.1 million Turkish lines. The authors draw 9 million lines at random from each language’s collection, treating the monolingual data as belonging to the same domain as the tests.

From each language’s draw, the authors use the same three million inputs for the matched comparisons. The condition with more distinct beam-translated targets uses the additional six million lines. With both language pairs, the same choice of synthetic data size is combined with different amounts of original bilingual data. That makes the comparisons relevant to two levels of resource availability, while the amount of bitext alone cannot explain differences between the pairs. Their languages, data sources, and test sets also differ.

The final evaluation reports BLEU using sacreBLEU and COMET using wmt20-comet-da. In this setting, BLEU uses the benchmark reference translation rather than another candidate from the reverse system. COMET provides a separate score for translation quality. Higher values are better on both. The authors report the sacreBLEU settings for their evaluation, which matters because BLEU depends on the scoring setup. A Call for Clarity in Reporting BLEU Scores, COMET.

The reference points for the comparison

The parallel-only system for each direction provides the baseline for gauging improvement. It has access to the original bilingual pairs and supplies the starting point for asking whether any of the additional data helps. The parallel-only system in the reverse direction has a separate responsibility as the generator of artificial source text. The same kind of training stage supplies both roles, but the language direction distinguishes the baseline being evaluated from the system that synthesizes its new training inputs.

The three-million-line base condition shows what happens with one beam-search output for each original target in the shared selection. The nine-million-line beam condition shows what happens when the same targets are paired with further high-ranking hypotheses. The base-big condition keeps one output per target and grows the selection of monolingual targets. Both sampling conditions provide the same number of artificial pairs as base-big, using the smaller target selection shared with beam. The comparison with base therefore concerns a smaller conventional back-translation dataset. The comparison with base-big asks whether one can do better at the larger size by producing alternatives for the same targets.

The final systems are trained on the combination of original bilingual data and the relevant synthetic pairs. The experiment does not replace the original parallel corpus with artificial data. A condition that performs well shows that its artificial pairs complement the available originals under this training setup. This is especially important when interpreting imperfect reverse translations. Final improvement can coexist with errors in individual artificial examples because the intervention adds a collection whose aggregate effect is what the benchmark measures.

Final translation quality

Adding back-translated pairs improves most of the reported comparisons with the parallel-only baseline on both metrics. Nucleus sampling gives the strongest final results in most cases. The paper reports a mean gain of 2.88 BLEU over the parallel-only baseline for nucleus sampling, compared with 2.24 BLEU for the smaller beam-search baseline. The corresponding mean COMET gains are 0.078 and 0.026. These figures are changes relative to the parallel-only condition, averaged across the reported WMT settings. They are neither absolute scores nor percentages.

Mean BLEU gains over parallel-only training on the Turkish–English and Icelandic–English WMT tests

Nucleus sampling yields the larger mean gain over training on bilingual pairs alone.

Mean BLEU gains over parallel-only training on the Turkish–English and Icelandic–English WMT testsBeam search with one output per target: 2.24Beam search with one output per target2.24Nucleus sampling (this paper): 2.88Nucleus sampling (this paper)2.88
The numbers
System or settingBLEU gain
Beam search with one output per target2.24
Nucleus sampling (this paper)2.88

Mean COMET gains over parallel-only training on the Turkish–English and Icelandic–English WMT tests

Nucleus sampling also yields the larger mean gain on the separate translation quality metric.

Mean COMET gains over parallel-only training on the Turkish–English and Icelandic–English WMT testsBeam search with one output per target: 0.026Beam search with one output per target0.026Nucleus sampling (this paper): 0.078Nucleus sampling (this paper)0.078
The numbers
System or settingCOMET gain
Beam search with one output per target0.026
Nucleus sampling (this paper)0.078

Pure sampling tends to come close to nucleus sampling on final quality, although it typically gives a weaker result. The size-matched beam-search comparison is a separate point. Both sampling methods often outperform base-big, even though base-big exposes the final system to more distinct monolingual sentences. The paper presents those direction-level results in its plots. The aggregate gains above refer specifically to the parallel-only reference point, so they should be read separately from the comparisons with base-big.

The result identifies an effective way to create the artificial sources under these conditions. It does not make the back-translation output itself the object of the final quality claim. The final BLEU and COMET values concern translation by a system trained with the artificial pairs. The diversity measures, sample translations, and corpus statistics characterize the material on which that final system trained. This distinction explains how a method can produce particularly diverse reverse translations while another method yields the better final score.

What the synthetic datasets look like

The lexical measures consistently rank the sampled alternatives above beam-search alternatives. For synthetic Turkish used to train Turkish-to-English translation, i-BLEU is 38.11 for beam search, 86.69 for unrestricted sampling, and 83.27 for nucleus sampling. The i-chrF scores in the same comparison are 17.91 for beam search, 58.84 for sampling, and 53.95 for nucleus sampling. These values describe the diversity of alternatives generated from English monolingual originals, measured within the sampled groups of synthetic Turkish sentences.

The corresponding synthetic Icelandic is used to train Icelandic-to-English translation. For those groups, beam search yields 30.89 i-BLEU and 16.09 i-chrF. Pure sampling yields 86.41 i-BLEU and 66.06 i-chrF, while nucleus sampling yields 79.67 i-BLEU and 57.83 i-chrF. The order is the same on both measures in both languages. Drawing from the full probability distribution changes candidate wording the most, and restricting the draw to the nucleus still gives substantially more surface variation than keeping several top beam hypotheses.

The vocabulary counts make a related difference visible across entire corpora. For the synthetic Turkish data used to train Turkish-to-English, the vocabulary sizes are 1.0M for the multi-output beam condition, 5.6M for pure sampling, and 3.4M for nucleus sampling. For synthetic Icelandic used to train Icelandic-to-English, they are 0.82M, 11M, and 5.6M for those same conditions. The vocabulary for the larger single-output baseline is 1.6M in synthetic Turkish and 1.3M in synthetic Icelandic. These figures count forms under the paper’s corpus-statistics convention. They do not establish how many additional forms are useful words.

Average lengths offer a different view. In synthetic Turkish, mean sentence lengths of 12.21 for beam search, 13.11 for pure sampling, and 12.74 for nucleus sampling accompany vocabularies of markedly different sizes. In synthetic Icelandic, mean sentence lengths of 14.79 for beam search, 14.92 for pure sampling, and 14.73 for nucleus sampling are close in spite of the changes in vocabulary size. The authors treat such length measures as rough checks for degenerate output. A similar average length leaves plenty of room for the words inside a sentence to become unusual or for its content to shift.

The English sources make it possible to examine the structural results alongside lexical scores. For artificial English generated from Turkish and used to train English-to-Turkish, the tree kernel difference for beam search is 72.20 and the syntax-group result is 83.43. The sampled alternatives are higher, at 97.33 for pure sampling and 95.91 for nucleus sampling. The syntax-group i-chrF score is 23.32, compared with 16.28 for beam search, 57.16 for pure sampling, and 51.82 for nucleus sampling. In this setting, structural fine-tuning moves the dataset beyond beam search on both measures and leaves a wide separation from the sampling conditions in character-based diversity.

For synthetic English generated from Icelandic and used to train English-to-Icelandic, the relationship is more striking. Syntax-group fine-tuning has the highest tree kernel difference in that comparison. Its i-BLEU is 77.17, below pure sampling at 92.31 and nucleus sampling at 88.86. Its i-chrF is 56.90, below pure sampling at 72.20 and nucleus sampling at 67.16. Here the structural measure and the lexical measures pick different methods as the most diverse.

Tree kernel difference on sampled groups of English back-translations from Icelandic

Syntax-group fine-tuning yields the greatest measured structural diversity in this English dataset.

Tree kernel difference on sampled groups of English back-translations from IcelandicBeam search: 65.72Beam search65.72Nucleus sampling: 98.74Nucleus sampling98.74Pure sampling: 99.35Pure sampling99.35Syntax-group fine-tuning (this paper): 99.40Syntax-group fine-tuning (this paper)99.40
The numbers
System or settingTree kernel difference
Beam search65.72
Nucleus sampling98.74
Pure sampling99.35
Syntax-group fine-tuning (this paper)99.40

The figure concerns artificial training sources measured in groups of translations of the same Icelandic target sentence. A high value means the English parse trees differ more under the paper’s metric. It carries no direct information about whether the English sentences preserve the Icelandic meaning. It is also distinct from the final WMT metrics. The authors use the different measurements together to investigate what kind of data produces better translation after training.

What the ablations show

A change of decoder also changes the type of noise

The analyses vary the way synthetic data is produced and used. The comparison between pure sampling and nucleus sampling is particularly informative because both methods generate three candidates per sentence from the same selection of original inputs. They differ in what tokens can be drawn at each generation step. Pure sampling permits draws throughout the predicted distribution, while nucleus sampling limits them to the high-probability portion selected by the cumulative threshold. Greater variety on the overlap measures comes from the full distribution, while the better final translation scores generally come from the restricted one.

The paper’s example from the Icelandic data shows what can lie behind that difference. The original sentence concerns Germans taking control and the aim of establishing a large state. Beam search returns versions that change only small portions of the expression, including shifts in how the intended establishment is described. The sampled group makes far greater changes. Some versions use strings that look like malformed words, and others introduce events or participants unrelated to the original. The range of differences is real from the perspective of an overlap score. It includes changes that undermine the correspondence between the source presented during training and the target the system must learn to produce.

The nucleus examples also differ in wording and organization, with fewer conspicuous problems of word formation in the illustrated group. Nevertheless, some of their phrases depart from the intended content. This matters for interpreting the aggregate gain. Restricting sampling to likely tokens offers a way to keep more of the variation of pure sampling while filtering out some unlikely continuations. It provides no guarantee that a plausible next token leads to a faithful translation. A fluent clause can still express the wrong event.

The corpus statistics support inspecting these outputs more closely. A large vocabulary is compatible with desirable variety, especially when many different forms are legitimate. The authors also find forms absent from the training data in both sampling conditions, with more in pure sampling. The qualitative example gives a concrete mechanism for at least part of the expansion: unusual sequences of sub-word units can form words that do not belong in the sentence. The vocabulary counts offer corroborating context for the adequacy concern. They cannot by themselves tell which entries are genuine words or which altered translations would harm training.

What the syntax intervention isolates

Syntax-group fine-tuning gives the structural comparison a purpose beyond ranking existing decoders. The authors trained it specifically to concentrate on grammatical form. Their check on test output shows that a system continued on a syntactic group uses that group’s construction more often. The check is important because a group label in the training data would have little experimental value if it left the output unchanged. Increased production of the intended pattern confirms that the intervention reaches the sentences the system generates.

The three diversity measures tend to move together for beam search, pure sampling, and nucleus sampling. This is consistent with the relationship between structure and word choice. Moving a clause can require a different connective. Choosing a different predicate can change the pattern of phrases around it. Starting from a different construction can also change which words are needed even if the content is preserved. An observed association between the metrics is therefore compatible with each measure responding more strongly to its intended kind of difference.

The syntax-group results loosen that association. In the Icelandic-to-English reverse data, their high structural score accompanies lower lexical scores than those of the two sampling conditions. The Turkish-to-English reverse data gives a less extreme result. Its syntax-group score is higher than beam search on the tree comparison, while pure and nucleus sampling exceed it. Across both comparisons, the lexical scores for the syntactically directed output remain below the sampling scores. The procedure thus shifts the balance of the measured variation, with the degree of separation depending on the dataset.

The final translation systems trained with the syntax-directed data perform less strongly than those trained with the more broadly varied data. The authors take this as evidence that lexical diversity may matter more than syntactic diversity in this form of augmentation. The Icelandic comparison is informative because improving the structural measure alone would favor the syntax-group condition over nucleus sampling, while the latter gives the stronger overall case in the final evaluation. That weakens the idea that maximizing variation in the parse trees is enough to guide the design of the synthetic corpus.

The syntax intervention also changes how translations can go wrong. In the Icelandic example, some syntax-directed candidates introduce material absent from the original. The authors suggest that the pressure to use a preferred structure can help explain those additions. If inserting a new phrase is an easy way for the reverse system to realize a target construction, the measure of grammatical difference will register the resulting change even when the construction comes at the expense of accuracy. The final score for this condition therefore reflects the effect of a particular generation procedure with its own error profile. The experiment shifts the relative amounts of measured lexical and structural diversity without independently fixing adequacy.

Repeated targets versus additional targets

The comparison with base-big examines a separate explanation for why augmentation helps. The pure and nucleus sampling conditions and the larger one-output beam baseline all have nine million artificial pairs. They use that budget differently. The baseline translates nine million different input lines in reverse and keeps a single hypothesis for each. Each sampling condition translates three million such lines and keeps three versions of each. Because the selected targets are repeated, training on the sampled data repeatedly connects different possible source expressions to the same intended output.

Both sampling conditions often outperform the larger single-output baseline. That establishes that using more distinct original sentences was insufficient to match their results in many comparisons at the same number of artificial pairs. It does not establish whether the advantage came primarily from seeing alternative forms for repeated targets, from properties of the sampled sources taken individually, or from how the two changes interact. The multi-output beam condition gives context for that question because it also repeats targets, but its alternatives tend to differ much less. Repetition supplies the opportunity to vary the source. The generation method determines what the repeated examples actually teach.

The authors propose regularization as one explanation for the advantage. Here the idea is that a system trained on several plausible expressions of the same target has less opportunity to rely on very narrow patterns in the artificial inputs. Learning a relation that must work across varied sources can be harder during training while proving more useful at test time. The paper examines training perplexity, which reflects how confidently a system predicts the training text. Lower perplexity indicates that the training predictions are easier for it to make.

The perplexity plot reports the early training period. Its caption identifies the systems as English-to-Turkish and labels the span as the first 50 thousand steps, while the prose identifies the example as Icelandic-to-English and describes the first 50,000 steps. Both descriptions associate sampled data with higher training perplexity and the larger single-output beam dataset with lower perplexity. The direction is ambiguous because the caption and discussion disagree. The broad observation is consistent with the authors’ suggestion that the sampled data is harder to fit. Training perplexity on its own cannot distinguish desirable resistance to narrow patterns from difficulty caused by mistakes in the artificial pairs.

Translation from original and translated text

The authors also ask whether improvements transfer to text originally written in the source language. Their example is the WMT English-to-Turkish setup. One half consists of originally English text translated into Turkish. The other comes from originally Turkish text translated into English. The source presented to the English-to-Turkish system is English in both cases, but in the second half that English was itself created by translation. The paper uses “translationese” to discuss the characteristics of text with this history and the differing scores it can produce.

This distinction connects directly to the intervention. The synthetic English used to train an English-to-Turkish system was translated from Turkish. Its translated origin is shared by the English inputs in the half of the test set with original Turkish targets. A gain on that half could partly reflect that the system was trained on more examples with this broad source-side property. The other half evaluates it on originally English inputs, which the authors describe as the usual translation situation of interest in this comparison.

The split analysis uses mean percentage changes in BLEU relative to the parallel-only baseline within each half. This is a different comparison from the mean BLEU gains reported for the overall tests. The plotted bars show how much each augmented system improves on its corresponding reference point when translating towards native text and when translating from native text. Because the percentages are computed against baselines for the respective halves, the question is how much the augmentation helps on each kind of input.

Across the systems, the gains are larger on the half whose source was already translated. The paper reports that the drop in gain on originally written source text appears smaller for nucleus sampling than for the other datasets. The authors connect this observation to the possible regularizing effect of varied synthetic sources. If the final system learns from a broader range of synthetic expressions, it may depend less on characteristics that make translated inputs unusually amenable to translation. The analysis shows the difference in observed gains across the halves. The regularization account remains an explanation for that difference.

Limitations

Limits identified by the authors

The authors restrict their investigation to lexical and syntactic diversity while allowing that diversity could be understood in other ways. Their measures consequently cover selected observable properties of the output. Word and character overlap capture differences in surface form, and the tree comparison examines grammatical structure with lexical leaves masked. The framework offers a more differentiated account than a single overlap score, but it still describes a portion of what changes between candidate translations.

The authors also emphasize that wording and syntax are difficult to disentangle. A change in structure often changes the words needed to express a message. A different lexical choice can call for a different construction. The weaker association among the scores for syntax-group output shows that the balance can shift, but the paper leaves a more independent test of lexical diversity for future work. Its conclusion that lexical diversity may be more beneficial is accordingly a hypothesis supported by the comparison, while the choice of nucleus sampling has the more direct benchmark evidence.

Suitable syntactic parsers limit the reach of the work. The authors can perform the syntax-group intervention and calculate the tree measure on English output. The experiments give no corresponding tree scores for artificial Turkish or Icelandic. Strong results on the lexical measures for those languages do not fill this gap, since the entire point of adding the tree measure is that surface overlap is an incomplete account of structural change. The authors expect the method could be used where a reasonable parser exists, and the study demonstrates its use for English.

Computation constrains the diversity measurement as well. The authors use 30,000 groups for the inter-sentence comparisons rather than scoring the full collection. Those scores estimate how much the synthetic candidates usually differ for the same target. The separate counts of sentence length, word length, and vocabulary use the complete datasets. This difference in coverage matters because a diverse vocabulary across a corpus and a diverse set of alternatives within a group describe different properties. The former may grow simply by including more original topics, while the latter can rise with repeated targets whose generated sources vary.

The paper explicitly identifies adequacy as a constraint. Diversity is useful only to the extent that the artificial pairs continue to provide workable input and output correspondences. Pure sampling and syntax-directed generation can both produce substantial differences through departures from the intended meaning. The authors use examples and corpus statistics to support that interpretation and leave open how to increase lexical variety independently. They also leave open how best to gain from monolingual data while reducing the extra benefit that appears on translated test sources.

Limits of the comparisons

The study tests language pairs that supply enough bilingual text to train a usable reverse system. Its low-resource pair has 202 thousand cleaned parallel lines, and its mid-resource pair has 3.97 million. Below the conditions examined here, a less capable reverse system might assign its highest probabilities differently, with consequences for what the nucleus retains. There is no experiment here that maps final quality against a range of much smaller parallel corpora. Similarly, the reported top-p setting of 0.95 is one tested choice, so the results do not establish how the tradeoff changes as the threshold moves.

The augmentation is evaluated in a news translation setting, with the authors drawing monolingual material they treat as belonging to the domain of the tests. That alignment is part of the comparison. A collection in a different domain could change the subjects and style of the targets, in addition to the source variation studied here. The paper also searches for a common architecture and training setup within each language pair, then holds the pair’s settings across conditions. This makes the comparison easier to attribute to data generation but leaves open whether different systems or training procedures would produce the same ordering.

The structural intervention depends on the parser, the chosen grouping rule, and the sizes of the available groups. Masking the leaves reduces the direct contribution of word identity to the tree comparison. It cannot reverse any effect those words had on the parser’s original analysis. Unusual generated strings can therefore still affect the resulting tree. Similarly, the first split is one description of high-level form. It misses differences deeper in a tree when the first split is shared, and a broad category can include sentences with quite different internal organization. The measured effect concerns syntactic variation as captured by these particular procedures.

Adequacy is also unevenly observed across the conditions. The final WMT scores tell how well the systems translate after training, and the illustrative examples show how artificial inputs can lose meaning. The study does not report a separate corpus-wide adequacy score for the candidate groups. A larger vocabulary or a greater tree difference may accompany meaningful alternatives, errors, or both. Without comparable measurements of candidate meaning across all conditions, it remains difficult to decide which aspect explains a particular final-score difference between generators.

The comparison at equal artificial corpus size addresses one practical decision but combines several changes. Across the sampling and large beam conditions, the number of distinct originals, the number of outputs per original, and the way outputs are selected all differ. The matched-input comparisons hold the original set more closely fixed, but differences in adequacy and in the balance of lexical and syntactic variation remain. The most direct unit of evidence is the full condition the authors ran. It supports a choice among those conditions more readily than a numerical estimate of the contribution of any one property.

Finally, the conclusion about originally written inputs rests on the native and translated halves of the WMT evaluations. It offers a more targeted view than an aggregate score over those halves. It does not isolate everything that might differ between them or establish that the same size of effect would occur on other test sets. Alongside the discrepancy in the direction named for the perplexity plot, that leaves the mechanism behind nucleus sampling’s advantage less firmly established than the observed advantage itself.

What came after

There are no later citing studies to discuss here. The paper leaves two follow-up questions open. One is whether a procedure that varies wording while keeping both structure and meaning comparable would reproduce the advantage attributed to lexical diversity. The other is whether the benefits of back translation can carry over more fully to originally written source text without giving up the gains from monolingual data. The experiments provide a comparison for future work on both questions: nucleus sampling delivers the strongest overall translation results in the tested settings, while the separate diversity and test-split analyses show where the explanation still needs evidence.

Cite

Cite as Laurie Burchell, Alexandra Birch and Kenneth Heafield. 2022. Exploring diversity in back translation for low-resource machine translation. Proceedings of the Third Workshop on Deep Learning for Low-Resource Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2022.deeplo-1.8

@inproceedings{burchell2022exploring,
  title = {{Exploring diversity in back translation for low-resource machine translation}},
  author = {Laurie Burchell, Alexandra Birch and Kenneth Heafield},
  booktitle = {Proceedings of the Third Workshop on Deep Learning for Low-Resource Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.deeplo-1.8},
  url = {https://doi.org/10.18653/v1/2022.deeplo-1.8}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/burchell-2022-exploring-diversity-back-translation-low/