Multilingual Document-Level Translation Enables Zero-Shot Transfer From Sentences to Documents

Biao Zhang, Ankur Bapna, Melvin Johnson, Ali Dabirmoghaddam, Naveen Arivazhagan, Orhan Firat

Abstract

Standard Neural Machine Translation (NMT) often struggles with document-level consistency due to a lack of parallel document data. This research demonstrates that document-level translation capabilities can be transferred "zero-shot" from document-rich languages to document-poor ones. By leveraging a multilingual model trained on a mixture of parallel documents and sentences, the system learns to utilize cross-sentence context even for languages where no training documents were provided.

The Challenge: The Document-Level Data Bottleneck

While sentence-level NMT has reached high levels of fluency, it frequently fails to maintain coherence across longer texts, leading to errors in pronoun gender, verb tense, and terminology. Document-level NMT (DocNMT) addresses this by incorporating surrounding context. However, DocNMT is hindered by a severe data bottleneck: while billions of parallel sentences exist for many language pairs, parallel documents are scarce for most.

The central question of this work is whether multilinguality can bridge this gap. Specifically, can a model learn the general skill of contextual reasoning from "Teacher" languages (with abundant document data) and apply it to "Student" languages (with only sentence-level data)?

Methodology: Multilingual Zero-Shot Transfer

The researchers utilized a multilingual concatenation-based DocNMT approach. Using a standard Transformer architecture, they concatenated $D$ consecutive sentences into a single sequence, separated by a special [SEN] token to mark boundaries.

Conceptual framework for zero-shot transfer of document-level translation capabilities.

The training process involved a two-stage pipeline:

  1. Pretraining: A multilingual sentence-level model is trained on all available data.
  2. Finetuning: The model is finetuned on a mixture of document-level data from Teacher languages and sentence-level data from Student languages.

Key variables explored included Teacher Density (N21 vs. 12N setups), Data Balance (the ratio $p$ of document vs. sentence samples), and Data Condition (testing the efficacy of genuine vs. back-translated documents).

Key Results and Insights

The experiments on Europarl-7 and IWSLT-10 benchmarks yielded several critical findings:

1. Contextual Modeling is a Transferable Skill

The most significant discovery is that "context awareness" is largely a language-agnostic skill. A model trained to look at context in German can successfully apply that "habit" to translate Finnish, even if it only encountered Finnish in isolated sentences during training.

2. Teacher Density and Data Balance

The "N21" setup (multiple teacher languages) consistently outperformed the "12N" setup (one teacher). A diverse set of contextual examples across different languages makes the transfer more robust. Furthermore, the model's performance is sensitive to the proportion $p$ of document-level data used during finetuning, showing a trade-off between general translation quality (BLEU) and contextual accuracy (ACC).

Impact of teacher density and data balance on translation quality (BLEU) and contextual accuracy (ACC).

3. Performance Gains

On the Europarl-7 En→Xx task, zero-shot transfer (N21) improved accuracy on contrastive test sets by +11.3 to +12.5 points over the sentence-level baseline. For Xx→En tasks, the model showed a significant boost in Pronoun F1 scores (up to +4.4 points), indicating improved gender resolution based on preceding context.

4. The Role of Synthetic Data

Surprisingly, the model does not strictly require human-aligned parallel documents. Using back-translated monolingual documents—where the target side is natural and the source side is machine-translated—performed nearly as well as using genuine parallel data, providing a scalable path for low-resource languages.

Conclusion

This research proves that explicit document-level training is not a prerequisite for every language in a multilingual system. By "unlocking" zero-shot transfer, we can extend the benefits of document-level coherence to low-resource languages. Future work will explore how language similarity affects transfer quality and seek to develop more nuanced automatic evaluation protocols for document-level translation.

Summary updated

BibTeX
@inproceedings{zhang2022multilingual,
  author = {Biao Zhang and Ankur Bapna and Melvin Johnson and Ali Dabirmoghaddam and Naveen Arivazhagan and Orhan Firat},
  title = {{Multilingual Document-Level Translation Enables Zero-Shot Transfer From Sentences to Documents}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.287},
}
Figure