Transfer Learning for Low-Resource Neural Machine Translation
Paper · 2016 · Barret Zoph, Deniz Yuret, Jonathan May et al.
Summary
A translation system learns from sentences that say the same thing in different languages. For some language pairs, there are enough of these examples to train a strong neural translator. For others, even common patterns may appear too seldom for the system to learn when to use them. This paper asks whether a translator trained on abundant bilingual text can give a second translator a better starting point. The authors train a system to translate from French into English, then reuse its learned parameters for Hausa, Turkish, Uzbek and Urdu. All four new tasks also produce English. That shared destination gives the authors a specific basis for deciding which parts of the translator to keep fixed and which to let the new data change. The problem is central to machine translation for low-resource languages.
The French-to-English system is the parent. A child starts with the parent's weights and then trains on the small corpus for its own language pair. English words keep their learned word embeddings, the numeric vectors through which the network handles words. A word in the new input language starts out with a randomly assigned vector from the parent's French vocabulary. The child can revise those source vectors along with the rest of the trainable network. This combination of copying, freezing and fine-tuning lets the child inherit the way a trained translator processes and produces sentences while learning how to handle a new input language.
Transfer alone improves the neural baseline on each of the four held-out translation tests, with an average gain of 5.6 points in BLEU score, a measure of agreement with reference translations. Combining 8 neural systems and applying a procedure for replacing unknown words brings the average improvement over the original neural baselines to 7.5 BLEU. The final system approaches the strong syntax-based statistical baseline and surpasses it on Hausa-to-English. The neural translator also helps when the statistical system still has the stronger standalone score. Used to re-rank translations that the statistical system proposes, the transferred neural system raises its test BLEU by an average of 1.3 points across the four pairs.
The Uzbek experiments help explain the gains. With and without transfer, training ends at similar levels of perplexity, a measure of how much probability the network assigns to the observed English words. The transferred system does better on held-out development data, which points to better generalization. An Uzbek–French word mapping built through English speeds up early training but yields similar final development perplexity to random assignment. Parents trained only on English also fall short of the bilingual translation parent. Together, these comparisons support the idea that the child benefits from parameters learned in the course of translating.
The parent language matters as well. On a small Spanish-to-English task, French-to-English gives a better start than German-to-English, though both improve on training from scratch. A controlled experiment with French words relabeled under a random vocabulary mapping further illustrates what can survive when the surface forms change but the underlying distribution of words stays intact. The authors treat source-language similarity as a promising consideration in choosing a parent. Their main result establishes that useful transfer is possible even when the new source language differs substantially from the parent's.
Deep dive: Transfer Learning for Low-Resource Neural Machine Translation
Transfer learning for low-resource neural machine translation uses a translator trained on abundant bilingual text to improve translation into English. · about 35 minutes to read
The problem and its context
What scarce parallel text changes
A parallel corpus, or bitext, pairs sentences in one language with translations in another. Those pairs supply the supervision in this paper. The source sentence provides the input, and the paired target sentence gives the network an example of what to produce. Learning from such a corpus involves more than memorizing word correspondences. The system also has to learn how the context of a source word affects its translation, how to order the output, and how to keep an English sentence coherent as it unfolds.
In the paper's account, neural machine translation had already achieved competitive results where large corpora were available, including for English and French. The low-resource setting posed a different problem. An event that occurs rarely in the available bitext gives the neural system little evidence about how to extend what it has seen to new sentences. Dense representations offer a way to share information across examples, but training still has to discover which distinctions and similarities matter. Small corpora provide fewer opportunities to learn those representations and the larger translation procedure at the same time.
The earlier encoder–decoder approach supplies the architecture on which the paper builds. An encoder reads the input as a sequence and constructs numeric states that represent it. A decoder uses information from the encoder to predict the output sequence. The paper traces this approach through earlier recurrent translation work and the sequence-to-sequence system described in Sequence to Sequence Learning with Neural Networks.
Attention changes what the decoder can draw on at an individual output step. A decoder with attention can consult encoder states associated with particular parts of the input while deciding what to produce next. The paper situates this idea in work on jointly learning to align and translate and uses the local-attention and input-feeding design from Effective Approaches to Attention-based Neural Machine Translation. These existing mechanisms give the neural baseline access to source context. The intervention studied in this paper concerns what the weights have learned before the small-corpus translator begins training.
Why a statistical translator is the comparison
The competing approach is syntax-based statistical machine translation, abbreviated SBMT. In the paper's string-to-tree setup, the source is treated as a sequence of words and the translation is built with a representation of target-side syntax. The system can score proposed translations using lexicalized syntactic features, which associate specific words with structural patterns. It also uses separate statistical estimates of fluency on the English side.
That comparison matters because the practical question is how useful a neural translator can be where parallel texts are scarce. Improving an isolated neural baseline establishes that transfer helps, but the statistical system supplies a benchmark for whether the improvement closes a gap that matters in practice. The statistical system also supplies a second test: whether neural scores can improve the choice among sentences that another translation method already knows how to propose.
The paper's setup therefore brings together two related questions. One concerns producing a translation directly from the neural decoder. The other concerns choosing between complete translations produced by the statistical system. In the latter setting, the statistical system contributes its search and candidate generation, and the neural system contributes a different way of judging how well an English sentence fits the source. The two evaluations test distinct uses of the same learned translation parameters.
What makes a second translation task useful
The authors draw on transfer learning, in which knowledge acquired while training for one task is reused in training for another. They describe prior applications in speech recognition, document classification and sentiment analysis. They also point to earlier work that transferred learned representations between handwritten-character recognition tasks involving Latin and Chinese characters. The shared intuition is that a network may learn intermediate representations or operations with value beyond the task that first shaped them.
Translation into a shared language gives that intuition a concrete form. English words are still English words when a translator changes from French input to Uzbek input. The inherited decoder has experience composing English sequences in response to information from an encoder. The new encoder, by contrast, must interpret a different vocabulary. An Uzbek word and a French word that happen to claim the same place in their respective vocabulary tables have no reason to mean the same thing.
That asymmetry guides the experimental design. The authors give the English word vectors a stable identity across tasks. The source representations have to be learnable because the link between an input word and its initial vector is arbitrary. Between these ends of the network are recurrent and attention parameters that were trained to support translation. The child can retain useful behavior encoded by those parameters while revising how it handles the new inputs.
The setup also distinguishes access to English text from access to bilingual supervision. A large English corpus can teach a system something about which English sentences are plausible. A bilingual corpus additionally pairs those sentences with information about what they should say. Since the parent has both kinds of evidence, better child translation could come from several parts of its training. The authors design follow-up comparisons to test whether English-only tasks can provide the same kind of starting point.
The method, step by step
How the translator reads and writes a sentence
Consider the paper's schematic sentence, with the source words C B A and the desired target words W X Y Z. In the illustration, the source is presented to the encoder in reverse order, as A B C. At each input step, the encoder processes a word and updates a vector of real numbers called its hidden state. Subsequent states depend on the preceding state and the new input. The state is therefore a learned representation of the sequence as it has been read so far.
The decoder works through the output in order. When it makes a prediction, it carries forward its own state from earlier output steps and uses information originating in the source. In the schematic example, the predictions build toward W X Y Z. The diagram illustrates the sequence of operations. The translator used in the experiments also gives the decoder attention connections through which it can consult encoder states.
The paper uses a two-layer recurrent encoder–decoder with long short-term memory units, or LSTMs. These are recurrent units with a way to regulate the information they retain as they move through a sequence. Recurrence matters here on both sides. To encode a word in context, the network can carry information from earlier input steps. To decode a word in context, it can carry information from earlier output steps. Each state is a vector, so the network can maintain a collection of features instead of a single summary value.
Attention gives the decoder a more direct route to the input. A state summarizing the source is useful, but the information needed for a particular output word may be concentrated in one region of the source sentence. Local attention lets the decision at an output step draw on a portion of the encoded sequence. Input feeding carries information from an earlier attention-informed output step into the computation for a subsequent step. Together, these mechanisms make the decoder's use of the source part of the ongoing translation process.
The source and target vocabularies enter the computation through learned vector tables. On the source side, a word's identity selects the vector the encoder will process. On the target side, one table represents English words used as decoder inputs. Parameters associated with the target output embeddings help turn a decoder state into scores for possible next words. These two English-facing uses are separate even though they refer to the same target language. A word used to condition the next decision serves a different role from a word being considered as the outcome of that decision.
The output layer uses a softmax, which turns the scores for target vocabulary entries into a probability distribution. Training follows maximum likelihood. The network is adjusted to assign more probability to the words in the reference translation, taking account of the source and the preceding target context. Back-propagation through time carries the training signal through the recurrent steps, so an error at an output position can affect parameters involved in earlier computations. The study adopts that training objective and architecture, then changes how the child starts and which parameters its training may update.
How the parent becomes the child
From French-to-English training to a low-resource translator
The steps in order.
The parent first learns to translate French sentences into English from a large collection of paired examples. This stage trains the source word vectors and recurrent encoder along with the attention and English decoding parameters. The resulting weights represent the outcome of training the parts together. The parent has had bilingual supervision on how source information should influence target predictions, as well as supervision on the English words themselves.
For a child such as Uzbek-to-English, the authors start with the parent's trained weights. On the target side, they can retain the identity of English entries. A vector learned for an English word continues to be associated with that word. On the source side, they assign Uzbek word types to French vectors at random. Here type means a distinct vocabulary entry. Repeated occurrences of an Uzbek word use its assigned entry during training. The random choice is made for the initial relationship between a word type and a vector.
The difference between a random assignment and a random vector is important. An inherited vector already has values that were learned during French-to-English training. The random part is which Uzbek word receives it. The procedure therefore starts the new encoder with a set of trained vectors while providing no dictionary knowledge about which vector suits which Uzbek word. An inherited vector may have useful numerical properties and still be a poor description of the particular Uzbek word initially assigned to it.
The training rule addresses that problem directly. The Uzbek embeddings can change as the child sees Uzbek sentences and their English translations. The recurrent encoder can change too. It has to learn how to combine the new word representations into useful sentence states. Attention and the trainable decoder components can adjust to those states. The English input and output embedding tables retain their parent values throughout this training in the standard configuration.
Freezing the English tables still leaves the child considerable control over what it says. The trainable parts of the decoder can produce different states for a given source sentence. Those states change the scores assigned to candidate English words, even though the representations associated with the words are fixed. The child can also change which information the attention mechanism brings forward when a word is predicted. The frozen tables give that broader adaptation a stable interface on the English side.
Each child receives its own low-resource bitext and is trained for its own translation task. Hausa, Turkish, Uzbek and Urdu are separate source languages in the main experiments. French supplies the common parent and English supplies the common target. The design asks what the same parent can contribute when child training sees different source vocabularies and different sets of sentence pairs.
Why starting values and fixed values are different
The authors describe the trained parent as an anchor in the space of possible parameter settings. A small bitext can support several ways of fitting the observed examples, and those ways can behave differently on new text. Parameters from a successful related task give the child a reason to start in a particular part of that space. Which parameters ultimately stay close to their old values depends partly on how much the new training moves them.
Freezing is a stronger intervention than initialization. An initialized parameter starts at an inherited value and can then move. A frozen parameter stays at that value throughout child training. In the authors' interpretation, this acts like a tight prior for the frozen portions of the network. A prior expresses a preference before the child data have been used. The paper uses the idea to explain the training recipe. Its implementation enforces exact equality for the frozen values and learns the rest through the translation objective.
The authors also try ordinary L2 regularization. This is a form of penalty associated with squared parameter values. The paper reports that it provides no significant improvement over the freezing procedure they describe. The distinction matters for interpreting their proposal. Their main result concerns a particular allocation of freedom: the English embedding tables are held exactly in place and the remaining weights can respond to the child corpus.
This division reflects a hypothesis about the location of change. Adapting a translator from French input to Uzbek input creates immediate pressure on the source word table and on the computations that read it. English remains the destination, so the identities and representations of English words have a stronger reason to carry over. How much of the translation process between those interfaces should remain fixed is an empirical question. The paper tests it by changing which blocks receive updates.
Training settings and prediction
The authors use development sets for the four child languages to tune the learning rate, the initialization range, the dropout rate and the size of the hidden state. A development set is separate from the examples used for weight updates. Its purpose is to guide decisions during training. A test set is held out for reporting translation performance.
The reported neural training setup uses minibatches of 128 examples and a hidden-state size of 1000. A minibatch is a group of examples whose training signals contribute to a weight update. The vocabulary sizes are 30K for source words and 15K for target words. These limits define the inventories the neural translator deals with directly. They also give the later unknown-word replacement procedure a distinct role at output time.
The initial parameter range for training that uses fresh initialization is written as follows.
[−0.08, +0.08]
The brackets enclose the reported range. The left value, −0.08, is its negative endpoint. The right value, +0.08, is its positive endpoint. The comma separates the endpoints. This range describes initialization before learned parent values are available for reuse. The transfer step supplies trained weights to the child.
Dropout is a training technique that temporarily withholds some activations so that learning depends less on any particular activation being present. The child networks use dropout probability 0.5, and the common parent uses 0.2. The recurrent training follows the approach associated with Recurrent Neural Network Regularization. These dropout settings form part of the reported comparison. The no-transfer and transfer cases answer a question about initialization and freezing within an already regularized neural setup.
The learning rate starts at 0.5 for parent and child. The reported decay factor is 0.9 when development perplexity fails to improve. A learning rate controls the scale of the parameter update, and decay reduces it as training proceeds under the stated condition. The authors also rescale gradients when their norm exceeds 5. The gradient summarizes the direction and magnitude of changes suggested by the training objective. Rescaling limits the size of large steps proposed by that signal.
An epoch is a pass through the training data. The main French-to-English parent is trained for 5 epochs on the WMT 2015 corpus. Each child is trained for 100 epochs on its own bitext. Pass counts concern corpora of very different sizes. They describe the schedule for each stage, while the number of examples encountered in a pass depends on the stage's dataset.
Once trained, the child can generate a translation through its decoder. For the strongest standalone configuration, the authors combine 8 neural translators and use the unknown-word replacement procedure from Addressing the Rare Word Problem in Neural Machine Translation. An ensemble combines evidence from multiple trained systems when they predict a translation. Unknown-word replacement handles places where the decoder has marked a word as outside its usable output vocabulary. Both additions come after the core transfer comparison.
The other use begins with a set of proposed English sentences generated by the statistical system. An n-best list is a list of the highest-ranked candidates returned by that system. The paper gives its size as follows.
n = 1000
Here n denotes the number of candidate positions in the list the authors use for rescoring. The equals sign specifies the chosen size, and 1000 is that size. The transferred translator evaluates the candidates given the source sentence. Incorporating that evidence can change their ranking. The resulting output remains one of the proposals from the statistical system, so this evaluation measures how well neural information helps choose among available options.
Experiments and results
The corpora and what the scores measure
The main experiments translate into English from Hausa, Turkish, Uzbek and Urdu. The paper reports bitext sizes in word tokens on the English side. A token is an occurrence in the text, so repeated English words contribute repeatedly to the count. Using the English side as the counting convention gives the reported data sizes the same target-language basis across the tasks.
The parent corpus has 300 million English training tokens. It is the French–English bitext associated with the WMT 2015 findings, and the trained parent reaches 26 BLEU on its French-to-English development set. In the child experiments, even the largest training corpus contains only 1.8m English tokens. The comparison establishes the scale of the resource imbalance that motivates reusing the parent.
The parent development score has a different role from the scores on the child translation tests. It describes the trained system that supplies the initialization for a large-data task. The child test scores describe translation into English from the new source languages. Each measures performance on its own language pair and evaluation data. The transfer effect is assessed by comparing systems on the same child task.
The reported test metric is single-reference, case-insensitive BLEU. A reference is the English translation against which the produced output is compared. Single-reference evaluation supplies one such translation for each test input. Case-insensitive scoring treats differences in capitalization as equivalent. BLEU compares patterns of words in system output with those in the reference and accounts for output length. Higher scores represent stronger agreement by that measure. They support a consistent comparison within the experiment, even though several English renderings of the same sentence may be valid.
Perplexity plays a separate role in the paper. It reflects the probability the network gives observed words in their context. Lower perplexity means that those words were, on average, less surprising to the system. The authors use development perplexity to guide learning-rate decay and compare training trajectories. BLEU, in contrast, evaluates the translations the procedure actually outputs. A change in the probability of reference words and a change in the quality of the selected output describe related aspects of performance.
The baselines test different questions
The neural system trained without transfer is the direct baseline for the initialization experiment. It uses the sequence-to-sequence architecture with local attention and input feeding and learns from the child task. This lets the comparison ask whether the small corpus is more useful when training begins from a bilingual parent and preserves the English embeddings. The baseline already has the mechanisms for using the source and generating the output that the transferred system has.
The string-to-tree statistical baseline brings other sources of evidence to translation. It uses thousands of lexicalized syntactic features, many of which occur sparsely. Its English fluency estimates come from two count-based 5-gram language models. A language model scores text by how probable its words are in context. In a 5-gram system, the learned statistics concern sequences up to the reported order. Training for one statistical fluency component uses the English portion of the WMT 2015 English–French dataset. The other uses the English side of the relevant low-resource bitext.
This detail makes the statistical comparison especially informative. The statistical baseline already has access to a large supply of English text as well as English examples drawn from the translation task itself. Its output benefits from learned target-language patterns alongside the syntactic translation features. The transferred neural system adds bilingual pretraining in a different architecture. Their relative performance on the same tests addresses the usefulness of the resulting translators, while the English-only parent experiments examine the origin of the neural gains more directly.
On the held-out tests, the neural baseline without transfer falls well behind the statistical translator across the four pairs. The result sets the scale of the problem. An architecture known to work with plentiful data and equipped with attention can still struggle when trained solely on these small corpora. The remaining comparisons track how much of that performance gap transfer and the final output procedures can recover.
Standalone translation
The paper reports its standalone translation results in stages. First comes the trained-from-scratch neural baseline. Next comes the neural system with transfer from French-to-English. Finally, the authors combine the transferred systems in an ensemble and apply unknown-word replacement. Keeping these stages distinct is necessary because they act at different points. Transfer changes the knowledge available at the start of child training. Ensembling and replacing unknown words change how outputs are produced after training.
Average gains over the neural baselines on the four low-resource test sets
Transfer improves the baseline, and the full decoding setup increases the reported gain.
The numbers
| System or setting | BLEU points gained |
|---|---|
| Transfer alone | 5.6 |
| Transfer with ensembling and unknown-word replacement (this paper) | 7.5 |
All four child tasks improve with transfer. The 5.6 figure is the authors' average gain in test BLEU over the corresponding neural baselines. It refers to Hausa-, Turkish-, Uzbek- and Urdu-to-English translation, evaluated on their respective held-out corpora. The comparison establishes that even a child whose source vocabulary starts with unrelated inherited entries can benefit from the bilingual parent.
For the final configuration, the authors combine 8 systems and replace unknown words. In the abstract they describe the added benefit of these procedures as 2 BLEU. The results section gives 7.5 BLEU as the average improvement of the final configuration over the original neural baseline. The chart uses the reported gains over the same starting condition. The joint final scores reflect both decoding additions.
The final neural translator is competitive with the statistical baseline across the main experiments. On Hausa-to-English it surpasses the syntax-based system in test BLEU. For Turkish, Uzbek and Urdu, the statistical system retains the higher standalone scores. The pattern across the four pairs is stronger evidence for consistent improvement over ordinary low-resource neural training than for a general advantage over statistical translation.
The ordering of the comparisons is also important when considering Hausa specifically. The paper credits the result against the statistical baseline to the final system. That system includes the transfer procedure as well as ensembling and unknown-word replacement. The result shows what those components achieve together. The transfer-only column answers the separate question of how much the inherited training helps before those output procedures are added.
Rescoring statistical candidates
For the rescoring experiments, the syntax-based system supplies candidate translations for each source sentence. Its own top-ranked output serves as the starting comparison. The additional neural score can favor a candidate further down that list. A rescoring gain therefore depends on the candidate set containing English sentences that the added evidence can usefully distinguish.
The paper compares rescoring with transferred neural translation, neural translation without transfer and a recurrent neural English fluency scorer. The fluency scorer is a 2-layer LSTM with 1000 hidden states, a vocabulary of 100K and a dropout probability of 0.2. It trains on the large English corpus. The authors use noise-contrastive estimation, an approach that trains using comparisons between observed examples and noise samples. They cite work on training neural probabilistic language models and on decoding with large-scale neural language models for this part of the setup.
The fluency scorer judges English sequences through their English context. The translation scorer also has the input sentence available. The no-transfer translation scorer supplies a further comparison because it too has access to the source while lacking the benefit of the large bilingual parent. Comparing these scores on candidates from the same statistical system tests whether transferred translation parameters add useful evidence at the selection stage.
Transferred neural translation yields the strongest rescoring gains of the alternatives tested. It raises the statistical system's held-out test score by 1.1–1.6 BLEU points across the language pairs, with a reported average improvement of 1.3 BLEU. The authors emphasize that a neural translator can help in this role even when its standalone translations receive lower BLEU than the statistical system's outputs.
The two results can coexist because generation and selection impose different demands. A standalone decoder has to find a useful English sentence through its own sequence of decisions. During rescoring, the complete candidate sentences are already available. The neural translator can assign informative scores to those sentences even in cases where its own decoding procedure would have produced a weaker candidate. Conversely, a useful ranking within the list says little about English sentences that the statistical system never proposed. The hybrid experiment shows the value of the neural evidence within this candidate pool.
What the ablations show
French and German as parents for Spanish
The main experiments hold the parent language pair constant. To examine what happens when that choice changes, the authors introduce a small Spanish–English training task and compare a French-to-English parent with a German-to-English parent. The child still translates into English in each case. A no-transfer Spanish-to-English system gives the comparison its own baseline.
Spanish-to-English BLEU by parent choice in the low-resource experiment
Both bilingual parents improve the Spanish translator, with French-to-English yielding the highest score.
The numbers
| System or setting | BLEU |
|---|---|
| No transfer | 16.4 |
| German-to-English parent | 29.8 |
| French-to-English parent (this paper) | 31.0 |
The small Spanish-to-English task yields 16.4 BLEU without transfer. The reported score with German-to-English as the parent is 29.8, and the score with French-to-English is 31.0. Both bilingual parents offer a substantial advantage in this setting. The ranking between them also shows that preserving the English target leaves room for the identity of the source language to matter.
The authors suggest that French may be the stronger parent because it is more similar to Spanish. This is an interpretation of the comparison. Changing the parent changes the full set of parameters learned from that language pair. The experiment measures the effect of choosing between the available trained parents. It leaves open how much of that effect is attributable to any particular kind of similarity between the languages.
It also leaves open what would make a good parent for Hausa, Turkish, Uzbek or Urdu. The Spanish result establishes that the choice can affect performance. The main experiments establish that French can help all four target tasks. Finding the best parent for any of those tasks would require comparing additional available choices on the same child data.
Preserving French while shuffling its vocabulary
A separate experiment lets the authors create a kind of similarity that natural language pairs seldom offer. They construct a synthetic source language called French′ by randomly reassigning French vocabulary entries. The reassignment is consistent. Wherever an original word would occur, its replacement takes its place. This makes the sentence unintelligible to a French reader who lacks the mapping while preserving the sequence of relationships between the underlying word types.
Suppose a pair of French words tends to occur in similar contexts. After relabeling, their replacement words still tend to occur in similarly relabeled contexts. Word order and distributional structure carry through the change of labels. A corresponding English sentence still translates the original underlying content. The French-to-English parent is thus familiar with the source language's patterns, although the synthetic child's observed word identities conceal that continuity.
The reported French′-to-English score rises from 13.3 BLEU without transfer to 20.0 BLEU with the French parent. The paper states the gain as 6.7 BLEU. For comparison within this analysis, the Uzbek-to-English result goes from 10.7 to 15.0 BLEU, and the paper reports a gain of 4.3 BLEU. The 15.0 figure belongs to the Uzbek comparison in this synthetic-language analysis. Its role is to compare transfer gains under the two parent–child relationships.
This is a controlled illustration of how much can carry over when the core structure of the source language remains aligned with the parent's experience. It distinguishes familiar distributional structure from familiar surface forms. A parent can help even when a new label replaces each word it previously knew. The French′ construction puts that distinction in especially sharp form because the underlying French sentence patterns are conserved by design.
The authors use the experiment as an empirical best-case comparison. The larger gain under relabeling is consistent with the idea that a closely matched source can make transferred parameters more useful. A natural child language can differ from its parent in several ways at once, including the distribution and ordering of words. The synthetic result demonstrates the benefit in the particular case where such structural differences are removed by construction.
Letting the right components change
The parameter-freezing analysis starts with a French-to-English parent characterized in the ablation setup by 24.4 BLEU and perplexity 6.2. These are the starting parent's reported scores for that analysis. The authors then assign Uzbek word types to French embeddings at random, as in the main transfer recipe, and vary which portions of the network can be updated on Uzbek–English bitext.
The comparison separates two questions that would otherwise be easy to conflate. One is what the child should receive from the parent at the start. The other is what it should be able to change once it sees the new task. The settings inherit weights from the trained parent and differ in how much freedom the child has to adapt them. Evaluating those settings makes it possible to see where keeping an existing representation is useful and where a constraint gets in the way.
For Uzbek-to-English, the highest BLEU among the freezing choices comes from keeping the target input and output embeddings fixed and allowing the other components to train. This includes the source embeddings, which need to learn meanings for their new labels, and the parts that interpret encoder states and turn them into English predictions. Allowing those weights to change gives the child ways to adapt the relationships between the source and target representations.
The English target gives a reason to start with stable embeddings, but the results also show why that principle has to be applied at the level of individual components. In Turkish-to-English, the authors find that additionally freezing the target-side attention parameters gives a slightly better result. The main experiments use a common configuration, while this comparison suggests that the amount of useful adaptation can depend on the child language and its corpus.
The authors also expect that a closer relationship between parent and child could favor freezing or strongly regularizing more of the network. If more of the parent's source processing remains appropriate, preserving more of it might help. The reported Turkish result establishes that the best choice can differ across the tested tasks. The broader expectation about closely related pairs is a hypothesis about how that choice may vary.
Training fit and held-out generalization
The Uzbek learning curves compare training from the French parent with training from an ordinary initialization. Both curves track perplexity as learning proceeds. Each training curve describes how well the network predicts the sentences it can use to update its weights. Each development curve describes how well it predicts held-out sentences.
By the end, the two systems reach similar training perplexities. The transferred system has substantially lower development perplexity. The scores thus separate the ability to fit the training examples from the ability to carry that learning over to held-out examples. An explanation based on an improved fit to the observed training sentences would predict a corresponding advantage on the training curve. Here the decisive advantage appears on the development curve.
The authors interpret this as evidence about overfitting. Overfitting occurs when a system learns patterns that work well on the examples it sees but generalize poorly to fresh examples. In this experiment, both training routes reach solutions that fit the observed data comparably well by the perplexity measure. The inherited weights and the constraints on changing them favor a solution that predicts held-out English words better.
This analysis concerns the search for parameters during training. It has a different object from the search for translations during decoding or the candidate search performed by the statistical system. The learning curves compare what the fitted networks assign to observed target sequences. They support an account in which the inherited starting point and constraints steer learning towards a better-generalizing setting among those with similar training fit.
A dictionary helps the child earlier
The authors test whether source initialization could be improved by giving Uzbek words French vectors chosen for lexical correspondence. They obtain word-translation probability tables, called t-tables, from the Berkeley Aligner associated with Alignment by Agreement. A t-table supplies estimated probabilities for translations between words. The setup provides probabilities from Uzbek to English and from English to French.
Composing the tables lets English act as an intermediary. Evidence linking an Uzbek word to an English word can be combined with evidence connecting that English word to a French word. The resulting scores give the authors a basis for assigning Uzbek entries to French embeddings. This variation changes how the source words receive their initial vectors while retaining the basic transfer procedure.
The dictionary-based setup reaches 25 on the Uzbek-to-English development perplexity curve at epoch 2. Random assignment reaches that same development perplexity at epoch 4. This is a measured improvement in the early learning trajectory. A more informative initial relationship between the word identities and their vectors gives the encoder a head start.
By the end of training, the two development perplexities are similar. The difference between their early curves diminishes as child training changes the vectors and the computations that use them. The authors see this as evidence that the network can learn to overcome the standard procedure’s arbitrary assignment of the source. The early advantage and the similar endpoint answer different questions: how quickly a useful representation emerges and how well the systems eventually predict held-out words.
What English-only parents contribute
A French-to-English parent sees a large amount of English, so a plausible explanation for the gains is that the child mainly inherits a better ability to write English. To investigate that account, the authors build parents that use the English side of the large corpus. Each learns a task that provides some of the opportunities present during bilingual training.
The copying parent reads an English sentence and learns to reproduce it. This gives the encoder and decoder a joint sequence task with English output. The scrambled-input parent reads a version of an English sentence whose words have been permuted and learns to restore the original order. That task still uses only English, but it creates a stronger reason to learn how the input words can be arranged into a coherent output. The authors also train a recurrent English language model using a 2-layer LSTM. It learns to predict English text from English context.
All of these are compared as parents for the Uzbek-to-English child. The English-only alternatives fall short of the bilingual French-to-English parent. The comparison makes the shared target language a starting point for understanding transfer. Exposure to English, and even experience reconstructing English sequences with an encoder and decoder, falls short of the benefit observed when the parent has learned to translate across languages.
The experiment narrows the explanation to the kind of supervision available during parent training. Paired French and English sentences teach the network to connect information in one language to decisions in another. Copying, order restoration and English continuation each provide a different subset of that learning problem. The comparison supports a contribution from parameters shaped by bilingual translation. It leaves their individual contributions distributed across the encoder, attention and decoder.
Limitations
Limits identified by the authors
The authors treat parent choice as an open question. They suggest that a more similar parent source language may yield stronger results where enough bilingual data for that parent can be obtained. Those conditions can pull in different directions. A close match may have little available bitext, while a widely available corpus may pair English with a more distant source language. The paper demonstrates that parent choice can matter without establishing how to balance such considerations across the four main tasks.
The authors also treat the best freezing policy as dependent on the language and the corpus. The Uzbek comparison favors keeping the English embedding tables fixed while training the remaining blocks. The Turkish result favors an additional constraint on attention. Accordingly, the common policy used in the main experiments has the status of a practical setting evaluated across those tasks. The expectation that closer languages may benefit from stronger constraints remains conditional.
The strongest standalone conclusions are similarly specific. The final neural system closes much of the gap to the strong statistical translator and leads on Hausa-to-English. The hybrid setup improves the statistical outputs across the tested pairs. These are different claims about how the transferred network is used. The standalone result is a comparison between translation systems, while the hybrid improvement depends on combining the statistical candidate generator with a neural scorer.
Limits of the experimental design
All four main children translate into English, and all inherit from a French-to-English parent. The shared output language enables the paper's clearest rule for transferring parameters: an English vocabulary entry keeps its meaning and identity across the tasks. A setup that changes the target language would require a different way to assign or learn target representations. The evidence here concerns a setting where the target language and the identity of its transferred entries stay shared.
The parent language comparisons likewise have a defined scope. Spanish provides a natural-language comparison between two available parents. French′ supplies a synthetic case with the same underlying distributional structure as the parent's real source language. Together these experiments motivate attention to the parent–child relationship. The paper gives no quantitative rule for predicting transfer from language similarity, and the available comparisons leave the effects of the languages and the parent training setups intertwined.
The vocabulary mapping experiment measures the value of dictionary initialization in the reported Uzbek training schedule. The early development-perplexity advantage could matter when early progress is the goal. The convergence of the curves gives evidence about their endpoints under the paper's training conditions. A schedule that ends earlier would make the early comparison more consequential. The paper's result therefore supports random assignment as a competitive eventual starting method in that experiment, with the timing of evaluation remaining relevant.
The learning curves also have a limited causal reach. The transfer procedure changes the starting weights and holds some weights fixed. Comparable training perplexity and better development perplexity locate the observed benefit in generalization for the Uzbek comparison. They leave open how much of that benefit comes from the initial position versus the fixed English tables. The freezing experiments address part of that distinction, and the English-only parents address another part, but the paper does not assign a magnitude to each mechanism.
The test results use single-reference, case-insensitive BLEU. That makes it possible to compare systems consistently on the reported corpora. It gives limited evidence about individual errors, alternative valid translations or what a reader would prefer in a particular sentence. A case-insensitive comparison also treats capitalization changes as equivalent. The claims about crossing or approaching the statistical baseline concern the paper's aggregate evaluation measure.
Finally, two parts of the final setup are evaluated as a package. The authors add ensembling and unknown-word replacement together in the final standalone result, so the reported gain at that stage belongs to the combination. The rescoring experiment, meanwhile, can improve selection only within the statistical system's candidate lists. Its BLEU gains establish that the transferred translator supplies useful ranking information for those proposals. They leave the quality of candidates beyond the list outside the experiment.
What came after
Choosing a parent and shaping the starting point
Several later papers citing this study take up the choice of where knowledge should come from. The most direct continuation is Transfer Learning across Low-Resource, Related Languages for Neural Machine Translation. Its stated focus brings language relatedness and limited resources together. The original paper shows that a high-resource parent can help across dissimilar source languages and that a close match can be especially valuable. Transfer across related low-resource languages makes the relationship between the tasks central even when the available starting task itself has limited data.
Choosing Transfer Languages for Cross-Lingual Learning treats the language choice as a broader cross-lingual learning problem. The French-versus-German comparison is an example of the kind of decision this subject raises. A target task can have several potential sources of knowledge, and their usefulness can differ even when each brings experience with a related objective. The later work's scope extends the selection question beyond choosing a translation parent for a shared English target.
Meta-Learning for Low-Resource Neural Machine Translation takes up the starting-point question through meta-learning. The original method starts from a translator trained to do well on its own high-resource pair. Meta-learning makes learning a basis for subsequent adaptation part of the stated problem. The connection is the importance of starting parameters under scarce supervision. What differs is the role adaptation plays in defining the learning problem that produces those parameters.
New-language adaptation is itself the subject of Rapid Adaptation of Neural Machine Translation to New Languages. The original paper's child is already an example of adapting an existing translator to a new source language. The later title makes speed of adaptation part of the focus. That connects particularly closely to the distinction in the Uzbek dictionary experiment between reaching a given development perplexity earlier and reaching a similar eventual value.
Changing how the initial knowledge is acquired
The English-only parent comparisons make the original paper relevant to later sequence-to-sequence pretraining work. In those comparisons, copying and restoring a scrambled sentence offer two ways to create a training task from English text, and the recurrent fluency scorer offers another kind of language training. All three can be understood as experiments on what a network learns before it sees the small bilingual child corpus.
Unsupervised Pretraining for Sequence to Sequence Learning studies pretraining for sequence-to-sequence learning under an unsupervised setup. Its connection to the translation paper is through the separation of initial learning from later task training. The original bilingual parent establishes the value of a learned starting point. Unsupervised pretraining addresses how such a point can be acquired through a different source of supervision.
MASS puts masking at the center of sequence-to-sequence pretraining for language generation. Masking withholds material from the input so that recovering missing text can serve as a learning problem. The link to this paper runs through the encoder–decoder as a unit of transfer: a preliminary task can shape the way source-side context reaches the output side. The original paper's Uzbek result compares specific English-only alternatives with a bilingual parent. Later pretraining work explores a wider range of preliminary objectives.
Another line changes the evidence available to the translation task itself. Exploiting Source-side Monolingual Data in Neural Machine Translation centers on text in the source language, whereas the original paper's additional large bilingual resource comes from a different source language and shares the target. Data Augmentation for Low-Resource Neural Machine Translation focuses on augmentation for the low-resource translation task. These approaches address the same underlying scarcity through the training evidence, while the original transfer procedure changes the starting weights and the constraints on adapting them.
Sharing across language pairs and revisiting the baseline
Universal Neural Machine Translation for Extremely Low Resource Languages places very small language resources in the setting of a universal translator. Massively Multilingual Neural Machine Translation takes up the problem of neural translation across many languages. Both connect to the question that motivates the parent–child setup: which translation knowledge can serve more than one language pair? The parent–child experiments examine that question by passing weights from a trained bilingual network to a separate child. The multilingual research agenda makes sharing across a much broader collection of language tasks its subject.
Massively Multilingual Neural Machine Translation in the Wild likewise places the challenges of large-scale multilingual translation at the center of the study. The original paper gives a controlled view of adaptation, with a shared destination, separate children and identifiable blocks that can be frozen. Multilingual work widens the setting in which choices about shared translation knowledge matter. Simple, Scalable Adaptation for Neural Machine Translation takes up the adaptation question from the standpoint of scale, another setting in which the allocation of shared and adjustable parameters becomes important.
The value of an improved system also depends on the comparison used to establish it. Revisiting Low-Resource Neural Machine Translation returns to the low-resource setting as a case study. The original paper makes its contribution visible through several comparisons: training a neural translator from scratch, adapting a bilingual parent, comparing with a strong statistical system and combining the two at selection time. A later case study on the same general problem belongs to the continuing question of how much observed performance depends on the low-resource training setup.
Two later surveys situate that question in broader research areas. Transfer Learning in Natural Language Processing surveys the use of knowledge from earlier training across language-processing tasks. Survey of Low-Resource Machine Translation brings the discussion back to translation under scarce resources. The paper connects those subjects through a concrete experiment: a bilingual translator supplies learned weights, English embeddings give the child a stable target interface, and small parallel corpora provide enough evidence to adapt the remaining parameters.
Cite
Cite as Barret Zoph, Deniz Yuret, Jonathan May and Kevin Knight. 2016. Transfer Learning for Low-Resource Neural Machine Translation. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{zoph2016transfer,
title = {{Transfer Learning for Low-Resource Neural Machine Translation}},
author = {Barret Zoph, Deniz Yuret, Jonathan May and Kevin Knight},
booktitle = {Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing},
year = {2016},
doi = {10.18653/v1/d16-1163},
eprint = {1604.02201},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/d16-1163}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/zoph-2016-transfer-learning-low-resource-neural/
References
- D. Bahdanau, K. Cho, and Y. Bengio. 2014. Neural machine translation by jointly learning to align and translate. In Proc. ICLR. our card
- P. Baltescu and P. Blunsom. 2014. Pragmatic neural language modelling in machine translation. arXiv preprint arXiv:1412.7119. OpenAlex ↗ · Scholar ↗
- Yoshua Bengio. 2012. Deep learning of representations for unsupervised and transfer learning. JMLR, 27. OpenAlex ↗ · Scholar ↗
- O. Bojar, R. Chatterjee, C. Federmann, B. Haddow, M. Huck, C. Hokamp, P. Koehn, V. Logacheva, C. Monz, M. Negri, M. Post, C. Scarton, L. Specia, and M. Turchi. 2015. Findings of the 2015 workshop on statistical machine translation. In Proc. WMT. our card
- M. A. Castaño and F. Casacuberta. 1997. A connectionist approach to machine translation. In Proc. Eurospeech. OpenAlex ↗ · Scholar ↗
- D. Chiang, K. Knight, and W. Wang. 2009. 11,001 new features for statistical machine translation. In Proc. NAACL. OpenAlex ↗ · Scholar ↗
- D. C. Cireşan, U. Meier, and J. Schmidhuber. 2012. Transfer learning for latin and chinese characters with deep neural networks. In Proc. IJCNN. OpenAlex ↗ · Scholar ↗
- M. Galley, M. Hopkins, K. Knight, and D. Marcu. 2004. What's in a translation rule? In Proc. HLT-NAACL. our card
- M. Galley, J. Graehl, K. Knight, D. Marcu, S. DeNeefe, W. Wang, and I. Thayer. 2006. Scalable inference and training of context-rich syntactic translation models. In Proc. ACL-COLING. our card
- S. Hochreiter and J. Schmidhuber. 1997. Long short-term memory. Neural Computation, 9(8). OpenAlex ↗ · Scholar ↗
- P. Liang, B. Taskar, and D. Klein. 2006. Alignment by agreement. In Proc. NAACL. OpenAlex ↗ · Scholar ↗
- M. Luong, H. Pham, and C. Manning. 2015a. Effective approaches to attention-based neural machine translation. In Proc. EMNLP. our card
- T. Luong, I. Sutskever, Q. Le, O. Vinyals, and W. Zaremba. 2015b. Addressing the rare word problem in neural machine translation. In Proc. ACL. our card
- A. Mnih and Y. W. Teh. 2012. A fast and simple algorithm for training neural probabilistic language models. arXiv preprint arXiv:1206.6426. our card
- R. Neco and M. Forcada. 1997. Asynchronous translations with recurrent neural nets. In Proc. International Conference on Neural Networks. OpenAlex ↗ · Scholar ↗
- S. J. Pan and Q. Yang. 2010. A survey on transfer learning. IEEE Transactions on Knowledge and Data Engineering, 22(10):1345–1359. OpenAlex ↗ · Scholar ↗
- I. Sutskever, O. Vinyals, and Q. V. Le. 2014. Sequence to sequence learning with neural networks. In Proc. NIPS. our card
- L. Torrey and J. Shavlik. 2009. Transfer learning. In E. Soria, J. Martin, R. Magdalena, M. Martinez, and A. Serrano, editors, Handbook of Research on Machine Learning Applications and Trends: Algorithms, Methods, and Techniques. IGI Global. OpenAlex ↗ · Scholar ↗
- A. Vaswani, Y. Zhao, V. Fossum, and D. Chiang. 2013. Decoding with large-scale neural language models improves translation. In Proc. EMNLP. our card
- D. Wang and T. Fang Zheng. 2015. Transfer learning for speech and language processing. arXiv preprint arXiv:1511.06066. OpenAlex ↗ · Scholar ↗
- P. J. Werbos. 1990. Backpropagation through time: what it does and how to do it. Proc. IEEE, 78(10):1550–1560. OpenAlex ↗ · Scholar ↗
- W. Williams, N. Prasad, D. Mrva, T. Ash, and T. Robinson. 2015. Scaling recurrent neural network language models. CoRR, abs/1502.00512. OpenAlex ↗ · Scholar ↗
- W. Zaremba, I. Sutskever, and O. Vinyals. 2014. Recurrent neural network regularization. CoRR, abs/1409.2329. our card