[Paper Review] Pretrained Language Models for Document-Level Neural Machine Translation
This paper proposes a document-level neural machine translation (NMT) system that leverages monolingual pretrained language models (BERT) to initialize encoders, employs context manipulation techniques—segment embeddings, reversed position embeddings, and context masks—to control large context influence, and introduces multi-task learning for regularization. Experiments on IWSLT show significant BLEU gains (up to 3.11) over prior work across Zh-En, Fr-En, and Es-En, demonstrating the effectiveness of BERT initialization and context-aware design for long-context NMT.
Previous work on document-level NMT usually focuses on limited contexts because of degraded performance on larger contexts. In this paper, we investigate on using large contexts with three main contributions: (1) Different from previous work which pertrained models on large-scale sentence-level parallel corpora, we use pretrained language models, specifically BERT, which are trained on monolingual documents; (2) We propose context manipulation methods to control the influence of large contexts, which lead to comparable results on systems using small and large contexts; (3) We introduce a multi-task training for regularization to avoid models overfitting our training corpora, which further improves our systems together with a deeper encoder. Experiments are conducted on the widely used IWSLT data sets with three language pairs, i.e., Chinese--English, French--English and Spanish--English. Results show that our systems are significantly better than three previously reported document-level systems.
Motivation & Objective
- To address the performance degradation in document-level NMT when using large contexts by improving model stability and relevance.
- To explore the use of monolingual pretrained language models (e.g., BERT) instead of sentence-level parallel corpora for encoder initialization.
- To design architectural modifications that explicitly control the influence of large context sequences on translation output.
- To improve generalization and reduce overfitting in low-resource document-level NMT through multi-task training.
Proposed method
- Initialize the encoder with multilingual or monolingual BERT models pre-trained on large-scale monolingual corpora, such as Wikipedia.
- Concatenate the source sentence with its preceding context (up to 512 tokens) and insert a [SEP] token to separate them.
- Introduce segment embeddings to distinguish between the input sentence and its context in the encoder input.
- Replace standard position embeddings with reversed position embeddings to better model context-to-input dependency direction.
- Apply context masks during decoding to prevent attention from attending to context tokens, ensuring only the input sentence is used for generation.
- Implement a multi-task learning objective by adding masked language modeling (MLM) on the encoder’s hidden states to regularize representation learning.
Experimental results
Research questions
- RQ1Can monolingual pretrained language models like BERT improve document-level NMT performance when used to initialize encoders?
- RQ2How can large context inputs (up to 512 tokens) be effectively integrated without degrading translation quality?
- RQ3Do architectural modifications such as segment embeddings, reversed position embeddings, and context masks help stabilize training and improve performance on long contexts?
- RQ4Does multi-task learning with masked language modeling enhance generalization and reduce overfitting in document-level NMT?
Key findings
- Using BERT for encoder initialization improves the baseline BLEU score by 1.04 on Zh-En, 0.64 on Fr-En, and 0.55 on Es-En, demonstrating the value of pretraining on monolingual data.
- The full system with BERT, context manipulation, and multi-task learning achieves a 3.11 BLEU improvement on Zh-En, 2.84 on Es-En, and 2.06 on Fr-En over previous state-of-the-art systems.
- When context manipulation techniques are applied, the performance gap between small-context and large-context systems narrows to just 0.2 BLEU, indicating effective control of context influence.
- Without context manipulation, large contexts degrade performance (e.g., divergent training), but with these methods, large contexts yield consistent gains.
- The ablation study confirms that each component—BERT, context manipulation, and multi-task learning—contributes incrementally to the final performance.
- Deeper encoders (12 layers) combined with MLM pretraining yield further improvements, with gains up to 0.64 BLEU on Fr-En.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.