Skip to main content
QUICK REVIEW

[Paper Review] Beyond BLEU: Training Neural Machine Translation with Semantic Similarity

John Wieting, Taylor Berg-Kirkpatrick|arXiv (Cornell University)|Sep 14, 2019
Natural Language Processing TechniquesComputer Science42 references6 citations
TL;DR

This paper proposes SimiLe, a continuous semantic similarity-based reward function for training neural machine translation (NMT) models, replacing traditional BLEU-based optimization. By leveraging pre-trained sentence embeddings to measure semantic similarity between generated and reference translations, SimiLe enables partial credit for semantically correct but lexically different outputs, leading to faster convergence and improved performance across BLEU, semantic similarity, and human evaluation on four language pairs.

ABSTRACT

While most neural machine translation (NMT) systems are still trained using maximum likelihood estimation, recent work has demonstrated that optimizing systems to directly improve evaluation metrics such as BLEU can substantially improve final translation accuracy. However, training with BLEU has some limitations: it doesn't assign partial credit, it has a limited range of output values, and it can penalize semantically correct hypotheses if they differ lexically from the reference. In this paper, we introduce an alternative reward function for optimizing NMT systems that is based on recent work in semantic similarity. We evaluate on four disparate languages translated to English, and find that training with our proposed metric results in better translations as evaluated by BLEU, semantic similarity, and human evaluation, and also that the optimization procedure converges faster. Analysis suggests that this is because the proposed metric is more conducive to optimization, assigning partial credit and providing more diversity in scores than BLEU.

Motivation & Objective

  • To address the limitations of BLEU as a training objective in NMT, particularly its lack of partial credit and sensitivity to lexical variation.
  • To explore whether a continuous, semantic similarity-based metric can serve as a more effective and stable training signal than n-gram precision.
  • To improve NMT performance not only on automatic metrics but also in human evaluations by encouraging semantically accurate translations.
  • To demonstrate that optimizing for semantic similarity leads to faster convergence and better generalization in neural machine translation.

Proposed method

  • The method uses a pre-trained sentence embedding model trained on paraphrase data to compute semantic similarity between generated translations and reference translations.
  • The reward function, SimiLe, is defined as the cosine similarity between the embedding of the generated hypothesis and the reference translation.
  • Subword units (e.g., BPE tokens) are used to compose sentence embeddings, improving performance and efficiency over word-level or character-trigram approaches.
  • A length penalty is applied to discourage overly short translations.
  • The model is fine-tuned using minimum risk training (MRT), where gradients are backpropagated based on the SimiLe reward to optimize for higher semantic similarity.
  • The approach is evaluated on four language-to-English translation tasks from the WMT 2018 benchmark.

Experimental results

Research questions

  • RQ1Can a continuous semantic similarity metric like SimiLe outperform BLEU as a training objective in neural machine translation?
  • RQ2Does optimizing for semantic similarity lead to better generalization and improved performance on both automatic and human evaluation metrics?
  • RQ3How does SimiLe compare to BLEU in terms of optimization stability and convergence speed?
  • RQ4To what extent does SimiLe reduce the penalty for semantically correct but lexically divergent translations compared to BLEU?
  • RQ5Does training with SimiLe result in more accurate translation of semantically important words?

Key findings

  • Training NMT models with SimiLe led to significant improvements in BLEU scores across all four language pairs (Czech, German, Russian, Turkish) into English, indicating better alignment with the standard evaluation metric.
  • SimiLe-trained models achieved higher semantic similarity scores compared to BLEU-trained models, demonstrating better alignment with semantic content.
  • Human evaluation showed statistically significant improvements in translation quality for all languages except one, confirming that SimiLe leads to more natural and accurate translations.
  • The optimization process converged faster with SimiLe than with BLEU, due to the continuous and more informative gradient signals provided by the semantic similarity metric.
  • Analysis revealed that SimiLe encourages the model to preserve semantically important words more accurately than BLEU, which tends to favor lexical overlap.

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.