Iterative Refinement in the Continuous Space for Non-Autoregressive Neural Machine Translation

Jason Lee, Raphael Shu, Kyunghyun Cho
9/15/2020
cs.CL

Official code: zomux/lanmt-ebm (12 stars, Jupyter Notebook, last commit 2020-06-19).

Abstract

We propose an efficient inference procedure for non-autoregressive machine translation that iteratively refines translation purely in the continuous space. Given a continuous latent variable model for machine translation (Shu et al., 2020), we train an inference network to approximate the gradient of the marginal log probability of the target sentence, using only the latent variable as input.

Show full abstract

This allows us to use gradient-based optimization to find the target sentence at inference time that approximately maximizes its marginal probability. As each refinement step only involves computation in the latent space of low dimensionality (we use 8 in our experiments), we avoid computational overhead incurred by existing non-autoregressive inference procedures that often refine in token space. We compare our approach to a recently proposed EM-like inference procedure (Shu et al., 2020) that optimizes in a hybrid space, consisting of both discrete and continuous variables. We evaluate our approach on WMT'14 En-De, WMT'16 Ro-En and IWSLT'16 De-En, and observe two advantages over the EM-like inference: (1) it is computationally efficient, i.e. each refinement step is twice as fast, and (2) it is more effective, resulting in higher marginal probabilities and BLEU scores with the same number of refinement steps. On WMT'14 En-De, for instance, our approach is able to decode 6.2 times faster than the autoregressive model with minimal degradation to translation quality (0.9 BLEU).

View on arXivView PDF

Code Implementations(1)

zomux/lanmt-ebmOfficial100%

lanmt ebm

121Jupyter Notebook, PythonFeb 22, 20206 years ago

Similar Papers

Cite this paper

@article{lee2020iterative,
  title  = {Iterative Refinement in the Continuous Space for Non-Autoregressive Neural Machine Translation},
  author = {Jason Lee and Raphael Shu and Kyunghyun Cho},
  year   = {2020},
  eprint = {2009.07177},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.07177}
}

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

Discussion