Skip to main content
QUICK REVIEW

[Paper Review] Improving Neural Machine Translation through Phrase-based Forced Decoding

Jingyi Zhang, Masao Utiyama|arXiv (Cornell University)|Nov 1, 2017
Natural Language Processing TechniquesComputer Science26 references9 citations
TL;DR

This paper proposes a phrase-based forced decoding method to improve neural machine translation (NMT) by leveraging an existing phrase-based SMT model to compute decoding costs for NMT outputs, enabling reranking of n-best NMT hypotheses. The method uses a soft forced decoding algorithm that handles out-of-vocabulary NMT outputs via source word deletion and target word insertion, significantly improving translation adequacy across four language pairs without sacrificing fluency.

ABSTRACT

Compared to traditional statistical machine translation (SMT), neural machine translation (NMT) often sacrifices adequacy for the sake of fluency. We propose a method to combine the advantages of traditional SMT and NMT by exploiting an existing phrase-based SMT model to compute the phrase-based decoding cost for an NMT output and then using this cost to rerank the n-best NMT outputs. The main challenge in implementing this approach is that NMT outputs may not be in the search space of the standard phrase-based decoding algorithm, because the search space of phrase-based SMT is limited by the phrase-based translation rule table. We propose a soft forced decoding algorithm, which can always successfully find a decoding path for any NMT output. We show that using the forced decoding cost to rerank the NMT outputs can successfully improve translation quality on four different language pairs.

Motivation & Objective

  • To address the inadequacy of NMT models, which often produce over-translation, under-translation, or unrelated translations, despite high fluency.
  • To combine the fluency of NMT with the structural constraints of phrase-based SMT to improve translation adequacy.
  • To develop a decoding method that can handle any NMT output, even when it lies outside the standard phrase-based SMT search space.
  • To improve reranking diversity in NMT by using random sampling instead of beam search to generate a more varied n-best list.
  • To demonstrate that phrase-based decoding costs can effectively identify and penalize inadequate translations, such as unrelated or misaligned phrases.

Proposed method

  • The method uses an existing phrase-based SMT model to compute a phrase-based decoding cost for each NMT-generated translation, which is then used to rerank the n-best NMT outputs.
  • A soft forced decoding algorithm is proposed to handle NMT outputs not in the standard phrase-based search space by allowing source word deletions and target word insertions with context-sensitive penalties.
  • Penalties are set higher for content words and lower for function words to reflect their likelihood of being omitted or inserted during translation.
  • The n-best list for reranking is generated via random sampling from the NMT model to increase diversity, avoiding the redundancy seen in standard beam search.
  • The decoding cost is computed using standard phrase-based translation rules, with scores derived from a phrase table extracted from word-aligned training data.
  • The final translation is selected based on the lowest phrase-based decoding cost, which heavily penalizes incorrect or missing translations.

Experimental results

Research questions

  • RQ1Can phrase-based SMT decoding costs effectively identify and penalize inadequate NMT translations such as over-translation, under-translation, or unrelated phrases?
  • RQ2How can a phrase-based decoding algorithm be adapted to handle arbitrary NMT outputs that may not be expressible in the standard phrase-based search space?
  • RQ3Does using a soft forced decoding method with content- and function-word-aware penalties improve translation adequacy without degrading fluency?
  • RQ4Can reranking NMT outputs using phrase-based decoding costs lead to consistent improvements across diverse language pairs?
  • RQ5Is the proposed method robust, such that it never worsens translation quality on any test example?

Key findings

  • The proposed method achieved large improvements in translation quality on four language pairs: English-to-Chinese, English-to-Japanese, English-to-German, and English-to-French.
  • Human evaluation showed that the forced decoding cost successfully reduced unrelated, over-, and under-translation in 26 out of 100 test sentences, with no degradation in 73 sentences, proving robustness.
  • The method improved translation performance even when the baseline NMT system already included discrete lexicon features, indicating strong complementary gains.
  • Reranking PBMT outputs with NMT scores did not surpass the baseline NMT system when NMT was already significantly better than PBMT, highlighting the superiority of the proposed NMT reranking approach.
  • The soft forced decoding algorithm successfully computed a decoding path for every NMT output, even those not directly expressible in the phrase-based rule table, by allowing deletions and insertions with context-sensitive penalties.
  • The use of random sampling to generate the n-best list led to greater diversity than beam search, which is critical for effective reranking.

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.