Towards Discourse-Aware Document-Level Neural Machine Translation

Xin Tan, Longyin Zhang, Fang Kong, Guodong ZhouIJCAI 2022

Introduction

Standard Neural Machine Translation (NMT) has achieved remarkable success in translating individual sentences. However, translating entire documents remains a significant challenge. Most current "context-aware" models adopt a shallow approach, simply concatenating surrounding sentences as additional input. This method often fails to capture the underlying logical structure—or "deep coherence"—of a document.

To address this, we introduce Disco2NMT, a document-level translation system that explicitly models rhetorical relationships between text units. By leveraging Rhetorical Structure Theory (RST), Disco2NMT captures how different parts of a text relate to one another (e.g., as a "consequence," "contrast," or "example"), leading to more coherent and natural-sounding translations.

The Disco2NMT Framework

The core innovation of Disco2NMT lies in its three-level hierarchical encoder designed to bake discourse awareness into the translation process.

1. Segmentation into EDUs

Rather than processing full sentences, the model segments text into Elementary Discourse Units (EDUs). These are finer-grained, clause-like segments that serve as the building blocks of rhetorical structure.

2. Discourse Dependency Conversion

RST typically represents documents as constituency trees. However, these trees can be complex and prone to error propagation in neural models. Disco2NMT converts these trees into simplified dependency graphs. In these graphs, EDUs serve as nodes, and the rhetorical relations between them serve as edges.

3. RST-Graph Encoder and Integration

The model employs a Graph Convolutional Network (GCN) to encode the discourse structure. This allows each EDU to "attend" to its neighbors based on the logical links defined by the RST graph. These discourse-aware representations are then integrated into a standard Transformer-based architecture.

The full architecture of Disco2NMT, showing the GCN module integrated with the Transformer encoder.

Experimental Evaluation

The model was evaluated on English-German (En-De) and English-Chinese (En-Zh) translation tasks across three domains: TED talk transcripts (IWSLT), News Commentary (WMT), and European Parliament proceedings (Europarl). Discourse structures were generated using a state-of-the-art RST parser trained on the RST Discourse Treebank.

Results and Analysis

Disco2NMT consistently outperformed both sentence-level (SentNMT) and standard document-level (DocNMT) baselines across various metrics and datasets.

Detailed BLEU and METEOR results across different domains and language pairs.

As shown in the results table, Disco2NMT (represented as "Ours") achieved a BLEU score of 24.60 on En-De TED talks, surpassing the standard document-level baseline of 24.19. When combined with large-scale pre-training (indicated by the asterisk in the table), the model reached 26.99 BLEU, a significant improvement over the baseline's 26.08.

Beyond automated metrics, analysis showed that Disco2NMT produces more coherent text. By understanding the logical links between units, the model is more likely to use explicit conjunctions (like "but" or "however") to join segments correctly, reflecting the original rhetorical intent of the source document.

Discussion and Future Work

While Disco2NMT marks a step forward, several challenges remain. The performance is currently limited by the quality of automated RST parsers; noise in relation labels and domain gaps (e.g., using a news-trained parser on TED talks) can introduce errors. Furthermore, while overall coherence improved, the model did not show a major breakthrough in specific pronoun resolution, suggesting that future iterations might benefit from combining RST with explicit coreference modeling.

In conclusion, Disco2NMT demonstrates that incorporating "deep" discourse information through structured graphs is a viable and effective strategy for improving document-level machine translation.

Summary updated

BibTeX
@inproceedings{tan2022towards,
  author = {Xin Tan and Longyin Zhang and Fang Kong and Guodong Zhou},
  title = {{Towards Discourse-Aware Document-Level Neural Machine Translation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/608},
}
Figure