---
title: "Rethinking Data Augmentation for Low-Resource Neural Machine"
description: "Reversing target sentences as an auxiliary task helps low-resource machine translation systems rely on their inputs and handle unfamiliar text."
canonical: "https://research.elamur.ai/free/en/papers/cartagena-2021-rethinking-data-augmentation-low-resource/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/cartagena-2021-rethinking-data-augmentation-low-resource/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / Rethinking Data Augmentation for Low-Resource Neural Machine Translation: A Multi-Task Learning Approach

# Rethinking Data Augmentation for Low-Resource Neural Machine Translation: A Multi-Task Learning Approach

Paper · 2021 · Víctor M. Sánchez-Cartagena, Miquel Esplà-Gomis, Juan Antonio Pérez-Ortiz et al.

**Authors:** [Víctor M. Sánchez-Cartagena](https://md.research.elamur.ai/free/en/authors/victor-m-sanchez-cartagena/), [Miquel Esplà-Gomis](https://md.research.elamur.ai/free/en/authors/miquel-espla-gomis/), [Juan Antonio Pérez-Ortiz](https://md.research.elamur.ai/free/en/authors/juan-antonio-perez-ortiz/) and [Felipe Sánchez-Martínez](https://md.research.elamur.ai/free/en/authors/felipe-sanchez-martinez/) · **Year:** 2021 · **Venue:** Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Cited by **13** papers in our library of more than 163,000 papers whose bibliographies we read · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · [licence](https://creativecommons.org/licenses/by/4.0/)

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

## Summary

When a translation system has few examples to learn from, adding artificial sentence pairs seems like a natural way to help. A common approach is to create plausible variations on the available examples, so the system encounters more of the words and combinations it may see later. Sánchez-Cartagena and colleagues ask whether artificial examples can help for a different reason. In [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/), where parallel text is scarce, an extra exercise could teach the system to use the original sentence more effectively even if the exercise produces text that nobody would normally write. One of their exercises asks the system to produce the translation in reverse word order. The research question is whether learning that exercise improves ordinary [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/).

The authors call their approach multitask learning data augmentation, or MTL DA. They keep the original translation pairs and create additional versions for auxiliary tasks. One task reverses the target words, another arranges them to follow the order of the source, and another replaces corresponding words on both sides. An artificial token on the source side tells the system which task to perform. A common encoder and decoder learn from all the tasks, with a final period of [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) on ordinary translation. The idea is to give the decoder practice in settings where the target prefix, the words available before the next prediction, offers weaker clues about what to produce. The source sentence can supply information that those clues leave out.

Across six directions between [English](https://md.research.elamur.ai/free/en/topics/english/) and German, Hebrew or Vietnamese, the combination of reversal, source-order rearrangement and aligned replacement achieved the highest mean [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) in the in-domain tests using IWSLT parallel data. The paper reports gains of 1.1 to 1.9 BLEU points over the unaugmented baseline. The combination also beat SwitchOut and RAML, methods that randomly replace words to broaden the range of training examples. Adding back-translated English data raised performance further, and the auxiliary tasks retained an advantage over the other systems trained on that expanded corpus. Tests on IT, law and medical text showed gains for English–German translation in both directions, with the clearest results for the combined tasks.

The paper also checks whether the gains accompany a change in how predictions are made. On held-out examples with controlled sentence lengths and reference prefixes, an attribution analysis assigned a larger share of prediction relevance to the source after auxiliary training. On the English–German tests, an automatic screen also found fewer cases where the augmented system produced a very low-overlap output and the baseline gave a substantially better one. Those measures have distinct meanings. The attribution analysis describes predictions made under controlled conditions, while the error screen flags possible hallucinations using resemblance to a reference. Together with the translation scores, they support the authors’ case that deliberately awkward exercises can improve how a system uses its input.

## Deep dive: Rethinking Data Augmentation for Low-Resource Neural Machine Translation: A Multi-Task Learning Approach

Reversing target sentences as an auxiliary task helps low-resource machine translation systems rely on their inputs and handle unfamiliar text. · about 34 minutes to read

**In this deep dive**

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

### The problem and its context

#### When paired examples are scarce

A parallel corpus pairs a sentence in one language with a translation in another. These pairs show a translation system which content should carry across and how that content can be expressed in the target language. The paper takes the scarcity of such corpora as the practical obstacle. Training a reliable neural translation system ordinarily requires substantial parallel material, and its availability varies by language pair. Even a corpus large enough to train a system may leave many words and constructions thinly represented. A system trained on talks, for example, can later be asked to translate instructions or legal text whose phrasing differs from what it saw during training.

The paper describes several responses to that shortage. Transfer learning can start from a system trained on a better-resourced pair. Linguistic input features can provide information alongside the text. Multilingual training can share a system across different language pairs. Data augmentation, the focus here, creates further training examples artificially. Each option changes what evidence the translation system encounters. Augmentation can start directly from the available sentence pairs, an important property when collecting or preparing additional resources is difficult. The paper places this family of methods in the context of [A Survey of Data Augmentation Approaches for NLP](https://md.research.elamur.ai/free/en/papers/feng-2021-survey-data-augmentation-approaches-nlp/).

A common justification for augmentation begins with the difference between the sentence pairs observed in a corpus and the full range of parallel sentences that might occur. The corpus samples that larger range unevenly. A particular word can be rare, and a combination of familiar words may be completely absent. In the paper’s notation, p̂(x, y) is the empirical distribution of sentence pairs, p(x, y) is the true distribution, and q(x, y) is the distribution after augmentation. The source sentence is x and the target sentence is y. The hat identifies the estimate derived from the corpus. The support of a distribution is the set of pairs to which it gives some probability. Widening that support exposes a system to cases it would otherwise encounter for the first time when translating.

The paper uses RAML, short for reward augmented maximum likelihood, and SwitchOut as examples of this rationale. Both involve replacing selected words with vocabulary samples. Uniform sampling for the replacement word gives infrequent vocabulary items more exposure than their occurrence in the corpus would ordinarily give them. The paper also describes a related proposal by Guo and colleagues in which replacement words come from another sentence. The methods differ in where they draw replacements, but in each case the training procedure expands the set of inputs or outputs the system must handle. [SwitchOut](https://md.research.elamur.ai/free/en/papers/wang-2018-switchout-efficient-data-augmentation-algorithm/)

Augmentation was also commonly used to create parallel material from text available in only one language. In back-translation, the extra text is in the desired output language. A translation system turns it into the input language, and the result is paired with the original text. Forward translation starts with a source sentence and generates the target. The paper notes that both directions of synthetic generation had also been tested using the corresponding halves of the existing parallel corpus. In that setup, extra monolingual material is unnecessary, although translation systems still have to generate the artificial side. [Exploiting Source-side Monolingual Data in Neural Machine Translation](https://md.research.elamur.ai/free/en/papers/zhang-2016-exploiting-source-side-monolingual-data/)

#### Why the previous target words matter

In the translation setup at issue, an encoder reads the source and supplies representations of its tokens. A decoder produces the target sequence in order. At each step, it can draw on the encoded input and on its target prefix. The prefix is empty at the start, then becomes more informative as the sequence grows. A partially written phrase can make its continuation easy to predict, especially when the phrasing is familiar. The source still determines whether that continuation expresses the right content. This distinction matters when the source contains something unexpected or when the decoder’s earlier choices have already put the translation on the wrong track.

The authors were motivated by an earlier analysis by Voita and colleagues. It found that source tokens could contribute less to predictions as decoding advanced, and that systems trained on more genuine parallel material tended to use source information more strongly. It also supplied a way to examine source and prefix contributions separately. The new paper asks whether training on deliberately altered tasks can produce a change in that same direction when additional genuine pairs are unavailable. The experiments therefore address both an observable outcome, better ordinary translations, and a proposed reason for it, greater use of encoded input.

The analogy with one-to-many multilingual translation helps explain the proposal. A system trained to translate from the same source language into different target languages must support more than one kind of output from a shared representation. The authors draw on prior work associating this setup with richer encoder representations. Their auxiliary tasks create a related demand within a single translation direction. A source sentence can be used to teach ordinary translation, reverse-order generation or another output operation. A source-side control token distinguishes those requests while the components that read and generate text are shared. [Multi-Task Learning for Multiple Language Translation](https://md.research.elamur.ai/free/en/papers/dong-2015-multi-task-learning-multiple-language/)

The proposed change concerns the demands placed on the system during learning. Reversing a target sentence leaves its vocabulary intact but makes its familiar forward continuations unavailable in their usual order. Reordering it to follow the source can similarly weaken the value of fluent target context while creating a more direct correspondence across the languages. Replacing aligned words can put an unexpected word into a target sentence and give the system a clue about that word on the source side. In each case the authors want successful prediction to depend more heavily on information that the encoder makes available.

#### What the proposal inherits from earlier work

Several of the paper’s individual transformations have precedents. Word swapping had been used in unsupervised translation. Prior work had replaced tokens with placeholders, including on the source side in conjunction with exercises for detecting replaced or dropped tokens. Other research experimented with replacements on the target side. The paper also relates its placeholder intervention to word dropout, where depriving a sequence generator of some context encourages it to use information available through another route. The new question concerns using such changes as separately identified exercises within supervised translation. [Generating Sentences from a Continuous Space](https://md.research.elamur.ai/free/en/papers/bowman-2016-generating-sentences-continuous-space/)

There were precedents for order and vocabulary changes as well. The paper points to a right-to-left self-translation approach that generates translations during training and adjusts several loss terms. It also discusses work that substitutes rare words on both sides of an aligned pair, with a language-based selection procedure intended to preserve target fluency. That earlier work and the present paper share the idea of matching a changed source word with a changed target word. The paper’s replacement task draws the pair from a training-derived lexicon and accepts the awkward sentence that can result. In its framework, that awkwardness is part of the exercise.

The source-copying task raises a different historical comparison. Previous studies cited by the authors had found examples with source text copied to the target side potentially harmful. Beneficial copying had been demonstrated in the other direction, putting target-language monolingual text on the input side as well. The distinction is important for understanding the experiment. Here the copy is identified by its own task token, and it is used to ask whether making the source immediately necessary can help ordinary translation through shared training. [Copied Monolingual Data Improves Low-Resource Neural Machine Translation](https://md.research.elamur.ai/free/en/papers/currey-2017-copied-monolingual-data-improves-low/)

Finally, indicating the desired output with an extra token is itself an established technique. The paper relates its use to control over translation politeness, multilingual translation, and work that identifies back-translated examples with a tag. In each case an input marker supplies information about the desired behavior or provenance. Here the marker tells the system which operation to apply to a sentence pair. The underlying experimental question is how much the system can learn from an explicitly marked exercise whose answers fall well outside ordinary target-language usage. [Tagged Back-Translation](https://md.research.elamur.ai/free/en/papers/caswell-2019-tagged-back-translation/)

### The method, step by step

#### Turn a sentence pair into a separate exercise

Start with a genuine example containing a source sentence and its translation. That pair stays in the training corpus for the main task. For the reversal exercise, make another example with the same source content and the target words in the opposite order. A task-specific token on the source side identifies the new instruction. Examples for ordinary translation use their own marker in the multitask system. With that distinction, the same source words can support different answers without presenting those answers as interchangeable translations.

Each auxiliary task produces a synthetic corpus equal in size to the original training corpus by transforming every original pair. Combining tasks means adding the corresponding corpora, each with its own marker. The original and synthetic examples all train the same encoder and decoder. At the end of joint training, the authors continue with ordinary translation examples alone. The system is then tested on ordinary translation. The synthetic output orders are training tasks whose value is judged by what transfers to the main task.

From parallel sentences to a translation system The steps in order.

Because the work is shared, learning an exercise can affect the way ordinary translation is performed. The encoder processes source sentences in every task. The decoder must learn how to use its representations while also handling the target history associated with each task. The marker gives the system a way to interpret that history. A backward sequence can call for a continuation very different from the continuation of an ordinary translation, even though both sequences express the content of the same source sentence. The authors use a standard [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) for this setup, drawing on the architecture introduced in [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/).

#### Reverse the target or move it toward source order

In the `reverse` task, the system learns to output the target words in the opposite order from the original sentence. The paper’s example is a German sentence translated into English as a statement about other ways of breaking a pyramid. In the reverse exercise the period comes first, and the English words near the end of the ordinary translation are generated before those near the beginning. The source content remains in its ordinary order. The transformation is systematic, so the exercise has a reproducible answer and contains the same target words as the original.

Reversal changes when each piece of information is needed. A word near the end of the ordinary translation would usually be predicted with most of the sentence already available as context. Its position near the beginning of the reversed sequence gives the decoder a shorter and differently structured prefix. The authors expect this to give it practice retrieving information from the source that would be easier to predict from the prefix in ordinary order. The exercise can strengthen this behavior without introducing rare words or adding an external corpus. A backward prefix can still provide clues once some words have been generated. The intervention changes which clues occur at a given position.

The `mono` task, named for monotonic alignment, gives the decoder an order closer to that of the source. A word alignment links words across the two halves of a translated pair. An alignment is monotonic when progressing through the source also takes the corresponding target material forward through its sequence. Natural translations frequently change the order of material, so putting the target words into source order can yield awkward text even if every word came from a genuine translation. In the pyramid example, the English words referring to the pyramid move ahead of the words expressing the act of breaking it.

For `mono`, the authors use alignments from source to target in which a source word can correspond to multiple target words. Those links guide the target rearrangement. The source itself stays in place. Compared with reversal, the output order now depends on how a particular pair’s words correspond. A consistent structural principle still determines the exercise. The hypothesis is that source order can make the target position easier to infer from the encoder even while the resulting sequence is less predictable as fluent target text.

#### Change what the target prefix tells the decoder

The `swap` and `token` tasks weaken the ordinary target context in different ways. Swapping moves target words to other positions. Replacing words with placeholders removes their identities from the auxiliary target. Both preserve the source content. For either task, the original parallel pair remains available as an example of ordinary translation. These altered versions teach the decoder to handle a prefix containing a different sequence of cues from the one in the original.

In `swap`, randomly chosen target words exchange positions in pairs. The procedure continues until the number still occupying their initial positions is given by the following expression.

```
(1 − α) · t
```

Here α is the chosen proportion of target words to affect, and t is the word count of the original target sentence. The expression in parentheses gives the proportion left in their original positions. The subtraction supplies the complement of α, and the multiplication by t expresses it as a word count. Since the moves are random, the altered sequence lacks the consistent ordering rule of reversal. A word’s presence in the prefix gives less assurance about which familiar construction the next word will complete.

In `token`, randomly selected target words are replaced with the special symbol `UNK`. Each placeholder occupies the position of the word it replaces. The method uses the following expression for the number of positions to select. The same expression also sets the intended number of aligned pairs to replace in the bilingual exercise.

```
α · t
```

Here α is the proportion selected for the particular task, t is the number of words in the original target, and the multiplication gives the intended count. `UNK` marks a missing word identity in this auxiliary output. When the decoder is predicting a later word, earlier placeholders withhold information that an unaltered prefix would have supplied. Predicting the placeholders themselves is also part of the exercise. The source remains available, so its representation can help with the content still required on the target side.

The paper illustrates these proportion-controlled operations with α set to 0.5 in its German–English example. That value explains the illustration. In the experiments the authors select α from development results, and the settings differ across tasks and translation directions. The distinction matters because the name of a task specifies the type of change while α controls its extent. An example containing a great deal of alteration and a training run using relatively little alteration still implement the same task.

#### Copy the source or replace aligned words

The `source` task uses the source sentence itself as the output. For the example about a pyramid, the auxiliary target is German, just like the input. The decoder can reproduce the words by using the encoded source. This is a strong way to make the input informative, and it changes the auxiliary target vocabulary to that of the source language. A distinct marker specifies that the expected behavior is copying. The designers can then ask whether training on this straightforward source-dependent operation provides useful practice for a different operation, translating.

The `replace` task changes both sides of the pair. The authors select aligned source–target word pairs at random, then replace each selected pair with a random entry from a bilingual lexicon created from the training corpus. If fewer aligned pairs are available than the intended count, they use all the available pairs. Both positions receive a replacement, each in its corresponding language. Accordingly, a target word that fits poorly with the rest of its sentence can still have a matching clue at an aligned source position.

The pyramid example illustrates the difference between preserving a bilingual link and preserving the meaning of the full sentence. After replacements, the English side contains words about arming, cold and chess alongside remnants of the original phrasing. Those insertions make the sequence hard to anticipate from its surrounding English words. The paired German replacements give a route to predicting them. The auxiliary example need only exercise the proposed relationship between source evidence and target prediction. The genuine pair continues to teach the original sentence meaning.

The alignments for `replace` are more restrictive than those for `mono`. The authors obtain one-to-many alignments in both directions using mgiza++, then intersect them to get one-to-one correspondences. For the lexicon, each source word is associated with the target word most frequently aligned with it in those correspondences. A replacement entry therefore contains a bilingual association backed by the corpus. The task constructs its exercises from that association and the positions in the example selected for editing. [Parallel Implementations of Word Alignment Tool](https://md.research.elamur.ai/free/en/papers/gao-2008-parallel-implementations-word-alignment-tool/)

#### Prepare and train the systems

The experimental corpora are processed with Moses scripts for [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) and truecasing. Tokenization separates the units used for the initial processing, and truecasing normalizes capitalization. At this stage the authors remove training sentences with more than 100 tokens or fewer than 5. They then learn a shared vocabulary from the concatenated source and target sides using byte-pair encoding with 10,000 merge operations. This form of [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/) represents text in units that can be smaller than a word. The authors also filter training pairs with more than 100 byte-pair encoding tokens. The word counts governing the transformations and the sub-word units used by the translation system serve different roles. [Neural Machine Translation of Rare Words with Subword Units](https://md.research.elamur.ai/free/en/papers/sennrich-2016-neural-machine-translation-rare-words/)

The authors train with fairseq and use 8,000 warmup steps, a setting for the initial phase of the learning-rate schedule. Training uses a single GPU and mini-batches of 4,000 tokens. The authors check development performance every 1,000 updates and set patience to 6 validation cycles. Patience allows training to continue for a period when the development BLEU score fails to improve. They keep the checkpoint with the best score on that split. For MTL DA, joint training is followed by fine-tuning on the main task, so the final training stage concentrates on the kind of output required at test time. The authors release the experimental code as `mtl-da-emnlp`. [fairseq](https://md.research.elamur.ai/free/en/papers/ott-2019-fairseq-fast-extensible-toolkit-sequence/)

For `swap`, `token` and `replace`, the authors explore α values in [0.1, 0.9] at intervals of 0.1. RAML and SwitchOut use a temperature τ to control their sampling. The authors explore values around those used in the SwitchOut work and report settings as inverse temperatures. For the joint SwitchOut and RAML system, they first select the source-side SwitchOut temperature and hold it fixed while choosing the target-side RAML temperature. The paper’s training details specify that augmentation settings are chosen by development BLEU on the first training run. The repeated runs use the selected values. Experiments with added back-translated data reuse the values chosen with the parallel corpus.

This procedure establishes what is common across comparisons and what varies. The architecture, basic translation task and benchmark splits provide a common frame. The auxiliary transformation changes the examples, the tag identifies the requested operation, and the fine-tuning stage returns the system to ordinary translation. The older augmentation methods alter examples through vocabulary sampling. Because these choices form a training recipe, the comparison measures the outcome of that recipe as implemented. The paper’s later analyses examine which behaviors accompany it.

### Experiments and results

#### The training corpora and test conditions

The paper evaluates translation in both directions between English and each of German, Hebrew and Vietnamese. For English–German and English–Hebrew, the training material comes from the IWSLT 2014 text translation track and consists of TED and TEDx talks. The development split is `tst2013`, and the in-domain test split is `tst2014`. English–Vietnamese uses TED talk material from the IWSLT 2015 text translation track, with `tst2012` for development and `tst2013` for testing. The names of the splits matter because the study chooses settings on development data and reports the main translation scores on held-out tests.

The reported parallel training sizes are 174,443 sentence pairs for English–German, 187,817 for English–Hebrew and 133,317 for English–Vietnamese. The two directions of a pair use the same bilingual material, with the language assigned to the input and output reversed. Direction changes both the text the encoder sees and the text the decoder must predict. Thus a result for English into a language and a result for translation back into English are separate tests of the method even though they share parallel data.

The paper also creates expanded training corpora for translation into English. The authors collect the English monolingual material from the IWSLT 2018 shared task on low-resource translation of TED talks, excluding sentences already present in the original training pairs. They translate those English sentences into the other language and use the generated text on the source side. The resulting combined training corpora contain 269,213 English–German pairs, 282,587 English–Hebrew pairs and 228,087 English–Vietnamese pairs. This gives the system additional examples with genuine English targets and synthetic inputs. The auxiliary tasks impose changes that address a different part of learning, primarily the conditions under which target words are predicted.

A separate domain robustness evaluation reuses systems trained on the talk corpora and tests them on IT, law and medical documents. The paper performs this comparison for English–German in both directions. It reports the systems trained using IWSLT parallel data in this experiment, including the augmentation settings that use only those pairs as their starting material. The domain change therefore occurs at test time. Improvement on these benchmarks asks whether the training behavior carries over when the input and expected translation differ from the styles encountered in talks.

#### The comparisons and the metrics

The baseline learns ordinary translation on the available training corpus. SwitchOut replaces sampled words on the source side, whereas RAML does so on the target side. Their combination provides a comparison with perturbations on both sides. The parallel-data experiment evaluates each auxiliary task of MTL DA separately and also evaluates combinations. In the expanded-corpus experiment, the authors compare the baseline, the joint SwitchOut and RAML setting, and the best auxiliary-task combination. Giving these systems the same expanded corpus lets the reader see what MTL DA adds in the presence of back-translation.

For the main results, BLEU quantifies how closely generated translations match the reference wording by using sequences of tokens. It is an automatic score for translation output, with higher values preferred. The paper computes it with SacreBLEU and reports means and standard deviations from three executions in the parallel-data experiment. A mean describes the performance across runs, while the standard deviation describes their spread. The reported highest mean and the paper’s highlighting of nearby results should be read with that variability in mind. [A Call for Clarity in Reporting BLEU Scores](https://md.research.elamur.ai/free/en/papers/post-2018-call-clarity-reporting-bleu-scores/)

The appendix gives [chrF++](https://md.research.elamur.ai/free/en/concepts/chrf/) as a complementary metric. It incorporates overlap based on characters along with word sequences, so it can respond differently to differences in spelling or inflection. The authors give scores for the in-domain parallel and expanded training conditions as well as the domain robustness tests. The broad trends agree with BLEU, although comparisons among nearby settings can look different. For the hallucination analysis, the authors use a separate, adjusted sentence-level form of BLEU. Its threshold and purpose differ from those of the corpus-level scores. [chrF++: words helping character n-grams](https://md.research.elamur.ai/free/en/papers/popovic-2017-chrf-words-helping-character-n/)

#### Results with the parallel training pairs

The strongest combination uses `reverse`, `mono` and `replace`. It has the highest reported mean BLEU in every direction, sharing the highest mean with `reverse` plus `replace` for Hebrew into English. On the IWSLT 2014 `tst2014` test split, the mean for English into German is 26.4 with the three tasks and 24.7 for the baseline. For German into English the corresponding means are 31.4 and 30.0. The German–English case also shows how performance varies among the auxiliary settings. Reversal alone has a mean of 30.2, aligned replacement reaches 30.7, and using both reaches 31.1. Adding `mono` gives the highest mean in that direction.

German-to-English IWSLT 2014 tst2014 mean BLEU with parallel training data The combined auxiliary tasks lead the comparison, and aligned replacement is the strongest individual exercise shown.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Baseline | 30.0 |
| SwitchOut | 30.1 |
| RAML | 30.3 |
| SwitchOut + RAML | 30.3 |
| Reverse | 30.2 |
| Replace | 30.7 |
| Reverse + replace | 31.1 |
| Reverse + mono + replace (this paper) | 31.4 |

For English into Hebrew on `tst2014`, the baseline scores 21.5 ± 0.3 BLEU, the combination of SwitchOut and RAML scores 22.1 ± 0.4, and the three auxiliary tasks reach 23.2 ± 0.3. For Hebrew into English on that split, the respective results are 32.4 ± 0.1, 32.1 ± 0.4 and 33.9 ± 0.5. The joint vocabulary replacement baseline therefore has different outcomes in the two directions. The auxiliary-task combination exceeds the corresponding unaugmented baseline in both.

For English into Vietnamese on the IWSLT 2015 `tst2013` split, mean BLEU rises from 28.9 for the baseline to 30.5 for the three-task system. SwitchOut and RAML have means of 28.5 and 28.6 when used separately, and their combination reaches 29.1. In the opposite direction, Vietnamese into English, the baseline scores 27.5 ± 0.4. Switching out source words and applying RAML to the target together gives 27.5 ± 0.3, and the three-task system reaches 29.4 ± 0.3. The two-task `reverse` and `replace` combination reaches 28.8 ± 0.2 in that direction.

The appendix supports the overall pattern using chrF++. For instance, on `tst2013` for Vietnamese into English the mean is 49.2 for the baseline and 51.5 for the three-task combination. On `tst2014` for English into German, those means are 52.0 and 53.8. The paper summarizes the in-domain BLEU improvements over the parallel-data baseline as ranging from 1.1 to 1.9 points, with an average of around 1.6 points. The range describes the best combination against the baseline across the tested translation tasks. It does not characterize every individual exercise.

#### Results with back-translated data

The expanded-training comparisons show that the auxiliary approach can contribute after adding extra sentence pairs by back-translation. For German into English on `tst2014`, training on the expanded corpus yields 31.3 ± 0.5 BLEU for the baseline, 31.7 ± 0.8 for SwitchOut plus RAML and 32.3 ± 0.1 for the three auxiliary tasks. For Hebrew into English, the combination of the older augmentation methods scores below the expanded-corpus baseline, while the multitask system has the highest mean. For Vietnamese into English on `tst2013`, the corresponding means are 29.3, 29.9 and 30.4. These results concern directions into English because English supplies the monolingual targets.

Hebrew-to-English IWSLT 2014 tst2014 mean BLEU with back-translated training data The combined auxiliary tasks improve on the expanded-data baseline, while joint vocabulary replacement falls below it.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Baseline | 34.5 |
| SwitchOut + RAML | 34.1 |
| Reverse + mono + replace (this paper) | 35.3 |

The same comparison for Hebrew into English on `tst2014` gives mean chrF++ scores of 56.6 for the expanded-corpus baseline, 56.3 for SwitchOut plus RAML and 57.4 for the three auxiliary tasks. There are therefore two relevant comparisons. Within the expanded training condition, the auxiliary tasks improve scores relative to what the same corpus gives the baseline. When the best auxiliary combination is compared across the original and the expanded corpus, the scores are higher with the added data. The authors describe the methods as complementary on that evidence. Back-translation supplies English target sentences from beyond the original pairs, and multitask augmentation supplies different prediction exercises.

#### Results outside the training domain

The largest visual separation among the selected comparisons occurs on the IT test set for English into German. The baseline mean BLEU is 3.0, the combined SwitchOut and RAML setting reaches 8.0, reversal alone reaches 10.2, and the three auxiliary tasks reach 13.2. The standard deviations of the baseline and the three-task system in this test are 0.3 and 1.5, respectively. In the other direction on the IT set, the baseline has a mean of 6.2, reversal has 10.7, and the three tasks together reach 11.3. Each of those systems was trained from the talk-domain parallel corpus.

English-to-German IT test set mean BLEU after IWSLT parallel training Reversal improves performance on IT text, and the combined auxiliary tasks give the highest mean.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| Baseline | 3.0 |
| SwitchOut | 5.1 |
| RAML | 5.0 |
| SwitchOut + RAML | 8.0 |
| Reverse | 10.2 |
| Reverse + mono + replace (this paper) | 13.2 |

On the law test set, the English-to-German baseline scores 6.0 mean BLEU, the reversal setting scores 7.6, and the combined auxiliary tasks reach 10.2. Going from German to English on that test set, the baseline has a mean of 8.1, reversal has 8.0 and the combined setting has 9.9. The medical set gives means of 9.5 and 15.9 for the English-to-German baseline and the three-task system. For German into English, the respective medical means are 10.7 and 14.3. The combined system leads on these evaluations. Reversal alone offers an instructive partial comparison because its gains in IT and medical text occur even though the exercise adds no new words, and its law results show that the size and direction of the effect can vary.

The chrF++ results on the domain tests point in the same overall direction. For English into German on the IT set, the baseline mean is 25.4, reversal reaches 35.1 and the three-task combination reaches 37.6. For German into English on medical text, the baseline mean is 34.5 and the combined system reaches 38.5. Taken together, the tests show that a training intervention developed for ordinary translation on talks can improve reference overlap on the selected specialist text. They also leave visible how challenging the change in domain is. Even the best BLEU means for these test conditions are below those of the in-domain comparisons.

### What the ablations show

#### Which exercises contribute to the gain

The separate auxiliary-task runs ask how much the choice of exercise matters when the authors apply the same general training scheme. On the English-to-German in-domain test, reversal achieves 26.1 mean BLEU and aligned replacement reaches 25.8, compared with 25.3 for copying the source and 25.1 for random swapping. For German into English the replacement task is strongest among individual exercises by mean BLEU, and source-order rearrangement has a higher mean than reversal. On the Vietnamese-to-English test, random swapping and aligned replacement both reach 28.3, so the preference for reversal and replacement describes the pattern across directions. The paper’s case rests on the results across settings and on the combinations, with room for individual exceptions.

Comparing `swap` with `reverse` helps explain what the authors suspect about word order. Both change which target words precede a prediction, but reversal presents the same order rule for every training pair. A random swap can put a word almost anywhere allowed by the operation. The authors suggest that a systematic order makes a better auxiliary exercise than an arbitrary sequence. Similarly, `source` makes the source highly informative, yet it also asks the decoder to generate in the source language. The paper suggests that the change in output vocabulary may make that exercise less favorable for transfer. These comparisons motivate explanations about the properties of the exercises, rather than directly quantifying each property’s effect.

The combination comparisons address whether two useful exercises can transfer benefits at the same time. In English-to-Hebrew translation, for instance, reversal alone gives 22.4 mean BLEU, replacement gives 22.5, and jointly they give 22.9. Adding the source-order task raises the mean to 23.2. For Hebrew into English, adding the source-order task leaves the reported BLEU mean at 33.9, with a different spread across runs. Across the table, the strongest combinations have a more consistent lead than the single-task variants. Different exercises change different properties of the target sequence, which gives the authors grounds for interpreting the improvement as evidence of complementarity.

The domain comparison adds a useful constraint on how to explain the gains. Reversal preserves the vocabulary of each sentence it transforms. On the IT benchmark it still gives higher mean BLEU than the baseline and the vocabulary sampling systems in both directions. The appearance of new words in a training corpus therefore cannot explain the reversal gains. With `replace` in the combined setting, the system can also encounter words in new contexts. The experiments show that new vocabulary exposure and source-dependent prediction are distinguishable reasons to augment the data, even though their effects can coexist in a recipe.

#### How the authors trace individual predictions

The attribution analysis tackles the [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) question raised by the method. An improvement in BLEU shows that the output is closer to the reference by that metric. It leaves open whether a decoder is drawing more heavily on the input. The authors use layer-wise relevance propagation, adapted to Transformers in the work by Voita and colleagues, to allocate the relevance of a prediction back to its source tokens and the tokens available in its target prefix. By summing the source share at each position, they can compare where a translation system gets its predictive signal as a sentence unfolds.

```
∑ᵢ Rₜ(xᵢ) + ∑ⱼ Rₜ(yⱼ) = Rₜ(x) + Rₜ(y) = 1
```

The subscript t here is the generation step, a different use from the word-count variable in the augmentation expressions. The index i identifies a source token xᵢ, and j identifies a target-prefix token yⱼ. The function Rₜ gives the relevance assigned to a token for the prediction at step t. Each summation adds the relevance on its respective side. Rₜ(x) is the full source contribution, and Rₜ(y) is the full target-prefix contribution. The plus signs combine those two shares, and the equalities express the normalization of total relevance to 1 at every step.

The authors make fair comparisons across positions by grouping held-out pairs whose source lengths match and whose target lengths also match. For each language pair they take the largest group satisfying those length conditions with at least 16 tokens on either side. The selected English–German set contains 48 pairs, with 768 English tokens and 816 German tokens across the set. The English–Hebrew and English–Vietnamese selections each contain 28 pairs, with 448 English tokens and 560 tokens on the other side in each case. The analysis corpus comes from concatenating the splits released as development material for the corresponding IWSLT task. The paper also reports similar trends when the authors select a larger subset with shorter sentences.

The authors retrain the baseline and the selected auxiliary-task systems with the analytical toolkit used by Voita and colleagues. During measurement, they use teacher forcing, supplying the reference prefix at each prediction. This keeps the available target words and the sequence length comparable across systems. If a system were supplying its own prefix, an early mistake could change what it sees at every following position, and it might end the sentence somewhere else. The analysis uses the ordinary translation marker for the source in the multitask systems. It omits the initial step, when the target prefix is empty, and includes the step at which the end-of-sequence token is predicted.

#### How source relevance changes along a sentence

When English is the source, the curves generally show decreasing source relevance as the target sequence grows. This resembles the pattern that motivated the paper. The authors also observe a late peak around the penultimate token. They suggest that the decoder could be checking source coverage before finishing the sentence with a full stop. The position of a peak identifies where the attribution method gives more credit to the input. A check for untranslated content is a proposed interpretation of that pattern.

With English as the target, source relevance stays flatter across generation. The authors suggest that the grammatical properties of English could reduce the decoder’s need to consult previous tokens for agreement. This is an explanation for the directional pattern, separate from the main finding about augmentation. The latter comes from comparing systems within the same direction and under the same analysis procedure. Across the tested tasks the baseline assigns the smallest share to the source, while training on the auxiliary exercises raises that share. The differences tend to be larger near the beginning and remain visible later in the sentence.

The contrast between individual exercises is less clear in these curves. Reversal and aligned replacement have no consistent ordering in how strongly they shift source relevance. The systems trained on combined auxiliary tasks consistently show the highest source relevance. That result accompanies the higher ordinary translation scores for the combinations. It fits the proposal that the exercises can work together even when they interfere with familiar target context in different ways. The authors also compare the scale of the increase in source influence with that observed by Voita and colleagues when more genuine parallel data was available. The common observation is a shift in the measured use of source information under two different training changes.

#### What the hallucination comparison counts

The authors also ask whether the systems produce fewer severely inadequate outputs when tested outside their training domain. They use the term hallucination for cases where the output departs drastically from a suitable translation. A repetitive phrase can be one manifestation. An output that switches to an unrelated question can be another. Because judging all translations directly would require a different evaluation, the authors adapt an automatic screen based on sentence-level overlap with the reference.

The screen lowercases the output and uses an adjusted BLEU score based on single words and adjacent word pairs. These units are unigrams and bigrams, respectively, and form the [n-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/) used by the diagnostic. Unigram precision receives weight 0.8 and bigram precision receives weight 0.2. A score below 10 signals a possible hallucination. With no unigram match the adjusted BLEU is 0. To keep a lack of matching bigrams from dominating the result, the authors smooth bigram counts by adding 0.1 to both the matched and total counts, adapting a procedure that ordinarily adds 1. Smoothing allows partial agreement in single words to retain influence.

The study then compares the baseline with each augmented system on the same inputs. A flagged sentence counts toward the comparison only when the other system scores at least 20 BLEU points higher on the adjusted sentence measure. This gap is meant to identify clearly separated cases. An input for which both systems fail by the criterion gives no evidence about which system avoids the failure. The same applies to inputs where neither produces a flag. Accordingly, the plotted counts describe disjoint cases where one system meets the low-overlap criterion and the other produces a substantially better-scoring output.

There are two counts to read for each comparison. One records cases where the baseline produces a flagged output and the augmented system clears the required margin. A larger count on that side indicates more failures specific to the baseline in that comparison. The other records cases where the augmented system produces a flagged output and the baseline clears the margin. A smaller count on that side indicates fewer such failures specific to the augmented system. The paired design gives each comparison the same input sentences, while the baseline count can change across comparisons because each augmented system clears the margin on a different set of inputs.

The paper uses the in-domain, IT, law and medical test data for the two translation directions between English and German. It compares the baseline with SwitchOut, RAML, their combination and the three-task system. The disjoint cases are rare in-domain and more apparent on unfamiliar text. The three-task system generally produces the fewest of its own flagged cases, alongside many cases where it avoids a failure flagged for the baseline. An appendix example makes the severity of some cases concrete. A short German expression with a reference meaning an expiry date elicits an unrelated question and receives an adjusted BLEU of 0. The error analysis, the corpus scores and the relevance curves thus describe different consequences of the training change.

### Limitations

#### Limits the authors state

The authors leave performance at much larger training scales open. They report preliminary experiments on WMT 2014 English–German, with around 4.5M parallel training sentences. The German-to-English direction gains around 1 BLEU point over its baseline, while English into German gives the same performance. Those observations are a limited extension of the low-resource study. The main evidence for the method concerns IWSLT training corpora and the specific directions evaluated there.

The authors also identify possible changes to multitask training that they leave for later investigation. One is changing the proportion of data assigned to the different exercises. In the reported approach, an auxiliary corpus has the same size as the original training corpus. Another is changing which parameters are shared, for example by sharing the encoder while giving the tasks separate decoders. A third is exploring other training schedules. These suggestions matter because a task can differ in both the challenge it presents and the amount of influence it has during learning. The experiments establish the outcomes for the authors’ chosen sharing and scheduling arrangement.

The authors describe the approach as independent of any particular translation architecture because the method operates through examples and task markers. Their experiments use a Transformer. They also propose combining the approach with other augmentation methods, particularly those operating on the source side. The demonstrated combination in the paper is with back-translation. Ways of extending the task recipe remain possibilities raised by the authors, with their broader effects left to future testing.

#### What follows from the experimental setup

The task comparisons leave several factors bundled together. Adding another auxiliary task adds an entire synthetic corpus under the paper’s procedure. The three-task system therefore sees more synthetic training examples than a single-task system, and those examples also differ in content. The combination results support the authors’ account of complementary exercises, but the reported comparisons leave the effect of added volume entangled with the effect of task variety. The same distinction matters for source relevance. A stronger shift after combined training is consistent with reinforcement across different exercises, while an equal-volume comparison would be needed to isolate the contribution of their diversity.

The task token and fine-tuning stage are also part of the reported recipe. The marker tells the system how to distinguish ordinary output from the altered exercises, and fine-tuning gives ordinary translation special treatment at the end. The paper compares transformations and their combinations within this arrangement. It gives less direct evidence about how much of a gain is attributable to a marker in isolation, to fine-tuning in isolation, or to their interaction. The author’s explanation that markers guard against interference is a reason for the design. The main results establish performance with that design in place.

The out-of-domain study is narrower than the in-domain study. The IT, law and medical results cover English–German in both directions with systems trained on the talk-domain parallel data. They directly establish improvements for the tested combination in those conditions. Domain shifts with Hebrew or Vietnamese are outside that comparison, as are shifts with the back-translated training configurations. Likewise, the expanded-corpus experiment uses one source of English monolingual text and tests translation into English. Its result shows that the two augmentation approaches work together under that data choice.

The attribution analysis provides evidence about predictions under matched lengths and reference prefixes. This control improves comparability, and it also narrows the behavior being measured. During ordinary generation a system has to proceed from its own previous predictions, including mistakes. The relevance curves describe how the systems use information when supplied the same reference context. They give a measure of the relative contribution reaching a prediction, rather than a direct test of how much linguistic information the encoder has learned or how well each source detail is preserved. The association between higher source relevance and better translation is consistent with the proposed mechanism, while the procedure leaves the exact causal path open.

There is a related limit to interpreting the hallucination results. Low reference overlap can arise when a translation is genuinely unrelated to the input, but it can also arise from a valid wording different from the reference. An output can share some words with a reference and still distort the source. The appendix reports that more than 20% of sentences would be flagged by the identification approach in the pooled data examined there, an observation the authors relate to the low-resource setting and their inspection of the outputs. That figure describes the behavior of the screen under its chosen rules. The disjoint comparisons add a gap requirement and answer the narrower question of which system produces a severe overlap failure when its counterpart is substantially closer to the reference.

Finally, results reported as means and standard deviations describe the outcomes of the training runs. A higher mean with some overlap in run variability, such as that seen for nearby settings in the in-domain results, supports a more qualified comparison than a recurrent lead across conditions. The evidence is strongest for the complete auxiliary-task combination across the benchmarks and for the change in attribution measured with controlled prefixes. Claims about a single exercise, a particular grammatical explanation for a relevance curve, or the prevalence of hallucination beyond the diagnostic require evidence specific to those questions.

### What came after

A direct line of follow-up has yet to be documented for this paper. The authors close by proposing future comparisons of task proportions, encoder and decoder sharing, and training schedules. Those proposals leave open which parts of the recipe subsequent studies might adopt and whether its gains persist across other corpora and translation architectures.

## Cite

Cite as Víctor M. Sánchez-Cartagena, Miquel Esplà-Gomis, Juan Antonio Pérez-Ortiz and Felipe Sánchez-Martínez. 2021. Rethinking Data Augmentation for Low-Resource Neural Machine Translation: A Multi-Task Learning Approach. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing.

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

```bibtex
@inproceedings{sanchezcartagena2021rethinking,
  title = {{Rethinking Data Augmentation for Low-Resource Neural Machine Translation: A Multi-Task Learning Approach}},
  author = {Víctor M. Sánchez-Cartagena, Miquel Esplà-Gomis, Juan Antonio Pérez-Ortiz and Felipe Sánchez-Martínez},
  booktitle = {Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.669},
  url = {https://doi.org/10.18653/v1/2021.emnlp-main.669}
}
```

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