Skip to main content
QUICK REVIEW

[Paper Review] Greedy Search with Probabilistic N-gram Matching for Neural Machine Translation

Chenze Shao, Yang Feng|arXiv (Cornell University)|Sep 10, 2018
Natural Language Processing TechniquesComputer Science27 references6 citations
TL;DR

This paper proposes a differentiable, sequence-level training objective for neural machine translation based on probabilistic n-gram matching (specifically GLEU), enabling direct gradient update without reinforcement learning. By replacing teacher forcing with greedy search during training, the method mitigates exposure bias and achieves a 1.5 BLEU point improvement over strong baselines on Chinese-to-English translation tasks.

ABSTRACT

Neural machine translation (NMT) models are usually trained with the word-level loss using the teacher forcing algorithm, which not only evaluates the translation improperly but also suffers from exposure bias. Sequence-level training under the reinforcement framework can mitigate the problems of the word-level loss, but its performance is unstable due to the high variance of the gradient estimation. On these grounds, we present a method with a differentiable sequence-level training objective based on probabilistic n-gram matching which can avoid the reinforcement framework. In addition, this method performs greedy search in the training which uses the predicted words as context just as at inference to alleviate the problem of exposure bias. Experiment results on the NIST Chinese-to-English translation tasks show that our method significantly outperforms the reinforcement-based algorithms and achieves an improvement of 1.5 BLEU points on average over a strong baseline system.

Motivation & Objective

  • Address the limitations of word-level cross-entropy loss in neural machine translation, which fails to evaluate translations flexibly and suffers from exposure bias.
  • Overcome the instability and high variance of reinforcement learning-based sequence-level training by introducing a differentiable sequence-level objective.
  • Mitigate exposure bias by training with greedy search, where the model uses its own predicted words as context during training, mirroring inference.
  • Develop a differentiable training objective based on n-gram matching (e.g., GLEU) that correlates strongly with standard evaluation metrics.
  • Demonstrate that combining greedy search with a differentiable sequence-level loss outperforms both standard cross-entropy training and reinforcement learning-based methods.

Proposed method

  • Introduce a differentiable sequence-level objective using probabilistic n-gram matching, specifically defining a probabilistic version of GLEU (P-GLEU) as the training loss.
  • Replace teacher forcing with greedy decoding during training, so the model conditions on its own predicted words instead of ground-truth tokens, reducing exposure bias.
  • Use a differentiable approximation of n-gram precision (e.g., 2-gram) to enable gradient-based optimization without reinforcement learning.
  • Apply the probabilistic loss to fine-tune a pre-trained NMT model, avoiding unstable training from random initialization with the new objective.
  • Compute the loss as a differentiable function of the model’s output and reference translation, using soft alignment between generated and reference n-grams.
  • Optimize the model using standard backpropagation on the P-GLEU objective, enabling direct gradient updates without policy gradient estimation.

Experimental results

Research questions

  • RQ1Can a differentiable sequence-level objective based on n-gram matching effectively replace reinforcement learning in sequence-level training for NMT?
  • RQ2Does replacing teacher forcing with greedy search during training significantly reduce exposure bias and improve translation quality?
  • RQ3How well does the proposed probabilistic n-gram matching correlate with standard automatic evaluation metrics like GLEU?
  • RQ4Can the proposed method achieve better performance than both word-level cross-entropy training and reinforcement learning-based sequence-level training?
  • RQ5Is the improvement due to the new loss function or the change in decoding strategy (greedy vs. teacher forcing)?

Key findings

  • The proposed method achieves a 1.5 BLEU point improvement over a strong baseline system on the NIST Chinese-to-English translation benchmark.
  • Greedy search during training contributes nearly 1 BLEU point of improvement over teacher forcing, even when using the same probabilistic loss.
  • The probabilistic GLEU (P-GLEU) objective correlates strongly with standard GLEU (r = 0.86), validating its use as a proxy for evaluation metrics.
  • The method outperforms reinforcement learning-based sequence-level training methods, which suffer from high variance and unstable convergence.
  • Using the probabilistic loss for fine-tuning after pretraining reduces training cost and avoids instability from training from scratch with the new objective.
  • Among different n-gram objectives (BLEU, GLEU, 2-gram precision), GLEU yields the best performance, making it the preferred choice for the proposed method.

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.