Source-linked AI summary

Improving Neural Machine Translation Models with Monolingual Data

Rico Sennrich, Barry Haddow, Alexandra Birch

arXiv:1511.06709v4cs.CL

TL;DR

The paper investigates how target-side monolingual data can improve NMT, given that encoder-decoder models already capture language-model information. It trains unchanged NMT architectures with dummy or back-translated source sentences, achieving substantial gains and new state-of-the-art results across tasks.

  • Problem

    NMT training primarily uses parallel data, motivating investigation of whether target-side monolingual data can improve NMT, especially when parallel data is sparse or mismatched.

  • Method

    The paper trains unchanged NMT architectures on monolingual target data paired with either dummy source sentences or automatically back-translated synthetic source sentences.

  • Results

    Back-translated monolingual data produces substantial gains across tasks and new state-of-the-art results, outperforming the baseline by 2.7 BLEU on average in the Turkish→English experiments.

  • Takeaways & Limitations

    Back-translation enables monolingual data to function as additional training data, while observed benefits include domain adaptation, reduced overfitting, and improved fluency.

  • Takeaways & Limitations

    The monolingual-training ratio cannot be increased arbitrarily because excessive monolingual training can cause the network to unlearn source-context conditioning.

Abstract

from arXiv · show

Neural Machine Translation (NMT) has obtained state-of-the art performance for several language pairs, while only using parallel data for training. Target-side monolingual data plays an important role in boosting fluency for phrase-based statistical machine translation, and we investigate the use of monolingual data for NMT. In contrast to previous work, which combines NMT models with separately trained language models, we note that encoder-decoder NMT architectures already have the capacity to learn the same information as a language model, and we explore strategies to train with monolingual data without changing the neural network architecture. By pairing monolingual training data with an automatic back-translation, we can treat it as additional parallel training data, and we obtain substantial improvements on the WMT 15 task English<->German (+2.8-3.7 BLEU), and for the low-resourced IWSLT 14 task Turkish->English (+2.1-3.4 BLEU), obtaining new state-of-the-art results. We also show that fine-tuning on in-domain monolingual and parallel data gives substantial improvements for the IWSLT 15 task English->German.

1 Introduction

The paper investigates how target-side monolingual data can improve NMT without changing its architecture. It finds back-translation more effective than dummy sources and demonstrates gains in translation and domain adaptation.

  • The data argument remains relevant because monolingual target data typically exceeds parallel data and may help when parallel data is sparse or mismatched to the task.
  • The encoder-decoder decoder already functions as an RNN language model conditioned on source context, so separately integrating a language model is unnecessary for this rationale.
  • NMT can use target-side monolingual data to improve translation quality by mixing monolingual target sentences into training.
  • Back-translation is more effective than using a dummy source sentence for filling the source side of monolingual training instances.
  • NMT models can be adapted to a new domain by fine-tuning with either monolingual or parallel in-domain data.

2 Neural Machine Translation

The NMT system uses a recurrent encoder-decoder architecture with attention. A bidirectional encoder represents the source, while the decoder predicts target words from prior outputs and source-derived context.

  • The system is implemented as an encoder-decoder network with recurrent neural networks.
  • The bidirectional encoder reads the input sequence and concatenates forward and backward hidden states into annotation vectors.
  • The decoder predicts each target word from its recurrent state, the previous target word, and an attention-derived context vector.
  • The alignment model estimates source-target correspondence and is learned jointly with the network through backpropagation.
  • Training uses stochastic gradient descent on parallel data, while translation uses beam search with a small beam size.

3 NMT Training with Monolingual Training Data

The paper incorporates monolingual target data into NMT training as either dummy-source or synthetic-source examples. Back-translation supplies source context while preserving the monolingual target sentence as the training target.

  • The proposed strategies train the main NMT model with monolingual data rather than adding a separately trained language model or changing the architecture.
  • Monolingual examples can use an empty or dummy source, forcing predictions to rely on previous target words while dropping informative source context.
  • Parallel and monolingual examples are trained together in a 1-to-1 ratio, with monolingual sentences paired with a single-word <null> source.
  • A limitation of dummy-source training is that excessive monolingual data can make the network unlearn its conditioning on source context.
  • Synthetic examples pair monolingual targets with automatically back-translated source sentences, providing an approximated context vector.
  • Synthetic parallel text is mixed with human-translated parallel text without freezing network parameters; only its source side is synthetic.

4 Evaluation

The evaluation compares NMT trained on parallel data alone with NMT trained using additional monolingual data across English-German and Turkish-English tasks.

  • The evaluation covers English↔German and Turkish→English using WMT 15, IWSLT 15, and IWSLT 14 training and test data.

4.1 Data and Methods

The experiments compare NMT trained with parallel data against systems augmented with monolingual data across English↔German and Turkish→English settings. They use back-translation to create synthetic parallel data, while retaining fixed vocabularies and applying task-specific preprocessing and regularization.

  • Preprocessing and vocabulary: Rare words are represented with subword units while the network vocabulary remains fixed across additional training data.English↔German uses joint BPE with 89 500 merge operations; Turkish and English use character bigram sequences for rare words or morphemes.
  • Synthetic parallel data: 3 600 000 German monolingual sentences are back-translated into English to form synthetic parallel training data.The translations use the German→English baseline system and a single model rather than an ensemble.
  • Turkish→English: 320 000 Turkish–English sentence pairs remain after filtering, making this a much lower-resourced setting than English↔German.The filtering removes pairs with empty lines or length ratios above 9.
  • Synthetic parallel data: 3 200 000 English Gigaword sentences are back-translated into Turkish using an English→Turkish NMT system trained like the Turkish→English baseline.This produces the synthetic parallel training set for the Turkish→English experiments.
  • Training procedure: Turkish→English training uses Gaussian noise, output-layer dropout, early stopping, and gradient clipping to address overfitting and stabilize training.The reported Gaussian-noise standard deviation is 0.01, dropout probability is 0.5, and gradient-clipping threshold is 5.

4.2 Results

Across English↔German and Turkish→English experiments, adding synthetic monolingual data generally produced substantial translation improvements, including domain adaptation gains and stronger ensembles. Back-translation quality affected downstream performance, while excessive monolingual-data ratios reduced BLEU.

  • English→German WMT 15: 2.8–3.4 BLEU improvement over the baseline came from adding synthetic data for English→German WMT systems.The best ensemble also outperformed a syntax-based baseline by 1.2–2.1 BLEU.
  • English→German IWSLT 15: 1.2 BLEU improvement resulted from one epoch of fine-tuning on back-translated in-domain WIT data, reaching 26.7 BLEU on tst2015.Fine-tuning on WIT data with dummy input produced no improvement.
  • German→English WMT 15: 3.6–3.7 BLEU improvements were obtained for German→English WMT systems using synthetic monolingual training data.The ensemble exceeded the previous state of the art on newstest2015 by 2.3 BLEU.
  • Turkish→English IWSLT 14: 2.7 BLEU average improvement over the baseline came from synthetic Gigaword data for Turkish→English, while parallel-data back-translation improved performance by 1.7 BLEU.The synthetic-data system also exceeded shallow or deep fusion results by 0.5 BLEU on average.
  • Experimental caveats: Higher ratios of monolingual data decreased BLEU scores, limiting the benefit of simply adding more monolingual training data.The experiments also had an artificial aspect because parallel in-domain training data was available.
  • Back-translation Quality for Synthetic Data: 6 BLEU difference in back-translation quality produced a 0.6–0.7 BLEU difference in the resulting English→German translation quality.More diverse ensembles delivered an additional 0.8–1.0 BLEU improvement.

4.3 Contrast to Phrase-based SMT

Back-translated synthetic data benefits NMT more broadly than phrase-based SMT, with gains on both in-domain and out-of-domain evaluations. The comparison indicates that domain adaptation contributes to, but does not fully explain, NMT’s improvements.

  • Evaluation: The comparison evaluates English→German systems on WMT and IWSLT test sets, using average BLEU gains from adding synthetic data.Table 8 covers WMT newstest201{4,5} and IWSLT tst201{3,4,5}.
  • Phrase-based SMT: +0.7 BLEU is the average gain from back-translated training data for phrase-based SMT on WMT test sets, with no gain on IWSLT test sets.The WMT and News Crawl data share a newspaper-web source, whereas News Crawl is out-of-domain for IWSLT.
  • NMT: +2.9 BLEU is the NMT gain on WMT test sets from synthetic data, compared with +1.2 BLEU on IWSLT test sets.Synthetic data improves NMT even when it is out-of-domain, as in the IWSLT evaluation.
  • Interpretation: Back-translated data is more generally useful in NMT than in phrase-based SMT, with positive effects beyond domain adaptation.The paper identifies this as an important difference between the two systems.

4.4 Analysis

The analysis links monolingual-data training to reduced overfitting and improved word-level fluency. Synthetic or monolingual-data systems produce more natural novel words and can achieve lower development cross-entropy.

  • Overfitting: The best development-set cross-entropy is reached by Gigawordsynth for Turkish→English.Figure 1 compares training and development cross-entropy across systems over training time.
  • Overfitting: Synthetic training data reaches lower development cross-entropy than parallel-only training for English→German, despite comparable training cross-entropies.During the first 40 million training instances, the data show no indication of overfitting, and the lower development cross-entropy may reflect a domain effect.
  • Fluency: The fluency analysis counts novel subword-produced words and checks their attestation in monolingual data or references.A native German speaker also annotated a random subset of 100 unattested words from each system.
  • Fluency: Systems trained with additional monolingual or synthetic data have higher proportions of novel words attested in non-parallel data and judged natural by a native speaker.The analysis uses English→German newstest2015 outputs, including system-generated words absent from parallel training data.
  • Conclusion: Additional monolingual data improves the NMT system’s word-level fluency according to attestation and human naturalness measures.This result supports the paper’s central expectation that target-side monolingual data improves fluency.

5 Related Work

The paper relates its approach to neural language-model integration, data augmentation, self-training, and domain adaptation. Its distinguishing strategy trains the main NMT model with monolingual data rather than adding a separately trained language model during decoding.

  • Neural language models: Prior neural work trained separate language models and integrated them through shallow fusion, deep fusion, or decoder-state mechanisms.These approaches incorporate monolingual language models during decoding or within the encoder-decoder model.
  • Data augmentation: Synthetic parallel data resembles computer-vision data augmentation because both add transformed variants of limited training data.The analogy concerns augmentation through altered training examples.
  • Self-training: Unlike typical self-training, this approach starts with human-produced target translations and artificially produces the source input.The paper expects this direction of artificial generation to be more robust to automatic-translation noise.
  • Domain adaptation: The paper reports being the first to show effective adaptation of neural translation models with monolingual data.This is presented in relation to prior continued-training work on neural language and translation models.

6 Conclusion

The paper introduces architecture-preserving methods for using monolingual data in NMT, with back-translation producing substantial gains and domain adaptation supported by in-domain data. The analysis attributes effectiveness to domain adaptation, reduced overfitting, and improved fluency, while noting that larger or selected synthetic datasets may help further.

  • Conclusion: The paper proposes two simple methods for using monolingual training data without changing the NMT network architecture.The architecture-preserving design is intended to support application across NMT systems.
  • Conclusion: Back-translation produces substantial gains across tasks and new state-of-the-art results by turning monolingual target data into additional training data.Dummy-source examples work to some extent, but back-translation is more effective.
  • Conclusion: The analysis identifies domain adaptation, reduced overfitting, and improved fluency as reasons monolingual-data training is effective.These mechanisms summarize the paper’s analysis of synthetic and monolingual-data training.
  • Limitations: The experiments use only a small random sample of available monolingual data, especially for synthetic-parallel experiments.The paper suggests larger or data-selected synthetic datasets could provide bigger performance benefits.
  • Limitations: Effectiveness is expected to vary with back-translation quality, available parallel and monolingual data, test-set similarity, and baseline overfitting.These factors define important scope conditions for applying the approach to other settings.
Loading 1511.06709v4…