Differentiable Sampling with Flexible Reference Word Order for Neural Machine Translation

Weijia Xu, Xing Niu, Marine Carpuat
4/4/2019
cs.CLstat.ML

Official code: weijia-xu/saml-nmt (6 stars, Python, Apache-2.0, last commit 2021-03-25).

Abstract

Despite some empirical success at correcting exposure bias in machine translation, scheduled sampling algorithms suffer from a major drawback: they incorrectly assume that words in the reference translations and in sampled sequences are aligned at each time step. Our new differentiable sampling algorithm addresses this issue by optimizing the probability that the reference can be aligned with the sampled output, based on a soft alignment predicted by the model itself.

Show full abstract

As a result, the output distribution at each time step is evaluated with respect to the whole predicted sequence. Experiments on IWSLT translation tasks show that our approach improves BLEU compared to maximum likelihood and scheduled sampling baselines. In addition, our approach is simpler to train with no need for sampling schedule and yields models that achieve larger improvements with smaller beam sizes.

View on arXivView PDF

Code Implementations(1)

weijia-xu/saml-nmtOfficial100%
Apache-2.0

Differentiable Sampling with Flexible Reference Word Order for Neural Machine Translation

60Python, ShellMar 17, 20195 years agoApache-2.0

Similar Papers

Cite this paper

@article{xu2019differentiable,
  title  = {Differentiable Sampling with Flexible Reference Word Order for Neural Machine Translation},
  author = {Weijia Xu and Xing Niu and Marine Carpuat},
  year   = {2019},
  eprint = {1904.04079},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.04079}
}

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/1904.04079.svg)](https://codeofpaper.com/paper/1904.04079)

Discussion