Skip to main content
QUICK REVIEW

[Paper Review] Modeling Coherence for Neural Machine Translation with Dynamic and Topic Caches

Shaohui Kuang, Deyi Xiong|arXiv (Cornell University)|Nov 30, 2017
Natural Language Processing TechniquesComputer Science23 references81 citations
TL;DR

The paper introduces a cache-based neural model for NMT that uses a dynamic cache from prior translations and a topic cache derived from document topics to improve document-level coherence, integrating cache probabilities with the NMT decoder via a gating mechanism and training end-to-end.

ABSTRACT

Sentences in a well-formed text are connected to each other via various links to form the cohesive structure of the text. Current neural machine translation (NMT) systems translate a text in a conventional sentence-by-sentence fashion, ignoring such cross-sentence links and dependencies. This may lead to generate an incoherent target text for a coherent source text. In order to handle this issue, we propose a cache-based approach to modeling coherence for neural machine translation by capturing contextual information either from recently translated sentences or the entire document. Particularly, we explore two types of caches: a dynamic cache, which stores words from the best translation hypotheses of preceding sentences, and a topic cache, which maintains a set of target-side topical words that are semantically related to the document to be translated. On this basis, we build a new layer to score target words in these two caches with a cache-based neural model. Here the estimated probabilities from the cache-based neural model are combined with NMT probabilities into the final word prediction probabilities via a gating mechanism. Finally, the proposed cache-based neural model is trained jointly with NMT system in an end-to-end manner. Experiments and analysis presented in this paper demonstrate that the proposed cache-based model achieves substantial improvements over several state-of-the-art SMT and NMT baselines.

Motivation & Objective

  • Motivate document-level coherence constraints in neural machine translation beyond sentence-level translation.
  • Introduce two caches (dynamic and topic) to capture cross-sentence and topical information.
  • Develop a cache-based neural model that scores cache entries and integrates them with NMT predictions.
  • Train the cache model jointly with the NMT system in an end-to-end framework.
  • Demonstrate effectiveness on NIST Chinese–English translation against SMT/NMT baselines.

Proposed method

  • Define a dynamic cache that stores words from recently translated sentences (with FIFO eviction and stop-word exclusion).
  • Define a topic cache by projecting source topics to target-side topical words using an LDA-based topic projection model.
  • Implement a cache scorer neural network that computes scores for cached words using decoder state, context, and cache word, producing p_cache(y_t|... ).
  • Combine cache probabilities with the standard NMT probabilities via a gating mechanism: p(y_t|...) = (1-α_t) p_cache(y_t|...) + α_t p_nmt(y_t|...).
  • Train the whole system end-to-end by minimizing negative log-likelihood on the training corpus.
  • Evaluate on NIST Chinese–English tasks and compare against Moses and RNNSearch* baselines.

Experimental results

Research questions

  • RQ1Can document-level coherence be improved in neural machine translation by incorporating document-wide caches?
  • RQ2What is the impact of dynamic (recent translation) vs. topic-based caches on translation quality?
  • RQ3Does a gating mechanism effectively integrate cache-based predictions with standard NMT predictions?
  • RQ4How do topic and dynamic caches affect translation coherence and consistency across a document?

Key findings

  • The combined dynamic and topic caches improve BLEU over RNNSearch* by 1.60 average points (4.83 over Moses).
  • Dynamic cache and topic cache together yield the best average BLEU improvement (RNNSearch*_+Cd,Ct = 35.52 Avg).
  • Gating mechanism is crucial; fixing the gate (α=0.3) substantially degrades performance.
  • Topic cache helps begin-document translations by aligning with global document topics; dynamic cache aids consistency across sentences.
  • Cache-enabled NMT shows higher coherence (cosine similarity of adjacent sentences) than the baseline (0.4274 vs 0.4259).
  • Examples indicate consistent translation choices (e.g., same word for 同一 Chinese term) when using the cache.

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.