Skip to main content
QUICK REVIEW

[Paper Review] Document-Level Neural Machine Translation with Hierarchical Attention Networks

Lesly Miculicich, Dhananjay Ram|arXiv (Cornell University)|Sep 5, 2018
Natural Language Processing TechniquesComputer Science6 citations
TL;DR

This paper proposes a hierarchical multi-head attention network (HAN) integrated into a Transformer-based NMT model to capture document-level context from both source and target sides. By dynamically attending to relevant words and sentences in previous translations, the model significantly improves translation quality, achieving state-of-the-art results on multiple benchmarks with gains in BLEU, lexical cohesion, and coherence, particularly in pronoun disambiguation and discourse coherence.

ABSTRACT

Neural Machine Translation (NMT) can be improved by including document-level contextual information. For this purpose, we propose a hierarchical attention model to capture the context in a structured and dynamic manner. The model is integrated in the original NMT architecture as another level of abstraction, conditioning on the NMT model's own previous hidden states. Experiments show that hierarchical attention significantly improves the BLEU score over a strong NMT baseline with the state-of-the-art in context-aware methods, and that both the encoder and decoder benefit from context in complementary ways.

Motivation & Objective

  • To improve neural machine translation by incorporating document-level context beyond sentence-level translation.
  • To address the limitations of existing context-aware methods that either add extra parameters or disconnect from the main NMT architecture.
  • To model inter-sentence connections in a structured, dynamic way using hierarchical attention that captures both word-level and sentence-level abstractions.
  • To jointly optimize context modeling in both encoder and decoder by reusing hidden representations from previous sentence translations.
  • To demonstrate that source-side and target-side context are complementary and jointly improve translation quality.

Proposed method

  • Integrates two HAN modules—one in the encoder and one in the decoder—into a Transformer-based NMT model to model context from previous source and target sentences.
  • Uses multi-head attention at both word and sentence levels to dynamically attend to relevant words and sentences based on the current decoding step.
  • Reuses hidden states from previous sentence translations in both encoder and decoder as context, enabling end-to-end optimization across multiple sentences.
  • Employs a context gating mechanism to regulate the flow of information between the NMT network and the HAN modules.
  • Applies position-wise feed-forward networks and layer normalization after each attention layer to stabilize training and improve representation learning.
  • Extends the original HAN with multi-head attention to capture diverse discourse phenomena such as coreference and lexical cohesion.

Experimental results

Research questions

  • RQ1Can a hierarchical attention network effectively model document-level context in neural machine translation without adding external encoders or memory modules?
  • RQ2How do source-side and target-side context contribute to translation quality, and are they complementary?
  • RQ3Can the proposed HAN model improve not only automatic metrics like BLEU but also qualitative discourse phenomena such as lexical cohesion and coherence?
  • RQ4To what extent can the model disambiguate pronouns using inter-sentence context, and how interpretable are its attention mechanisms?
  • RQ5Does integrating HAN into the main NMT architecture lead to better performance than standalone context encoders or cache-based methods?

Key findings

  • The proposed HAN-NMT model achieves a BLEU score of 55.40 on the IWSLT'17 En-De test set, significantly outperforming the strong Transformer baseline of 54.26.
  • The model improves lexical cohesion by 1.5% and coherence by 0.013 on average, indicating better sentence-level cohesion and lexical repetition.
  • Pronoun disambiguation accuracy reaches 30.58% on the IWSLT'17 test set, a 0.52% improvement over the baseline, with qualitative analysis showing correct coreference resolution.
  • Ablation studies confirm that both source and target context are complementary: using both HAN encoder and decoder yields the highest gains.
  • Qualitative examples show that HAN correctly identifies antecedents (e.g., 'Nathaniel' for 'su') and highlights relevant context, demonstrating interpretable attention mechanisms.

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.