Reward Optimization for Neural Machine Translation with Learned Metrics

Raphael Shu, Kang Min Yoo, Jung-Woo Ha
4/15/2021
cs.CLcs.LG

Official code: naver-ai/MetricMT (25 stars, MIT, last commit 2021-04-24).

Abstract

Neural machine translation (NMT) models are conventionally trained with token-level negative log-likelihood (NLL), which does not guarantee that the generated translations will be optimized for a selected sequence-level evaluation metric. Multiple approaches are proposed to train NMT with BLEU as the reward, in order to directly improve the metric.

Show full abstract

However, it was reported that the gain in BLEU does not translate to real quality improvement, limiting the application in industry. Recently, it became clear to the community that BLEU has a low correlation with human judgment when dealing with state-of-the-art models. This leads to the emerging of model-based evaluation metrics. These new metrics are shown to have a much higher human correlation. In this paper, we investigate whether it is beneficial to optimize NMT models with the state-of-the-art model-based metric, BLEURT. We propose a contrastive-margin loss for fast and stable reward optimization suitable for large NMT models. In experiments, we perform automatic and human evaluations to compare models trained with smoothed BLEU and BLEURT to the baseline models. Results show that the reward optimization with BLEURT is able to increase the metric scores by a large margin, in contrast to limited gain when training with smoothed BLEU. The human evaluation shows that models trained with BLEURT improve adequacy and coverage of translations. Code is available via https://github.com/naver-ai/MetricMT.

View on arXivView PDF

Code Implementations(1)

naver-ai/MetricMTOfficial100%
MIT

The official code repository for MetricMT - a reward optimization method for NMT with learned metrics

252Apr 12, 20215 years agoMIT
machine-learningmachine-translationoptimization

Similar Papers

Cite this paper

@article{shu2021reward,
  title  = {Reward Optimization for Neural Machine Translation with Learned Metrics},
  author = {Raphael Shu and Kang Min Yoo and Jung-Woo Ha},
  year   = {2021},
  eprint = {2104.07541},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07541}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07541.svg)](https://codeofpaper.com/paper/2104.07541)

Discussion