Latent-Variable Non-Autoregressive Neural Machine Translation with Deterministic Inference Using a Delta Posterior

Raphael Shu, Jason Lee, Hideki Nakayama, Kyunghyun Cho
8/20/2019
cs.CLcs.LG

Official code: zomux/lanmt (80 stars, Python, MIT, last commit 2021-08-27).

Abstract

Although neural machine translation models reached high translation quality, the autoregressive nature makes inference difficult to parallelize and leads to high translation latency. Inspired by recent refinement-based approaches, we propose LaNMT, a latent-variable non-autoregressive model with continuous latent variables and deterministic inference procedure.

Show full abstract

In contrast to existing approaches, we use a deterministic inference algorithm to find the target sequence that maximizes the lowerbound to the log-probability. During inference, the length of translation automatically adapts itself. Our experiments show that the lowerbound can be greatly increased by running the inference algorithm, resulting in significantly improved translation quality. Our proposed model closes the performance gap between non-autoregressive and autoregressive approaches on ASPEC Ja-En dataset with 8.6x faster decoding. On WMT'14 En-De dataset, our model narrows the gap with autoregressive baseline to 2.0 BLEU points with 12.5x speedup. By decoding multiple initial latent variables in parallel and rescore using a teacher model, the proposed model further brings the gap down to 1.0 BLEU point on WMT'14 En-De task with 6.8x speedup.

View on arXivView PDF

Code Implementations(1)

zomux/lanmtOfficial100%
MIT

LaNMT: Latent-variable Non-autoregressive Neural Machine Translation with Deterministic Inference

804Python, PerlOct 2, 20195 years agoMIT

Similar Papers

Cite this paper

@article{shu2019latentvariable,
  title  = {Latent-Variable Non-Autoregressive Neural Machine Translation with Deterministic Inference Using a Delta Posterior},
  author = {Raphael Shu and Jason Lee and Hideki Nakayama and Kyunghyun Cho},
  year   = {2019},
  eprint = {1908.07181},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.07181}
}

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

Discussion