Rethinking Document-level Neural Machine Translation

Zewei Sun, Mingxuan Wang, Hao Zhou, Chengqi Zhao, Shujian Huang, Jiajun Chen, Lei Li

Introduction

Most Neural Machine Translation (NMT) systems operate on a sentence-by-sentence basis, often ignoring "discourse phenomena" such as pronoun consistency, verb tense alignment, and lexical choices across a document. To address this, Document-level NMT (DNMT) has traditionally relied on complex architectural modifications—hierarchical attention, cache-like memories, or auxiliary encoders.

This paper challenges the necessity of such complexity, asking: Is the original Transformer already powerful enough for document-level translation? The authors find that with the right training strategy and regularization, a standard Transformer can indeed outperform specialized models.

Methodology: The Doc2Doc Approach

The authors propose a "back-to-basics" approach called Doc2Doc training. Instead of using side-channels for context, the entire document is fed into a standard Transformer as a single long sequence. Two key techniques make this effective:

  1. Stronger Baselines via Regularization: The study reveals that many previous DNMT gains were primarily due to regularization effects. By increasing the dropout rate from 0.1 to 0.3 on a standard Transformer, the authors matched or exceeded the performance of many complex state-of-the-art models.
  2. Multi-resolutional Training (MR): Training on long documents (up to 2,000 words) from scratch is challenging. The authors introduce a curriculum-like strategy where the model is trained on sequences of varying lengths—from individual sentences to full documents—simultaneously. This "multi-resolutional" approach helps the model learn basic translation while gradually mastering long-range dependencies.

Experimental Setup

The models were evaluated across nine document-level datasets in six languages, including ZH-EN, EN-DE, and RU-EN. Notable datasets include:

  • Standard Benchmarks: TED Talks, News Commentary, and Europarl.
  • Parallel Document Corpus (PDC): A new large-scale dataset introduced by the authors, containing 1.39 million parallel sentences across approximately 60,000 documents from news sites like NYT and FT.
  • Discourse Test Sets: Contrastive sets were used to specifically measure handling of deixis, ellipsis, and lexical consistency.

Key Results and Analysis

The proposed MR Doc2Doc model demonstrates significant improvements over both sentence-level baselines and previous specialized DNMT architectures.

Main experimental results comparing MR Doc2Doc against previous state-of-the-art models across multiple datasets.

As shown in the table above, MR Doc2Doc achieves a d-BLEU of 25.9 on the ZH-EN TED dataset, significantly outperforming the 19.1 achieved by the specialized MCN model.

Handling Sequence Length

A critical finding is that the failure of previous "naive" Doc2Doc attempts was a training issue rather than a capacity issue.

BLEU scores across different sequence lengths, comparing Sent2Sent, SR Doc2Doc, and MR Doc2Doc.

The figure above illustrates that while standard sentence-level models (Sent2Sent) suffer a sharp decline in performance as sequence length increases, the MR Doc2Doc model maintains high BLEU scores even for sequences exceeding 1,000 tokens. This confirms that the Transformer architecture can effectively utilize long-range context when trained with a multi-resolutional strategy.

Insights and Future Work

  • The Regularization Trap: Proper baseline regularization is essential. Many "architectural" improvements in literature vanish when compared against a correctly tuned Transformer.
  • Simplicity and Coherence: Treating a document as a single sequence allows the model to naturally maintain target-side history, reducing tense mismatches and error propagation. On specialized metrics like TCP (Tense, Conjunction, and Pronouns), MR Doc2Doc scored 45.4, outperforming the Sent2Sent baseline of 44.1.
  • Computational Efficiency: While effective, the $O(n^2)$ complexity of standard self-attention remains a bottleneck for extremely long documents. Future work involves integrating efficient Transformer variants (e.g., Longformer) into the Doc2Doc framework to mitigate memory and speed constraints.

In conclusion, this research suggests that the path forward for DNMT lies not in increasing architectural complexity, but in better training strategies and leveraging the inherent power of the Transformer for long-sequence modeling.

Summary updated

BibTeX
@inproceedings{sun2022rethinking,
  author = {Zewei Sun and Mingxuan Wang and Hao Zhou and Chengqi Zhao and Shujian Huang and Jiajun Chen and Lei Li},
  title = {{Rethinking Document-level Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.279},
}
Figure