Universal Neural Machine Translation for Extremely Low Resource Languages
Paper · 2018 · Jiatao Gu, Hany Hassan, Jacob Devlin et al.
Summary
A translation system learns from sentences paired with their translations. When only a small collection of pairs is available, it may see too few examples of common constructions and no examples at all of many words it will encounter later. This paper asks whether machine translation can work under those conditions by using data from other languages. The authors train a single system to translate several source languages into English. Their focus is on low-resource languages for which very little text is paired with English, even when considerably more text is available in the source language alone.
The system shares information at the vocabulary and sentence levels. Its Universal Lexical Representation starts with word embeddings, numerical vectors learned from text in each language separately. The authors align those vectors with an English vocabulary using a small set of word pairs. An input token then receives a weighted blend of trainable vectors attached to English-based tokens. The weights come from similarity in the aligned space, so the system can build a representation for a token it has never seen in a translated sentence, provided it can obtain the token’s monolingual vector. A Mixture of Language Experts then changes how the encoder represents the token in its sentence. The experts learn from the better-resourced source languages, and the sentence context determines how much each expert contributes.
On the WMT2016 Romanian-to-English test set, the authors report 23 on the BLEU score with 6k Romanian–English training pairs, against 18 for a multilingual baseline that also uses back-translation. Back-translation supplies extra training examples by automatically translating monolingual text. The lexical component accounts for the larger improvement in the controlled Romanian comparison, and the experts add a smaller improvement. Tests on Latvian and Korean also show gains from both components with the auxiliary languages used in the study. Romanian achieves its highest score when the auxiliary languages are fellow Romance languages.
A separate experiment starts with a system trained to translate other Romance languages into English. It reaches around 10.7 BLEU on Romanian-to-English before seeing any Romanian sentence pairs in translation training, using a lexical alignment derived from parallel data. Fine-tuning on the 6k Romanian pairs brings the score to almost 20 BLEU after 3 epochs. The distinction between lexical preparation and translation training matters. The experiments show how much a small parallel collection can do when it is backed by monolingual text and training data from other languages.
Deep dive: Universal Neural Machine Translation for Extremely Low Resource Languages
Universal neural machine translation shares vocabulary and sentence representations across languages to translate with little parallel data. · about 34 minutes to read
The problem and its context
Why a shared decoder only solves part of the problem
The authors start from a disparity in training conditions. Parallel corpora containing roughly tens of millions of sentences can be used by large translation systems. A parallel corpus supplies a source sentence and its translation, giving the system examples of both what the input means and how that meaning can be expressed in the output language. Many language pairs and domains have far less material in that form. A collection of unpaired source sentences can show which words occur together and how some constructions are used, but it supplies no English translations for those sentences. The paper asks how to use that material alongside translation examples from other languages.
An encoder–decoder system divides the translation task between two parts. The encoder reads the source and produces a sequence of numerical states. The decoder predicts the English output one token at a time. An attention mechanism gives the decoder access to different parts of the encoded sentence as it makes those predictions. The paper situates this design in earlier work on sequence-to-sequence learning and jointly learning to align and translate.
With little parallel data, both parts have a difficult job. The decoder has few examples from which to learn how to produce the target language in response to a source sentence. The encoder has few examples tying words and constructions in its own language to a translation. Training several source languages together helps the target side immediately. When all directions lead to English, every translation pair contributes an English example. The authors also argue that mixing languages can reduce overfitting to the small corpus, since the shared parameters have to work for other training examples as well. The closest starting point they identify is Google’s multilingual neural machine translation system.
The input side presents a more specific obstacle. A multilingual vocabulary can be built by collecting the vocabulary of each language into one lookup table. Each source item still needs a vector. If those vectors are independent, seeing a word often in an auxiliary language gives the system no direct way to represent its counterpart in the low-resource language. Sharing the encoder helps once the inputs express comparable information. The vocabulary lookup can prevent that comparison from being useful in the first place. A word with a poorly estimated input vector hands the encoder an uncertain starting point, even if the decoder has seen many good English sentences.
Why spelling and sentence structure call for different kinds of sharing
One way to connect source vocabularies is through smaller written units. Subword tokenization splits words into pieces that can recur in other words, while character-based approaches work at a smaller scale. This can help when words share spelling or recognizable parts. The paper cites earlier work on translating rare words with subword units and on character-level translation. For an arbitrary low-resource language, the authors see a problem with making written overlap the basis of transfer. Its words may look quite different from their equivalents in the auxiliary languages, and the scripts themselves can differ. Forms that happen to look similar can also carry different meanings.
The paper therefore separates segmentation from the rule that connects one vocabulary to another. It retains sub-word segmentation in the experiments. The cross-language mapping, however, uses positions in an aligned embedding space. This distinction allows the system to represent a useful similarity even when the spelling of two items offers little evidence about their relationship. It also allows source vocabulary entries with the same spelling to remain distinct where that spelling would otherwise encourage an incorrect match.
Vocabulary transfer leaves another question open. A sentence is a sequence, so learning what its tokens tend to mean is only part of interpreting it. The source encoder must also represent how those tokens work together. The authors suggest that a better-resourced language with a similar ordering of words may provide useful training for that part of the task. The relationship can also vary within a sentence. A representation useful for one token in context may be less useful for another. The paper deals with this through expert transformations whose weights can change from position to position.
The broader context in the paper includes earlier multilingual work with a shared attention mechanism and work on transfer learning for low-resource translation. The authors also discuss unsupervised neural machine translation and translation using monolingual corpora. In their account, those approaches use multilingual embeddings with other techniques for learning from unpaired text, such as reconstruction or adversarial learning. The approach here builds on an existing multilingual translation task with substantial parallel data in auxiliary languages. It asks how the scarce direction can enter that task with a usable input representation and access to what the shared encoder has learned.
The method, step by step
From source text to an English prediction
The method changes the input to the encoder and the representation that comes out of it. At the input, the system looks up a monolingual vector for each source token. It compares that vector with a bank of English-based keys and uses the comparison to blend a separate bank of vectors learned for translation. The encoder reads the resulting sequence. Its output then passes through language experts, which transform each encoded state and contribute to the final representation that the decoder attends to.
The English-based tokens play the role of a common vocabulary for building input vectors. The procedure does not insert a sequence of English word guesses between the source sentence and the decoder. A Romanian token can draw on several entries of the common vocabulary at once, and the sequence delivered to the encoder still has the order of the Romanian input. The English prediction comes later, after contextual encoding and the experts’ transformations.
From monolingual text to multilingual translation
The steps in order.
The translation objective
The starting point is a conditional probability. The encoder describes the source sentence, and the decoder assigns a probability to the observed target sequence. During training, the target words that precede the current prediction come from the paired translation. Learning rewards the system for giving the reference continuation a high probability at each step. The paper writes the objective first for a corpus in one direction.
L(θ) = (1/N) ∑ₙ log p(Y⁽ⁿ⁾ | X⁽ⁿ⁾; θ)
= (1/N) ∑ₙ ∑ₜ log p(yₜ⁽ⁿ⁾ | y₁:ₜ₋₁⁽ⁿ⁾, fₜᵃᵗᵗ(h₁:ₜₛ⁽ⁿ⁾))
Here L is the objective to maximize, and θ denotes the translation parameters, including the encoder and decoder. N is the number of paired training examples, and n indexes them. X⁽ⁿ⁾ is the source sequence and Y⁽ⁿ⁾ its reference translation. p denotes a conditional probability, log takes its logarithm, and the vertical bar introduces the information the prediction is conditioned on. The sum over n runs across the corpus. The sum over t runs through the target positions of each example. yₜ⁽ⁿ⁾ is the reference token at the current target position, and y₁:ₜ₋₁⁽ⁿ⁾ is the earlier part of that reference. h₁:ₜₛ⁽ⁿ⁾ is the sequence of encoder states from the first source position through its last position Tₛ. fₜᵃᵗᵗ is the attention operation at target position t. The factor 1/N averages the sentence log probabilities, each of which contains the log probabilities of its tokens.
In the ordinary encoder, the first representation of each token comes from an input lookup. A contextual feature extractor takes the sequence of those input vectors and produces the states used by attention.
h₁:ₜₛ = fₑₓₜ(eₓ₁, …, eₓₜₛ), eₓ = Eᵢ(x)
h₁:ₜₛ is the complete sequence of encoder states. fₑₓₜ denotes the sentence feature extractor, and eₓ₁, …, eₓₜₛ are the vectors of the source tokens in their input order. Tₛ is the source length, and x is an individual source token. Eᵢ is the source embedding lookup, so Eᵢ(x) returns the row associated with x. The ellipsis stands for the intervening source positions. The paper describes a table with V rows, where V is the input vocabulary size, and d columns, where d is the size of each vector. Its experiments use a bidirectional recurrent encoder. Its two reading directions allow the encoded state at a position to incorporate context from either side.
The multilingual objective applies the same conditional training criterion across the language directions. Each direction has its own source sentences, and the target sentences all belong to the common output language.
L(θ) = (1/N) ∑ₖ₌₁ᴷ ∑ₙ₌₁ᴺₖ log p(Y⁽ⁿ,ᵏ⁾ | X⁽ⁿ,ᵏ⁾; θ), N = ∑ₖ₌₁ᴷ Nₖ
K is the number of source languages, and k indexes them. Nₖ counts the sentence pairs for language k, n indexes examples inside that collection, and N counts pairs across all the collections. X⁽ⁿ,ᵏ⁾ and Y⁽ⁿ,ᵏ⁾ are the source and reference target sequences in example n of collection k. θ is shared across the training task, p is the probability of the target given the source, and log and the sums aggregate the conditional log probabilities. L is again the quantity to maximize. The objective is written as an average over examples. The authors describe shuffling multilingual pairs into minibatches so training interleaves examples from different languages.
Aligning independently learned vocabularies
The lexical mechanism requires word vectors from each source language and from the language used to define the universal vocabulary. The authors use English for that vocabulary and for the output of the translator. They train the preliminary vectors on Wikipedia text in each language separately with fastText, using the method described in Enriching Word Vectors with Subword Information. The experiments use 300 dimensions for these monolingual vectors, the default skip-gram setting, and normalization to norm 1. Skip-gram learns about a token from its surrounding words. Normalization gives these vectors the same length before the alignment is fitted.
Learning those vectors separately leaves each language with its own coordinates. To make comparisons across languages meaningful, the authors align each source space to the English key space. They use fast_align on parallel text to obtain a seed dictionary, a list of input tokens paired with English correspondences. They then find a transformation that gives those known pairs high similarity. The paper uses an orthogonal transformation for each language, following work on offline bilingual vectors and orthogonal transformations.
maximize over Oₖ: ∑₍ₓ̃,ᵧ̃₎ ∈ Sₖ E_Qₖ(x̃) · Oₖ · E_K(ỹ)ᵀ
subject to Oₖᵀ Oₖ = I, k = 1, …, K
Sₖ is the seed dictionary for source language k, and (x̃, ỹ) consists of a source entry and its English counterpart. E_Qₖ(x̃) is the monolingual source vector before projection in this objective. E_K(ỹ) is the English key vector for the aligned entry. Oₖ is the projection fitted for language k, ᵀ means matrix or vector transpose, and I is the identity matrix. The dots indicate products. The sum accumulates alignment scores across the seed pairs, and K is the number of source languages for which the procedure is defined. The condition on Oₖ requires orthogonality, so the transformation preserves vector lengths and within-language angles. The authors solve the alignment with singular value decomposition.
In the paper’s illustrative setup, Spanish and French have abundant pairs with English, and Romanian has a much smaller collection. Monolingual vectors are learned for each language, Spanish and French each get their own projection, and Romanian gets a projection of its own. A Spanish pairing such as gato with cat and a French pairing such as chien with dog convey different alignment evidence. Each source dictionary provides anchors for projecting the rest of its vocabulary. The paper’s illustration uses word2vec to describe this preparation, and the experiments specify fastText for the vectors actually used.
The distinction between the seed entries and the remaining vocabulary is central. The seed pairs fit a transformation for the whole vector space of a language. A token outside the dictionary can undergo the same projection if its monolingual vector is available. Its neighbors may be more or less informative depending on how well the alignment generalizes. It can still reach the matching stage without appearing in the small parallel training set. The authors discuss learning bilingual embeddings with almost no bilingual data and word translation without parallel data as ways to obtain alignments under even tighter conditions. Their reported pre-projection uses seed pairs obtained from parallel text.
Turning similarity into a trainable translation input
Once the source spaces are aligned, the system has three embedding tables with different jobs. The source query table supplies the projected input vector, and the English key table supplies the vectors to compare it with. Both stay fixed during translation training. The universal translation table contains a separate trainable vector for each English-based entry. An entry thus has a key for matching and a value that contributes to the encoder input. This separation gives the system a stable way to bring new words into the comparison while allowing it to learn representations specialized for translation.
The score between a source token and a universal entry is a product involving the key, the query, and a trainable matrix.
D(u, x) = E_K(u) · A · E_Q(x)ᵀ
D(u, x) is the scalar similarity score for universal token u and source token x. E_K(u) is the English-based key, and E_Q(x) is the projected monolingual query from the table for the source language. A is a transformation shared across source languages. ᵀ transposes the query vector, and the dots stand for matrix multiplication. A starts at the identity, so the initial score follows the geometry of the aligned embeddings. Translation training can change A to make the matching more useful for predicting the target.
A and the pre-projection Oₖ both transform vectors, but their evidence and their scope differ. The source-language projection is fitted from the seed pairs before translation training. It brings one independently learned vocabulary into the English-based coordinates. A is updated using the translation objective and influences the comparisons in all the source languages. Updating a single shared matrix allows training examples in one language to change the rule used to score queries in another.
The scores become weights through a softmax, which exponentiates the scaled scores and divides each by the sum of those exponentials.
q(uᵢ | x) = exp(D(uᵢ, x)/τ) / ∑ⱼ exp(D(uⱼ, x)/τ)
q(uᵢ | x) is the weight on the universal token uᵢ for input x. i picks the entry whose weight is being computed, and j ranges across the universal vocabulary in the denominator. D is the similarity score, exp is the exponential function, and τ is the temperature that controls how strongly the weights concentrate on higher-scoring entries. The vertical bar indicates that the distribution is computed for the particular input token x. The experiments keep the temperature at 0.05. The same normalization covers every entry in the universal vocabulary, so the weights for a given query sum to unity.
Finally, the system combines the trainable values using the weights from the matching operation.
eₓ = ∑ᵢ₌₁ᴹ E_U(uᵢ) · q(uᵢ | x)
eₓ is the source vector that goes into the translation encoder. M is the size of the universal vocabulary, i indexes that vocabulary, and uᵢ is the entry at index i. E_U is the trainable table of universal translation vectors. q(uᵢ | x) is the weight for the entry given source token x, and the dot scales the vector by that weight. The sum adds those weighted vectors. Training on the auxiliary translation pairs can improve these values even when the low-resource vocabulary items that use them never occur in those pairs.
The paper illustrates the weight distribution with Romanian magar, which it glosses as donkey. The example puts weights of 0.5 on horse, 0.3 on donkey, and 0.2 on cow. These numbers illustrate the mechanism. The most heavily weighted key can be an imperfect lexical match, and a closer match can still contribute to the representation through its own vector. The example also makes clear why an English key is different from an emitted English word. The decoder receives an encoded representation built from that blend and the neighboring tokens. It makes its own prediction from the sentence context and the output it has generated so far.
A direct route for frequent source tokens
The authors expect function words to be difficult to capture well through the universal mixture. These words often occur frequently enough for even a small parallel corpus to support a direct input vector. The full lexical input therefore has an additional language-specific term for frequent tokens.
eₓ = α(x)Eᵢ(x) + β(x) ∑ᵢ₌₁ᴹ E_U(uᵢ) · q(uᵢ | x)
eₓ is the combined vector for input token x. Eᵢ(x) is its directly learned input embedding, and α(x) controls whether that embedding contributes. β(x) scales the entire universal mixture. Within the sum, M is the number of universal entries, i indexes them, uᵢ denotes the selected entry, E_U(uᵢ) is its trainable vector, and q(uᵢ | x) is its matching weight. The dot multiplies a vector by its weight, and the plus sign adds the direct and universal contributions.
The authors set α(x) to 1.0 for the 500 most frequent items in each language and to 0.0 for the rest. They keep β(x) at 1.0. The frequent entries therefore keep the full universal contribution and receive an additional learned vector, while the remaining entries use the universal mixture alone. Frequency rank lets languages with very different corpus sizes have the same cutoff in terms of the number of entries eligible for direct learning. A fixed occurrence count would make that eligibility depend more heavily on how much text the language had.
Adding experts after contextual encoding
The Mixture of Language Experts operates on states produced by the encoder. The bidirectional encoder first puts a token into the context of its source sentence. Then each expert can transform that contextual state. The paper implements an expert as a feed-forward network with two layers and makes one expert for each auxiliary language. A gate, itself a one-layer feed-forward network, looks at the same contextual state and supplies scores for the different experts. At low-resource input positions, the scores can give several experts a role in the new representation.
h′ = ∑ₖ₌₁ᴷ fₖ(h) · softmax(g(h))ₖ
h denotes an encoder state at a source position, and h′ is the state delivered to the decoder in its place. fₖ is expert k, fₖ(h) is its transformed state, and g is the gate network. g(h) is the vector of gate scores. softmax converts those scores to normalized weights, and the subscript k picks the weight attached to expert k. The dot scales that expert’s output, and the sum combines the outputs. The paper uses K as the upper limit in the mixture formula and denotes the auxiliary-language training indices as 1, …, K−1 in the gate objective. The operational rule is that the low-resource input can draw on the experts trained on auxiliary data.
During auxiliary training, the known source language supplies the expert choice and the training label for the gate. An auxiliary example for language k uses that language’s expert. The gate learns to give a high weight to the corresponding index from the encoder state it sees. The paper expresses the gate part of the multitask objective as follows.
L_gate = ∑ₖ₌₁ᴷ⁻¹ ∑ₙ₌₁ᴺₖ log([softmax(g(h))]ₖ)
L_gate is the gate’s log-probability objective, k indexes the auxiliary source languages, and K−1 is the upper auxiliary index in the authors’ notation. Nₖ is the number of examples for language k, and n indexes those examples. h stands for the encoder representation used by the gate for the training input, with the example index implicit. g(h) gives the gate scores, softmax turns them into a distribution, and the brackets with subscript k select the weight assigned to the known language. log turns that probability into the term summed over training examples. The objective rewards the gate for recognizing the appropriate expert on auxiliary inputs.
The paper keeps the expert module from being updated on low-resource examples. Those examples can still use the transformations the auxiliary languages have taught it. Since the gate reads a contextual state, the weights can vary with positions in the same sentence. Calling this sentence-level sharing refers to the contextual information available to the experts. A complete sentence can receive different combinations at different positions, each of which becomes available to the target-side attention mechanism.
Preparing data and supplementing the small corpus
The experiments apply byte-pair encoding, or BPE, to parallel and monolingual text. BPE produces a vocabulary of recurring written units that can include whole words and smaller pieces. The authors learn and apply at most 40, 000 BPE operations per language and use sentences up to 50 sub-word symbols long. The source vocabulary entries carry a language marker. Thus, even if the segmentation of two languages produces identically written items, the experiment can give them distinct lookup entries. The lexical alignment provides the route for bringing them together when their vectors support a match.
The translation system uses a one-layer bidirectional recurrent encoder and a two-layer recurrent decoder with attention. Its recurrent layers have 512 LSTM units, and the source, target, and universal translation embeddings have 512 dimensions. These are separate from the 300-dimensional monolingual vectors used for lexical matching. The basic encoder and decoder architecture is also used for the single-source and multilingual comparisons. The authors use Adam to maximize log-likelihood over 1 million training steps, with a batch size of 128 and dropout of 0.4 in the encoder and decoder. They release an implementation of the approach.
Some runs also use back-translation. The authors describe starting with a trained translation system, translating monolingual sentences to obtain synthetic pairs, and using those pairs to train a system in the reverse direction. Once that reverse system is available, the procedure can be applied again for the forward direction. A weak starting translator can produce poor synthetic material, which makes the procedure difficult with scarce parallel data. The multilingual system provides a starting point trained on stronger directions. For the Romanian-to-English experiments involving this procedure, the paper identifies WMT16 News Crawl as the monolingual source used for back-translation. Wikipedia supplies the separate monolingual material for learning the lexical vectors.
Experiments and results
What data and comparisons answer the question
The experiments translate Romanian, Latvian, and Korean into English. The authors simulate scarcity by taking small subsets from parallel corpora that are available in larger quantities. The main comparisons use 6k Romanian–English pairs and 6k Latvian–English pairs, and the Korean–English comparisons use 10k. The table of available resources reports 612k Romanian pairs, 638k Latvian pairs, and 97k Korean pairs before sub-sampling. The Romanian evaluation uses WMT2016, and the Korean parallel source is identified as KPD. For validation and testing, the authors use the standard splits for each target pair. The sub-sampling applies to the parallel data for training the scarce direction.
The auxiliary languages supply much larger collections of bilingual examples. Europarl and a subset of the UN corpus are among the sources named in the paper. The Romanian ablation reports 7.8M auxiliary-language pairs for the multilingual comparison. The study varies the languages used for transfer. Romanian has four auxiliary configurations, covering a Romance group and combinations drawn from other European languages. Latvian has two configurations, so the paper can compare the same Romance group with a setting that also includes Russian. Korean is paired with the Romance group to examine transfer to a less closely related language.
The single-source baseline, called vanilla NMT, learns from the small parallel corpus of the evaluated direction alone. The multilingual baseline also receives auxiliary pairs and shares the translation system across languages. It establishes what multilingual training can achieve before the paper introduces its lexical mixture or its experts. Additional runs include back-translation, add the proposed components in stages, or change how the lexical match is computed. With these comparisons, the results can separate the large change in training material associated with multilingual learning from the changes associated with the proposed architecture.
The reported measure is BLEU on the test translations. BLEU summarizes how closely the generated wording matches reference wording across the evaluation set. Higher values indicate stronger overlap on that metric. The Romanian paper results include both rounded headline values and more precise values for specific configurations in the ablation table. The distinction matters because several different systems share most of their components. A statement that one system reaches 23 BLEU identifies the strongest reported small-corpus configuration, while the detailed comparison shows how much of that score is already available to the lexical system without the experts.
The main Romanian result
The Romanian baseline trained only on the 6k Romanian pairs scores 1.21 BLEU on the test set. Adding auxiliary-language data in the multilingual ablation baseline brings the score to 14.94. Back-translation takes that baseline to 17.91. With the same 6k genuine Romanian pairs, the multilingual system with Universal Lexical Representation scores 20.01, and its version with back-translation scores 22.35. Adding the experts to the lexical system without back-translation gives 20.51. The combination of the lexical representation, language experts, and back-translation reaches 22.92.
Romanian-to-English WMT2016 test BLEU with 6k parallel training pairs
The highest score comes from combining lexical sharing, language experts, and back-translation.
The numbers
| System or setting | BLEU |
|---|---|
| Romanian only | 1.21 |
| Multilingual | 14.94 |
| Multilingual with back-translation | 17.91 |
| Multilingual with ULR | 20.01 |
| Multilingual with ULR and back-translation | 22.35 |
| Multilingual with ULR and MoLE | 20.51 |
| Multilingual with ULR, MoLE, and back-translation (this paper) | 22.92 |
The paper summarizes this result as 23 BLEU against 18 for the multilingual baseline with back-translation. Both systems can use synthetic pairs, and the 6k figure refers to the small corpus of genuine Romanian–English pairs. This is a comparison between systems trained with access to substantial additional resources. The 1.21 result shows what happens when the single-source system is trained only on that small Romanian corpus under the paper’s setup. The difference in conditions explains why the single-source result and the back-translated multilingual baseline answer different questions about data scarcity.
As a point of reference, the paper trains a Romanian-to-English system on the full 612k corpus and obtains 28.34 test BLEU. Its score remains higher than that of the strongest small-corpus configuration. The comparison places the main result between the small Romanian-only regime and the full-corpus one, with each system drawing on different kinds and quantities of training data. It shows the value of the transfer in this setup while leaving a measurable gap to training with the full in-direction corpus.
How results change with the auxiliary languages
Romanian achieves its best reported lexical and expert scores with Spanish, French, Italian, and Portuguese as auxiliary languages. All belong to the Romance family, as does Romanian. The other tested groups draw on languages including Czech, German, Greek, and Finnish, with French or Italian also appearing in some configurations. The group results show that the method can use several choices of auxiliary data, and the strongest group in these runs is the one whose members all share Romanian’s language family.
Romanian-to-English test BLEU by auxiliary group with ULR and MoLE
The all-Romance auxiliary group gives the highest Romanian test score in this comparison.
The numbers
| System or setting | BLEU |
|---|---|
| Czech, German, Greek, Finnish | 18.37 |
| Czech, German, Greek, French | 19.52 |
| German, Greek, Finnish, Italian | 19.33 |
| Spanish, French, Italian, Portuguese (this paper) | 20.51 |
For Latvian, the Romance auxiliary group yields 10.86 test BLEU with the lexical component and 11.02 with the experts added. Including Russian brings the corresponding scores to 12.40 and 13.16. These comparisons use 6k Latvian–English training pairs. The authors point to similarities associated with geographic contact and note that Latvian and Russian use different alphabets. This is a case where transfer can help in spite of a difference in script. The comparison varies the auxiliary training collection as well as its linguistic composition, so the improvement measures what happened when Russian was included in the tested setup.
Korean receives 2.45 test BLEU from the multilingual baseline in Table 2, 5.49 after adding the lexical representation, and 6.14 after adding the experts. The system has 10k Korean–English pairs and uses Spanish, French, Italian, and Portuguese as its auxiliary languages. Both components improve the score in this configuration. The absolute scores remain low, making this primarily evidence that some transfer is available from a relatively distant auxiliary group. The result and the Romanian comparison together show why it helps to report both the direction of a gain and the level of performance reached.
Korean-to-English test BLEU with 10k parallel training pairs
Lexical sharing improves the multilingual Korean result, and the language experts add a further gain.
The numbers
| System or setting | BLEU |
|---|---|
| Multilingual | 2.45 |
| Multilingual with ULR | 5.49 |
| Multilingual with ULR and MoLE (this paper) | 6.14 |
Adaptation after multilingual training
The authors also change the order in which the scarce direction enters training. In the main experiments, the small target-direction corpus is mixed with the auxiliary corpora. In the adaptation experiment, the initial system learns to translate Spanish, French, Italian, and Portuguese into English using the lexical component. Romanian is held out of translation training at this stage. Its lexical pre-projection is still available, allowing Romanian input tokens to use the universal space.
Before any fine-tuning on Romanian sentence pairs, the lexical system reaches around 10.7 BLEU on Romanian-to-English. The authors then train it on the 6k Romanian–English pairs. Performance reaches nearly 20 BLEU after 3 epochs, which they describe as almost 6 BLEU above the best score of the baseline in that comparison. The paper also reports improvement from adapting a system without ULR. The lexical setup gives a way to enter the new direction with an existing representation for its words, and the Romanian updates can then specialize the translation system further.
The paper reports less than 2 minutes for the 3 epochs over the small corpus. This timing concerns the adaptation stage. At that point the auxiliary translation training, monolingual embedding training, and lexical preparation have already provided the system it adapts. The experiment demonstrates a different use of the same lexical mechanism. Joint training uses the scarce direction while learning from auxiliary pairs, whereas adaptation begins with that multilingual training already finished and introduces the scarce direction afterwards.
What the ablations show
Shared inputs account for much of the gain
The Romanian ablation holds the genuine training corpus for that direction at 6k pairs and changes specific parts of the system. Starting from the 14.94 BLEU multilingual baseline, adding the full lexical representation yields 20.01. The paper reports this improvement as +5.07 BLEU. Adding language experts to that version yields 20.51. With back-translation included as well, the paper reports +7.98 BLEU over the multilingual baseline. Among the changes isolated by these runs, the new lexical input makes the larger contribution before the addition of back-translation.
That comparison addresses a particular explanation for the baseline’s weakness. The baseline already has multilingual training and a shared decoder with extensive English examples. The lexical change alters what the source encoder receives. A system that translates substantially better after this change can benefit from auxiliary data through a route that vocabulary concatenation leaves underused. The strength of that evidence comes from leaving the scarce pair collection the same and evaluating systems that retain the same basic translation architecture.
The experts improve the lexical system with and without back-translation. The corresponding Romanian scores without synthetic training are 20.01 and 20.51. With back-translation they are 22.35 and 22.92. This pattern supports a contribution from changing the representation after encoding as well as from improving the inputs. The comparison measures the experts as an addition to ULR. It leaves open how well the same expert module would work with a conventional input lookup alone.
A nearest word leaves useful information behind
The authors test a simpler use of the aligned vocabulary by replacing each Romanian input token with its nearest universal token and training the single-source system on those replacements. This version scores 5.83 BLEU on the Romanian test set. The ordinary Romanian-only system scores 1.21, so the lexical alignment is informative enough to improve even this crude substitution scheme. The result remains below the 14.94 BLEU multilingual baseline and well below the full lexical system.
A nearest-token replacement resolves every lexical decision before contextual encoding, even when several keys have similar scores. It also gives any inputs that choose the same key the same replacement at that stage. A weighted blend can preserve some distinctions in how strongly those inputs match different keys. The paper’s example with magar illustrates that possibility directly. The comparison with the nearest-token system is broader than a clean test of soft versus hard matching because the nearest-token run uses single-source training. It shows what this simpler use of the aligned dictionary achieves under the tested conditions.
Translation training can improve the match itself
A narrower ablation changes only whether A can learn. Keeping that matrix at the identity gives 18.61 Romanian test BLEU, and learning it gives 20.01. Both versions use the aligned monolingual spaces and the trainable universal values. With the identity, relative similarities are governed by the lexical geometry obtained before translation training. Allowing A to change gives the translation objective a route to alter the weighting at the matching stage as well as the vectors that are mixed.
One selected translation concerns Air India and a statement about limits on weight. The identity-matrix version confuses the reference to India with China, while the version with a learned matrix preserves Air India. The authors suggest that similar monolingual representations could underlie the confusion. The example illustrates a lexical error that changes the entity in the translation. It also contains other translation differences, and the output with learned matching remains awkward in places. The aggregate score is the more direct evidence for the value of learning the matching transformation.
Unseen tokens and corpus size test the lexical explanation
The paper groups Romanian evaluation material by how many tokens were absent from the 6k training corpus. The multilingual baseline’s BLEU falls more sharply as these unseen tokens become more frequent. ULR reduces that decline. In this analysis, an unknown token is defined relative to the parallel training set. It can still occur in the monolingual material or have an available vector that can be projected. This definition matches the claimed mechanism. A direct lookup learned only through translation examples has little evidence for such an item, while the universal lookup can reconstruct an input from similarities learned elsewhere.
The unknown-token comparison gives a more specific account than the aggregate BLEU score. If the whole improvement came from a better English decoder, there would be less reason to expect a change so closely tied to missing source vocabulary entries. The analysis remains observational across groups of evaluation examples. Sentences with more unseen tokens can also differ in other ways. Taken together with the input ablation, the pattern is consistent with the claim that ULR makes unfamiliar source items less damaging.
The authors also vary the amount of Romanian parallel data, reporting conditions of 0k, 6k, 60k, and 600k in the corpus-size analysis. Performance improves as more Romanian pairs are available, and the lexical method gives a particularly clear benefit at small training sizes. The 0k condition uses a pre-projection learned from the 6k collection. It tests whether the multilingual translator can handle Romanian with no Romanian pairs included in its translation-training mixture, given that its lexical mapping has already been prepared. The authors report that adding back-translation can bring the small-data lexical system near the result of the system trained with 60k pairs.
Synthetic pairs and expert weights offer different evidence
Back-translation improves both the conventional multilingual run and the multilingual run with ULR. The lexical version consequently benefits from the extra text while preserving a lead over the ordinary multilingual version with back-translation. The extra examples provide sentence-level training signals, including contexts that may be rare in the small parallel collection. ULR supplies a way to represent tokens whether or not those additional examples include them. The paper’s comparisons support the coexistence of those benefits in the tested Romanian setup.
Selected Romanian examples help characterize what can change. One concerns responses from men and women being analyzed separately. The version with lexical sharing makes a better attempt at the separate analysis but still duplicates a reference to women. Adding back-translation yields a rendering that recovers both groups. Another concerns uncertainty about when something will happen and how long it will last. The system supported by Romance languages better preserves that uncertainty in the example. These cases illustrate differences in content and wording. The paper deliberately selects the examples, so their role is to make the score comparisons easier to interpret.
For MoLE, a visualization follows the expert weights across one Romanian sentence. The weights vary by position, which demonstrates that the gate can change its mixture within a single input. The authors describe Spanish and Portuguese as approximately the most influential in that example, followed by French and Italian. Czech and Greek follow, with German and Finnish lower. They interpret the overall ordering as resembling linguistic relatedness to Romanian. They also suggest that geographic influence and shared expressions might account for the prominence of Czech despite its belonging to a different family. That explanation is the authors’ interpretation of the example. The score comparisons show the contribution of the module more directly than the visualization can establish a general ranking of languages.
Limitations
Limits the authors identify
The paper describes back-translation as difficult in genuinely scarce settings because the initial translator must generate usable synthetic material. Multilingual training can give it a better starting point, but its synthetic output still depends on that starting system. The improvement observed with Romanian is a result for the available auxiliary corpora and the News Crawl material used in the experiment. The method also depends on additional monolingual text for its word vectors. The parallel corpus may be small even when this other material and the auxiliary bilingual collections are substantial.
The authors identify a weakness in the universal representation for some lexical categories, especially function words. The direct embedding term is their response to that weakness. It assumes the frequent items can be estimated from the available translation examples. At the sentence level, the authors find lower absolute scores for Korean and favor using auxiliary languages that are similar to the scarce direction where possible. Their own Romanian comparison with the full corpus leaves a substantial BLEU gap. They also point to overfitting as a risk when fine-tuning a system with many parameters on a small corpus and leave better adaptation strategies, including meta-learning, for future work.
The paper distinguishes its trained lexical alignments from the prospect of obtaining them without a seed dictionary. The authors cite earlier methods that can learn projections without seeds and suggest using such methods when no parallel data is available. Their Romanian no-pairs translation run still uses an alignment derived from the 6k corpus. Its evidence is strongest for a setting in which a small bilingual resource can prepare the lexicon and the translator itself can be trained on auxiliary directions alone.
Limits of what the comparisons establish
The experiments create scarcity by sub-sampling corpora. That gives the researchers a clear way to vary training size and a full-corpus Romanian comparison. It leaves open how the method would work where monolingual material is scarce as well, or where the standard test conditions and large reference corpus used here are unavailable. The tested lengths also reflect preprocessing that uses sentences up to 50 sub-word symbols. The reported scores describe performance under those data and input conditions.
All translation directions in the study lead into English, and the universal vocabulary is English-based. The authors allow that a different language or symbolic vocabulary could provide the universal entries. The experiments therefore establish results for one shared target and one choice of lexical reference space. They leave the consequences of changing either one open. In particular, the results do not measure how a shared decoder would behave if languages with little parallel data also had to be generated as outputs.
The lexical representation can produce an input vector for an item missing from translation training when it can obtain a suitable monolingual query. This is a claim about coverage under a particular distinction between the parallel and monolingual resources. The tests do not establish reliable representations for every unfamiliar input or exact lexical equivalence across languages. English-based keys may put several meanings near one another, as the paper’s own example of the weighted lexical mixture makes easy to see. Contextual encoding and decoding still have to resolve the meaning relevant to the sentence.
The auxiliary-language comparisons show which corpora worked better in the tested groups. Linguistic relatedness, corpus composition, and the amount of auxiliary data can vary together. Adding Russian to the Latvian configuration changes which data the system has as well as which language it can learn from. The activation visualization establishes that the gate varies its choices for the pictured example. It does not establish that the plotted ranking holds across Romanian sentences or that a high expert weight identifies the causal source of a better translation.
Finally, BLEU supports comparisons against the test references at the corpus level. The paper pairs it with selected translations and analyses of corpus size and unfamiliar tokens. Those analyses do not measure every kind of error or establish translation quality through human assessment. The adaptation timing likewise describes a brief additional training run in the paper’s setup. The work needed to prepare the vectors, fit the alignments, and train the multilingual system precedes that run.
What came after
The paper ended with a specific adaptation question. Once a multilingual translator has learned to share a vocabulary, how should it be trained so that a few examples from another language can change it effectively? The authors suggested investigating meta-learning, drawing on Model-Agnostic Meta-Learning. The later citing work closest to that proposal in stated scope is Meta-Learning for Low-Resource Neural Machine Translation. Its topic follows directly from the distinction between training a multilingual system and preparing it for adaptation with scarce parallel data. The citation alone does not establish whether it reused the lexical mixture, the experts, or the Romanian experimental protocol.
Other citing papers continued the question of what to share. Contextual Parameter Generation for Universal Neural Machine Translation approaches universal translation through contextual parameter generation. That places the emphasis on how translation parameters are obtained, where Gu and colleagues keep a shared translation system and introduce a language-sensitive mixture of transformations above its encoder. Multi-Source Cross-Lingual Model Transfer: Learning What to Share makes the choice of what to share the stated focus of multi-source transfer. The original paper provides a concrete formulation of that choice by learning universal values for vocabulary transfer while assigning the contextual transformations to auxiliary-language experts.
Massively Multilingual Neural Machine Translation and Massively Multilingual Neural Machine Translation in the Wild: Findings and Challenges take multilingual translation as their subject at a larger scale. The Romanian experiments make auxiliary-language selection visible by comparing named groups for a particular scarce direction. The massively multilingual line of work places that same broad question of sharing in a setting with many more directions to accommodate. These papers cite the original work, while their titles alone give no basis for assigning their results to ULR or MoLE.
A related group addresses the choice and use of training data. Multilingual Denoising Pre-training for Neural Machine Translation puts denoising at the center of multilingual preparation for translation. The connection is through the use of evidence available before scarce-direction training. In the 2018 paper, monolingual text supplies the lexical geometry, while multilingual parallel data trains the shared translator. Generalized Data Augmentation for Low-Resource Translation addresses augmentation in the same resource regime. Its stated subject connects to the back-translation experiments, which show how additional synthetic pairs can be useful alongside an architectural change. Revisiting Low-Resource Neural Machine Translation: A Case Study returns to the low-resource translation setting through a case study. The common problem is how to judge performance when the amount and kind of available data play a central role in the comparison.
The zero-shot condition also appears in later citing work, with several different tasks attached to it. Improved Zero-shot Neural Machine Translation via Ignoring Spurious Correlations frames the problem around spurious correlations. The earlier Romanian experiment instead tests how much a prepared lexical mapping can support a direction absent from translation training. Paraphrase Generation as Zero-Shot Multilingual Translation uses the zero-shot translation framing for paraphrase generation and makes semantic similarity and lexical and syntactic variety part of its stated problem. Automatic Machine Translation Evaluation in Many Languages via Zero-Shot Paraphrasing names paraphrasing as a means of evaluating translation. In the original study, BLEU is the measure applied to the outputs. Evaluation itself becomes the task in the later paraphrasing work.
The treatment of input units has its own connection to this line of research. Morphology-aware Word-Segmentation in Dialectal Arabic Adaptation of Neural Machine Translation foregrounds the structure of words during segmentation for dialect adaptation. The 2018 study uses BPE and assigns the cross-language matching job to embeddings after segmentation. Both topics concern the evidence an unfamiliar variety can offer through its vocabulary. Multi-dialect Neural Machine Translation and Dialectometry places translation across dialects alongside the study of differences among dialects. It connects to the original authors’ interest in which language varieties supply useful transfer, a question their auxiliary-language comparisons and visualization approach from different directions.
The citation also reaches work with other evaluation or multilingual tasks. Achieving Human Parity on Automatic Chinese to English News Translation appears in the original paper’s own account of progress in high-resource translation. Its stated goal concerns Chinese-to-English news translation and human parity, whereas the Romanian experiment asks how to use scarce bilingual supervision. Multi-Label and Multilingual News Framing Analysis examines multilingual news through framing analysis, and Beyond the Imitation Game addresses capability evaluation at a broader level. These citations extend across tasks. The clearest continuities in the research questions are the ones visible in work on fast adaptation, the allocation of shared parameters, and multilingual training with limited direct supervision.
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 3Research subjects and languages the work is about.Machine translation · 1,109 worksMultilingual & cross-lingual NLP · 888 worksLow-resource languages · 287 works
Cite
Cite as Jiatao Gu, Hany Hassan, Jacob Devlin and Victor O.K. Li. 2018. Universal Neural Machine Translation for Extremely Low Resource Languages. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers).
@inproceedings{gu2018universal,
title = {{Universal Neural Machine Translation for Extremely Low Resource Languages}},
author = {Jiatao Gu, Hany Hassan, Jacob Devlin and Victor O.K. Li},
booktitle = {Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers)},
year = {2018},
doi = {10.18653/v1/n18-1032},
url = {https://doi.org/10.18653/v1/n18-1032}
}References
- Mikel Artetxe, Gorka Labaka, and Eneko Agirre. 2017. Learning bilingual word embeddings with (almost) no bilingual data. In ACL.
- Mikel Artetxe, Gorka Labaka, Eneko Agirre, and Kyunghyun Cho. 2018. Unsupervised neural machine translation. In Proceedings of International Conference on Learning Representations (ICLR). Vancouver, Canada.
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate. In Proceedings of International Conference on Learning Representations (ICLR).
- Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. 2017. Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics 5:135–146.
- Alexis Conneau, Guillaume Lample, Marc’Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. 2018. Word translation without parallel data. In ICLR. OpenAlex ↗ · Scholar ↗
- Jacob Devlin. 2017. Sharp models on dull hardware: Fast and accurate neural machine translation decoding on the cpu. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Copenhagen, Denmark, pages 2810–2815. OpenAlex ↗ · Scholar ↗
- Chelsea Finn, Pieter Abbeel, and Sergey Levine. 2017. Model-agnostic meta-learning for fast adaptation of deep networks. In International Conference on Machine Learning (ICML).
- Orhan Firat, Kyunghyun Cho, and Yoshua Bengio. 2016. Multi-way, multilingual neural machine translation with a shared attention mechanism. In Proceedings of Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL).
- Jonas Gehring, Michael Auli, David Grangier, Denis Yarats, and Yann Dauphin. 2017. Convolutional sequence to sequence learning. In Proceedings of International Conference on Machine Learning (ICML).
- Hany Hassan, Anthony Aue, Chang Chen, Vishal Chowdhary, Jonathan Clark, Christian Federmann, Xuedong Huang, Marcin Junczys-Dowmunt, William Lewis, Mu Li, Shujie Liu, Tie-Yan Liu, Renqian Luo, Arul Menezes, Tao Qin, Frank Seide, Xu Tan, Fei Tian, Lijun Wu, Shuangzhi Wu, Yingce Xia, Dongdong Zhang, Zh… — Achieving Human Parity on Automatic Chinese to English News Translation
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural computation 9(8):1735– 1780. OpenAlex ↗ · Scholar ↗
- Melvin Johnson, Mike Schuster, Quoc V. Le, Maxim Krikun, Yonghui Wu, Zhifeng Chen, Nikhil Thorat, Fernanda Viégas, Martin Wattenberg, Greg Corrado, Macduff Hughes, and Jeffrey Dean. 2017. Google’s multilingual neural machine translation system: Enabling zero-shot translation. Transactions of the Ass…
- Yoon Kim, Yacine Jernite, David Sontag, and Alexander M. Rush. 2016. Character-aware neural language models. In Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence. AAAI Press, AAAI’16, pages 2741–2749.
- Diederik Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980 .
- Guillaume Lample, Ludovic Denoyer, and Marc’Aurelio Ranzato. 2018. Unsupervised machine translation using monolingual corpora only. In Proceedings of International Conference on Learning Representations (ICLR). Vancouver, Canada.
- Jason Lee, Kyunghyun Cho, and Thomas Hofmann. 2017. Fully character-level neural machine translation without explicit segmentation. TACL 5:365– 378.
- Minh-Thang Luong and Christopher D. Manning. 2016. Achieving open vocabulary neural machine translation with hybrid word-character models. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). Association for Computational Linguistics, pa…
- Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016a. Edinburgh neural machine translation systems for wmt 16. In Proceedings of the First Conference on Machine Translation. Association for Computational Linguistics, Berlin, Germany, pages 371– 376.
- Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016b. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, pages 1715–1725.
- Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, and Jeff Dean. 2017. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In Proceedings of International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
- Samuel L Smith, David HP Turban, Steven Hamblin, and Nils Y Hammerla. 2017. Offline bilingual word vectors, orthogonal transformations and the inverted softmax. In Proceedings of International Conference on Learning Representations (ICLR).
- Ilya Sutskever, Oriol Vinyals, and Quoc V Le. 2014. Sequence to sequence learning with neural networks. In Proceedings of the Annual Conference on Neural Information Processing Systems (NIPS).
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need. In Proceedings of the Annual Conference on Neural Information Processing Systems (NIPS).
- Y. Wu, M. Schuster, Z. Chen, Q. V. Le, M. Norouzi, W. Macherey, M. Krikun, Y. Cao, Q. Gao, K. Macherey, J. Klingner, A. Shah, M. Johnson, X. Liu, Ł. Kaiser, S. Gouws, Y. Kato, T. Kudo, H. Kazawa, K. Stevens, G. Kurian, N. Patil, W. Wang, C. Young, J. Smith, J. Riesa, A. Rudnick, O. Vinyals, G. Corra… OpenAlex ↗ · Scholar ↗
- Barret Zoph, Deniz Yuret, Jonathan May, and Kevin Knight. 2016. Transfer learning for low-resource neural machine translation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, pages 1568–1575. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/gu-2018-universal-neural-machine-translation-extremely/