Skip to main content
QUICK REVIEW

[Paper Review] Exploiting Cross-Sentence Context for Neural Machine Translation

Longyue Wang, Zhaopeng Tu|arXiv (Cornell University)|Apr 14, 2017
Natural Language Processing TechniquesComputer Science18 references30 citations
TL;DR

This paper proposes a cross-sentence context-aware neural machine translation model that uses a hierarchical RNN to summarize prior source sentences into a global context representation, which is then integrated into NMT via initialization or auxiliary context mechanisms. The approach improves translation quality by up to +2.1 BLEU points on a large Chinese-English task, significantly reducing ambiguity and inconsistency errors.

ABSTRACT

In translation, considering the document as a whole can help to resolve ambiguities and inconsistencies. In this paper, we propose a cross-sentence context-aware approach and investigate the influence of historical contextual information on the performance of neural machine translation (NMT). First, this history is summarized in a hierarchical way. We then integrate the historical representation into NMT in two strategies: 1) a warm-start of encoder and decoder states, and 2) an auxiliary context source for updating decoder states. Experimental results on a large Chinese-English translation task show that our approach significantly improves upon a strong attention-based NMT system by up to +2.1 BLEU points.

Motivation & Objective

  • Address ambiguity and inconsistency in neural machine translation by leveraging document-level context beyond single sentences.
  • Investigate whether historical source-side context improves translation quality in sequence-to-sequence NMT models.
  • Develop a flexible framework that integrates cross-sentence context into standard attention-based NMT architectures without requiring architectural overhauls.
  • Evaluate the effectiveness of different integration strategies—warm-starting encoder/decoder states and using auxiliary context with or without gating.
  • Demonstrate that global context helps resolve word sense disambiguation and maintain lexical consistency across sentences.

Proposed method

  • Use a hierarchical RNN architecture: a sentence-level RNN processes each prior source sentence, and a document-level RNN summarizes the sequence of sentence representations into a global context vector D.
  • Apply the global context vector D to initialize the encoder, decoder, or both, replacing standard zero-initialization to provide a warm-start with prior document context.
  • Introduce an auxiliary context mechanism where D is used alongside the standard intra-sentence context vector ci from the attention mechanism during decoding.
  • Implement a context gate mechanism that dynamically controls the contribution of the global context vector to the decoder state at each decoding step using a learned sigmoid gate.
  • Train the model jointly with standard NMT objectives, integrating the cross-sentence context without modifying the core attention-based encoder-decoder framework.
  • Use separate parameter matrices for global and intra-sentence context to allow independent control and prevent interference between the two types of context.

Experimental results

Research questions

  • RQ1Can modeling cross-sentence context significantly improve translation performance in neural machine translation?
  • RQ2Which integration strategy—warm-starting encoder/decoder states or using auxiliary context—yields the greatest improvement?
  • RQ3Does the inclusion of a context gate enhance the model's ability to selectively use global context during decoding?
  • RQ4To what extent does cross-sentence context reduce ambiguity and inconsistency in translation outputs?
  • RQ5How does the model perform when using multiple prior sentences (K > 1) as context?

Key findings

  • The proposed model improves translation performance by up to +2.1 BLEU points over a strong baseline attention-based NMT system on a large Chinese-English translation task.
  • The auxiliary context mechanism with a context gate achieves the highest improvement, demonstrating the value of dynamic control over global context integration.
  • The warm-start strategy alone improves performance, showing that initializing with document-level context provides a meaningful inductive bias.
  • The model successfully corrects 76% of ambiguity-related errors and 75% of inconsistency-related errors (e.g., lexical, tense, definiteness), as shown in manual error analysis.
  • The model reduces ambiguity in word sense disambiguation: for example, correctly translating "腐官" as "corrupt officials" instead of "enemy" when the prior sentence contains "贪官".
  • Despite improvements, the model introduces approximately 21% new errors, indicating a trade-off between resolving old errors and generating new ones.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.